]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
093d3ff1 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d55e5bfc 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
093d3ff1
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
093d3ff1
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
093d3ff1 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
093d3ff1 469/* The static type info list */
d55e5bfc 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
093d3ff1
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
093d3ff1
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
093d3ff1
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
093d3ff1
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
093d3ff1
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
093d3ff1
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
093d3ff1
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c32bde28 569
093d3ff1
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c32bde28
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
093d3ff1
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
093d3ff1
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
093d3ff1
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
d55e5bfc 643
093d3ff1 644/* Declarations for objects of type PySwigObject */
d55e5bfc 645
093d3ff1
RD
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
093d3ff1
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
c32bde28 653 } else {
093d3ff1 654 return 1;
c32bde28 655 }
d55e5bfc 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
c32bde28 660{
093d3ff1
RD
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c32bde28 664}
d55e5bfc 665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
d55e5bfc 668{
093d3ff1
RD
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
d55e5bfc
RD
672}
673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
093d3ff1 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
d55e5bfc
RD
678}
679
093d3ff1
RD
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c32bde28 682{
093d3ff1
RD
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
c32bde28 690}
d55e5bfc 691
093d3ff1
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
d55e5bfc 694{
093d3ff1
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
d55e5bfc
RD
698}
699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 702{
093d3ff1
RD
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c32bde28 710 }
c32bde28
RD
711}
712
093d3ff1
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
d55e5bfc
RD
717}
718
093d3ff1
RD
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
c32bde28 723
093d3ff1
RD
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c32bde28 807{
093d3ff1
RD
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
c32bde28 813}
d55e5bfc 814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
c32bde28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d55e5bfc 826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d55e5bfc 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d55e5bfc 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
c32bde28 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 846{
093d3ff1
RD
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
d55e5bfc
RD
867}
868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
d55e5bfc 879
093d3ff1
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 882{
093d3ff1
RD
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
d55e5bfc 891 }
c32bde28
RD
892}
893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
c32bde28 896{
093d3ff1
RD
897 free(self->pack);
898 PyObject_DEL(self);
d55e5bfc
RD
899}
900
093d3ff1
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
d55e5bfc 949
093d3ff1
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d55e5bfc 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
d55e5bfc 958
093d3ff1
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
d55e5bfc 974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 977{
093d3ff1
RD
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
d55e5bfc 983
093d3ff1
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
d55e5bfc 989
093d3ff1
RD
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d55e5bfc 995
093d3ff1
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
d55e5bfc 1000
093d3ff1
RD
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d55e5bfc 1005
093d3ff1 1006#endif
d55e5bfc 1007
093d3ff1 1008#endif
d55e5bfc 1009
093d3ff1
RD
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
d55e5bfc 1013
093d3ff1
RD
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
d55e5bfc 1049
093d3ff1
RD
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
d55e5bfc 1059
093d3ff1
RD
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
d55e5bfc 1084
093d3ff1
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
d55e5bfc 1087{
093d3ff1
RD
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
d55e5bfc 1097
d55e5bfc 1098
093d3ff1
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
d55e5bfc 1102
093d3ff1
RD
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
d55e5bfc 1118
093d3ff1
RD
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
d55e5bfc 1155
093d3ff1 1156type_check:
d55e5bfc 1157
093d3ff1
RD
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
d55e5bfc 1165
093d3ff1
RD
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
d55e5bfc 1170
093d3ff1
RD
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
d55e5bfc 1195
093d3ff1
RD
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
d55e5bfc 1209
093d3ff1
RD
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
d55e5bfc 1215
093d3ff1
RD
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
d55e5bfc 1230
093d3ff1
RD
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344#define SWIGTYPE_p_wxPyPanel swig_types[3]
1345#define SWIGTYPE_p_wxMenu swig_types[4]
1346#define SWIGTYPE_p_wxFontData swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxPrintData swig_types[7]
1349#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351#define SWIGTYPE_p_wxIconBundle swig_types[10]
1352#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355#define SWIGTYPE_p_wxFont swig_types[14]
1356#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357#define SWIGTYPE_p_wxRegion swig_types[16]
1358#define SWIGTYPE_ptrdiff_t swig_types[17]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361#define SWIGTYPE_p_int swig_types[20]
1362#define SWIGTYPE_p_wxSize swig_types[21]
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxIcon swig_types[23]
1365#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367#define SWIGTYPE_p_wxColourData swig_types[26]
1368#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369#define SWIGTYPE_p_wxPyWindow swig_types[28]
1370#define SWIGTYPE_p_form_ops_t swig_types[29]
1371#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375#define SWIGTYPE_p_wxFileDialog swig_types[34]
1376#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380#define SWIGTYPE_p_wxPrinter swig_types[39]
1381#define SWIGTYPE_p_wxArrayInt swig_types[40]
1382#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387#define SWIGTYPE_p_wxRect swig_types[46]
62d32a5f
RD
1388#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389#define SWIGTYPE_p_char swig_types[48]
1390#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391#define SWIGTYPE_p_wxFrame swig_types[50]
1392#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395#define SWIGTYPE_p_wxPaperSize swig_types[54]
1396#define SWIGTYPE_p_wxStatusBar swig_types[55]
1397#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398#define SWIGTYPE_p_wxPoint swig_types[57]
1399#define SWIGTYPE_p_wxObject swig_types[58]
1400#define SWIGTYPE_p_unsigned_long swig_types[59]
1401#define SWIGTYPE_p_wxTipWindow swig_types[60]
1402#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408#define SWIGTYPE_p_wxSashWindow swig_types[67]
1409#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410#define SWIGTYPE_p_wxWindow swig_types[69]
1411#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412#define SWIGTYPE_p_wxMenuBar swig_types[71]
1413#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416#define SWIGTYPE_p_wxSashEvent swig_types[75]
1417#define SWIGTYPE_p_wxString swig_types[76]
1418#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419#define SWIGTYPE_p_wxDirDialog swig_types[78]
1420#define SWIGTYPE_p_wxColourDialog swig_types[79]
1421#define SWIGTYPE_p_wxDialog swig_types[80]
1422#define SWIGTYPE_p_wxPanel swig_types[81]
1423#define SWIGTYPE_p_wxFontDialog swig_types[82]
1424#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426#define SWIGTYPE_p_wxFileSystem swig_types[85]
1427#define SWIGTYPE_p_wxBitmap swig_types[86]
1428#define SWIGTYPE_unsigned_int swig_types[87]
1429#define SWIGTYPE_p_unsigned_int swig_types[88]
1430#define SWIGTYPE_p_unsigned_char swig_types[89]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434#define SWIGTYPE_p_wxColour swig_types[93]
1435#define SWIGTYPE_p_wxToolBar swig_types[94]
1436#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438static swig_type_info *swig_types[98];
093d3ff1
RD
1439
1440/* -------- TYPES TABLE (END) -------- */
1441
1442
1443/*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446#define SWIG_init init_windows_
1447
1448#define SWIG_name "_windows_"
1449
1450#include "wx/wxPython/wxPython.h"
1451#include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459#include <limits.h>
1460
1461
1462SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465{
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482}
1483
1484
1485SWIGINTERN int
1486SWIG_AsVal_long(PyObject* obj, long* val)
1487{
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496}
1497
1498
1499#if INT_MAX != LONG_MAX
1500SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502{
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519}
1520#else
1521SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523{
1524 return SWIG_AsVal_long(obj,(long*)val);
1525}
1526#endif
1527
1528
1529SWIGINTERNSHORT int
1530SWIG_As_int(PyObject* obj)
1531{
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540}
1541
1542
1543SWIGINTERNSHORT long
1544SWIG_As_long(PyObject* obj)
1545{
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554}
1555
1556
1557SWIGINTERNSHORT int
1558SWIG_Check_int(PyObject* obj)
1559{
1560 return SWIG_AsVal_int(obj, (int*)0);
1561}
1562
1563
1564SWIGINTERNSHORT int
1565SWIG_Check_long(PyObject* obj)
1566{
1567 return SWIG_AsVal_long(obj, (long*)0);
1568}
1569
1570
1571SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573{
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593}
1594
1595
1596SWIGINTERNSHORT bool
1597SWIG_As_bool(PyObject* obj)
1598{
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607}
1608
1609
1610SWIGINTERNSHORT int
1611SWIG_Check_bool(PyObject* obj)
1612{
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614}
1615
1616
1617 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1618#define SWIG_From_int PyInt_FromLong
1619/*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650SWIGINTERN int
1651SWIG_AsVal_double(PyObject *obj, double* val)
1652{
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661}
1662
1663
1664SWIGINTERNSHORT double
1665SWIG_As_double(PyObject* obj)
1666{
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675}
1676
1677
1678SWIGINTERNSHORT int
1679SWIG_Check_double(PyObject* obj)
1680{
1681 return SWIG_AsVal_double(obj, (double*)0);
1682}
1683
1684
1685 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1686#define SWIG_From_double PyFloat_FromDouble
1687/*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1694static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1695
1696 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1697#define SWIG_From_long PyInt_FromLong
1698/*@@*/
1699
1700
1701
1702static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1703 wxRect r;
1704 self->GetFieldRect(i, r);
1705 return r;
1706 }
1707 static const wxString wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1710
1711#include <wx/popupwin.h>
1712
1713
1714class wxPyPopupTransientWindow : public wxPopupTransientWindow
1715{
1716public:
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1719 : wxPopupTransientWindow(parent, style) {}
1720
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1722 DEC_PYCALLBACK__(OnDismiss);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss);
1724 PYPRIVATE;
1725};
1726
1727
1728IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1729IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1730IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1731
1732
1733#include <wx/tipwin.h>
1734
1735static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1736 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1737 }
1738
1739#include <wx/tipwin.h>
1740
1741
1742#include <wx/vscroll.h>
1743
1744
1745class wxPyVScrolledWindow : public wxVScrolledWindow
1746{
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1748public:
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750
1751 wxPyVScrolledWindow(wxWindow *parent,
1752 wxWindowID id = wxID_ANY,
1753 const wxPoint& pos = wxDefaultPosition,
1754 const wxSize& size = wxDefaultSize,
1755 long style = 0,
1756 const wxString& name = wxPyPanelNameStr)
1757 : wxVScrolledWindow(parent, id, pos, size, style, name)
1758 {}
1759
1760 // Overridable virtuals
1761
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1765
1766
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1770 // once
1771 //
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1777 //
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 // usual
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1781
1782
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1787 // its own logic
1788 //
1789 // this function should return the best guess for the total height it may
1790 // make
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1792
1793
1794 // Also expose some other interesting protected methods
1795
1796
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1801
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc
RD
1806
1807
1808 PYPRIVATE;
1809};
1810
1811IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1812
1813IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1814IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1815IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1816
1817
093d3ff1 1818SWIGINTERN int
c32bde28 1819SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1820{
c32bde28
RD
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1823 SWIG_type_error("unsigned number", obj);
d55e5bfc 1824 }
c32bde28
RD
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
d55e5bfc
RD
1828}
1829
1830
093d3ff1 1831SWIGINTERNSHORT unsigned long
c32bde28 1832SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1833{
c32bde28
RD
1834 unsigned long v;
1835 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1836 /*
093d3ff1 1837 this is needed to make valgrind/purify happier.
c32bde28
RD
1838 */
1839 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1840 }
c32bde28
RD
1841 return v;
1842}
1843
1844
093d3ff1 1845SWIGINTERNSHORT int
c32bde28
RD
1846SWIG_Check_unsigned_SS_long(PyObject* obj)
1847{
1848 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1849}
1850
1851
093d3ff1 1852SWIGINTERNSHORT PyObject*
c32bde28 1853 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1854{
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
093d3ff1 1857 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1858}
1859
1860
1861#include <wx/vlbox.h>
1862
1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1864
1865class wxPyVListBox : public wxVListBox
1866{
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1868public:
1869 wxPyVListBox() : wxVListBox() {}
1870
1871 wxPyVListBox(wxWindow *parent,
1872 wxWindowID id = wxID_ANY,
1873 const wxPoint& pos = wxDefaultPosition,
1874 const wxSize& size = wxDefaultSize,
1875 long style = 0,
1876 const wxString& name = wxPyVListBoxNameStr)
1877 : wxVListBox(parent, id, pos, size, style, name)
1878 {}
1879
1880 // Overridable virtuals
1881
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1886
1887
1888 // the derived class must implement this method to return the height of the
1889 // specified item
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1892
1893
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1897 //
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1901
1902
1903 // this method is used to draw the items background and, maybe, a border
1904 // around it
1905 //
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1909 // current
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1912
1913
1914 PYPRIVATE;
1915};
1916
1917IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1918
1919IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1920IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1921IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1922IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1923
1924
093d3ff1 1925static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1926 unsigned long cookie = 0;
1927 int selected = self->GetFirstSelected(cookie);
1928 bool blocked = wxPyBeginBlockThreads();
1929 PyObject* tup = PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1931 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1932 wxPyEndBlockThreads(blocked);
1933 return tup;
1934 }
093d3ff1 1935static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b
RD
1936 int selected = self->GetNextSelected(cookie);
1937 bool blocked = wxPyBeginBlockThreads();
1938 PyObject* tup = PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1940 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1941 wxPyEndBlockThreads(blocked);
1942 return tup;
1943 }
d55e5bfc
RD
1944
1945#include <wx/htmllbox.h>
1946
1947
1948class wxPyHtmlListBox : public wxHtmlListBox
1949{
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1951public:
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1953
1954 wxPyHtmlListBox(wxWindow *parent,
1955 wxWindowID id = wxID_ANY,
1956 const wxPoint& pos = wxDefaultPosition,
1957 const wxSize& size = wxDefaultSize,
1958 long style = 0,
1959 const wxString& name = wxPyVListBoxNameStr)
1960 : wxHtmlListBox(parent, id, pos, size, style, name)
1961 {}
1962
1963 // Overridable virtuals
1964
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1968
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1971
1972// TODO:
1973// // this method allows to customize the selection appearance: it may be used
1974// // to specify the colour of the text which normally has the given colour
1975// // colFg when it is inside the selection
1976// //
1977// // by default, the original colour is not used at all and all text has the
1978// // same (default for this system) colour inside selection
1979// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980
1981// // this is the same as GetSelectedTextColour() but allows to customize the
1982// // background colour -- this is even more rarely used as you can change it
1983// // globally using SetSelectionBackground()
1984// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985
1986
1987 PYPRIVATE;
1988};
1989
1990
1991IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1992
1993IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1994IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1995
1996
1997
1998
1999
ae8162c8
RD
2000#ifndef wxHAS_TASK_BAR_ICON
2001// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2002
2003class wxTaskBarIcon : public wxEvtHandler
2004{
2005public:
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2007};
09c21d3b 2008
d55e5bfc
RD
2009
2010class wxTaskBarIconEvent : public wxEvent
2011{
2012public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2021};
2022
2023enum {
2024 wxEVT_TASKBAR_MOVE = 0,
2025 wxEVT_TASKBAR_LEFT_DOWN = 0,
2026 wxEVT_TASKBAR_LEFT_UP = 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2028 wxEVT_TASKBAR_RIGHT_UP = 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2031};
09c21d3b
RD
2032
2033
2034#else
5e483524
RD
2035// Otherwise make a class that can virtualize CreatePopupMenu
2036class wxPyTaskBarIcon : public wxTaskBarIcon
2037{
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2039public:
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2041 {}
2042
2043 wxMenu* CreatePopupMenu() {
2044 wxMenu *rval = NULL;
2045 bool found;
2046 bool blocked = wxPyBeginBlockThreads();
2047 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2048 PyObject* ro;
2049 wxMenu* ptr;
2050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2051 if (ro) {
2052 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2053 rval = ptr;
2054 Py_DECREF(ro);
2055 }
2056 }
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 rval = wxTaskBarIcon::CreatePopupMenu();
2060 return rval;
2061 }
2062
2063 PYPRIVATE;
2064};
2065
2066IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2067
d55e5bfc
RD
2068#endif
2069
093d3ff1 2070static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 2071 self->RemoveIcon();
5e483524 2072 delete self;
d55e5bfc
RD
2073 }
2074 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2075 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2076 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2077 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2078 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2079 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2080static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
093d3ff1 2085static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
093d3ff1 2090static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2091 return wxArrayInt2PyList_helper(self->GetSelections());
2092 }
093d3ff1 2093static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
c1cb24a4 2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2098
2099#include <wx/mdi.h>
2100
2101 // C++ version of Python aware wxWindow
2102class wxPyWindow : public wxWindow
2103{
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2105public:
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow* parent, const wxWindowID id,
2108 const wxPoint& pos = wxDefaultPosition,
2109 const wxSize& size = wxDefaultSize,
2110 long style = 0,
2111 const wxString& name = wxPyPanelNameStr)
2112 : wxWindow(parent, id, pos, size, style, name) {}
2113
caef1a4d 2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
2115
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2120
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2124
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2127
2128 DEC_PYCALLBACK__(InitDialog);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2131 DEC_PYCALLBACK_BOOL_(Validate);
2132
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2136
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2139
caef1a4d 2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2143
51b83b37
RD
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2145
d55e5bfc
RD
2146 PYPRIVATE;
2147};
2148
2149IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2150
2151IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2152IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2153IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2154IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2155
2156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2158IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2159
2160IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2161IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2162
2163IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2164IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2165IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2166IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2167
2168IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2169IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2170IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2171
2172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2173IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2174
caef1a4d 2175IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 2176IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 2177IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2178
2179IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc
RD
2180
2181 // C++ version of Python aware wxPanel
2182class wxPyPanel : public wxPanel
2183{
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2185public:
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow* parent, const wxWindowID id,
2188 const wxPoint& pos = wxDefaultPosition,
2189 const wxSize& size = wxDefaultSize,
2190 long style = 0,
2191 const wxString& name = wxPyPanelNameStr)
2192 : wxPanel(parent, id, pos, size, style, name) {}
2193
caef1a4d
RD
2194 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2195
d55e5bfc
RD
2196
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2201
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2205
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2208
2209 DEC_PYCALLBACK__(InitDialog);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2212 DEC_PYCALLBACK_BOOL_(Validate);
2213
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2217
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2220
caef1a4d 2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2224
51b83b37
RD
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2226
d55e5bfc
RD
2227 PYPRIVATE;
2228};
2229
2230IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2231
2232IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2233IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2234IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2235IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2236
2237IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2238IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2239IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2240
2241IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2242IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2243
2244IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2245IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2246IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2247IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2248
2249IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2250IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2251IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2252
2253IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2254IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2255
caef1a4d 2256IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 2257IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 2258IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2259
51b83b37
RD
2260IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2261
d55e5bfc
RD
2262 // C++ version of Python aware wxScrolledWindow
2263class wxPyScrolledWindow : public wxScrolledWindow
2264{
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2266public:
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2269 const wxPoint& pos = wxDefaultPosition,
2270 const wxSize& size = wxDefaultSize,
2271 long style = 0,
2272 const wxString& name = wxPyPanelNameStr)
2273 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2274
caef1a4d 2275 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
2276
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2281
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2285
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2288
2289 DEC_PYCALLBACK__(InitDialog);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2292 DEC_PYCALLBACK_BOOL_(Validate);
2293
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2297
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2300
caef1a4d 2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2304
51b83b37
RD
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2306
d55e5bfc
RD
2307 PYPRIVATE;
2308};
2309
2310IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2311
2312IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2313IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2314IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2315IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2316
2317IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2318IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2320
2321IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2322IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2323
2324IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2325IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2326IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2327IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2328
2329IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2330IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2331IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2332
2333IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2334IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2335
caef1a4d 2336IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 2337IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
2338IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2339
51b83b37 2340IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc
RD
2341
2342
2343#include "wx/wxPython/printfw.h"
2344
2345
2346 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2348
2349
c1cb24a4 2350IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2351
2352// Since this one would be tough and ugly to do with the Macros...
2353void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2354 bool hadErr = false;
d55e5bfc
RD
2355 bool found;
2356
2357 bool blocked = wxPyBeginBlockThreads();
2358 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2359 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2360 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2361 PyObject* val;
2362
2363 val = PyTuple_GetItem(result, 0);
2364 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2365 else hadErr = true;
d55e5bfc
RD
2366
2367 val = PyTuple_GetItem(result, 1);
2368 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2369 else hadErr = true;
d55e5bfc
RD
2370
2371 val = PyTuple_GetItem(result, 2);
2372 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2373 else hadErr = true;
d55e5bfc
RD
2374
2375 val = PyTuple_GetItem(result, 3);
2376 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2377 else hadErr = true;
d55e5bfc
RD
2378 }
2379 else
ae8162c8 2380 hadErr = true;
d55e5bfc
RD
2381
2382 if (hadErr) {
2383 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2384 PyErr_Print();
2385 }
2386 Py_DECREF(result);
2387 }
2388 wxPyEndBlockThreads(blocked);
2389 if (! found)
2390 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2391}
2392
2393void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2394 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2395}
2396
2397
2398IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2399IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2400IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2401IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2402IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2403IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2404IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2405
2406
2407
2408
2409
ae8162c8
RD
2410#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2411 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2412 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2413
2414
ae8162c8
RD
2415#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2416 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2417 bool rval=false; \
2418 bool found; \
2419 bool blocked = wxPyBeginBlockThreads(); \
2420 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2421 PyObject* win = wxPyMake_wxObject(a,false); \
2422 PyObject* dc = wxPyMake_wxObject(&b,false); \
2423 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2424 Py_DECREF(win); \
2425 Py_DECREF(dc); \
2426 } \
2427 wxPyEndBlockThreads(blocked); \
2428 if (! found) \
2429 rval = PCLASS::CBNAME(a, b); \
2430 return rval; \
2431 } \
2432 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2433 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2434 }
2435
2436
2437
2438
2439class wxPyPrintPreview : public wxPrintPreview
2440{
2441 DECLARE_CLASS(wxPyPrintPreview)
2442public:
2443 wxPyPrintPreview(wxPyPrintout* printout,
2444 wxPyPrintout* printoutForPrinting,
2445 wxPrintDialogData* data=NULL)
2446 : wxPrintPreview(printout, printoutForPrinting, data)
2447 {}
2448 wxPyPrintPreview(wxPyPrintout* printout,
2449 wxPyPrintout* printoutForPrinting,
2450 wxPrintData* data=NULL)
2451 : wxPrintPreview(printout, printoutForPrinting, data)
2452 {}
2453
2454 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2455 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2456 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2457 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2458 DEC_PYCALLBACK_VOID_INT(SetZoom);
2459 DEC_PYCALLBACK_BOOL_BOOL(Print);
2460 DEC_PYCALLBACK_VOID_(DetermineScaling);
2461
2462 PYPRIVATE;
2463};
2464
2465// Stupid renamed classes... Fix this in 2.5...
2466#if defined(__WXMSW__)
2467IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2468#elif defined(__WXMAC__)
2469IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2470#else
2471IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2472#endif
2473
2474IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2475IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2476IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2477IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2478IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2479IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2480IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2481
2482
2483class wxPyPreviewFrame : public wxPreviewFrame
2484{
2485 DECLARE_CLASS(wxPyPreviewFrame);
2486public:
2487 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2488 const wxString& title,
2489 const wxPoint& pos = wxDefaultPosition,
2490 const wxSize& size = wxDefaultSize,
2491 long style = wxDEFAULT_FRAME_STYLE,
2492 const wxString& name = wxPyFrameNameStr)
2493 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2494 {}
2495
2496 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2497 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2498
2499 DEC_PYCALLBACK_VOID_(Initialize);
2500 DEC_PYCALLBACK_VOID_(CreateCanvas);
2501 DEC_PYCALLBACK_VOID_(CreateControlBar);
2502
2503 PYPRIVATE;
2504};
2505
2506IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2507
2508IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2509IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2510IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2511
2512
2513class wxPyPreviewControlBar : public wxPreviewControlBar
2514{
2515 DECLARE_CLASS(wxPyPreviewControlBar);
2516public:
2517 wxPyPreviewControlBar(wxPrintPreview *preview,
2518 long buttons,
2519 wxWindow *parent,
2520 const wxPoint& pos = wxDefaultPosition,
2521 const wxSize& size = wxDefaultSize,
2522 long style = 0,
2523 const wxString& name = wxPyPanelNameStr)
2524 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2525 {}
2526
2527 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2528
2529 DEC_PYCALLBACK_VOID_(CreateButtons);
2530 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2531
2532 PYPRIVATE;
2533};
2534
2535IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2536IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2537IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2538
2539#ifdef __cplusplus
2540extern "C" {
2541#endif
c32bde28 2542static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
2545 int arg2 = (int) (int)-1 ;
2546 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2547 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2548 wxSize const &arg4_defvalue = wxDefaultSize ;
2549 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2550 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2551 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2552 wxString *arg6 = (wxString *) &arg6_defvalue ;
2553 wxPanel *result;
2554 wxPoint temp3 ;
2555 wxSize temp4 ;
ae8162c8 2556 bool temp6 = false ;
d55e5bfc
RD
2557 PyObject * obj0 = 0 ;
2558 PyObject * obj1 = 0 ;
2559 PyObject * obj2 = 0 ;
2560 PyObject * obj3 = 0 ;
2561 PyObject * obj4 = 0 ;
2562 PyObject * obj5 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2570 if (obj1) {
093d3ff1
RD
2571 {
2572 arg2 = (int const)(SWIG_As_int(obj1));
2573 if (SWIG_arg_fail(2)) SWIG_fail;
2574 }
d55e5bfc
RD
2575 }
2576 if (obj2) {
2577 {
2578 arg3 = &temp3;
2579 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2580 }
2581 }
2582 if (obj3) {
2583 {
2584 arg4 = &temp4;
2585 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2586 }
2587 }
2588 if (obj4) {
093d3ff1
RD
2589 {
2590 arg5 = (long)(SWIG_As_long(obj4));
2591 if (SWIG_arg_fail(5)) SWIG_fail;
2592 }
d55e5bfc
RD
2593 }
2594 if (obj5) {
2595 {
2596 arg6 = wxString_in_helper(obj5);
2597 if (arg6 == NULL) SWIG_fail;
ae8162c8 2598 temp6 = true;
d55e5bfc
RD
2599 }
2600 }
2601 {
0439c23b 2602 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2605
2606 wxPyEndAllowThreads(__tstate);
110da5b0 2607 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2608 }
b0f7404b 2609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2610 {
2611 if (temp6)
2612 delete arg6;
2613 }
2614 return resultobj;
2615 fail:
2616 {
2617 if (temp6)
2618 delete arg6;
2619 }
2620 return NULL;
2621}
2622
2623
c32bde28 2624static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2625 PyObject *resultobj;
2626 wxPanel *result;
2627 char *kwnames[] = {
2628 NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2632 {
0439c23b 2633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxPanel *)new wxPanel();
2636
2637 wxPyEndAllowThreads(__tstate);
110da5b0 2638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2639 }
b0f7404b 2640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
c32bde28 2647static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2648 PyObject *resultobj;
2649 wxPanel *arg1 = (wxPanel *) 0 ;
2650 wxWindow *arg2 = (wxWindow *) 0 ;
2651 int arg3 = (int) (int)-1 ;
2652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2654 wxSize const &arg5_defvalue = wxDefaultSize ;
2655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2656 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2657 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2658 wxString *arg7 = (wxString *) &arg7_defvalue ;
2659 bool result;
2660 wxPoint temp4 ;
2661 wxSize temp5 ;
ae8162c8 2662 bool temp7 = false ;
d55e5bfc
RD
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
2665 PyObject * obj2 = 0 ;
2666 PyObject * obj3 = 0 ;
2667 PyObject * obj4 = 0 ;
2668 PyObject * obj5 = 0 ;
2669 PyObject * obj6 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2676 if (SWIG_arg_fail(1)) SWIG_fail;
2677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2678 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2679 if (obj2) {
093d3ff1
RD
2680 {
2681 arg3 = (int const)(SWIG_As_int(obj2));
2682 if (SWIG_arg_fail(3)) SWIG_fail;
2683 }
d55e5bfc
RD
2684 }
2685 if (obj3) {
2686 {
2687 arg4 = &temp4;
2688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2689 }
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
093d3ff1
RD
2698 {
2699 arg6 = (long)(SWIG_As_long(obj5));
2700 if (SWIG_arg_fail(6)) SWIG_fail;
2701 }
d55e5bfc
RD
2702 }
2703 if (obj6) {
2704 {
2705 arg7 = wxString_in_helper(obj6);
2706 if (arg7 == NULL) SWIG_fail;
ae8162c8 2707 temp7 = true;
d55e5bfc
RD
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 {
2718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2719 }
2720 {
2721 if (temp7)
2722 delete arg7;
2723 }
2724 return resultobj;
2725 fail:
2726 {
2727 if (temp7)
2728 delete arg7;
2729 }
2730 return NULL;
2731}
2732
2733
c32bde28 2734static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2735 PyObject *resultobj;
2736 wxPanel *arg1 = (wxPanel *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->InitDialog();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 return resultobj;
2754 fail:
2755 return NULL;
2756}
2757
2758
b519803b
RD
2759static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxPanel *arg1 = (wxPanel *) 0 ;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 (arg1)->SetFocus();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
2784static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxPanel *arg1 = (wxPanel *) 0 ;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 (arg1)->SetFocusIgnoringChildren();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 Py_INCREF(Py_None); resultobj = Py_None;
2803 return resultobj;
2804 fail:
2805 return NULL;
2806}
2807
2808
c32bde28 2809static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2810 PyObject *resultobj;
093d3ff1 2811 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2812 wxVisualAttributes result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "variant", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2819 if (obj0) {
093d3ff1
RD
2820 {
2821 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2822 if (SWIG_arg_fail(1)) SWIG_fail;
2823 }
f20a2e1f
RD
2824 }
2825 {
0439c23b 2826 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2829
2830 wxPyEndAllowThreads(__tstate);
110da5b0 2831 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2832 }
2833 {
2834 wxVisualAttributes * resultptr;
093d3ff1 2835 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2837 }
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
c32bde28 2844static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2845 PyObject *obj;
2846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2847 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2848 Py_INCREF(obj);
2849 return Py_BuildValue((char *)"");
2850}
c32bde28 2851static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2852 PyObject *resultobj;
2853 wxWindow *arg1 = (wxWindow *) 0 ;
2854 int arg2 = (int) (int)-1 ;
2855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2857 wxSize const &arg4_defvalue = wxDefaultSize ;
2858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2859 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2860 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2861 wxString *arg6 = (wxString *) &arg6_defvalue ;
2862 wxScrolledWindow *result;
2863 wxPoint temp3 ;
2864 wxSize temp4 ;
ae8162c8 2865 bool temp6 = false ;
d55e5bfc
RD
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 PyObject * obj2 = 0 ;
2869 PyObject * obj3 = 0 ;
2870 PyObject * obj4 = 0 ;
2871 PyObject * obj5 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2879 if (obj1) {
093d3ff1
RD
2880 {
2881 arg2 = (int const)(SWIG_As_int(obj1));
2882 if (SWIG_arg_fail(2)) SWIG_fail;
2883 }
d55e5bfc
RD
2884 }
2885 if (obj2) {
2886 {
2887 arg3 = &temp3;
2888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2889 }
2890 }
2891 if (obj3) {
2892 {
2893 arg4 = &temp4;
2894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2895 }
2896 }
2897 if (obj4) {
093d3ff1
RD
2898 {
2899 arg5 = (long)(SWIG_As_long(obj4));
2900 if (SWIG_arg_fail(5)) SWIG_fail;
2901 }
d55e5bfc
RD
2902 }
2903 if (obj5) {
2904 {
2905 arg6 = wxString_in_helper(obj5);
2906 if (arg6 == NULL) SWIG_fail;
ae8162c8 2907 temp6 = true;
d55e5bfc
RD
2908 }
2909 }
2910 {
0439c23b 2911 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2914
2915 wxPyEndAllowThreads(__tstate);
110da5b0 2916 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2917 }
b0f7404b 2918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2919 {
2920 if (temp6)
2921 delete arg6;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp6)
2927 delete arg6;
2928 }
2929 return NULL;
2930}
2931
2932
c32bde28 2933static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2934 PyObject *resultobj;
2935 wxScrolledWindow *result;
2936 char *kwnames[] = {
2937 NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2941 {
0439c23b 2942 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxScrolledWindow *)new wxScrolledWindow();
2945
2946 wxPyEndAllowThreads(__tstate);
110da5b0 2947 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2948 }
b0f7404b 2949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
c32bde28 2956static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2957 PyObject *resultobj;
2958 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2959 wxWindow *arg2 = (wxWindow *) 0 ;
2960 int arg3 = (int) (int)-1 ;
2961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2963 wxSize const &arg5_defvalue = wxDefaultSize ;
2964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2965 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2966 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2967 wxString *arg7 = (wxString *) &arg7_defvalue ;
2968 bool result;
2969 wxPoint temp4 ;
2970 wxSize temp5 ;
ae8162c8 2971 bool temp7 = false ;
d55e5bfc
RD
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 PyObject * obj5 = 0 ;
2978 PyObject * obj6 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2985 if (SWIG_arg_fail(1)) SWIG_fail;
2986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2988 if (obj2) {
093d3ff1
RD
2989 {
2990 arg3 = (int const)(SWIG_As_int(obj2));
2991 if (SWIG_arg_fail(3)) SWIG_fail;
2992 }
d55e5bfc
RD
2993 }
2994 if (obj3) {
2995 {
2996 arg4 = &temp4;
2997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2998 }
2999 }
3000 if (obj4) {
3001 {
3002 arg5 = &temp5;
3003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3004 }
3005 }
3006 if (obj5) {
093d3ff1
RD
3007 {
3008 arg6 = (long)(SWIG_As_long(obj5));
3009 if (SWIG_arg_fail(6)) SWIG_fail;
3010 }
d55e5bfc
RD
3011 }
3012 if (obj6) {
3013 {
3014 arg7 = wxString_in_helper(obj6);
3015 if (arg7 == NULL) SWIG_fail;
ae8162c8 3016 temp7 = true;
d55e5bfc
RD
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
3029 {
3030 if (temp7)
3031 delete arg7;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp7)
3037 delete arg7;
3038 }
3039 return NULL;
3040}
3041
3042
c32bde28 3043static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3044 PyObject *resultobj;
3045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3046 int arg2 ;
3047 int arg3 ;
3048 int arg4 ;
3049 int arg5 ;
3050 int arg6 = (int) 0 ;
3051 int arg7 = (int) 0 ;
ae8162c8 3052 bool arg8 = (bool) false ;
d55e5bfc
RD
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 PyObject * obj3 = 0 ;
3057 PyObject * obj4 = 0 ;
3058 PyObject * obj5 = 0 ;
3059 PyObject * obj6 = 0 ;
3060 PyObject * obj7 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail;
3068 {
3069 arg2 = (int)(SWIG_As_int(obj1));
3070 if (SWIG_arg_fail(2)) SWIG_fail;
3071 }
3072 {
3073 arg3 = (int)(SWIG_As_int(obj2));
3074 if (SWIG_arg_fail(3)) SWIG_fail;
3075 }
3076 {
3077 arg4 = (int)(SWIG_As_int(obj3));
3078 if (SWIG_arg_fail(4)) SWIG_fail;
3079 }
3080 {
3081 arg5 = (int)(SWIG_As_int(obj4));
3082 if (SWIG_arg_fail(5)) SWIG_fail;
3083 }
d55e5bfc 3084 if (obj5) {
093d3ff1
RD
3085 {
3086 arg6 = (int)(SWIG_As_int(obj5));
3087 if (SWIG_arg_fail(6)) SWIG_fail;
3088 }
d55e5bfc
RD
3089 }
3090 if (obj6) {
093d3ff1
RD
3091 {
3092 arg7 = (int)(SWIG_As_int(obj6));
3093 if (SWIG_arg_fail(7)) SWIG_fail;
3094 }
d55e5bfc
RD
3095 }
3096 if (obj7) {
093d3ff1
RD
3097 {
3098 arg8 = (bool)(SWIG_As_bool(obj7));
3099 if (SWIG_arg_fail(8)) SWIG_fail;
3100 }
d55e5bfc
RD
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 Py_INCREF(Py_None); resultobj = Py_None;
3110 return resultobj;
3111 fail:
3112 return NULL;
3113}
3114
3115
c32bde28 3116static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3117 PyObject *resultobj;
3118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3119 int arg2 ;
3120 int arg3 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 PyObject * obj2 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "x",(char *) "y", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail;
3131 {
3132 arg2 = (int)(SWIG_As_int(obj1));
3133 if (SWIG_arg_fail(2)) SWIG_fail;
3134 }
3135 {
3136 arg3 = (int)(SWIG_As_int(obj2));
3137 if (SWIG_arg_fail(3)) SWIG_fail;
3138 }
d55e5bfc
RD
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 (arg1)->Scroll(arg2,arg3);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 Py_INCREF(Py_None); resultobj = Py_None;
3147 return resultobj;
3148 fail:
3149 return NULL;
3150}
3151
3152
c32bde28 3153static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3154 PyObject *resultobj;
3155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3156 int arg2 ;
3157 int result;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "orient", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3166 if (SWIG_arg_fail(1)) SWIG_fail;
3167 {
3168 arg2 = (int)(SWIG_As_int(obj1));
3169 if (SWIG_arg_fail(2)) SWIG_fail;
3170 }
d55e5bfc
RD
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
093d3ff1
RD
3178 {
3179 resultobj = SWIG_From_int((int)(result));
3180 }
d55e5bfc
RD
3181 return resultobj;
3182 fail:
3183 return NULL;
3184}
3185
3186
c32bde28 3187static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3188 PyObject *resultobj;
3189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3190 int arg2 ;
3191 int arg3 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
3206 {
3207 arg3 = (int)(SWIG_As_int(obj2));
3208 if (SWIG_arg_fail(3)) SWIG_fail;
3209 }
d55e5bfc
RD
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->SetScrollPageSize(arg2,arg3);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
c32bde28 3224static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3225 PyObject *resultobj;
3226 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3227 int arg2 ;
3228 int arg3 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 PyObject * obj2 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 {
3240 arg2 = (int)(SWIG_As_int(obj1));
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 }
3243 {
3244 arg3 = (int)(SWIG_As_int(obj2));
3245 if (SWIG_arg_fail(3)) SWIG_fail;
3246 }
d55e5bfc
RD
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->SetScrollRate(arg2,arg3);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258}
3259
3260
c32bde28 3261static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3262 PyObject *resultobj;
3263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3264 int *arg2 = (int *) 0 ;
3265 int *arg3 = (int *) 0 ;
3266 int temp2 ;
c32bde28 3267 int res2 = 0 ;
d55e5bfc 3268 int temp3 ;
c32bde28 3269 int res3 = 0 ;
d55e5bfc
RD
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
c32bde28
RD
3275 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3276 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3288 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3289 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3290 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3291 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
c32bde28 3298static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3299 PyObject *resultobj;
3300 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3301 bool arg2 ;
3302 bool arg3 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3305 PyObject * obj2 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
3313 {
3314 arg2 = (bool)(SWIG_As_bool(obj1));
3315 if (SWIG_arg_fail(2)) SWIG_fail;
3316 }
3317 {
3318 arg3 = (bool)(SWIG_As_bool(obj2));
3319 if (SWIG_arg_fail(3)) SWIG_fail;
3320 }
d55e5bfc
RD
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->EnableScrolling(arg2,arg3);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332}
3333
3334
c32bde28 3335static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3336 PyObject *resultobj;
3337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3338 int *arg2 = (int *) 0 ;
3339 int *arg3 = (int *) 0 ;
3340 int temp2 ;
c32bde28 3341 int res2 = 0 ;
d55e5bfc 3342 int temp3 ;
c32bde28 3343 int res3 = 0 ;
d55e5bfc
RD
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
c32bde28
RD
3349 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3350 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3362 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
c32bde28 3372static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3373 PyObject *resultobj;
3374 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3375 double arg2 ;
3376 double arg3 ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "xs",(char *) "ys", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail;
3387 {
3388 arg2 = (double)(SWIG_As_double(obj1));
3389 if (SWIG_arg_fail(2)) SWIG_fail;
3390 }
3391 {
3392 arg3 = (double)(SWIG_As_double(obj2));
3393 if (SWIG_arg_fail(3)) SWIG_fail;
3394 }
d55e5bfc
RD
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetScale(arg2,arg3);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 return resultobj;
3404 fail:
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3410 PyObject *resultobj;
3411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3412 double result;
3413 PyObject * obj0 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
093d3ff1
RD
3428 {
3429 resultobj = SWIG_From_double((double)(result));
3430 }
d55e5bfc
RD
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3438 PyObject *resultobj;
3439 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3440 double result;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
093d3ff1
RD
3456 {
3457 resultobj = SWIG_From_double((double)(result));
3458 }
d55e5bfc
RD
3459 return resultobj;
3460 fail:
3461 return NULL;
3462}
3463
3464
c32bde28 3465static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3466 PyObject *resultobj;
3467 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3468 wxPoint *arg2 = 0 ;
3469 wxPoint result;
3470 wxPoint temp2 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473
3474 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3477 {
3478 arg2 = &temp2;
3479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3480 }
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 wxPoint * resultptr;
093d3ff1 3490 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
c32bde28 3499static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3500 PyObject *resultobj;
3501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3502 int arg2 ;
3503 int arg3 ;
3504 int *arg4 = (int *) 0 ;
3505 int *arg5 = (int *) 0 ;
3506 int temp4 ;
c32bde28 3507 int res4 = 0 ;
d55e5bfc 3508 int temp5 ;
c32bde28 3509 int res5 = 0 ;
d55e5bfc
RD
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
3513
c32bde28
RD
3514 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3515 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3516 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail;
3519 {
3520 arg2 = (int)(SWIG_As_int(obj1));
3521 if (SWIG_arg_fail(2)) SWIG_fail;
3522 }
3523 {
3524 arg3 = (int)(SWIG_As_int(obj2));
3525 if (SWIG_arg_fail(3)) SWIG_fail;
3526 }
d55e5bfc
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3535 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3536 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3537 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3538 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3539 return resultobj;
3540 fail:
3541 return NULL;
3542}
3543
3544
3545static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3546 int argc;
3547 PyObject *argv[4];
3548 int ii;
3549
3550 argc = PyObject_Length(args);
3551 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3552 argv[ii] = PyTuple_GetItem(args,ii);
3553 }
3554 if (argc == 2) {
3555 int _v;
3556 {
3557 void *ptr;
3558 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3559 _v = 0;
3560 PyErr_Clear();
3561 } else {
3562 _v = 1;
3563 }
3564 }
3565 if (_v) {
3566 {
3567 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3568 }
3569 if (_v) {
3570 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3571 }
3572 }
3573 }
3574 if (argc == 3) {
3575 int _v;
3576 {
3577 void *ptr;
3578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3579 _v = 0;
3580 PyErr_Clear();
3581 } else {
3582 _v = 1;
3583 }
3584 }
3585 if (_v) {
c32bde28 3586 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3587 if (_v) {
c32bde28 3588 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3589 if (_v) {
3590 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3591 }
3592 }
3593 }
3594 }
3595
093d3ff1 3596 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3602 PyObject *resultobj;
3603 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3604 wxPoint *arg2 = 0 ;
3605 wxPoint result;
3606 wxPoint temp2 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609
3610 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3613 {
3614 arg2 = &temp2;
3615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 wxPoint * resultptr;
093d3ff1 3626 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3628 }
3629 return resultobj;
3630 fail:
3631 return NULL;
3632}
3633
3634
c32bde28 3635static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3636 PyObject *resultobj;
3637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3638 int arg2 ;
3639 int arg3 ;
3640 int *arg4 = (int *) 0 ;
3641 int *arg5 = (int *) 0 ;
3642 int temp4 ;
c32bde28 3643 int res4 = 0 ;
d55e5bfc 3644 int temp5 ;
c32bde28 3645 int res5 = 0 ;
d55e5bfc
RD
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 PyObject * obj2 = 0 ;
3649
c32bde28
RD
3650 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3651 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3652 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail;
3655 {
3656 arg2 = (int)(SWIG_As_int(obj1));
3657 if (SWIG_arg_fail(2)) SWIG_fail;
3658 }
3659 {
3660 arg3 = (int)(SWIG_As_int(obj2));
3661 if (SWIG_arg_fail(3)) SWIG_fail;
3662 }
d55e5bfc
RD
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3671 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3672 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3673 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3674 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
3681static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3682 int argc;
3683 PyObject *argv[4];
3684 int ii;
3685
3686 argc = PyObject_Length(args);
3687 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3688 argv[ii] = PyTuple_GetItem(args,ii);
3689 }
3690 if (argc == 2) {
3691 int _v;
3692 {
3693 void *ptr;
3694 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3695 _v = 0;
3696 PyErr_Clear();
3697 } else {
3698 _v = 1;
3699 }
3700 }
3701 if (_v) {
3702 {
3703 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3704 }
3705 if (_v) {
3706 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3707 }
3708 }
3709 }
3710 if (argc == 3) {
3711 int _v;
3712 {
3713 void *ptr;
3714 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3715 _v = 0;
3716 PyErr_Clear();
3717 } else {
3718 _v = 1;
3719 }
3720 }
3721 if (_v) {
c32bde28 3722 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3723 if (_v) {
c32bde28 3724 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3725 if (_v) {
3726 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3727 }
3728 }
3729 }
3730 }
3731
093d3ff1 3732 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3733 return NULL;
3734}
3735
3736
c32bde28 3737static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3738 PyObject *resultobj;
3739 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->AdjustScrollbars();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759}
3760
3761
c32bde28 3762static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3763 PyObject *resultobj;
3764 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3765 wxScrollWinEvent *arg2 = 0 ;
3766 int result;
3767 PyObject * obj0 = 0 ;
3768 PyObject * obj1 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self",(char *) "event", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
3776 {
3777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3778 if (SWIG_arg_fail(2)) SWIG_fail;
3779 if (arg2 == NULL) {
3780 SWIG_null_ref("wxScrollWinEvent");
3781 }
3782 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)(arg1)->CalcScrollInc(*arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
093d3ff1
RD
3791 {
3792 resultobj = SWIG_From_int((int)(result));
3793 }
d55e5bfc
RD
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
c32bde28 3800static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3801 PyObject *resultobj;
3802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3803 wxWindow *arg2 = (wxWindow *) 0 ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self",(char *) "target", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail;
3813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 (arg1)->SetTargetWindow(arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 Py_INCREF(Py_None); resultobj = Py_None;
3823 return resultobj;
3824 fail:
3825 return NULL;
3826}
3827
3828
c32bde28 3829static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3830 PyObject *resultobj;
3831 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3832 wxWindow *result;
3833 PyObject * obj0 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
412d302d 3849 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854}
3855
3856
c32bde28 3857static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3858 PyObject *resultobj;
3859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3860 wxRect *arg2 = 0 ;
3861 wxRect temp2 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "rect", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3871 {
3872 arg2 = &temp2;
3873 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3874 }
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetTargetRect((wxRect const &)*arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
c32bde28 3889static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3890 PyObject *resultobj;
3891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3892 wxRect result;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
3899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 wxRect * resultptr;
093d3ff1 3910 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
3911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
c32bde28 3919static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3920 PyObject *resultobj;
3921 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3922 wxDC *arg2 = 0 ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "self",(char *) "dc", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail;
3932 {
3933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3934 if (SWIG_arg_fail(2)) SWIG_fail;
3935 if (arg2 == NULL) {
3936 SWIG_null_ref("wxDC");
3937 }
3938 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 (arg1)->DoPrepareDC(*arg2);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 Py_INCREF(Py_None); resultobj = Py_None;
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
c32bde28 3954static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3955 PyObject *resultobj;
093d3ff1 3956 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3957 wxVisualAttributes result;
3958 PyObject * obj0 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "variant", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3964 if (obj0) {
093d3ff1
RD
3965 {
3966 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3967 if (SWIG_arg_fail(1)) SWIG_fail;
3968 }
f20a2e1f
RD
3969 }
3970 {
0439c23b 3971 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3974
3975 wxPyEndAllowThreads(__tstate);
110da5b0 3976 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3977 }
3978 {
3979 wxVisualAttributes * resultptr;
093d3ff1 3980 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3982 }
3983 return resultobj;
3984 fail:
3985 return NULL;
3986}
3987
3988
c32bde28 3989static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3990 PyObject *obj;
3991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3992 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3993 Py_INCREF(obj);
3994 return Py_BuildValue((char *)"");
3995}
c32bde28 3996static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
3997 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3998 return 1;
3999}
4000
4001
093d3ff1 4002static PyObject *_wrap_FrameNameStr_get(void) {
d55e5bfc
RD
4003 PyObject *pyobj;
4004
4005 {
4006#if wxUSE_UNICODE
4007 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4008#else
4009 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4010#endif
4011 }
4012 return pyobj;
4013}
4014
4015
c32bde28 4016static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4017 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4018 return 1;
4019}
4020
4021
093d3ff1 4022static PyObject *_wrap_DialogNameStr_get(void) {
d55e5bfc
RD
4023 PyObject *pyobj;
4024
4025 {
4026#if wxUSE_UNICODE
4027 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4028#else
4029 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4030#endif
4031 }
4032 return pyobj;
4033}
4034
4035
c32bde28 4036static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4037 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4038 return 1;
4039}
4040
4041
093d3ff1 4042static PyObject *_wrap_StatusLineNameStr_get(void) {
d55e5bfc
RD
4043 PyObject *pyobj;
4044
4045 {
4046#if wxUSE_UNICODE
4047 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4048#else
4049 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4050#endif
4051 }
4052 return pyobj;
4053}
4054
4055
c32bde28 4056static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4057 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4058 return 1;
4059}
4060
4061
093d3ff1 4062static PyObject *_wrap_ToolBarNameStr_get(void) {
d55e5bfc
RD
4063 PyObject *pyobj;
4064
4065 {
4066#if wxUSE_UNICODE
4067 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4068#else
4069 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4070#endif
4071 }
4072 return pyobj;
4073}
4074
4075
c32bde28 4076static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4077 PyObject *resultobj;
4078 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4079 bool arg2 = (bool) true ;
d55e5bfc
RD
4080 PyObject * obj0 = 0 ;
4081 PyObject * obj1 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self",(char *) "maximize", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4089 if (obj1) {
093d3ff1
RD
4090 {
4091 arg2 = (bool)(SWIG_As_bool(obj1));
4092 if (SWIG_arg_fail(2)) SWIG_fail;
4093 }
d55e5bfc
RD
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->Maximize(arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106}
4107
4108
c32bde28 4109static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4110 PyObject *resultobj;
4111 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4112 PyObject * obj0 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->Restore();
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
c32bde28 4134static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4135 PyObject *resultobj;
4136 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4137 bool arg2 = (bool) true ;
d55e5bfc
RD
4138 PyObject * obj0 = 0 ;
4139 PyObject * obj1 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "iconize", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4147 if (obj1) {
093d3ff1
RD
4148 {
4149 arg2 = (bool)(SWIG_As_bool(obj1));
4150 if (SWIG_arg_fail(2)) SWIG_fail;
4151 }
d55e5bfc
RD
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->Iconize(arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 return resultobj;
4162 fail:
4163 return NULL;
4164}
4165
4166
c32bde28 4167static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4168 PyObject *resultobj;
4169 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4170 bool result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4188 }
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
c32bde28 4195static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4196 PyObject *resultobj;
4197 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4198 bool result;
4199 PyObject * obj0 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "self", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 {
4215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4216 }
4217 return resultobj;
4218 fail:
4219 return NULL;
4220}
4221
4222
c32bde28 4223static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4224 PyObject *resultobj;
4225 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4226 wxIcon result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 {
4243 wxIcon * resultptr;
093d3ff1 4244 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
4245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
c32bde28 4253static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4254 PyObject *resultobj;
4255 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4256 wxIcon *arg2 = 0 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self",(char *) "icon", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(1)) SWIG_fail;
4266 {
4267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4268 if (SWIG_arg_fail(2)) SWIG_fail;
4269 if (arg2 == NULL) {
4270 SWIG_null_ref("wxIcon");
4271 }
4272 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4273 }
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 (arg1)->SetIcon((wxIcon const &)*arg2);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
c32bde28 4288static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4289 PyObject *resultobj;
4290 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4291 wxIconBundle *arg2 = 0 ;
4292 PyObject * obj0 = 0 ;
4293 PyObject * obj1 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self",(char *) "icons", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail;
4301 {
4302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4303 if (SWIG_arg_fail(2)) SWIG_fail;
4304 if (arg2 == NULL) {
4305 SWIG_null_ref("wxIconBundle");
4306 }
4307 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 Py_INCREF(Py_None); resultobj = Py_None;
4317 return resultobj;
4318 fail:
4319 return NULL;
4320}
4321
4322
c32bde28 4323static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4324 PyObject *resultobj;
4325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4326 bool arg2 ;
4327 long arg3 = (long) wxFULLSCREEN_ALL ;
4328 bool result;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 PyObject * obj2 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self",(char *) "show",(char *) "style", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4338 if (SWIG_arg_fail(1)) SWIG_fail;
4339 {
4340 arg2 = (bool)(SWIG_As_bool(obj1));
4341 if (SWIG_arg_fail(2)) SWIG_fail;
4342 }
d55e5bfc 4343 if (obj2) {
093d3ff1
RD
4344 {
4345 arg3 = (long)(SWIG_As_long(obj2));
4346 if (SWIG_arg_fail(3)) SWIG_fail;
4347 }
d55e5bfc
RD
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 {
4357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4358 }
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
c32bde28 4365static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4366 PyObject *resultobj;
4367 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4368 bool result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4376 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 {
4385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4386 }
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
c32bde28 4393static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4394 PyObject *resultobj;
4395 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4396 wxString *arg2 = 0 ;
ae8162c8 4397 bool temp2 = false ;
d55e5bfc
RD
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "title", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4407 {
4408 arg2 = wxString_in_helper(obj1);
4409 if (arg2 == NULL) SWIG_fail;
ae8162c8 4410 temp2 = true;
d55e5bfc
RD
4411 }
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 (arg1)->SetTitle((wxString const &)*arg2);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 Py_INCREF(Py_None); resultobj = Py_None;
4420 {
4421 if (temp2)
4422 delete arg2;
4423 }
4424 return resultobj;
4425 fail:
4426 {
4427 if (temp2)
4428 delete arg2;
4429 }
4430 return NULL;
4431}
4432
4433
c32bde28 4434static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4435 PyObject *resultobj;
4436 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454#if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456#else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458#endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
c32bde28 4466static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4467 PyObject *resultobj;
4468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4469 wxRegion *arg2 = 0 ;
4470 bool result;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "region", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
4480 {
4481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4482 if (SWIG_arg_fail(2)) SWIG_fail;
4483 if (arg2 == NULL) {
4484 SWIG_null_ref("wxRegion");
4485 }
4486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4487 }
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4497 }
4498 return resultobj;
4499 fail:
4500 return NULL;
4501}
4502
4503
c32bde28
RD
4504static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4507 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj1 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "flags", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4516 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4517 if (obj1) {
093d3ff1
RD
4518 {
4519 arg2 = (int)(SWIG_As_int(obj1));
4520 if (SWIG_arg_fail(2)) SWIG_fail;
4521 }
c32bde28
RD
4522 }
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 (arg1)->RequestUserAttention(arg2);
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
5e483524
RD
4537static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj;
4539 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4540 bool result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4548 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (bool)(arg1)->IsActive();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
84f85550
RD
4565static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4568 bool arg2 ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj1 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "self",(char *) "on", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail;
4578 {
4579 arg2 = (bool)(SWIG_As_bool(obj1));
4580 if (SWIG_arg_fail(2)) SWIG_fail;
4581 }
84f85550
RD
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 Py_INCREF(Py_None); resultobj = Py_None;
4590 return resultobj;
4591 fail:
4592 return NULL;
4593}
4594
4595
4596static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4599 bool result;
4600 PyObject * obj0 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 {
4616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
c32bde28 4624static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630}
c32bde28 4631static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4632 PyObject *resultobj;
4633 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4634 int arg2 = (int) (int)-1 ;
4635 wxString const &arg3_defvalue = wxPyEmptyString ;
4636 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4639 wxSize const &arg5_defvalue = wxDefaultSize ;
4640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4641 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4642 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4643 wxString *arg7 = (wxString *) &arg7_defvalue ;
4644 wxFrame *result;
ae8162c8 4645 bool temp3 = false ;
d55e5bfc
RD
4646 wxPoint temp4 ;
4647 wxSize temp5 ;
ae8162c8 4648 bool temp7 = false ;
d55e5bfc
RD
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 PyObject * obj2 = 0 ;
4652 PyObject * obj3 = 0 ;
4653 PyObject * obj4 = 0 ;
4654 PyObject * obj5 = 0 ;
4655 PyObject * obj6 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4658 };
4659
248ed943 4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4662 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4663 if (obj1) {
093d3ff1
RD
4664 {
4665 arg2 = (int const)(SWIG_As_int(obj1));
4666 if (SWIG_arg_fail(2)) SWIG_fail;
4667 }
248ed943
RD
4668 }
4669 if (obj2) {
4670 {
4671 arg3 = wxString_in_helper(obj2);
4672 if (arg3 == NULL) SWIG_fail;
ae8162c8 4673 temp3 = true;
248ed943 4674 }
d55e5bfc
RD
4675 }
4676 if (obj3) {
4677 {
4678 arg4 = &temp4;
4679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4680 }
4681 }
4682 if (obj4) {
4683 {
4684 arg5 = &temp5;
4685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4686 }
4687 }
4688 if (obj5) {
093d3ff1
RD
4689 {
4690 arg6 = (long)(SWIG_As_long(obj5));
4691 if (SWIG_arg_fail(6)) SWIG_fail;
4692 }
d55e5bfc
RD
4693 }
4694 if (obj6) {
4695 {
4696 arg7 = wxString_in_helper(obj6);
4697 if (arg7 == NULL) SWIG_fail;
ae8162c8 4698 temp7 = true;
d55e5bfc
RD
4699 }
4700 }
4701 {
0439c23b 4702 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4705
4706 wxPyEndAllowThreads(__tstate);
110da5b0 4707 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4708 }
b0f7404b 4709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4710 {
4711 if (temp3)
4712 delete arg3;
4713 }
4714 {
4715 if (temp7)
4716 delete arg7;
4717 }
4718 return resultobj;
4719 fail:
4720 {
4721 if (temp3)
4722 delete arg3;
4723 }
4724 {
4725 if (temp7)
4726 delete arg7;
4727 }
4728 return NULL;
4729}
4730
4731
c32bde28 4732static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4733 PyObject *resultobj;
4734 wxFrame *result;
4735 char *kwnames[] = {
4736 NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4740 {
0439c23b 4741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = (wxFrame *)new wxFrame();
4744
4745 wxPyEndAllowThreads(__tstate);
110da5b0 4746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4747 }
b0f7404b 4748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
c32bde28 4755static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4756 PyObject *resultobj;
4757 wxFrame *arg1 = (wxFrame *) 0 ;
4758 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4759 int arg3 = (int) (int)-1 ;
4760 wxString const &arg4_defvalue = wxPyEmptyString ;
4761 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4764 wxSize const &arg6_defvalue = wxDefaultSize ;
4765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4766 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4767 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4768 wxString *arg8 = (wxString *) &arg8_defvalue ;
4769 bool result;
ae8162c8 4770 bool temp4 = false ;
d55e5bfc
RD
4771 wxPoint temp5 ;
4772 wxSize temp6 ;
ae8162c8 4773 bool temp8 = false ;
d55e5bfc
RD
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
4777 PyObject * obj3 = 0 ;
4778 PyObject * obj4 = 0 ;
4779 PyObject * obj5 = 0 ;
4780 PyObject * obj6 = 0 ;
4781 PyObject * obj7 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4784 };
4785
248ed943 4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail;
4789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4790 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4791 if (obj2) {
093d3ff1
RD
4792 {
4793 arg3 = (int const)(SWIG_As_int(obj2));
4794 if (SWIG_arg_fail(3)) SWIG_fail;
4795 }
248ed943
RD
4796 }
4797 if (obj3) {
4798 {
4799 arg4 = wxString_in_helper(obj3);
4800 if (arg4 == NULL) SWIG_fail;
ae8162c8 4801 temp4 = true;
248ed943 4802 }
d55e5bfc
RD
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 {
4812 arg6 = &temp6;
4813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4814 }
4815 }
4816 if (obj6) {
093d3ff1
RD
4817 {
4818 arg7 = (long)(SWIG_As_long(obj6));
4819 if (SWIG_arg_fail(7)) SWIG_fail;
4820 }
d55e5bfc
RD
4821 }
4822 if (obj7) {
4823 {
4824 arg8 = wxString_in_helper(obj7);
4825 if (arg8 == NULL) SWIG_fail;
ae8162c8 4826 temp8 = true;
d55e5bfc
RD
4827 }
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 {
4837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4838 }
4839 {
4840 if (temp4)
4841 delete arg4;
4842 }
4843 {
4844 if (temp8)
4845 delete arg8;
4846 }
4847 return resultobj;
4848 fail:
4849 {
4850 if (temp4)
4851 delete arg4;
4852 }
4853 {
4854 if (temp8)
4855 delete arg8;
4856 }
4857 return NULL;
4858}
4859
4860
c32bde28 4861static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4862 PyObject *resultobj;
4863 wxFrame *arg1 = (wxFrame *) 0 ;
4864 wxPoint result;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 {
4881 wxPoint * resultptr;
093d3ff1 4882 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
c32bde28 4891static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4892 PyObject *resultobj;
4893 wxFrame *arg1 = (wxFrame *) 0 ;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->SendSizeEvent();
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 Py_INCREF(Py_None); resultobj = Py_None;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
c32bde28 4916static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4917 PyObject *resultobj;
4918 wxFrame *arg1 = (wxFrame *) 0 ;
4919 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "menubar", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail;
4929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->SetMenuBar(arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942}
4943
4944
c32bde28 4945static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 wxMenuBar *result;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 {
412d302d 4965 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970}
4971
4972
c32bde28 4973static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4974 PyObject *resultobj;
4975 wxFrame *arg1 = (wxFrame *) 0 ;
4976 int arg2 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "winid", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail;
4987 {
4988 arg2 = (int)(SWIG_As_int(obj1));
4989 if (SWIG_arg_fail(2)) SWIG_fail;
4990 }
d55e5bfc
RD
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 result = (bool)(arg1)->ProcessCommand(arg2);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 {
4999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5000 }
5001 return resultobj;
5002 fail:
5003 return NULL;
5004}
5005
5006
c32bde28 5007static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5008 PyObject *resultobj;
5009 wxFrame *arg1 = (wxFrame *) 0 ;
5010 int arg2 = (int) 1 ;
5011 long arg3 = (long) wxST_SIZEGRIP ;
5012 int arg4 = (int) 0 ;
5013 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5014 wxString *arg5 = (wxString *) &arg5_defvalue ;
5015 wxStatusBar *result;
ae8162c8 5016 bool temp5 = false ;
d55e5bfc
RD
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 PyObject * obj2 = 0 ;
5020 PyObject * obj3 = 0 ;
5021 PyObject * obj4 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5029 if (obj1) {
093d3ff1
RD
5030 {
5031 arg2 = (int)(SWIG_As_int(obj1));
5032 if (SWIG_arg_fail(2)) SWIG_fail;
5033 }
d55e5bfc
RD
5034 }
5035 if (obj2) {
093d3ff1
RD
5036 {
5037 arg3 = (long)(SWIG_As_long(obj2));
5038 if (SWIG_arg_fail(3)) SWIG_fail;
5039 }
d55e5bfc
RD
5040 }
5041 if (obj3) {
093d3ff1
RD
5042 {
5043 arg4 = (int)(SWIG_As_int(obj3));
5044 if (SWIG_arg_fail(4)) SWIG_fail;
5045 }
d55e5bfc
RD
5046 }
5047 if (obj4) {
5048 {
5049 arg5 = wxString_in_helper(obj4);
5050 if (arg5 == NULL) SWIG_fail;
ae8162c8 5051 temp5 = true;
d55e5bfc
RD
5052 }
5053 }
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 {
412d302d 5062 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5063 }
5064 {
5065 if (temp5)
5066 delete arg5;
5067 }
5068 return resultobj;
5069 fail:
5070 {
5071 if (temp5)
5072 delete arg5;
5073 }
5074 return NULL;
5075}
5076
5077
c32bde28 5078static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5079 PyObject *resultobj;
5080 wxFrame *arg1 = (wxFrame *) 0 ;
5081 wxStatusBar *result;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
412d302d 5098 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
c32bde28 5106static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5107 PyObject *resultobj;
5108 wxFrame *arg1 = (wxFrame *) 0 ;
5109 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "statBar", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail;
5119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5120 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 (arg1)->SetStatusBar(arg2);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 Py_INCREF(Py_None); resultobj = Py_None;
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
c32bde28 5135static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5136 PyObject *resultobj;
5137 wxFrame *arg1 = (wxFrame *) 0 ;
5138 wxString *arg2 = 0 ;
5139 int arg3 = (int) 0 ;
ae8162c8 5140 bool temp2 = false ;
d55e5bfc
RD
5141 PyObject * obj0 = 0 ;
5142 PyObject * obj1 = 0 ;
5143 PyObject * obj2 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "text",(char *) "number", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5151 {
5152 arg2 = wxString_in_helper(obj1);
5153 if (arg2 == NULL) SWIG_fail;
ae8162c8 5154 temp2 = true;
d55e5bfc
RD
5155 }
5156 if (obj2) {
093d3ff1
RD
5157 {
5158 arg3 = (int)(SWIG_As_int(obj2));
5159 if (SWIG_arg_fail(3)) SWIG_fail;
5160 }
d55e5bfc
RD
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 {
5171 if (temp2)
5172 delete arg2;
5173 }
5174 return resultobj;
5175 fail:
5176 {
5177 if (temp2)
5178 delete arg2;
5179 }
5180 return NULL;
5181}
5182
5183
c32bde28 5184static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5185 PyObject *resultobj;
5186 wxFrame *arg1 = (wxFrame *) 0 ;
5187 int arg2 ;
5188 int *arg3 = (int *) 0 ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "widths", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5198 {
5199 arg2 = PyList_Size(obj1);
5200 arg3 = int_LIST_helper(obj1);
5201 if (arg3 == NULL) SWIG_fail;
5202 }
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 {
5212 if (arg3) delete [] arg3;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (arg3) delete [] arg3;
5218 }
5219 return NULL;
5220}
5221
5222
c32bde28 5223static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5224 PyObject *resultobj;
5225 wxFrame *arg1 = (wxFrame *) 0 ;
5226 wxString *arg2 = 0 ;
5227 int arg3 = (int) 0 ;
ae8162c8 5228 bool temp2 = false ;
d55e5bfc
RD
5229 PyObject * obj0 = 0 ;
5230 PyObject * obj1 = 0 ;
5231 PyObject * obj2 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "text",(char *) "number", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5239 {
5240 arg2 = wxString_in_helper(obj1);
5241 if (arg2 == NULL) SWIG_fail;
ae8162c8 5242 temp2 = true;
d55e5bfc
RD
5243 }
5244 if (obj2) {
093d3ff1
RD
5245 {
5246 arg3 = (int)(SWIG_As_int(obj2));
5247 if (SWIG_arg_fail(3)) SWIG_fail;
5248 }
d55e5bfc
RD
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 {
5259 if (temp2)
5260 delete arg2;
5261 }
5262 return resultobj;
5263 fail:
5264 {
5265 if (temp2)
5266 delete arg2;
5267 }
5268 return NULL;
5269}
5270
5271
c32bde28 5272static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5273 PyObject *resultobj;
5274 wxFrame *arg1 = (wxFrame *) 0 ;
5275 int arg2 = (int) 0 ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self",(char *) "number", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5285 if (obj1) {
093d3ff1
RD
5286 {
5287 arg2 = (int)(SWIG_As_int(obj1));
5288 if (SWIG_arg_fail(2)) SWIG_fail;
5289 }
d55e5bfc
RD
5290 }
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 (arg1)->PopStatusText(arg2);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
5299 return resultobj;
5300 fail:
5301 return NULL;
5302}
5303
5304
c32bde28 5305static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5306 PyObject *resultobj;
5307 wxFrame *arg1 = (wxFrame *) 0 ;
5308 int arg2 ;
5309 PyObject * obj0 = 0 ;
5310 PyObject * obj1 = 0 ;
5311 char *kwnames[] = {
5312 (char *) "self",(char *) "n", NULL
5313 };
5314
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5317 if (SWIG_arg_fail(1)) SWIG_fail;
5318 {
5319 arg2 = (int)(SWIG_As_int(obj1));
5320 if (SWIG_arg_fail(2)) SWIG_fail;
5321 }
d55e5bfc
RD
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 (arg1)->SetStatusBarPane(arg2);
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 Py_INCREF(Py_None); resultobj = Py_None;
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
c32bde28 5336static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5337 PyObject *resultobj;
5338 wxFrame *arg1 = (wxFrame *) 0 ;
5339 int result;
5340 PyObject * obj0 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
093d3ff1
RD
5355 {
5356 resultobj = SWIG_From_int((int)(result));
5357 }
d55e5bfc
RD
5358 return resultobj;
5359 fail:
5360 return NULL;
5361}
5362
5363
c32bde28 5364static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5365 PyObject *resultobj;
5366 wxFrame *arg1 = (wxFrame *) 0 ;
5367 long arg2 = (long) -1 ;
5368 int arg3 = (int) -1 ;
5369 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5370 wxString *arg4 = (wxString *) &arg4_defvalue ;
5371 wxToolBar *result;
ae8162c8 5372 bool temp4 = false ;
d55e5bfc
RD
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 PyObject * obj2 = 0 ;
5376 PyObject * obj3 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5384 if (obj1) {
093d3ff1
RD
5385 {
5386 arg2 = (long)(SWIG_As_long(obj1));
5387 if (SWIG_arg_fail(2)) SWIG_fail;
5388 }
d55e5bfc
RD
5389 }
5390 if (obj2) {
093d3ff1
RD
5391 {
5392 arg3 = (int)(SWIG_As_int(obj2));
5393 if (SWIG_arg_fail(3)) SWIG_fail;
5394 }
d55e5bfc
RD
5395 }
5396 if (obj3) {
5397 {
5398 arg4 = wxString_in_helper(obj3);
5399 if (arg4 == NULL) SWIG_fail;
ae8162c8 5400 temp4 = true;
d55e5bfc
RD
5401 }
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 {
412d302d 5411 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5412 }
5413 {
5414 if (temp4)
5415 delete arg4;
5416 }
5417 return resultobj;
5418 fail:
5419 {
5420 if (temp4)
5421 delete arg4;
5422 }
5423 return NULL;
5424}
5425
5426
c32bde28 5427static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5428 PyObject *resultobj;
5429 wxFrame *arg1 = (wxFrame *) 0 ;
5430 wxToolBar *result;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 {
412d302d 5447 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5448 }
5449 return resultobj;
5450 fail:
5451 return NULL;
5452}
5453
5454
c32bde28 5455static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5456 PyObject *resultobj;
5457 wxFrame *arg1 = (wxFrame *) 0 ;
5458 wxToolBar *arg2 = (wxToolBar *) 0 ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "toolbar", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail;
5468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5469 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->SetToolBar(arg2);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 return resultobj;
5479 fail:
5480 return NULL;
5481}
5482
5483
c32bde28 5484static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5485 PyObject *resultobj;
5486 wxFrame *arg1 = (wxFrame *) 0 ;
5487 wxString *arg2 = 0 ;
5488 bool arg3 ;
ae8162c8 5489 bool temp2 = false ;
d55e5bfc
RD
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 PyObject * obj2 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "text",(char *) "show", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5500 {
5501 arg2 = wxString_in_helper(obj1);
5502 if (arg2 == NULL) SWIG_fail;
ae8162c8 5503 temp2 = true;
d55e5bfc 5504 }
093d3ff1
RD
5505 {
5506 arg3 = (bool)(SWIG_As_bool(obj2));
5507 if (SWIG_arg_fail(3)) SWIG_fail;
5508 }
d55e5bfc
RD
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 {
5518 if (temp2)
5519 delete arg2;
5520 }
5521 return resultobj;
5522 fail:
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return NULL;
5528}
5529
5530
c32bde28 5531static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5532 PyObject *resultobj;
5533 wxFrame *arg1 = (wxFrame *) 0 ;
5534 wxMenu *arg2 = (wxMenu *) NULL ;
5535 PyObject * obj0 = 0 ;
5536 PyObject * obj1 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self",(char *) "menu", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5544 if (obj1) {
093d3ff1
RD
5545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5546 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5547 }
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 (arg1)->DoMenuUpdates(arg2);
5551
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 Py_INCREF(Py_None); resultobj = Py_None;
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
c32bde28 5562static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5563 PyObject *resultobj;
093d3ff1 5564 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5565 wxVisualAttributes result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "variant", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5572 if (obj0) {
093d3ff1
RD
5573 {
5574 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5575 if (SWIG_arg_fail(1)) SWIG_fail;
5576 }
f20a2e1f
RD
5577 }
5578 {
0439c23b 5579 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5582
5583 wxPyEndAllowThreads(__tstate);
110da5b0 5584 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5585 }
5586 {
5587 wxVisualAttributes * resultptr;
093d3ff1 5588 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5590 }
5591 return resultobj;
5592 fail:
5593 return NULL;
5594}
5595
5596
c32bde28 5597static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5598 PyObject *obj;
5599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5600 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5601 Py_INCREF(obj);
5602 return Py_BuildValue((char *)"");
5603}
c32bde28 5604static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5605 PyObject *resultobj;
5606 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5607 int arg2 = (int) (int)-1 ;
5608 wxString const &arg3_defvalue = wxPyEmptyString ;
5609 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5612 wxSize const &arg5_defvalue = wxDefaultSize ;
5613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5614 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5615 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5616 wxString *arg7 = (wxString *) &arg7_defvalue ;
5617 wxDialog *result;
ae8162c8 5618 bool temp3 = false ;
d55e5bfc
RD
5619 wxPoint temp4 ;
5620 wxSize temp5 ;
ae8162c8 5621 bool temp7 = false ;
d55e5bfc
RD
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 PyObject * obj2 = 0 ;
5625 PyObject * obj3 = 0 ;
5626 PyObject * obj4 = 0 ;
5627 PyObject * obj5 = 0 ;
5628 PyObject * obj6 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5631 };
5632
248ed943 5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5635 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5636 if (obj1) {
093d3ff1
RD
5637 {
5638 arg2 = (int const)(SWIG_As_int(obj1));
5639 if (SWIG_arg_fail(2)) SWIG_fail;
5640 }
248ed943
RD
5641 }
5642 if (obj2) {
5643 {
5644 arg3 = wxString_in_helper(obj2);
5645 if (arg3 == NULL) SWIG_fail;
ae8162c8 5646 temp3 = true;
248ed943 5647 }
d55e5bfc
RD
5648 }
5649 if (obj3) {
5650 {
5651 arg4 = &temp4;
5652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5653 }
5654 }
5655 if (obj4) {
5656 {
5657 arg5 = &temp5;
5658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5659 }
5660 }
5661 if (obj5) {
093d3ff1
RD
5662 {
5663 arg6 = (long)(SWIG_As_long(obj5));
5664 if (SWIG_arg_fail(6)) SWIG_fail;
5665 }
d55e5bfc
RD
5666 }
5667 if (obj6) {
5668 {
5669 arg7 = wxString_in_helper(obj6);
5670 if (arg7 == NULL) SWIG_fail;
ae8162c8 5671 temp7 = true;
d55e5bfc
RD
5672 }
5673 }
5674 {
0439c23b 5675 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5678
5679 wxPyEndAllowThreads(__tstate);
110da5b0 5680 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5681 }
b0f7404b 5682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5683 {
5684 if (temp3)
5685 delete arg3;
5686 }
5687 {
5688 if (temp7)
5689 delete arg7;
5690 }
5691 return resultobj;
5692 fail:
5693 {
5694 if (temp3)
5695 delete arg3;
5696 }
5697 {
5698 if (temp7)
5699 delete arg7;
5700 }
5701 return NULL;
5702}
5703
5704
c32bde28 5705static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5706 PyObject *resultobj;
5707 wxDialog *result;
5708 char *kwnames[] = {
5709 NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5713 {
0439c23b 5714 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (wxDialog *)new wxDialog();
5717
5718 wxPyEndAllowThreads(__tstate);
110da5b0 5719 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5720 }
b0f7404b 5721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5722 return resultobj;
5723 fail:
5724 return NULL;
5725}
5726
5727
c32bde28 5728static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5729 PyObject *resultobj;
5730 wxDialog *arg1 = (wxDialog *) 0 ;
5731 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5732 int arg3 = (int) (int)-1 ;
5733 wxString const &arg4_defvalue = wxPyEmptyString ;
5734 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5735 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5736 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5737 wxSize const &arg6_defvalue = wxDefaultSize ;
5738 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5739 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5740 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5741 wxString *arg8 = (wxString *) &arg8_defvalue ;
5742 bool result;
ae8162c8 5743 bool temp4 = false ;
d55e5bfc
RD
5744 wxPoint temp5 ;
5745 wxSize temp6 ;
ae8162c8 5746 bool temp8 = false ;
d55e5bfc
RD
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5757 };
5758
248ed943 5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
5762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5763 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5764 if (obj2) {
093d3ff1
RD
5765 {
5766 arg3 = (int const)(SWIG_As_int(obj2));
5767 if (SWIG_arg_fail(3)) SWIG_fail;
5768 }
248ed943
RD
5769 }
5770 if (obj3) {
5771 {
5772 arg4 = wxString_in_helper(obj3);
5773 if (arg4 == NULL) SWIG_fail;
ae8162c8 5774 temp4 = true;
248ed943 5775 }
d55e5bfc
RD
5776 }
5777 if (obj4) {
5778 {
5779 arg5 = &temp5;
5780 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5781 }
5782 }
5783 if (obj5) {
5784 {
5785 arg6 = &temp6;
5786 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5787 }
5788 }
5789 if (obj6) {
093d3ff1
RD
5790 {
5791 arg7 = (long)(SWIG_As_long(obj6));
5792 if (SWIG_arg_fail(7)) SWIG_fail;
5793 }
d55e5bfc
RD
5794 }
5795 if (obj7) {
5796 {
5797 arg8 = wxString_in_helper(obj7);
5798 if (arg8 == NULL) SWIG_fail;
ae8162c8 5799 temp8 = true;
d55e5bfc
RD
5800 }
5801 }
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 {
5810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5811 }
5812 {
5813 if (temp4)
5814 delete arg4;
5815 }
5816 {
5817 if (temp8)
5818 delete arg8;
5819 }
5820 return resultobj;
5821 fail:
5822 {
5823 if (temp4)
5824 delete arg4;
5825 }
5826 {
5827 if (temp8)
5828 delete arg8;
5829 }
5830 return NULL;
5831}
5832
5833
c32bde28 5834static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5835 PyObject *resultobj;
5836 wxDialog *arg1 = (wxDialog *) 0 ;
5837 int arg2 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "returnCode", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail;
5847 {
5848 arg2 = (int)(SWIG_As_int(obj1));
5849 if (SWIG_arg_fail(2)) SWIG_fail;
5850 }
d55e5bfc
RD
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 (arg1)->SetReturnCode(arg2);
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 Py_INCREF(Py_None); resultobj = Py_None;
5859 return resultobj;
5860 fail:
5861 return NULL;
5862}
5863
5864
c32bde28 5865static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5866 PyObject *resultobj;
5867 wxDialog *arg1 = (wxDialog *) 0 ;
5868 int result;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5877 {
5878 PyThreadState* __tstate = wxPyBeginAllowThreads();
5879 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5880
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
093d3ff1
RD
5884 {
5885 resultobj = SWIG_From_int((int)(result));
5886 }
d55e5bfc
RD
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
c32bde28 5893static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5894 PyObject *resultobj;
5895 wxDialog *arg1 = (wxDialog *) 0 ;
5896 wxString *arg2 = 0 ;
5897 wxSizer *result;
ae8162c8 5898 bool temp2 = false ;
d55e5bfc
RD
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "message", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5908 {
5909 arg2 = wxString_in_helper(obj1);
5910 if (arg2 == NULL) SWIG_fail;
ae8162c8 5911 temp2 = true;
d55e5bfc
RD
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 {
412d302d 5921 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5922 }
5923 {
5924 if (temp2)
5925 delete arg2;
5926 }
5927 return resultobj;
5928 fail:
5929 {
5930 if (temp2)
5931 delete arg2;
5932 }
5933 return NULL;
5934}
5935
5936
c32bde28 5937static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5938 PyObject *resultobj;
5939 wxDialog *arg1 = (wxDialog *) 0 ;
5940 long arg2 ;
5941 wxSizer *result;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self",(char *) "flags", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5950 if (SWIG_arg_fail(1)) SWIG_fail;
5951 {
5952 arg2 = (long)(SWIG_As_long(obj1));
5953 if (SWIG_arg_fail(2)) SWIG_fail;
5954 }
d55e5bfc
RD
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
412d302d 5963 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5964 }
5965 return resultobj;
5966 fail:
5967 return NULL;
5968}
5969
5970
62d32a5f
RD
5971static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5972 PyObject *resultobj;
5973 wxDialog *arg1 = (wxDialog *) 0 ;
5974 long arg2 ;
5975 wxStdDialogButtonSizer *result;
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "flags", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5984 if (SWIG_arg_fail(1)) SWIG_fail;
5985 {
5986 arg2 = (long)(SWIG_As_long(obj1));
5987 if (SWIG_arg_fail(2)) SWIG_fail;
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
c32bde28 6003static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6004 PyObject *resultobj;
6005 wxDialog *arg1 = (wxDialog *) 0 ;
6006 bool result;
6007 PyObject * obj0 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (bool)((wxDialog const *)arg1)->IsModal();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 {
6023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6024 }
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
c32bde28 6031static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6032 PyObject *resultobj;
6033 wxDialog *arg1 = (wxDialog *) 0 ;
6034 int result;
6035 PyObject * obj0 = 0 ;
6036 char *kwnames[] = {
6037 (char *) "self", NULL
6038 };
6039
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (int)(arg1)->ShowModal();
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
093d3ff1
RD
6050 {
6051 resultobj = SWIG_From_int((int)(result));
6052 }
d55e5bfc
RD
6053 return resultobj;
6054 fail:
6055 return NULL;
6056}
6057
6058
c32bde28 6059static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6060 PyObject *resultobj;
6061 wxDialog *arg1 = (wxDialog *) 0 ;
6062 int arg2 ;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "retCode", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
6072 {
6073 arg2 = (int)(SWIG_As_int(obj1));
6074 if (SWIG_arg_fail(2)) SWIG_fail;
6075 }
d55e5bfc
RD
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 (arg1)->EndModal(arg2);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
c32bde28 6090static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6091 PyObject *resultobj;
093d3ff1 6092 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6093 wxVisualAttributes result;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "variant", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6100 if (obj0) {
093d3ff1
RD
6101 {
6102 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6103 if (SWIG_arg_fail(1)) SWIG_fail;
6104 }
f20a2e1f
RD
6105 }
6106 {
0439c23b 6107 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6110
6111 wxPyEndAllowThreads(__tstate);
110da5b0 6112 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6113 }
6114 {
6115 wxVisualAttributes * resultptr;
093d3ff1 6116 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6118 }
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
c32bde28 6125static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6126 PyObject *obj;
6127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6129 Py_INCREF(obj);
6130 return Py_BuildValue((char *)"");
6131}
c32bde28 6132static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6133 PyObject *resultobj;
6134 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6135 int arg2 = (int) (int)-1 ;
6136 wxString const &arg3_defvalue = wxPyEmptyString ;
6137 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6140 wxSize const &arg5_defvalue = wxDefaultSize ;
6141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6142 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6143 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6144 wxString *arg7 = (wxString *) &arg7_defvalue ;
6145 wxMiniFrame *result;
ae8162c8 6146 bool temp3 = false ;
d55e5bfc
RD
6147 wxPoint temp4 ;
6148 wxSize temp5 ;
ae8162c8 6149 bool temp7 = false ;
d55e5bfc
RD
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 PyObject * obj2 = 0 ;
6153 PyObject * obj3 = 0 ;
6154 PyObject * obj4 = 0 ;
6155 PyObject * obj5 = 0 ;
6156 PyObject * obj6 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6159 };
6160
248ed943 6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6163 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6164 if (obj1) {
093d3ff1
RD
6165 {
6166 arg2 = (int const)(SWIG_As_int(obj1));
6167 if (SWIG_arg_fail(2)) SWIG_fail;
6168 }
248ed943
RD
6169 }
6170 if (obj2) {
6171 {
6172 arg3 = wxString_in_helper(obj2);
6173 if (arg3 == NULL) SWIG_fail;
ae8162c8 6174 temp3 = true;
248ed943 6175 }
d55e5bfc
RD
6176 }
6177 if (obj3) {
6178 {
6179 arg4 = &temp4;
6180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6181 }
6182 }
6183 if (obj4) {
6184 {
6185 arg5 = &temp5;
6186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6187 }
6188 }
6189 if (obj5) {
093d3ff1
RD
6190 {
6191 arg6 = (long)(SWIG_As_long(obj5));
6192 if (SWIG_arg_fail(6)) SWIG_fail;
6193 }
d55e5bfc
RD
6194 }
6195 if (obj6) {
6196 {
6197 arg7 = wxString_in_helper(obj6);
6198 if (arg7 == NULL) SWIG_fail;
ae8162c8 6199 temp7 = true;
d55e5bfc
RD
6200 }
6201 }
6202 {
0439c23b 6203 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6206
6207 wxPyEndAllowThreads(__tstate);
110da5b0 6208 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6209 }
6210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6211 {
6212 if (temp3)
6213 delete arg3;
6214 }
6215 {
6216 if (temp7)
6217 delete arg7;
6218 }
6219 return resultobj;
6220 fail:
6221 {
6222 if (temp3)
6223 delete arg3;
6224 }
6225 {
6226 if (temp7)
6227 delete arg7;
6228 }
6229 return NULL;
6230}
6231
6232
c32bde28 6233static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6234 PyObject *resultobj;
6235 wxMiniFrame *result;
6236 char *kwnames[] = {
6237 NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6241 {
0439c23b 6242 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxMiniFrame *)new wxMiniFrame();
6245
6246 wxPyEndAllowThreads(__tstate);
110da5b0 6247 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6248 }
6249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
c32bde28 6256static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6257 PyObject *resultobj;
6258 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6259 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6260 int arg3 = (int) (int)-1 ;
6261 wxString const &arg4_defvalue = wxPyEmptyString ;
6262 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6263 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6264 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6265 wxSize const &arg6_defvalue = wxDefaultSize ;
6266 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6267 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6268 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6269 wxString *arg8 = (wxString *) &arg8_defvalue ;
6270 bool result;
ae8162c8 6271 bool temp4 = false ;
d55e5bfc
RD
6272 wxPoint temp5 ;
6273 wxSize temp6 ;
ae8162c8 6274 bool temp8 = false ;
d55e5bfc
RD
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 PyObject * obj2 = 0 ;
6278 PyObject * obj3 = 0 ;
6279 PyObject * obj4 = 0 ;
6280 PyObject * obj5 = 0 ;
6281 PyObject * obj6 = 0 ;
6282 PyObject * obj7 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6285 };
6286
248ed943 6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail;
6290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6291 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6292 if (obj2) {
093d3ff1
RD
6293 {
6294 arg3 = (int const)(SWIG_As_int(obj2));
6295 if (SWIG_arg_fail(3)) SWIG_fail;
6296 }
248ed943
RD
6297 }
6298 if (obj3) {
6299 {
6300 arg4 = wxString_in_helper(obj3);
6301 if (arg4 == NULL) SWIG_fail;
ae8162c8 6302 temp4 = true;
248ed943 6303 }
d55e5bfc
RD
6304 }
6305 if (obj4) {
6306 {
6307 arg5 = &temp5;
6308 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6309 }
6310 }
6311 if (obj5) {
6312 {
6313 arg6 = &temp6;
6314 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6315 }
6316 }
6317 if (obj6) {
093d3ff1
RD
6318 {
6319 arg7 = (long)(SWIG_As_long(obj6));
6320 if (SWIG_arg_fail(7)) SWIG_fail;
6321 }
d55e5bfc
RD
6322 }
6323 if (obj7) {
6324 {
6325 arg8 = wxString_in_helper(obj7);
6326 if (arg8 == NULL) SWIG_fail;
ae8162c8 6327 temp8 = true;
d55e5bfc
RD
6328 }
6329 }
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 {
6338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6339 }
6340 {
6341 if (temp4)
6342 delete arg4;
6343 }
6344 {
6345 if (temp8)
6346 delete arg8;
6347 }
6348 return resultobj;
6349 fail:
6350 {
6351 if (temp4)
6352 delete arg4;
6353 }
6354 {
6355 if (temp8)
6356 delete arg8;
6357 }
6358 return NULL;
6359}
6360
6361
c32bde28 6362static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6363 PyObject *obj;
6364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6366 Py_INCREF(obj);
6367 return Py_BuildValue((char *)"");
6368}
c32bde28 6369static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6370 PyObject *resultobj;
6371 wxBitmap *arg1 = 0 ;
6372 wxWindow *arg2 = (wxWindow *) 0 ;
6373 int arg3 ;
6374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6376 wxSize const &arg5_defvalue = wxDefaultSize ;
6377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6378 long arg6 = (long) wxNO_BORDER ;
6379 wxSplashScreenWindow *result;
6380 wxPoint temp4 ;
6381 wxSize temp5 ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 PyObject * obj2 = 0 ;
6385 PyObject * obj3 = 0 ;
6386 PyObject * obj4 = 0 ;
6387 PyObject * obj5 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6393 {
6394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(1)) SWIG_fail;
6396 if (arg1 == NULL) {
6397 SWIG_null_ref("wxBitmap");
6398 }
6399 if (SWIG_arg_fail(1)) SWIG_fail;
6400 }
6401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6402 if (SWIG_arg_fail(2)) SWIG_fail;
6403 {
6404 arg3 = (int)(SWIG_As_int(obj2));
6405 if (SWIG_arg_fail(3)) SWIG_fail;
6406 }
d55e5bfc
RD
6407 if (obj3) {
6408 {
6409 arg4 = &temp4;
6410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6411 }
6412 }
6413 if (obj4) {
6414 {
6415 arg5 = &temp5;
6416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6417 }
6418 }
6419 if (obj5) {
093d3ff1
RD
6420 {
6421 arg6 = (long)(SWIG_As_long(obj5));
6422 if (SWIG_arg_fail(6)) SWIG_fail;
6423 }
d55e5bfc
RD
6424 }
6425 {
0439c23b 6426 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6429
6430 wxPyEndAllowThreads(__tstate);
110da5b0 6431 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6432 }
6433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
c32bde28 6440static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6441 PyObject *resultobj;
6442 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6443 wxBitmap *arg2 = 0 ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "bitmap", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6452 if (SWIG_arg_fail(1)) SWIG_fail;
6453 {
6454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6455 if (SWIG_arg_fail(2)) SWIG_fail;
6456 if (arg2 == NULL) {
6457 SWIG_null_ref("wxBitmap");
6458 }
6459 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6460 }
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 Py_INCREF(Py_None); resultobj = Py_None;
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
c32bde28 6475static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6476 PyObject *resultobj;
6477 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6478 wxBitmap *result;
6479 PyObject * obj0 = 0 ;
6480 char *kwnames[] = {
6481 (char *) "self", NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 {
6490 wxBitmap &_result_ref = (arg1)->GetBitmap();
6491 result = (wxBitmap *) &_result_ref;
6492 }
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 {
6498 wxBitmap* resultptr = new wxBitmap(*result);
6499 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6500 }
6501 return resultobj;
6502 fail:
6503 return NULL;
6504}
6505
6506
c32bde28 6507static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6508 PyObject *obj;
6509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6510 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6511 Py_INCREF(obj);
6512 return Py_BuildValue((char *)"");
6513}
c32bde28 6514static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6515 PyObject *resultobj;
6516 wxBitmap *arg1 = 0 ;
6517 long arg2 ;
6518 int arg3 ;
6519 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6520 int arg5 = (int) -1 ;
d55e5bfc
RD
6521 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6522 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6523 wxSize const &arg7_defvalue = wxDefaultSize ;
6524 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6525 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6526 wxSplashScreen *result;
6527 wxPoint temp6 ;
6528 wxSize temp7 ;
6529 PyObject * obj0 = 0 ;
6530 PyObject * obj1 = 0 ;
6531 PyObject * obj2 = 0 ;
6532 PyObject * obj3 = 0 ;
6533 PyObject * obj4 = 0 ;
6534 PyObject * obj5 = 0 ;
6535 PyObject * obj6 = 0 ;
6536 PyObject * obj7 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6539 };
6540
248ed943 6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6542 {
6543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail;
6545 if (arg1 == NULL) {
6546 SWIG_null_ref("wxBitmap");
6547 }
6548 if (SWIG_arg_fail(1)) SWIG_fail;
6549 }
6550 {
6551 arg2 = (long)(SWIG_As_long(obj1));
6552 if (SWIG_arg_fail(2)) SWIG_fail;
6553 }
6554 {
6555 arg3 = (int)(SWIG_As_int(obj2));
6556 if (SWIG_arg_fail(3)) SWIG_fail;
6557 }
6558 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6559 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6560 if (obj4) {
093d3ff1
RD
6561 {
6562 arg5 = (int)(SWIG_As_int(obj4));
6563 if (SWIG_arg_fail(5)) SWIG_fail;
6564 }
248ed943 6565 }
d55e5bfc
RD
6566 if (obj5) {
6567 {
6568 arg6 = &temp6;
6569 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6570 }
6571 }
6572 if (obj6) {
6573 {
6574 arg7 = &temp7;
6575 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6576 }
6577 }
6578 if (obj7) {
093d3ff1
RD
6579 {
6580 arg8 = (long)(SWIG_As_long(obj7));
6581 if (SWIG_arg_fail(8)) SWIG_fail;
6582 }
d55e5bfc
RD
6583 }
6584 {
0439c23b 6585 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6588
6589 wxPyEndAllowThreads(__tstate);
110da5b0 6590 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6591 }
6592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596}
6597
6598
c32bde28 6599static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6600 PyObject *resultobj;
6601 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6602 long result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
093d3ff1
RD
6618 {
6619 resultobj = SWIG_From_long((long)(result));
6620 }
d55e5bfc
RD
6621 return resultobj;
6622 fail:
6623 return NULL;
6624}
6625
6626
c32bde28 6627static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6628 PyObject *resultobj;
6629 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6630 wxSplashScreenWindow *result;
6631 PyObject * obj0 = 0 ;
6632 char *kwnames[] = {
6633 (char *) "self", NULL
6634 };
6635
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650}
6651
6652
c32bde28 6653static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6654 PyObject *resultobj;
6655 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6656 int result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
093d3ff1
RD
6672 {
6673 resultobj = SWIG_From_int((int)(result));
6674 }
d55e5bfc
RD
6675 return resultobj;
6676 fail:
6677 return NULL;
6678}
6679
6680
c32bde28 6681static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6682 PyObject *obj;
6683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6684 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6685 Py_INCREF(obj);
6686 return Py_BuildValue((char *)"");
6687}
c32bde28 6688static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6689 PyObject *resultobj;
6690 wxWindow *arg1 = (wxWindow *) 0 ;
6691 int arg2 = (int) -1 ;
6692 long arg3 = (long) wxST_SIZEGRIP ;
6693 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6694 wxString *arg4 = (wxString *) &arg4_defvalue ;
6695 wxStatusBar *result;
ae8162c8 6696 bool temp4 = false ;
d55e5bfc
RD
6697 PyObject * obj0 = 0 ;
6698 PyObject * obj1 = 0 ;
6699 PyObject * obj2 = 0 ;
6700 PyObject * obj3 = 0 ;
6701 char *kwnames[] = {
6702 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6703 };
6704
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6708 if (obj1) {
093d3ff1
RD
6709 {
6710 arg2 = (int)(SWIG_As_int(obj1));
6711 if (SWIG_arg_fail(2)) SWIG_fail;
6712 }
d55e5bfc
RD
6713 }
6714 if (obj2) {
093d3ff1
RD
6715 {
6716 arg3 = (long)(SWIG_As_long(obj2));
6717 if (SWIG_arg_fail(3)) SWIG_fail;
6718 }
d55e5bfc
RD
6719 }
6720 if (obj3) {
6721 {
6722 arg4 = wxString_in_helper(obj3);
6723 if (arg4 == NULL) SWIG_fail;
ae8162c8 6724 temp4 = true;
d55e5bfc
RD
6725 }
6726 }
6727 {
0439c23b 6728 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6731
6732 wxPyEndAllowThreads(__tstate);
110da5b0 6733 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6734 }
b0f7404b 6735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6736 {
6737 if (temp4)
6738 delete arg4;
6739 }
6740 return resultobj;
6741 fail:
6742 {
6743 if (temp4)
6744 delete arg4;
6745 }
6746 return NULL;
6747}
6748
6749
c32bde28 6750static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6751 PyObject *resultobj;
6752 wxStatusBar *result;
6753 char *kwnames[] = {
6754 NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6758 {
0439c23b 6759 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (wxStatusBar *)new wxStatusBar();
6762
6763 wxPyEndAllowThreads(__tstate);
110da5b0 6764 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6765 }
b0f7404b 6766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6767 return resultobj;
6768 fail:
6769 return NULL;
6770}
6771
6772
c32bde28 6773static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6774 PyObject *resultobj;
6775 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6776 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6777 int arg3 = (int) -1 ;
d55e5bfc
RD
6778 long arg4 = (long) wxST_SIZEGRIP ;
6779 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6780 wxString *arg5 = (wxString *) &arg5_defvalue ;
6781 bool result;
ae8162c8 6782 bool temp5 = false ;
d55e5bfc
RD
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 PyObject * obj2 = 0 ;
6786 PyObject * obj3 = 0 ;
6787 PyObject * obj4 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6790 };
6791
248ed943 6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6794 if (SWIG_arg_fail(1)) SWIG_fail;
6795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6796 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6797 if (obj2) {
093d3ff1
RD
6798 {
6799 arg3 = (int)(SWIG_As_int(obj2));
6800 if (SWIG_arg_fail(3)) SWIG_fail;
6801 }
248ed943 6802 }
d55e5bfc 6803 if (obj3) {
093d3ff1
RD
6804 {
6805 arg4 = (long)(SWIG_As_long(obj3));
6806 if (SWIG_arg_fail(4)) SWIG_fail;
6807 }
d55e5bfc
RD
6808 }
6809 if (obj4) {
6810 {
6811 arg5 = wxString_in_helper(obj4);
6812 if (arg5 == NULL) SWIG_fail;
ae8162c8 6813 temp5 = true;
d55e5bfc
RD
6814 }
6815 }
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6825 }
6826 {
6827 if (temp5)
6828 delete arg5;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp5)
6834 delete arg5;
6835 }
6836 return NULL;
6837}
6838
6839
c32bde28 6840static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6841 PyObject *resultobj;
6842 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6843 int arg2 = (int) 1 ;
6844 PyObject * obj0 = 0 ;
6845 PyObject * obj1 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "number", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6853 if (obj1) {
093d3ff1
RD
6854 {
6855 arg2 = (int)(SWIG_As_int(obj1));
6856 if (SWIG_arg_fail(2)) SWIG_fail;
6857 }
d55e5bfc
RD
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetFieldsCount(arg2);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870}
6871
6872
c32bde28 6873static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6874 PyObject *resultobj;
6875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6876 int result;
6877 PyObject * obj0 = 0 ;
6878 char *kwnames[] = {
6879 (char *) "self", NULL
6880 };
6881
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
093d3ff1
RD
6892 {
6893 resultobj = SWIG_From_int((int)(result));
6894 }
d55e5bfc
RD
6895 return resultobj;
6896 fail:
6897 return NULL;
6898}
6899
6900
c32bde28 6901static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6902 PyObject *resultobj;
6903 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6904 wxString *arg2 = 0 ;
6905 int arg3 = (int) 0 ;
ae8162c8 6906 bool temp2 = false ;
d55e5bfc
RD
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 PyObject * obj2 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "text",(char *) "number", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6917 {
6918 arg2 = wxString_in_helper(obj1);
6919 if (arg2 == NULL) SWIG_fail;
ae8162c8 6920 temp2 = true;
d55e5bfc
RD
6921 }
6922 if (obj2) {
093d3ff1
RD
6923 {
6924 arg3 = (int)(SWIG_As_int(obj2));
6925 if (SWIG_arg_fail(3)) SWIG_fail;
6926 }
d55e5bfc
RD
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 {
6937 if (temp2)
6938 delete arg2;
6939 }
6940 return resultobj;
6941 fail:
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return NULL;
6947}
6948
6949
c32bde28 6950static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6951 PyObject *resultobj;
6952 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6953 int arg2 = (int) 0 ;
6954 wxString result;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "number", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6964 if (obj1) {
093d3ff1
RD
6965 {
6966 arg2 = (int)(SWIG_As_int(obj1));
6967 if (SWIG_arg_fail(2)) SWIG_fail;
6968 }
d55e5bfc
RD
6969 }
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978#if wxUSE_UNICODE
6979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6980#else
6981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6982#endif
6983 }
6984 return resultobj;
6985 fail:
6986 return NULL;
6987}
6988
6989
c32bde28 6990static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6991 PyObject *resultobj;
6992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6993 wxString *arg2 = 0 ;
6994 int arg3 = (int) 0 ;
ae8162c8 6995 bool temp2 = false ;
d55e5bfc
RD
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "text",(char *) "number", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7006 {
7007 arg2 = wxString_in_helper(obj1);
7008 if (arg2 == NULL) SWIG_fail;
ae8162c8 7009 temp2 = true;
d55e5bfc
RD
7010 }
7011 if (obj2) {
093d3ff1
RD
7012 {
7013 arg3 = (int)(SWIG_As_int(obj2));
7014 if (SWIG_arg_fail(3)) SWIG_fail;
7015 }
d55e5bfc
RD
7016 }
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 Py_INCREF(Py_None); resultobj = Py_None;
7025 {
7026 if (temp2)
7027 delete arg2;
7028 }
7029 return resultobj;
7030 fail:
7031 {
7032 if (temp2)
7033 delete arg2;
7034 }
7035 return NULL;
7036}
7037
7038
c32bde28 7039static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7040 PyObject *resultobj;
7041 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7042 int arg2 = (int) 0 ;
7043 PyObject * obj0 = 0 ;
7044 PyObject * obj1 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self",(char *) "number", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7052 if (obj1) {
093d3ff1
RD
7053 {
7054 arg2 = (int)(SWIG_As_int(obj1));
7055 if (SWIG_arg_fail(2)) SWIG_fail;
7056 }
d55e5bfc
RD
7057 }
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 (arg1)->PopStatusText(arg2);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 Py_INCREF(Py_None); resultobj = Py_None;
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
c32bde28 7072static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7073 PyObject *resultobj;
7074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7075 int arg2 ;
7076 int *arg3 = (int *) 0 ;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "widths", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7086 {
7087 arg2 = PyList_Size(obj1);
7088 arg3 = int_LIST_helper(obj1);
7089 if (arg3 == NULL) SWIG_fail;
7090 }
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 Py_INCREF(Py_None); resultobj = Py_None;
7099 {
7100 if (arg3) delete [] arg3;
7101 }
7102 return resultobj;
7103 fail:
7104 {
7105 if (arg3) delete [] arg3;
7106 }
7107 return NULL;
7108}
7109
7110
c32bde28 7111static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
7112 PyObject *resultobj;
7113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7114 int arg2 ;
7115 int *arg3 = (int *) 0 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "styles", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7124 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7125 {
7126 arg2 = PyList_Size(obj1);
7127 arg3 = int_LIST_helper(obj1);
7128 if (arg3 == NULL) SWIG_fail;
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 {
7139 if (arg3) delete [] arg3;
7140 }
7141 return resultobj;
7142 fail:
7143 {
7144 if (arg3) delete [] arg3;
7145 }
7146 return NULL;
7147}
7148
7149
c32bde28 7150static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7151 PyObject *resultobj;
7152 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7153 int arg2 ;
7154 wxRect result;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "i", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 arg2 = (int)(SWIG_As_int(obj1));
7166 if (SWIG_arg_fail(2)) SWIG_fail;
7167 }
d55e5bfc
RD
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = wxStatusBar_GetFieldRect(arg1,arg2);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 {
7176 wxRect * resultptr;
093d3ff1 7177 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
7178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7179 }
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
c32bde28 7186static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7187 PyObject *resultobj;
7188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7189 int arg2 ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "height", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail;
7199 {
7200 arg2 = (int)(SWIG_As_int(obj1));
7201 if (SWIG_arg_fail(2)) SWIG_fail;
7202 }
d55e5bfc
RD
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetMinHeight(arg2);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
c32bde28 7217static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7218 PyObject *resultobj;
7219 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7220 int result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
093d3ff1
RD
7236 {
7237 resultobj = SWIG_From_int((int)(result));
7238 }
d55e5bfc
RD
7239 return resultobj;
7240 fail:
7241 return NULL;
7242}
7243
7244
c32bde28 7245static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7246 PyObject *resultobj;
7247 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7248 int result;
7249 PyObject * obj0 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
093d3ff1
RD
7264 {
7265 resultobj = SWIG_From_int((int)(result));
7266 }
d55e5bfc
RD
7267 return resultobj;
7268 fail:
7269 return NULL;
7270}
7271
7272
c32bde28 7273static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7274 PyObject *resultobj;
093d3ff1 7275 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7276 wxVisualAttributes result;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "variant", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7283 if (obj0) {
093d3ff1
RD
7284 {
7285 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7286 if (SWIG_arg_fail(1)) SWIG_fail;
7287 }
f20a2e1f
RD
7288 }
7289 {
0439c23b 7290 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7293
7294 wxPyEndAllowThreads(__tstate);
110da5b0 7295 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7296 }
7297 {
7298 wxVisualAttributes * resultptr;
093d3ff1 7299 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7301 }
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
c32bde28 7308static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7309 PyObject *obj;
7310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7312 Py_INCREF(obj);
7313 return Py_BuildValue((char *)"");
7314}
c32bde28 7315static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7316 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7317 return 1;
7318}
7319
7320
093d3ff1 7321static PyObject *_wrap_SplitterNameStr_get(void) {
d55e5bfc
RD
7322 PyObject *pyobj;
7323
7324 {
7325#if wxUSE_UNICODE
7326 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7327#else
7328 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7329#endif
7330 }
7331 return pyobj;
7332}
7333
7334
c32bde28 7335static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7336 PyObject *resultobj;
7337 wxWindow *arg1 = (wxWindow *) 0 ;
7338 int arg2 = (int) -1 ;
7339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7341 wxSize const &arg4_defvalue = wxDefaultSize ;
7342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7343 long arg5 = (long) wxSP_3D ;
7344 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7345 wxString *arg6 = (wxString *) &arg6_defvalue ;
7346 wxSplitterWindow *result;
7347 wxPoint temp3 ;
7348 wxSize temp4 ;
ae8162c8 7349 bool temp6 = false ;
d55e5bfc
RD
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 PyObject * obj2 = 0 ;
7353 PyObject * obj3 = 0 ;
7354 PyObject * obj4 = 0 ;
7355 PyObject * obj5 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7363 if (obj1) {
093d3ff1
RD
7364 {
7365 arg2 = (int)(SWIG_As_int(obj1));
7366 if (SWIG_arg_fail(2)) SWIG_fail;
7367 }
d55e5bfc
RD
7368 }
7369 if (obj2) {
7370 {
7371 arg3 = &temp3;
7372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7373 }
7374 }
7375 if (obj3) {
7376 {
7377 arg4 = &temp4;
7378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7379 }
7380 }
7381 if (obj4) {
093d3ff1
RD
7382 {
7383 arg5 = (long)(SWIG_As_long(obj4));
7384 if (SWIG_arg_fail(5)) SWIG_fail;
7385 }
d55e5bfc
RD
7386 }
7387 if (obj5) {
7388 {
7389 arg6 = wxString_in_helper(obj5);
7390 if (arg6 == NULL) SWIG_fail;
ae8162c8 7391 temp6 = true;
d55e5bfc
RD
7392 }
7393 }
7394 {
0439c23b 7395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7398
7399 wxPyEndAllowThreads(__tstate);
110da5b0 7400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7401 }
7402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7403 {
7404 if (temp6)
7405 delete arg6;
7406 }
7407 return resultobj;
7408 fail:
7409 {
7410 if (temp6)
7411 delete arg6;
7412 }
7413 return NULL;
7414}
7415
7416
c32bde28 7417static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7418 PyObject *resultobj;
7419 wxSplitterWindow *result;
7420 char *kwnames[] = {
7421 NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7425 {
0439c23b 7426 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxSplitterWindow *)new wxSplitterWindow();
7429
7430 wxPyEndAllowThreads(__tstate);
110da5b0 7431 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7432 }
7433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
c32bde28 7440static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7441 PyObject *resultobj;
7442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7443 wxWindow *arg2 = (wxWindow *) 0 ;
7444 int arg3 = (int) -1 ;
7445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7447 wxSize const &arg5_defvalue = wxDefaultSize ;
7448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7449 long arg6 = (long) wxSP_3D ;
7450 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7451 wxString *arg7 = (wxString *) &arg7_defvalue ;
7452 bool result;
7453 wxPoint temp4 ;
7454 wxSize temp5 ;
ae8162c8 7455 bool temp7 = false ;
d55e5bfc
RD
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 PyObject * obj3 = 0 ;
7460 PyObject * obj4 = 0 ;
7461 PyObject * obj5 = 0 ;
7462 PyObject * obj6 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail;
7470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7471 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7472 if (obj2) {
093d3ff1
RD
7473 {
7474 arg3 = (int)(SWIG_As_int(obj2));
7475 if (SWIG_arg_fail(3)) SWIG_fail;
7476 }
d55e5bfc
RD
7477 }
7478 if (obj3) {
7479 {
7480 arg4 = &temp4;
7481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7482 }
7483 }
7484 if (obj4) {
7485 {
7486 arg5 = &temp5;
7487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7488 }
7489 }
7490 if (obj5) {
093d3ff1
RD
7491 {
7492 arg6 = (long)(SWIG_As_long(obj5));
7493 if (SWIG_arg_fail(6)) SWIG_fail;
7494 }
d55e5bfc
RD
7495 }
7496 if (obj6) {
7497 {
7498 arg7 = wxString_in_helper(obj6);
7499 if (arg7 == NULL) SWIG_fail;
ae8162c8 7500 temp7 = true;
d55e5bfc
RD
7501 }
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 {
7511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7512 }
7513 {
7514 if (temp7)
7515 delete arg7;
7516 }
7517 return resultobj;
7518 fail:
7519 {
7520 if (temp7)
7521 delete arg7;
7522 }
7523 return NULL;
7524}
7525
7526
c32bde28 7527static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7528 PyObject *resultobj;
7529 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7530 wxWindow *result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 {
412d302d 7547 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7548 }
7549 return resultobj;
7550 fail:
7551 return NULL;
7552}
7553
7554
c32bde28 7555static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7556 PyObject *resultobj;
7557 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7558 wxWindow *result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 {
412d302d 7575 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7576 }
7577 return resultobj;
7578 fail:
7579 return NULL;
7580}
7581
7582
c32bde28 7583static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7584 PyObject *resultobj;
7585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7586 int arg2 ;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "mode", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail;
7596 {
7597 arg2 = (int)(SWIG_As_int(obj1));
7598 if (SWIG_arg_fail(2)) SWIG_fail;
7599 }
d55e5bfc
RD
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetSplitMode(arg2);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611}
7612
7613
c32bde28 7614static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7615 PyObject *resultobj;
7616 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7617 wxSplitMode result;
d55e5bfc
RD
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7628 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
093d3ff1 7633 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7634 return resultobj;
7635 fail:
7636 return NULL;
7637}
7638
7639
c32bde28 7640static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7641 PyObject *resultobj;
7642 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7643 wxWindow *arg2 = (wxWindow *) 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "window", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7652 if (SWIG_arg_fail(1)) SWIG_fail;
7653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7654 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->Initialize(arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
c32bde28 7669static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7670 PyObject *resultobj;
7671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7672 wxWindow *arg2 = (wxWindow *) 0 ;
7673 wxWindow *arg3 = (wxWindow *) 0 ;
7674 int arg4 = (int) 0 ;
7675 bool result;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 PyObject * obj2 = 0 ;
7679 PyObject * obj3 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail;
7687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7688 if (SWIG_arg_fail(2)) SWIG_fail;
7689 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7690 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7691 if (obj3) {
093d3ff1
RD
7692 {
7693 arg4 = (int)(SWIG_As_int(obj3));
7694 if (SWIG_arg_fail(4)) SWIG_fail;
7695 }
d55e5bfc
RD
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 {
7705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7706 }
7707 return resultobj;
7708 fail:
7709 return NULL;
7710}
7711
7712
c32bde28 7713static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7714 PyObject *resultobj;
7715 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7716 wxWindow *arg2 = (wxWindow *) 0 ;
7717 wxWindow *arg3 = (wxWindow *) 0 ;
7718 int arg4 = (int) 0 ;
7719 bool result;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 PyObject * obj2 = 0 ;
7723 PyObject * obj3 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7730 if (SWIG_arg_fail(1)) SWIG_fail;
7731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(2)) SWIG_fail;
7733 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7734 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7735 if (obj3) {
093d3ff1
RD
7736 {
7737 arg4 = (int)(SWIG_As_int(obj3));
7738 if (SWIG_arg_fail(4)) SWIG_fail;
7739 }
d55e5bfc
RD
7740 }
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7750 }
7751 return resultobj;
7752 fail:
7753 return NULL;
7754}
7755
7756
c32bde28 7757static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7758 PyObject *resultobj;
7759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7760 wxWindow *arg2 = (wxWindow *) NULL ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "toRemove", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7771 if (obj1) {
093d3ff1
RD
7772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7774 }
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (bool)(arg1)->Unsplit(arg2);
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 {
7783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7784 }
7785 return resultobj;
7786 fail:
7787 return NULL;
7788}
7789
7790
c32bde28 7791static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7792 PyObject *resultobj;
7793 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7794 wxWindow *arg2 = (wxWindow *) 0 ;
7795 wxWindow *arg3 = (wxWindow *) 0 ;
7796 bool result;
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 PyObject * obj2 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
7807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7808 if (SWIG_arg_fail(2)) SWIG_fail;
7809 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7810 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 {
7819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7820 }
7821 return resultobj;
7822 fail:
7823 return NULL;
7824}
7825
7826
c32bde28 7827static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7828 PyObject *resultobj;
7829 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7830 PyObject * obj0 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->UpdateSize();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
c32bde28 7852static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7853 PyObject *resultobj;
7854 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7855 bool result;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 {
7872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7873 }
7874 return resultobj;
7875 fail:
7876 return NULL;
7877}
7878
7879
c32bde28 7880static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7881 PyObject *resultobj;
7882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7883 int arg2 ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "width", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail;
7893 {
7894 arg2 = (int)(SWIG_As_int(obj1));
7895 if (SWIG_arg_fail(2)) SWIG_fail;
7896 }
d55e5bfc
RD
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 (arg1)->SetSashSize(arg2);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 Py_INCREF(Py_None); resultobj = Py_None;
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
c32bde28 7911static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7912 PyObject *resultobj;
7913 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7914 int arg2 ;
7915 PyObject * obj0 = 0 ;
7916 PyObject * obj1 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "width", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail;
7924 {
7925 arg2 = (int)(SWIG_As_int(obj1));
7926 if (SWIG_arg_fail(2)) SWIG_fail;
7927 }
d55e5bfc
RD
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->SetBorderSize(arg2);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 Py_INCREF(Py_None); resultobj = Py_None;
7936 return resultobj;
7937 fail:
7938 return NULL;
7939}
7940
7941
c32bde28 7942static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7943 PyObject *resultobj;
7944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7945 int result;
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
093d3ff1
RD
7961 {
7962 resultobj = SWIG_From_int((int)(result));
7963 }
d55e5bfc
RD
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
c32bde28 7970static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7971 PyObject *resultobj;
7972 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7973 int result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
093d3ff1
RD
7989 {
7990 resultobj = SWIG_From_int((int)(result));
7991 }
d55e5bfc
RD
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
c32bde28 7998static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7999 PyObject *resultobj;
8000 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8001 int arg2 ;
ae8162c8 8002 bool arg3 = (bool) true ;
d55e5bfc
RD
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "position",(char *) "redraw", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail;
8013 {
8014 arg2 = (int)(SWIG_As_int(obj1));
8015 if (SWIG_arg_fail(2)) SWIG_fail;
8016 }
d55e5bfc 8017 if (obj2) {
093d3ff1
RD
8018 {
8019 arg3 = (bool)(SWIG_As_bool(obj2));
8020 if (SWIG_arg_fail(3)) SWIG_fail;
8021 }
d55e5bfc
RD
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->SetSashPosition(arg2,arg3);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 Py_INCREF(Py_None); resultobj = Py_None;
8031 return resultobj;
8032 fail:
8033 return NULL;
8034}
8035
8036
c32bde28 8037static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8038 PyObject *resultobj;
8039 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8040 int result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
093d3ff1
RD
8056 {
8057 resultobj = SWIG_From_int((int)(result));
8058 }
d55e5bfc
RD
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
b519803b
RD
8065static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8068 double arg2 ;
8069 PyObject * obj0 = 0 ;
8070 PyObject * obj1 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self",(char *) "gravity", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail;
8078 {
8079 arg2 = (double)(SWIG_As_double(obj1));
8080 if (SWIG_arg_fail(2)) SWIG_fail;
8081 }
b519803b
RD
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 (arg1)->SetSashGravity(arg2);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 Py_INCREF(Py_None); resultobj = Py_None;
8090 return resultobj;
8091 fail:
8092 return NULL;
8093}
8094
8095
8096static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8099 double result;
8100 PyObject * obj0 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "self", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8107 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
093d3ff1
RD
8115 {
8116 resultobj = SWIG_From_double((double)(result));
8117 }
b519803b
RD
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
c32bde28 8124static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8125 PyObject *resultobj;
8126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8127 int arg2 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "min", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8136 if (SWIG_arg_fail(1)) SWIG_fail;
8137 {
8138 arg2 = (int)(SWIG_As_int(obj1));
8139 if (SWIG_arg_fail(2)) SWIG_fail;
8140 }
d55e5bfc
RD
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetMinimumPaneSize(arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152}
8153
8154
c32bde28 8155static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8156 PyObject *resultobj;
8157 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8158 int result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
093d3ff1
RD
8174 {
8175 resultobj = SWIG_From_int((int)(result));
8176 }
d55e5bfc
RD
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
c32bde28 8183static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8184 PyObject *resultobj;
8185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8186 int arg2 ;
8187 int arg3 ;
8188 int arg4 = (int) 5 ;
8189 bool result;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 PyObject * obj2 = 0 ;
8193 PyObject * obj3 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8200 if (SWIG_arg_fail(1)) SWIG_fail;
8201 {
8202 arg2 = (int)(SWIG_As_int(obj1));
8203 if (SWIG_arg_fail(2)) SWIG_fail;
8204 }
8205 {
8206 arg3 = (int)(SWIG_As_int(obj2));
8207 if (SWIG_arg_fail(3)) SWIG_fail;
8208 }
d55e5bfc 8209 if (obj3) {
093d3ff1
RD
8210 {
8211 arg4 = (int)(SWIG_As_int(obj3));
8212 if (SWIG_arg_fail(4)) SWIG_fail;
8213 }
d55e5bfc
RD
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8224 }
8225 return resultobj;
8226 fail:
8227 return NULL;
8228}
8229
8230
c32bde28 8231static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8232 PyObject *resultobj;
8233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8234 PyObject * obj0 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 (arg1)->SizeWindows();
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 Py_INCREF(Py_None); resultobj = Py_None;
8250 return resultobj;
8251 fail:
8252 return NULL;
8253}
8254
8255
c32bde28 8256static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8257 PyObject *resultobj;
8258 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8259 bool arg2 ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "needUpdating", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail;
8269 {
8270 arg2 = (bool)(SWIG_As_bool(obj1));
8271 if (SWIG_arg_fail(2)) SWIG_fail;
8272 }
d55e5bfc
RD
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->SetNeedUpdating(arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 return resultobj;
8282 fail:
8283 return NULL;
8284}
8285
8286
c32bde28 8287static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8288 PyObject *resultobj;
8289 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8290 bool result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 {
8307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8308 }
8309 return resultobj;
8310 fail:
8311 return NULL;
8312}
8313
8314
c32bde28 8315static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8316 PyObject *resultobj;
093d3ff1 8317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8318 wxVisualAttributes result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "variant", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8325 if (obj0) {
093d3ff1
RD
8326 {
8327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8328 if (SWIG_arg_fail(1)) SWIG_fail;
8329 }
f20a2e1f
RD
8330 }
8331 {
0439c23b 8332 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8335
8336 wxPyEndAllowThreads(__tstate);
110da5b0 8337 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8338 }
8339 {
8340 wxVisualAttributes * resultptr;
093d3ff1 8341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8343 }
8344 return resultobj;
8345 fail:
8346 return NULL;
8347}
8348
8349
c32bde28 8350static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8351 PyObject *obj;
8352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8353 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8354 Py_INCREF(obj);
8355 return Py_BuildValue((char *)"");
8356}
c32bde28 8357static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8358 PyObject *resultobj;
8359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8360 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8361 wxSplitterEvent *result;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "type",(char *) "splitter", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8369 if (obj0) {
093d3ff1
RD
8370 {
8371 arg1 = (wxEventType)(SWIG_As_int(obj0));
8372 if (SWIG_arg_fail(1)) SWIG_fail;
8373 }
d55e5bfc
RD
8374 }
8375 if (obj1) {
093d3ff1
RD
8376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8377 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
c32bde28 8393static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8394 PyObject *resultobj;
8395 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8396 int arg2 ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self",(char *) "pos", NULL
8401 };
8402
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8405 if (SWIG_arg_fail(1)) SWIG_fail;
8406 {
8407 arg2 = (int)(SWIG_As_int(obj1));
8408 if (SWIG_arg_fail(2)) SWIG_fail;
8409 }
d55e5bfc
RD
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->SetSashPosition(arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421}
8422
8423
c32bde28 8424static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8425 PyObject *resultobj;
8426 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8427 int result;
8428 PyObject * obj0 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
093d3ff1
RD
8443 {
8444 resultobj = SWIG_From_int((int)(result));
8445 }
d55e5bfc
RD
8446 return resultobj;
8447 fail:
8448 return NULL;
8449}
8450
8451
c32bde28 8452static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8453 PyObject *resultobj;
8454 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8455 wxWindow *result;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 {
412d302d 8472 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8473 }
8474 return resultobj;
8475 fail:
8476 return NULL;
8477}
8478
8479
c32bde28 8480static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8481 PyObject *resultobj;
8482 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8483 int result;
8484 PyObject * obj0 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
093d3ff1
RD
8499 {
8500 resultobj = SWIG_From_int((int)(result));
8501 }
d55e5bfc
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
c32bde28 8508static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8509 PyObject *resultobj;
8510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
093d3ff1
RD
8527 {
8528 resultobj = SWIG_From_int((int)(result));
8529 }
d55e5bfc
RD
8530 return resultobj;
8531 fail:
8532 return NULL;
8533}
8534
8535
c32bde28 8536static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8537 PyObject *obj;
8538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8539 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8540 Py_INCREF(obj);
8541 return Py_BuildValue((char *)"");
8542}
c32bde28 8543static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8544 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8545 return 1;
8546}
8547
8548
093d3ff1 8549static PyObject *_wrap_SashNameStr_get(void) {
d55e5bfc
RD
8550 PyObject *pyobj;
8551
8552 {
8553#if wxUSE_UNICODE
8554 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8555#else
8556 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8557#endif
8558 }
8559 return pyobj;
8560}
8561
8562
c32bde28 8563static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8564 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8565 return 1;
8566}
8567
8568
093d3ff1 8569static PyObject *_wrap_SashLayoutNameStr_get(void) {
d55e5bfc
RD
8570 PyObject *pyobj;
8571
8572 {
8573#if wxUSE_UNICODE
8574 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8575#else
8576 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8577#endif
8578 }
8579 return pyobj;
8580}
8581
8582
c32bde28 8583static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8584 PyObject *resultobj;
8585 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8586 int arg2 = (int) -1 ;
d55e5bfc
RD
8587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8589 wxSize const &arg4_defvalue = wxDefaultSize ;
8590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8591 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8592 wxString const &arg6_defvalue = wxPySashNameStr ;
8593 wxString *arg6 = (wxString *) &arg6_defvalue ;
8594 wxSashWindow *result;
8595 wxPoint temp3 ;
8596 wxSize temp4 ;
ae8162c8 8597 bool temp6 = false ;
d55e5bfc
RD
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 PyObject * obj2 = 0 ;
8601 PyObject * obj3 = 0 ;
8602 PyObject * obj4 = 0 ;
8603 PyObject * obj5 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8606 };
8607
248ed943 8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8610 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8611 if (obj1) {
093d3ff1
RD
8612 {
8613 arg2 = (int)(SWIG_As_int(obj1));
8614 if (SWIG_arg_fail(2)) SWIG_fail;
8615 }
248ed943 8616 }
d55e5bfc
RD
8617 if (obj2) {
8618 {
8619 arg3 = &temp3;
8620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8621 }
8622 }
8623 if (obj3) {
8624 {
8625 arg4 = &temp4;
8626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8627 }
8628 }
8629 if (obj4) {
093d3ff1
RD
8630 {
8631 arg5 = (long)(SWIG_As_long(obj4));
8632 if (SWIG_arg_fail(5)) SWIG_fail;
8633 }
d55e5bfc
RD
8634 }
8635 if (obj5) {
8636 {
8637 arg6 = wxString_in_helper(obj5);
8638 if (arg6 == NULL) SWIG_fail;
ae8162c8 8639 temp6 = true;
d55e5bfc
RD
8640 }
8641 }
8642 {
0439c23b 8643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8646
8647 wxPyEndAllowThreads(__tstate);
110da5b0 8648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8649 }
8650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8651 {
8652 if (temp6)
8653 delete arg6;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp6)
8659 delete arg6;
8660 }
8661 return NULL;
8662}
8663
8664
c32bde28 8665static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8666 PyObject *resultobj;
8667 wxSashWindow *result;
8668 char *kwnames[] = {
8669 NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8673 {
0439c23b 8674 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (wxSashWindow *)new wxSashWindow();
8677
8678 wxPyEndAllowThreads(__tstate);
110da5b0 8679 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8680 }
8681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
c32bde28 8688static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8689 PyObject *resultobj;
8690 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8691 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8692 int arg3 = (int) -1 ;
d55e5bfc
RD
8693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8695 wxSize const &arg5_defvalue = wxDefaultSize ;
8696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8697 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8698 wxString const &arg7_defvalue = wxPySashNameStr ;
8699 wxString *arg7 = (wxString *) &arg7_defvalue ;
8700 bool result;
8701 wxPoint temp4 ;
8702 wxSize temp5 ;
ae8162c8 8703 bool temp7 = false ;
d55e5bfc
RD
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj1 = 0 ;
8706 PyObject * obj2 = 0 ;
8707 PyObject * obj3 = 0 ;
8708 PyObject * obj4 = 0 ;
8709 PyObject * obj5 = 0 ;
8710 PyObject * obj6 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8713 };
8714
248ed943 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail;
8718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8720 if (obj2) {
093d3ff1
RD
8721 {
8722 arg3 = (int)(SWIG_As_int(obj2));
8723 if (SWIG_arg_fail(3)) SWIG_fail;
8724 }
248ed943 8725 }
d55e5bfc
RD
8726 if (obj3) {
8727 {
8728 arg4 = &temp4;
8729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8730 }
8731 }
8732 if (obj4) {
8733 {
8734 arg5 = &temp5;
8735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8736 }
8737 }
8738 if (obj5) {
093d3ff1
RD
8739 {
8740 arg6 = (long)(SWIG_As_long(obj5));
8741 if (SWIG_arg_fail(6)) SWIG_fail;
8742 }
d55e5bfc
RD
8743 }
8744 if (obj6) {
8745 {
8746 arg7 = wxString_in_helper(obj6);
8747 if (arg7 == NULL) SWIG_fail;
ae8162c8 8748 temp7 = true;
d55e5bfc
RD
8749 }
8750 }
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 {
8759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8760 }
8761 {
8762 if (temp7)
8763 delete arg7;
8764 }
8765 return resultobj;
8766 fail:
8767 {
8768 if (temp7)
8769 delete arg7;
8770 }
8771 return NULL;
8772}
8773
8774
c32bde28 8775static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8776 PyObject *resultobj;
8777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8778 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8779 bool arg3 ;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "edge",(char *) "sash", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail;
8790 {
8791 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8792 if (SWIG_arg_fail(2)) SWIG_fail;
8793 }
8794 {
8795 arg3 = (bool)(SWIG_As_bool(obj2));
8796 if (SWIG_arg_fail(3)) SWIG_fail;
8797 }
d55e5bfc
RD
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 Py_INCREF(Py_None); resultobj = Py_None;
8806 return resultobj;
8807 fail:
8808 return NULL;
8809}
8810
8811
c32bde28 8812static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8813 PyObject *resultobj;
8814 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8815 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8816 bool result;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "edge", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail;
8826 {
8827 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8828 if (SWIG_arg_fail(2)) SWIG_fail;
8829 }
d55e5bfc
RD
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 {
8838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8839 }
8840 return resultobj;
8841 fail:
8842 return NULL;
8843}
8844
8845
c32bde28 8846static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8847 PyObject *resultobj;
8848 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8849 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8850 bool arg3 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 PyObject * obj2 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "edge",(char *) "border", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8860 if (SWIG_arg_fail(1)) SWIG_fail;
8861 {
8862 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8863 if (SWIG_arg_fail(2)) SWIG_fail;
8864 }
8865 {
8866 arg3 = (bool)(SWIG_As_bool(obj2));
8867 if (SWIG_arg_fail(3)) SWIG_fail;
8868 }
d55e5bfc
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880}
8881
8882
c32bde28 8883static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8884 PyObject *resultobj;
8885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8886 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8887 bool result;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "edge", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8896 if (SWIG_arg_fail(1)) SWIG_fail;
8897 {
8898 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8899 if (SWIG_arg_fail(2)) SWIG_fail;
8900 }
d55e5bfc
RD
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8910 }
8911 return resultobj;
8912 fail:
8913 return NULL;
8914}
8915
8916
c32bde28 8917static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8918 PyObject *resultobj;
8919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8920 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8921 int result;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "edge", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail;
8931 {
8932 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8933 if (SWIG_arg_fail(2)) SWIG_fail;
8934 }
d55e5bfc
RD
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
093d3ff1
RD
8942 {
8943 resultobj = SWIG_From_int((int)(result));
8944 }
d55e5bfc
RD
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
c32bde28 8951static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8952 PyObject *resultobj;
8953 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8954 int arg2 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "width", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8963 if (SWIG_arg_fail(1)) SWIG_fail;
8964 {
8965 arg2 = (int)(SWIG_As_int(obj1));
8966 if (SWIG_arg_fail(2)) SWIG_fail;
8967 }
d55e5bfc
RD
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->SetDefaultBorderSize(arg2);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979}
8980
8981
c32bde28 8982static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8983 PyObject *resultobj;
8984 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8985 int result;
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
093d3ff1
RD
9001 {
9002 resultobj = SWIG_From_int((int)(result));
9003 }
d55e5bfc
RD
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
c32bde28 9010static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9011 PyObject *resultobj;
9012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9013 int arg2 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "width", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
9023 {
9024 arg2 = (int)(SWIG_As_int(obj1));
9025 if (SWIG_arg_fail(2)) SWIG_fail;
9026 }
d55e5bfc
RD
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetExtraBorderSize(arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9042 PyObject *resultobj;
9043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9044 int result;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
093d3ff1
RD
9060 {
9061 resultobj = SWIG_From_int((int)(result));
9062 }
d55e5bfc
RD
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c32bde28 9069static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9070 PyObject *resultobj;
9071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9072 int arg2 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self",(char *) "min", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail;
9082 {
9083 arg2 = (int)(SWIG_As_int(obj1));
9084 if (SWIG_arg_fail(2)) SWIG_fail;
9085 }
d55e5bfc
RD
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->SetMinimumSizeX(arg2);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
c32bde28 9100static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9101 PyObject *resultobj;
9102 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9103 int arg2 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self",(char *) "min", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail;
9113 {
9114 arg2 = (int)(SWIG_As_int(obj1));
9115 if (SWIG_arg_fail(2)) SWIG_fail;
9116 }
d55e5bfc
RD
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 (arg1)->SetMinimumSizeY(arg2);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 return resultobj;
9126 fail:
9127 return NULL;
9128}
9129
9130
c32bde28 9131static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9132 PyObject *resultobj;
9133 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9134 int result;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
093d3ff1
RD
9150 {
9151 resultobj = SWIG_From_int((int)(result));
9152 }
d55e5bfc
RD
9153 return resultobj;
9154 fail:
9155 return NULL;
9156}
9157
9158
c32bde28 9159static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9160 PyObject *resultobj;
9161 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
093d3ff1
RD
9178 {
9179 resultobj = SWIG_From_int((int)(result));
9180 }
d55e5bfc
RD
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
c32bde28 9187static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9188 PyObject *resultobj;
9189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9190 int arg2 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "max", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail;
9200 {
9201 arg2 = (int)(SWIG_As_int(obj1));
9202 if (SWIG_arg_fail(2)) SWIG_fail;
9203 }
d55e5bfc
RD
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 (arg1)->SetMaximumSizeX(arg2);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 Py_INCREF(Py_None); resultobj = Py_None;
9212 return resultobj;
9213 fail:
9214 return NULL;
9215}
9216
9217
c32bde28 9218static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9219 PyObject *resultobj;
9220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9221 int arg2 ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self",(char *) "max", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9230 if (SWIG_arg_fail(1)) SWIG_fail;
9231 {
9232 arg2 = (int)(SWIG_As_int(obj1));
9233 if (SWIG_arg_fail(2)) SWIG_fail;
9234 }
d55e5bfc
RD
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->SetMaximumSizeY(arg2);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 Py_INCREF(Py_None); resultobj = Py_None;
9243 return resultobj;
9244 fail:
9245 return NULL;
9246}
9247
9248
c32bde28 9249static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9250 PyObject *resultobj;
9251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9252 int result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
093d3ff1
RD
9268 {
9269 resultobj = SWIG_From_int((int)(result));
9270 }
d55e5bfc
RD
9271 return resultobj;
9272 fail:
9273 return NULL;
9274}
9275
9276
c32bde28 9277static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9278 PyObject *resultobj;
9279 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9280 int result;
9281 PyObject * obj0 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
093d3ff1
RD
9296 {
9297 resultobj = SWIG_From_int((int)(result));
9298 }
d55e5bfc
RD
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
c32bde28 9305static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9306 PyObject *resultobj;
9307 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9308 int arg2 ;
9309 int arg3 ;
9310 int arg4 = (int) 2 ;
093d3ff1 9311 wxSashEdgePosition result;
d55e5bfc
RD
9312 PyObject * obj0 = 0 ;
9313 PyObject * obj1 = 0 ;
9314 PyObject * obj2 = 0 ;
9315 PyObject * obj3 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail;
9323 {
9324 arg2 = (int)(SWIG_As_int(obj1));
9325 if (SWIG_arg_fail(2)) SWIG_fail;
9326 }
9327 {
9328 arg3 = (int)(SWIG_As_int(obj2));
9329 if (SWIG_arg_fail(3)) SWIG_fail;
9330 }
d55e5bfc 9331 if (obj3) {
093d3ff1
RD
9332 {
9333 arg4 = (int)(SWIG_As_int(obj3));
9334 if (SWIG_arg_fail(4)) SWIG_fail;
9335 }
d55e5bfc
RD
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9339 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
093d3ff1 9344 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9345 return resultobj;
9346 fail:
9347 return NULL;
9348}
9349
9350
c32bde28 9351static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9352 PyObject *resultobj;
9353 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 (arg1)->SizeWindows();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 Py_INCREF(Py_None); resultobj = Py_None;
9370 return resultobj;
9371 fail:
9372 return NULL;
9373}
9374
9375
c32bde28 9376static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9377 PyObject *obj;
9378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9380 Py_INCREF(obj);
9381 return Py_BuildValue((char *)"");
9382}
c32bde28 9383static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9384 PyObject *resultobj;
9385 int arg1 = (int) 0 ;
093d3ff1 9386 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9387 wxSashEvent *result;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "id",(char *) "edge", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9395 if (obj0) {
093d3ff1
RD
9396 {
9397 arg1 = (int)(SWIG_As_int(obj0));
9398 if (SWIG_arg_fail(1)) SWIG_fail;
9399 }
d55e5bfc
RD
9400 }
9401 if (obj1) {
093d3ff1
RD
9402 {
9403 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9404 if (SWIG_arg_fail(2)) SWIG_fail;
9405 }
d55e5bfc
RD
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
c32bde28 9421static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9422 PyObject *resultobj;
9423 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9424 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "edge", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9433 if (SWIG_arg_fail(1)) SWIG_fail;
9434 {
9435 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9436 if (SWIG_arg_fail(2)) SWIG_fail;
9437 }
d55e5bfc
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 Py_INCREF(Py_None); resultobj = Py_None;
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9453 PyObject *resultobj;
9454 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9455 wxSashEdgePosition result;
d55e5bfc
RD
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9466 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
093d3ff1 9471 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9472 return resultobj;
9473 fail:
9474 return NULL;
9475}
9476
9477
c32bde28 9478static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9479 PyObject *resultobj;
9480 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9481 wxRect *arg2 = 0 ;
9482 wxRect temp2 ;
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "rect", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9492 {
9493 arg2 = &temp2;
9494 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9495 }
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 (arg1)->SetDragRect((wxRect const &)*arg2);
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 Py_INCREF(Py_None); resultobj = Py_None;
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
c32bde28 9510static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9511 PyObject *resultobj;
9512 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9513 wxRect result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = ((wxSashEvent const *)arg1)->GetDragRect();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 {
9530 wxRect * resultptr;
093d3ff1 9531 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
9532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9533 }
9534 return resultobj;
9535 fail:
9536 return NULL;
9537}
9538
9539
c32bde28 9540static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9541 PyObject *resultobj;
9542 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9543 wxSashDragStatus arg2 ;
d55e5bfc
RD
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self",(char *) "status", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9552 if (SWIG_arg_fail(1)) SWIG_fail;
9553 {
9554 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9555 if (SWIG_arg_fail(2)) SWIG_fail;
9556 }
d55e5bfc
RD
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 Py_INCREF(Py_None); resultobj = Py_None;
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
c32bde28 9571static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9572 PyObject *resultobj;
9573 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9574 wxSashDragStatus result;
d55e5bfc
RD
9575 PyObject * obj0 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9585 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
093d3ff1 9590 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
c32bde28 9597static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9598 PyObject *obj;
9599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9600 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9601 Py_INCREF(obj);
9602 return Py_BuildValue((char *)"");
9603}
c32bde28 9604static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9605 PyObject *resultobj;
9606 int arg1 = (int) 0 ;
9607 wxQueryLayoutInfoEvent *result;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "id", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9614 if (obj0) {
093d3ff1
RD
9615 {
9616 arg1 = (int)(SWIG_As_int(obj0));
9617 if (SWIG_arg_fail(1)) SWIG_fail;
9618 }
d55e5bfc
RD
9619 }
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631}
9632
9633
c32bde28 9634static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9635 PyObject *resultobj;
9636 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9637 int arg2 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "length", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9646 if (SWIG_arg_fail(1)) SWIG_fail;
9647 {
9648 arg2 = (int)(SWIG_As_int(obj1));
9649 if (SWIG_arg_fail(2)) SWIG_fail;
9650 }
d55e5bfc
RD
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->SetRequestedLength(arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 Py_INCREF(Py_None); resultobj = Py_None;
9659 return resultobj;
9660 fail:
9661 return NULL;
9662}
9663
9664
c32bde28 9665static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9666 PyObject *resultobj;
9667 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9668 int result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
093d3ff1
RD
9684 {
9685 resultobj = SWIG_From_int((int)(result));
9686 }
d55e5bfc
RD
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
c32bde28 9693static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9694 PyObject *resultobj;
9695 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9696 int arg2 ;
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self",(char *) "flags", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail;
9706 {
9707 arg2 = (int)(SWIG_As_int(obj1));
9708 if (SWIG_arg_fail(2)) SWIG_fail;
9709 }
d55e5bfc
RD
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 (arg1)->SetFlags(arg2);
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 Py_INCREF(Py_None); resultobj = Py_None;
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
c32bde28 9724static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9725 PyObject *resultobj;
9726 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9727 int result;
9728 PyObject * obj0 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
093d3ff1
RD
9743 {
9744 resultobj = SWIG_From_int((int)(result));
9745 }
d55e5bfc
RD
9746 return resultobj;
9747 fail:
9748 return NULL;
9749}
9750
9751
c32bde28 9752static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9753 PyObject *resultobj;
9754 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9755 wxSize *arg2 = 0 ;
9756 wxSize temp2 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self",(char *) "size", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9766 {
9767 arg2 = &temp2;
9768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 (arg1)->SetSize((wxSize const &)*arg2);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
c32bde28 9784static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9785 PyObject *resultobj;
9786 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9787 wxSize result;
9788 PyObject * obj0 = 0 ;
9789 char *kwnames[] = {
9790 (char *) "self", NULL
9791 };
9792
9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 wxSize * resultptr;
093d3ff1 9805 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
9806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9807 }
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
c32bde28 9814static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9815 PyObject *resultobj;
9816 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9817 wxLayoutOrientation arg2 ;
d55e5bfc
RD
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self",(char *) "orient", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail;
9827 {
9828 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9829 if (SWIG_arg_fail(2)) SWIG_fail;
9830 }
d55e5bfc
RD
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 Py_INCREF(Py_None); resultobj = Py_None;
9839 return resultobj;
9840 fail:
9841 return NULL;
9842}
9843
9844
c32bde28 9845static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9846 PyObject *resultobj;
9847 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9848 wxLayoutOrientation result;
d55e5bfc
RD
9849 PyObject * obj0 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9859 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
093d3ff1 9864 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9865 return resultobj;
9866 fail:
9867 return NULL;
9868}
9869
9870
c32bde28 9871static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9872 PyObject *resultobj;
9873 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9874 wxLayoutAlignment arg2 ;
d55e5bfc
RD
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "self",(char *) "align", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9883 if (SWIG_arg_fail(1)) SWIG_fail;
9884 {
9885 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9886 if (SWIG_arg_fail(2)) SWIG_fail;
9887 }
d55e5bfc
RD
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
c32bde28 9902static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9903 PyObject *resultobj;
9904 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9905 wxLayoutAlignment result;
d55e5bfc
RD
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9916 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
093d3ff1 9921 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
c32bde28 9928static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9929 PyObject *obj;
9930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9931 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9932 Py_INCREF(obj);
9933 return Py_BuildValue((char *)"");
9934}
c32bde28 9935static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9936 PyObject *resultobj;
9937 int arg1 = (int) 0 ;
9938 wxCalculateLayoutEvent *result;
9939 PyObject * obj0 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "id", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9945 if (obj0) {
093d3ff1
RD
9946 {
9947 arg1 = (int)(SWIG_As_int(obj0));
9948 if (SWIG_arg_fail(1)) SWIG_fail;
9949 }
d55e5bfc
RD
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9959 return resultobj;
9960 fail:
9961 return NULL;
9962}
9963
9964
c32bde28 9965static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9966 PyObject *resultobj;
9967 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9968 int arg2 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self",(char *) "flags", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9977 if (SWIG_arg_fail(1)) SWIG_fail;
9978 {
9979 arg2 = (int)(SWIG_As_int(obj1));
9980 if (SWIG_arg_fail(2)) SWIG_fail;
9981 }
d55e5bfc
RD
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 (arg1)->SetFlags(arg2);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 Py_INCREF(Py_None); resultobj = Py_None;
9990 return resultobj;
9991 fail:
9992 return NULL;
9993}
9994
9995
c32bde28 9996static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9997 PyObject *resultobj;
9998 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9999 int result;
10000 PyObject * obj0 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
093d3ff1
RD
10015 {
10016 resultobj = SWIG_From_int((int)(result));
10017 }
d55e5bfc
RD
10018 return resultobj;
10019 fail:
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10025 PyObject *resultobj;
10026 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10027 wxRect *arg2 = 0 ;
10028 wxRect temp2 ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "self",(char *) "rect", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10038 {
10039 arg2 = &temp2;
10040 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 (arg1)->SetRect((wxRect const &)*arg2);
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 Py_INCREF(Py_None); resultobj = Py_None;
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
c32bde28 10056static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10057 PyObject *resultobj;
10058 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10059 wxRect result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 wxRect * resultptr;
093d3ff1 10077 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
10078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10079 }
10080 return resultobj;
10081 fail:
10082 return NULL;
10083}
10084
10085
c32bde28 10086static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10087 PyObject *obj;
10088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10089 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10090 Py_INCREF(obj);
10091 return Py_BuildValue((char *)"");
10092}
c32bde28 10093static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10094 PyObject *resultobj;
10095 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10096 int arg2 = (int) -1 ;
d55e5bfc
RD
10097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10099 wxSize const &arg4_defvalue = wxDefaultSize ;
10100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10101 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10102 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10103 wxString *arg6 = (wxString *) &arg6_defvalue ;
10104 wxSashLayoutWindow *result;
10105 wxPoint temp3 ;
10106 wxSize temp4 ;
ae8162c8 10107 bool temp6 = false ;
d55e5bfc
RD
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 PyObject * obj2 = 0 ;
10111 PyObject * obj3 = 0 ;
10112 PyObject * obj4 = 0 ;
10113 PyObject * obj5 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10116 };
10117
248ed943 10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10120 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10121 if (obj1) {
093d3ff1
RD
10122 {
10123 arg2 = (int)(SWIG_As_int(obj1));
10124 if (SWIG_arg_fail(2)) SWIG_fail;
10125 }
248ed943 10126 }
d55e5bfc
RD
10127 if (obj2) {
10128 {
10129 arg3 = &temp3;
10130 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10131 }
10132 }
10133 if (obj3) {
10134 {
10135 arg4 = &temp4;
10136 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10137 }
10138 }
10139 if (obj4) {
093d3ff1
RD
10140 {
10141 arg5 = (long)(SWIG_As_long(obj4));
10142 if (SWIG_arg_fail(5)) SWIG_fail;
10143 }
d55e5bfc
RD
10144 }
10145 if (obj5) {
10146 {
10147 arg6 = wxString_in_helper(obj5);
10148 if (arg6 == NULL) SWIG_fail;
ae8162c8 10149 temp6 = true;
d55e5bfc
RD
10150 }
10151 }
10152 {
0439c23b 10153 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10156
10157 wxPyEndAllowThreads(__tstate);
110da5b0 10158 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10159 }
10160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10161 {
10162 if (temp6)
10163 delete arg6;
10164 }
10165 return resultobj;
10166 fail:
10167 {
10168 if (temp6)
10169 delete arg6;
10170 }
10171 return NULL;
10172}
10173
10174
c32bde28 10175static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10176 PyObject *resultobj;
10177 wxSashLayoutWindow *result;
10178 char *kwnames[] = {
10179 NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10183 {
0439c23b 10184 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10187
10188 wxPyEndAllowThreads(__tstate);
110da5b0 10189 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10190 }
10191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
c32bde28 10198static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10199 PyObject *resultobj;
10200 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10201 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10202 int arg3 = (int) -1 ;
d55e5bfc
RD
10203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10205 wxSize const &arg5_defvalue = wxDefaultSize ;
10206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10207 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10208 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10209 wxString *arg7 = (wxString *) &arg7_defvalue ;
10210 bool result;
10211 wxPoint temp4 ;
10212 wxSize temp5 ;
ae8162c8 10213 bool temp7 = false ;
d55e5bfc
RD
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10223 };
10224
248ed943 10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10229 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10230 if (obj2) {
093d3ff1
RD
10231 {
10232 arg3 = (int)(SWIG_As_int(obj2));
10233 if (SWIG_arg_fail(3)) SWIG_fail;
10234 }
248ed943 10235 }
d55e5bfc
RD
10236 if (obj3) {
10237 {
10238 arg4 = &temp4;
10239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10240 }
10241 }
10242 if (obj4) {
10243 {
10244 arg5 = &temp5;
10245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10246 }
10247 }
10248 if (obj5) {
093d3ff1
RD
10249 {
10250 arg6 = (long)(SWIG_As_long(obj5));
10251 if (SWIG_arg_fail(6)) SWIG_fail;
10252 }
d55e5bfc
RD
10253 }
10254 if (obj6) {
10255 {
10256 arg7 = wxString_in_helper(obj6);
10257 if (arg7 == NULL) SWIG_fail;
ae8162c8 10258 temp7 = true;
d55e5bfc
RD
10259 }
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 {
10272 if (temp7)
10273 delete arg7;
10274 }
10275 return resultobj;
10276 fail:
10277 {
10278 if (temp7)
10279 delete arg7;
10280 }
10281 return NULL;
10282}
10283
10284
c32bde28 10285static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10286 PyObject *resultobj;
10287 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10288 wxLayoutAlignment result;
d55e5bfc
RD
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10299 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
093d3ff1 10304 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
c32bde28 10311static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10312 PyObject *resultobj;
10313 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10314 wxLayoutOrientation result;
d55e5bfc
RD
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10325 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
093d3ff1 10330 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10331 return resultobj;
10332 fail:
10333 return NULL;
10334}
10335
10336
c32bde28 10337static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10338 PyObject *resultobj;
10339 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10340 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10341 PyObject * obj0 = 0 ;
10342 PyObject * obj1 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self",(char *) "alignment", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10349 if (SWIG_arg_fail(1)) SWIG_fail;
10350 {
10351 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10352 if (SWIG_arg_fail(2)) SWIG_fail;
10353 }
d55e5bfc
RD
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 Py_INCREF(Py_None); resultobj = Py_None;
10362 return resultobj;
10363 fail:
10364 return NULL;
10365}
10366
10367
c32bde28 10368static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10369 PyObject *resultobj;
10370 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10371 wxSize *arg2 = 0 ;
10372 wxSize temp2 ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "size", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10382 {
10383 arg2 = &temp2;
10384 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10385 }
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397}
10398
10399
c32bde28 10400static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10401 PyObject *resultobj;
10402 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10403 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10404 PyObject * obj0 = 0 ;
10405 PyObject * obj1 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self",(char *) "orientation", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10412 if (SWIG_arg_fail(1)) SWIG_fail;
10413 {
10414 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10415 if (SWIG_arg_fail(2)) SWIG_fail;
10416 }
d55e5bfc
RD
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 Py_INCREF(Py_None); resultobj = Py_None;
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c32bde28 10431static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10432 PyObject *obj;
10433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10434 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10435 Py_INCREF(obj);
10436 return Py_BuildValue((char *)"");
10437}
c32bde28 10438static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10439 PyObject *resultobj;
10440 wxLayoutAlgorithm *result;
10441 char *kwnames[] = {
10442 NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
c32bde28 10460static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10461 PyObject *resultobj;
10462 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10463 PyObject * obj0 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 delete arg1;
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482}
10483
10484
c32bde28 10485static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10486 PyObject *resultobj;
10487 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10488 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10489 wxRect *arg3 = (wxRect *) NULL ;
10490 bool result;
10491 PyObject * obj0 = 0 ;
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "frame",(char *) "rect", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10500 if (SWIG_arg_fail(1)) SWIG_fail;
10501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10502 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10503 if (obj2) {
093d3ff1
RD
10504 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10505 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10506 }
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 {
10515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10516 }
10517 return resultobj;
10518 fail:
10519 return NULL;
10520}
10521
10522
c32bde28 10523static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10524 PyObject *resultobj;
10525 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10526 wxFrame *arg2 = (wxFrame *) 0 ;
10527 wxWindow *arg3 = (wxWindow *) NULL ;
10528 bool result;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 PyObject * obj2 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10538 if (SWIG_arg_fail(1)) SWIG_fail;
10539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10541 if (obj2) {
093d3ff1
RD
10542 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 {
10553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10554 }
10555 return resultobj;
10556 fail:
10557 return NULL;
10558}
10559
10560
c32bde28 10561static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10562 PyObject *resultobj;
10563 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10564 wxWindow *arg2 = (wxWindow *) 0 ;
10565 wxWindow *arg3 = (wxWindow *) NULL ;
10566 bool result;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 PyObject * obj2 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail;
10577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10578 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10579 if (obj2) {
093d3ff1
RD
10580 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10581 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10582 }
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 {
10591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10592 }
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
c32bde28 10599static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10600 PyObject *obj;
10601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10602 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10603 Py_INCREF(obj);
10604 return Py_BuildValue((char *)"");
10605}
c32bde28 10606static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10607 PyObject *resultobj;
10608 wxWindow *arg1 = (wxWindow *) 0 ;
10609 int arg2 = (int) wxBORDER_NONE ;
10610 wxPopupWindow *result;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "parent",(char *) "flags", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10620 if (obj1) {
093d3ff1
RD
10621 {
10622 arg2 = (int)(SWIG_As_int(obj1));
10623 if (SWIG_arg_fail(2)) SWIG_fail;
10624 }
d55e5bfc
RD
10625 }
10626 {
0439c23b 10627 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10630
10631 wxPyEndAllowThreads(__tstate);
110da5b0 10632 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10633 }
10634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10635 return resultobj;
10636 fail:
10637 return NULL;
10638}
10639
10640
c32bde28 10641static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10642 PyObject *resultobj;
10643 wxPopupWindow *result;
10644 char *kwnames[] = {
10645 NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10649 {
0439c23b 10650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (wxPopupWindow *)new wxPopupWindow();
10653
10654 wxPyEndAllowThreads(__tstate);
110da5b0 10655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10656 }
10657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
c32bde28 10664static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10665 PyObject *resultobj;
10666 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10667 wxWindow *arg2 = (wxWindow *) 0 ;
10668 int arg3 = (int) wxBORDER_NONE ;
10669 bool result;
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672 PyObject * obj2 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "parent",(char *) "flags", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10679 if (SWIG_arg_fail(1)) SWIG_fail;
10680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10681 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10682 if (obj2) {
093d3ff1
RD
10683 {
10684 arg3 = (int)(SWIG_As_int(obj2));
10685 if (SWIG_arg_fail(3)) SWIG_fail;
10686 }
d55e5bfc
RD
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 result = (bool)(arg1)->Create(arg2,arg3);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 {
10696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10697 }
10698 return resultobj;
10699 fail:
10700 return NULL;
10701}
10702
10703
c32bde28 10704static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10705 PyObject *resultobj;
10706 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10707 wxPoint *arg2 = 0 ;
10708 wxSize *arg3 = 0 ;
10709 wxPoint temp2 ;
10710 wxSize temp3 ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 PyObject * obj2 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10721 {
10722 arg2 = &temp2;
10723 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10724 }
10725 {
10726 arg3 = &temp3;
10727 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 Py_INCREF(Py_None); resultobj = Py_None;
10737 return resultobj;
10738 fail:
10739 return NULL;
10740}
10741
10742
c32bde28 10743static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10744 PyObject *obj;
10745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10746 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10747 Py_INCREF(obj);
10748 return Py_BuildValue((char *)"");
10749}
c32bde28 10750static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10751 PyObject *resultobj;
10752 wxWindow *arg1 = (wxWindow *) 0 ;
10753 int arg2 = (int) wxBORDER_NONE ;
10754 wxPyPopupTransientWindow *result;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "parent",(char *) "style", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10764 if (obj1) {
093d3ff1
RD
10765 {
10766 arg2 = (int)(SWIG_As_int(obj1));
10767 if (SWIG_arg_fail(2)) SWIG_fail;
10768 }
d55e5bfc
RD
10769 }
10770 {
0439c23b 10771 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
110da5b0 10776 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10777 }
10778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c32bde28 10785static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10786 PyObject *resultobj;
10787 wxPyPopupTransientWindow *result;
10788 char *kwnames[] = {
10789 NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10793 {
0439c23b 10794 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10797
10798 wxPyEndAllowThreads(__tstate);
110da5b0 10799 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10800 }
10801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
c32bde28 10808static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10809 PyObject *resultobj;
10810 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10811 PyObject *arg2 = (PyObject *) 0 ;
10812 PyObject *arg3 = (PyObject *) 0 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 PyObject * obj2 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self",(char *) "self",(char *) "_class", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10823 arg2 = obj1;
10824 arg3 = obj2;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->_setCallbackInfo(arg2,arg3);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 Py_INCREF(Py_None); resultobj = Py_None;
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
c32bde28 10839static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10840 PyObject *resultobj;
10841 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10842 wxWindow *arg2 = (wxWindow *) NULL ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self",(char *) "focus", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10852 if (obj1) {
093d3ff1
RD
10853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10854 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10855 }
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 (arg1)->Popup(arg2);
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 Py_INCREF(Py_None); resultobj = Py_None;
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
c32bde28 10870static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10871 PyObject *resultobj;
10872 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 (arg1)->Dismiss();
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 Py_INCREF(Py_None); resultobj = Py_None;
10889 return resultobj;
10890 fail:
10891 return NULL;
10892}
10893
10894
c32bde28 10895static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10896 PyObject *obj;
10897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10898 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10899 Py_INCREF(obj);
10900 return Py_BuildValue((char *)"");
10901}
c32bde28 10902static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10903 PyObject *resultobj;
10904 wxWindow *arg1 = (wxWindow *) 0 ;
10905 wxString *arg2 = 0 ;
10906 int arg3 = (int) 100 ;
10907 wxRect *arg4 = (wxRect *) NULL ;
10908 wxTipWindow *result;
ae8162c8 10909 bool temp2 = false ;
d55e5bfc
RD
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 PyObject * obj2 = 0 ;
10913 PyObject * obj3 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10921 {
10922 arg2 = wxString_in_helper(obj1);
10923 if (arg2 == NULL) SWIG_fail;
ae8162c8 10924 temp2 = true;
d55e5bfc
RD
10925 }
10926 if (obj2) {
093d3ff1
RD
10927 {
10928 arg3 = (int)(SWIG_As_int(obj2));
10929 if (SWIG_arg_fail(3)) SWIG_fail;
10930 }
d55e5bfc
RD
10931 }
10932 if (obj3) {
093d3ff1
RD
10933 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10935 }
10936 {
0439c23b 10937 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10940
10941 wxPyEndAllowThreads(__tstate);
110da5b0 10942 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10943 }
10944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10945 {
10946 if (temp2)
10947 delete arg2;
10948 }
10949 return resultobj;
10950 fail:
10951 {
10952 if (temp2)
10953 delete arg2;
10954 }
10955 return NULL;
10956}
10957
10958
c32bde28 10959static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10960 PyObject *resultobj;
10961 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10962 wxRect *arg2 = 0 ;
10963 wxRect temp2 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "rectBound", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10973 {
10974 arg2 = &temp2;
10975 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10976 }
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
c32bde28 10991static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10992 PyObject *resultobj;
10993 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10994 PyObject * obj0 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
11000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 (arg1)->Close();
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 Py_INCREF(Py_None); resultobj = Py_None;
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
c32bde28 11016static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11017 PyObject *obj;
11018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11019 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11020 Py_INCREF(obj);
11021 return Py_BuildValue((char *)"");
11022}
c32bde28 11023static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11024 PyObject *resultobj;
11025 wxWindow *arg1 = (wxWindow *) 0 ;
11026 int arg2 = (int) wxID_ANY ;
11027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11029 wxSize const &arg4_defvalue = wxDefaultSize ;
11030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11031 long arg5 = (long) 0 ;
11032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11033 wxString *arg6 = (wxString *) &arg6_defvalue ;
11034 wxPyVScrolledWindow *result;
11035 wxPoint temp3 ;
11036 wxSize temp4 ;
ae8162c8 11037 bool temp6 = false ;
d55e5bfc
RD
11038 PyObject * obj0 = 0 ;
11039 PyObject * obj1 = 0 ;
11040 PyObject * obj2 = 0 ;
11041 PyObject * obj3 = 0 ;
11042 PyObject * obj4 = 0 ;
11043 PyObject * obj5 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11051 if (obj1) {
093d3ff1
RD
11052 {
11053 arg2 = (int)(SWIG_As_int(obj1));
11054 if (SWIG_arg_fail(2)) SWIG_fail;
11055 }
d55e5bfc
RD
11056 }
11057 if (obj2) {
11058 {
11059 arg3 = &temp3;
11060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11061 }
11062 }
11063 if (obj3) {
11064 {
11065 arg4 = &temp4;
11066 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11067 }
11068 }
11069 if (obj4) {
093d3ff1
RD
11070 {
11071 arg5 = (long)(SWIG_As_long(obj4));
11072 if (SWIG_arg_fail(5)) SWIG_fail;
11073 }
d55e5bfc
RD
11074 }
11075 if (obj5) {
11076 {
11077 arg6 = wxString_in_helper(obj5);
11078 if (arg6 == NULL) SWIG_fail;
ae8162c8 11079 temp6 = true;
d55e5bfc
RD
11080 }
11081 }
11082 {
0439c23b 11083 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11086
11087 wxPyEndAllowThreads(__tstate);
110da5b0 11088 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11089 }
11090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11091 {
11092 if (temp6)
11093 delete arg6;
11094 }
11095 return resultobj;
11096 fail:
11097 {
11098 if (temp6)
11099 delete arg6;
11100 }
11101 return NULL;
11102}
11103
11104
c32bde28 11105static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11106 PyObject *resultobj;
11107 wxPyVScrolledWindow *result;
11108 char *kwnames[] = {
11109 NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11113 {
0439c23b 11114 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11117
11118 wxPyEndAllowThreads(__tstate);
110da5b0 11119 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11120 }
11121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11122 return resultobj;
11123 fail:
11124 return NULL;
11125}
11126
11127
c32bde28 11128static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11129 PyObject *resultobj;
11130 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11131 PyObject *arg2 = (PyObject *) 0 ;
11132 PyObject *arg3 = (PyObject *) 0 ;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 PyObject * obj2 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self",(char *) "self",(char *) "_class", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11143 arg2 = obj1;
11144 arg3 = obj2;
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->_setCallbackInfo(arg2,arg3);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 Py_INCREF(Py_None); resultobj = Py_None;
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c32bde28 11159static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11160 PyObject *resultobj;
11161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11162 wxWindow *arg2 = (wxWindow *) 0 ;
11163 int arg3 = (int) wxID_ANY ;
11164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11166 wxSize const &arg5_defvalue = wxDefaultSize ;
11167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11168 long arg6 = (long) 0 ;
11169 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11170 wxString *arg7 = (wxString *) &arg7_defvalue ;
11171 bool result;
11172 wxPoint temp4 ;
11173 wxSize temp5 ;
ae8162c8 11174 bool temp7 = false ;
d55e5bfc
RD
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 PyObject * obj3 = 0 ;
11179 PyObject * obj4 = 0 ;
11180 PyObject * obj5 = 0 ;
11181 PyObject * obj6 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11188 if (SWIG_arg_fail(1)) SWIG_fail;
11189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11190 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11191 if (obj2) {
093d3ff1
RD
11192 {
11193 arg3 = (int)(SWIG_As_int(obj2));
11194 if (SWIG_arg_fail(3)) SWIG_fail;
11195 }
d55e5bfc
RD
11196 }
11197 if (obj3) {
11198 {
11199 arg4 = &temp4;
11200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11201 }
11202 }
11203 if (obj4) {
11204 {
11205 arg5 = &temp5;
11206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11207 }
11208 }
11209 if (obj5) {
093d3ff1
RD
11210 {
11211 arg6 = (long)(SWIG_As_long(obj5));
11212 if (SWIG_arg_fail(6)) SWIG_fail;
11213 }
d55e5bfc
RD
11214 }
11215 if (obj6) {
11216 {
11217 arg7 = wxString_in_helper(obj6);
11218 if (arg7 == NULL) SWIG_fail;
ae8162c8 11219 temp7 = true;
d55e5bfc
RD
11220 }
11221 }
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 {
11230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11231 }
11232 {
11233 if (temp7)
11234 delete arg7;
11235 }
11236 return resultobj;
11237 fail:
11238 {
11239 if (temp7)
11240 delete arg7;
11241 }
11242 return NULL;
11243}
11244
11245
c32bde28 11246static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11247 PyObject *resultobj;
11248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11249 size_t arg2 ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self",(char *) "count", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail;
11259 {
11260 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11261 if (SWIG_arg_fail(2)) SWIG_fail;
11262 }
d55e5bfc
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 (arg1)->SetLineCount(arg2);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 Py_INCREF(Py_None); resultobj = Py_None;
11271 return resultobj;
11272 fail:
11273 return NULL;
11274}
11275
11276
c32bde28 11277static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11278 PyObject *resultobj;
11279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11280 size_t arg2 ;
11281 bool result;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self",(char *) "line", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail;
11291 {
11292 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11293 if (SWIG_arg_fail(2)) SWIG_fail;
11294 }
d55e5bfc
RD
11295 {
11296 PyThreadState* __tstate = wxPyBeginAllowThreads();
11297 result = (bool)(arg1)->ScrollToLine(arg2);
11298
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 {
11303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11304 }
11305 return resultobj;
11306 fail:
11307 return NULL;
11308}
11309
11310
c32bde28 11311static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11312 PyObject *resultobj;
11313 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11314 int arg2 ;
11315 bool result;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "lines", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail;
11325 {
11326 arg2 = (int)(SWIG_As_int(obj1));
11327 if (SWIG_arg_fail(2)) SWIG_fail;
11328 }
d55e5bfc
RD
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (bool)(arg1)->ScrollLines(arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 {
11337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11338 }
11339 return resultobj;
11340 fail:
11341 return NULL;
11342}
11343
11344
c32bde28 11345static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11346 PyObject *resultobj;
11347 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11348 int arg2 ;
11349 bool result;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "pages", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11358 if (SWIG_arg_fail(1)) SWIG_fail;
11359 {
11360 arg2 = (int)(SWIG_As_int(obj1));
11361 if (SWIG_arg_fail(2)) SWIG_fail;
11362 }
d55e5bfc
RD
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (bool)(arg1)->ScrollPages(arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 {
11371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11372 }
11373 return resultobj;
11374 fail:
11375 return NULL;
11376}
11377
11378
c32bde28 11379static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11380 PyObject *resultobj;
11381 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11382 size_t arg2 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "line", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
11392 {
11393 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11394 if (SWIG_arg_fail(2)) SWIG_fail;
11395 }
d55e5bfc
RD
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 (arg1)->RefreshLine(arg2);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 Py_INCREF(Py_None); resultobj = Py_None;
11404 return resultobj;
11405 fail:
11406 return NULL;
11407}
11408
11409
c32bde28 11410static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11411 PyObject *resultobj;
11412 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11413 size_t arg2 ;
11414 size_t arg3 ;
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417 PyObject * obj2 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self",(char *) "from",(char *) "to", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail;
11425 {
11426 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11427 if (SWIG_arg_fail(2)) SWIG_fail;
11428 }
11429 {
11430 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11431 if (SWIG_arg_fail(3)) SWIG_fail;
11432 }
d55e5bfc
RD
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 (arg1)->RefreshLines(arg2,arg3);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 Py_INCREF(Py_None); resultobj = Py_None;
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
c32bde28 11447static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11448 PyObject *resultobj;
11449 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11450 int arg2 ;
11451 int arg3 ;
11452 int result;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "x",(char *) "y", NULL
11458 };
11459
354693ff 11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11462 if (SWIG_arg_fail(1)) SWIG_fail;
11463 {
11464 arg2 = (int)(SWIG_As_int(obj1));
11465 if (SWIG_arg_fail(2)) SWIG_fail;
11466 }
11467 {
11468 arg3 = (int)(SWIG_As_int(obj2));
11469 if (SWIG_arg_fail(3)) SWIG_fail;
11470 }
d55e5bfc
RD
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
093d3ff1
RD
11478 {
11479 resultobj = SWIG_From_int((int)(result));
11480 }
d55e5bfc
RD
11481 return resultobj;
11482 fail:
11483 return NULL;
11484}
11485
11486
c32bde28 11487static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11488 PyObject *resultobj;
11489 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11490 wxPoint *arg2 = 0 ;
11491 int result;
11492 wxPoint temp2 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "pt", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11502 {
11503 arg2 = &temp2;
11504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11505 }
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
093d3ff1
RD
11513 {
11514 resultobj = SWIG_From_int((int)(result));
11515 }
d55e5bfc
RD
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
c32bde28 11522static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11523 PyObject *resultobj;
11524 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->RefreshAll();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
c32bde28 11547static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11548 PyObject *resultobj;
11549 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11550 size_t result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
093d3ff1
RD
11566 {
11567 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11568 }
d55e5bfc
RD
11569 return resultobj;
11570 fail:
11571 return NULL;
11572}
11573
11574
c32bde28 11575static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11576 PyObject *resultobj;
11577 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11578 size_t result;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
093d3ff1
RD
11594 {
11595 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11596 }
d55e5bfc
RD
11597 return resultobj;
11598 fail:
11599 return NULL;
11600}
11601
11602
c32bde28 11603static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11604 PyObject *resultobj;
11605 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11606 size_t result;
11607 PyObject * obj0 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
093d3ff1
RD
11622 {
11623 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11624 }
d55e5bfc
RD
11625 return resultobj;
11626 fail:
11627 return NULL;
11628}
11629
11630
c32bde28 11631static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11632 PyObject *resultobj;
11633 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11634 size_t arg2 ;
11635 bool result;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "line", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11644 if (SWIG_arg_fail(1)) SWIG_fail;
11645 {
11646 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11647 if (SWIG_arg_fail(2)) SWIG_fail;
11648 }
d55e5bfc
RD
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11652
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 {
11657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11658 }
11659 return resultobj;
11660 fail:
11661 return NULL;
11662}
11663
11664
c32bde28 11665static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11666 PyObject *obj;
11667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11668 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11669 Py_INCREF(obj);
11670 return Py_BuildValue((char *)"");
11671}
c32bde28 11672static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11673 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11674 return 1;
11675}
11676
11677
093d3ff1 11678static PyObject *_wrap_VListBoxNameStr_get(void) {
d55e5bfc
RD
11679 PyObject *pyobj;
11680
11681 {
11682#if wxUSE_UNICODE
11683 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11684#else
11685 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11686#endif
11687 }
11688 return pyobj;
11689}
11690
11691
c32bde28 11692static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11693 PyObject *resultobj;
11694 wxWindow *arg1 = (wxWindow *) 0 ;
11695 int arg2 = (int) wxID_ANY ;
11696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11698 wxSize const &arg4_defvalue = wxDefaultSize ;
11699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11700 long arg5 = (long) 0 ;
11701 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11702 wxString *arg6 = (wxString *) &arg6_defvalue ;
11703 wxPyVListBox *result;
11704 wxPoint temp3 ;
11705 wxSize temp4 ;
ae8162c8 11706 bool temp6 = false ;
d55e5bfc
RD
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 PyObject * obj2 = 0 ;
11710 PyObject * obj3 = 0 ;
11711 PyObject * obj4 = 0 ;
11712 PyObject * obj5 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11720 if (obj1) {
093d3ff1
RD
11721 {
11722 arg2 = (int)(SWIG_As_int(obj1));
11723 if (SWIG_arg_fail(2)) SWIG_fail;
11724 }
d55e5bfc
RD
11725 }
11726 if (obj2) {
11727 {
11728 arg3 = &temp3;
11729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11730 }
11731 }
11732 if (obj3) {
11733 {
11734 arg4 = &temp4;
11735 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11736 }
11737 }
11738 if (obj4) {
093d3ff1
RD
11739 {
11740 arg5 = (long)(SWIG_As_long(obj4));
11741 if (SWIG_arg_fail(5)) SWIG_fail;
11742 }
d55e5bfc
RD
11743 }
11744 if (obj5) {
11745 {
11746 arg6 = wxString_in_helper(obj5);
11747 if (arg6 == NULL) SWIG_fail;
ae8162c8 11748 temp6 = true;
d55e5bfc
RD
11749 }
11750 }
11751 {
0439c23b 11752 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11755
11756 wxPyEndAllowThreads(__tstate);
110da5b0 11757 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11758 }
11759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11760 {
11761 if (temp6)
11762 delete arg6;
11763 }
11764 return resultobj;
11765 fail:
11766 {
11767 if (temp6)
11768 delete arg6;
11769 }
11770 return NULL;
11771}
11772
11773
c32bde28 11774static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11775 PyObject *resultobj;
11776 wxPyVListBox *result;
11777 char *kwnames[] = {
11778 NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11782 {
0439c23b 11783 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 result = (wxPyVListBox *)new wxPyVListBox();
11786
11787 wxPyEndAllowThreads(__tstate);
110da5b0 11788 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11789 }
11790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11791 return resultobj;
11792 fail:
11793 return NULL;
11794}
11795
11796
c32bde28 11797static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11798 PyObject *resultobj;
11799 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11800 PyObject *arg2 = (PyObject *) 0 ;
11801 PyObject *arg3 = (PyObject *) 0 ;
11802 PyObject * obj0 = 0 ;
11803 PyObject * obj1 = 0 ;
11804 PyObject * obj2 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "self",(char *) "self",(char *) "_class", NULL
11807 };
11808
11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11812 arg2 = obj1;
11813 arg3 = obj2;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 (arg1)->_setCallbackInfo(arg2,arg3);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 Py_INCREF(Py_None); resultobj = Py_None;
11822 return resultobj;
11823 fail:
11824 return NULL;
11825}
11826
11827
c32bde28 11828static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11829 PyObject *resultobj;
11830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11831 wxWindow *arg2 = (wxWindow *) 0 ;
11832 int arg3 = (int) wxID_ANY ;
11833 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11834 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11835 wxSize const &arg5_defvalue = wxDefaultSize ;
11836 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11837 long arg6 = (long) 0 ;
11838 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11839 wxString *arg7 = (wxString *) &arg7_defvalue ;
11840 bool result;
11841 wxPoint temp4 ;
11842 wxSize temp5 ;
ae8162c8 11843 bool temp7 = false ;
d55e5bfc
RD
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 PyObject * obj2 = 0 ;
11847 PyObject * obj3 = 0 ;
11848 PyObject * obj4 = 0 ;
11849 PyObject * obj5 = 0 ;
11850 PyObject * obj6 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail;
11858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11860 if (obj2) {
093d3ff1
RD
11861 {
11862 arg3 = (int)(SWIG_As_int(obj2));
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 }
d55e5bfc
RD
11865 }
11866 if (obj3) {
11867 {
11868 arg4 = &temp4;
11869 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11870 }
11871 }
11872 if (obj4) {
11873 {
11874 arg5 = &temp5;
11875 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11876 }
11877 }
11878 if (obj5) {
093d3ff1
RD
11879 {
11880 arg6 = (long)(SWIG_As_long(obj5));
11881 if (SWIG_arg_fail(6)) SWIG_fail;
11882 }
d55e5bfc
RD
11883 }
11884 if (obj6) {
11885 {
11886 arg7 = wxString_in_helper(obj6);
11887 if (arg7 == NULL) SWIG_fail;
ae8162c8 11888 temp7 = true;
d55e5bfc
RD
11889 }
11890 }
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11900 }
11901 {
11902 if (temp7)
11903 delete arg7;
11904 }
11905 return resultobj;
11906 fail:
11907 {
11908 if (temp7)
11909 delete arg7;
11910 }
11911 return NULL;
11912}
11913
11914
c32bde28 11915static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11916 PyObject *resultobj;
11917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11918 size_t result;
11919 PyObject * obj0 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
093d3ff1
RD
11934 {
11935 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11936 }
d55e5bfc
RD
11937 return resultobj;
11938 fail:
11939 return NULL;
11940}
11941
11942
c32bde28 11943static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11944 PyObject *resultobj;
11945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11946 bool result;
11947 PyObject * obj0 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
11965 return resultobj;
11966 fail:
11967 return NULL;
11968}
11969
11970
c32bde28 11971static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11972 PyObject *resultobj;
11973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11974 int result;
11975 PyObject * obj0 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11986
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
093d3ff1
RD
11990 {
11991 resultobj = SWIG_From_int((int)(result));
11992 }
d55e5bfc
RD
11993 return resultobj;
11994 fail:
11995 return NULL;
11996}
11997
11998
c32bde28 11999static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12000 PyObject *resultobj;
12001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12002 size_t arg2 ;
12003 bool result;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "item", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail;
12013 {
12014 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12015 if (SWIG_arg_fail(2)) SWIG_fail;
12016 }
d55e5bfc
RD
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12026 }
12027 return resultobj;
12028 fail:
12029 return NULL;
12030}
12031
12032
c32bde28 12033static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12034 PyObject *resultobj;
12035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12036 size_t arg2 ;
12037 bool result;
12038 PyObject * obj0 = 0 ;
12039 PyObject * obj1 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self",(char *) "item", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail;
12047 {
12048 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12049 if (SWIG_arg_fail(2)) SWIG_fail;
12050 }
d55e5bfc
RD
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 {
12059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12060 }
12061 return resultobj;
12062 fail:
12063 return NULL;
12064}
12065
12066
c32bde28 12067static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12068 PyObject *resultobj;
12069 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12070 size_t result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
093d3ff1
RD
12086 {
12087 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12088 }
d55e5bfc
RD
12089 return resultobj;
12090 fail:
12091 return NULL;
12092}
12093
12094
c32bde28 12095static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12096 PyObject *resultobj;
12097 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12098 PyObject *result;
d55e5bfc 12099 PyObject * obj0 = 0 ;
d55e5bfc 12100 char *kwnames[] = {
09c21d3b 12101 (char *) "self", NULL
d55e5bfc
RD
12102 };
12103
09c21d3b 12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12109 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
09c21d3b 12114 resultobj = result;
d55e5bfc
RD
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12122 PyObject *resultobj;
12123 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12124 unsigned long arg2 ;
12125 PyObject *result;
d55e5bfc
RD
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self",(char *) "cookie", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12134 if (SWIG_arg_fail(1)) SWIG_fail;
12135 {
12136 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12137 if (SWIG_arg_fail(2)) SWIG_fail;
12138 }
d55e5bfc
RD
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12141 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
09c21d3b 12146 resultobj = result;
d55e5bfc
RD
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
c32bde28 12153static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12154 PyObject *resultobj;
12155 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12156 wxPoint result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = ((wxPyVListBox const *)arg1)->GetMargins();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
12173 wxPoint * resultptr;
093d3ff1 12174 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
c32bde28 12183static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12184 PyObject *resultobj;
12185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12186 wxColour *result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 {
12198 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12199 result = (wxColour *) &_result_ref;
12200 }
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
c32bde28 12212static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12213 PyObject *resultobj;
12214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12215 size_t arg2 ;
12216 PyObject * obj0 = 0 ;
12217 PyObject * obj1 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "count", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12224 if (SWIG_arg_fail(1)) SWIG_fail;
12225 {
12226 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12227 if (SWIG_arg_fail(2)) SWIG_fail;
12228 }
d55e5bfc
RD
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 (arg1)->SetItemCount(arg2);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 Py_INCREF(Py_None); resultobj = Py_None;
12237 return resultobj;
12238 fail:
12239 return NULL;
12240}
12241
12242
c32bde28 12243static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12244 PyObject *resultobj;
12245 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->Clear();
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
c32bde28 12268static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12269 PyObject *resultobj;
12270 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12271 int arg2 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "selection", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12280 if (SWIG_arg_fail(1)) SWIG_fail;
12281 {
12282 arg2 = (int)(SWIG_As_int(obj1));
12283 if (SWIG_arg_fail(2)) SWIG_fail;
12284 }
d55e5bfc
RD
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetSelection(arg2);
12288
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 Py_INCREF(Py_None); resultobj = Py_None;
12293 return resultobj;
12294 fail:
12295 return NULL;
12296}
12297
12298
c32bde28 12299static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12300 PyObject *resultobj;
12301 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12302 size_t arg2 ;
ae8162c8 12303 bool arg3 = (bool) true ;
d55e5bfc
RD
12304 bool result;
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 PyObject * obj2 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "item",(char *) "select", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail;
12315 {
12316 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12317 if (SWIG_arg_fail(2)) SWIG_fail;
12318 }
d55e5bfc 12319 if (obj2) {
093d3ff1
RD
12320 {
12321 arg3 = (bool)(SWIG_As_bool(obj2));
12322 if (SWIG_arg_fail(3)) SWIG_fail;
12323 }
d55e5bfc
RD
12324 }
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 result = (bool)(arg1)->Select(arg2,arg3);
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 {
12333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12334 }
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
c32bde28 12341static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12342 PyObject *resultobj;
12343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12344 size_t arg2 ;
12345 size_t arg3 ;
12346 bool result;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 PyObject * obj2 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "from",(char *) "to", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12359 if (SWIG_arg_fail(2)) SWIG_fail;
12360 }
12361 {
12362 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12363 if (SWIG_arg_fail(3)) SWIG_fail;
12364 }
d55e5bfc
RD
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 result = (bool)(arg1)->SelectRange(arg2,arg3);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 {
12373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12374 }
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
c32bde28 12381static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12382 PyObject *resultobj;
12383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12384 size_t arg2 ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self",(char *) "item", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail;
12394 {
12395 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12396 if (SWIG_arg_fail(2)) SWIG_fail;
12397 }
d55e5bfc
RD
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->Toggle(arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 return resultobj;
12407 fail:
12408 return NULL;
12409}
12410
12411
c32bde28 12412static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12413 PyObject *resultobj;
12414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12415 bool result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (bool)(arg1)->SelectAll();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 {
12432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12433 }
12434 return resultobj;
12435 fail:
12436 return NULL;
12437}
12438
12439
c32bde28 12440static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12441 PyObject *resultobj;
12442 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12443 bool result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (bool)(arg1)->DeselectAll();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 {
12460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12461 }
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
c32bde28 12468static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12469 PyObject *resultobj;
12470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12471 wxPoint *arg2 = 0 ;
12472 wxPoint temp2 ;
12473 PyObject * obj0 = 0 ;
12474 PyObject * obj1 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "pt", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12482 {
12483 arg2 = &temp2;
12484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12485 }
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 (arg1)->SetMargins((wxPoint const &)*arg2);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 Py_INCREF(Py_None); resultobj = Py_None;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
c32bde28 12500static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12501 PyObject *resultobj;
12502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12503 int arg2 ;
12504 int arg3 ;
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
12507 PyObject * obj2 = 0 ;
12508 char *kwnames[] = {
12509 (char *) "self",(char *) "x",(char *) "y", NULL
12510 };
12511
12512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12514 if (SWIG_arg_fail(1)) SWIG_fail;
12515 {
12516 arg2 = (int)(SWIG_As_int(obj1));
12517 if (SWIG_arg_fail(2)) SWIG_fail;
12518 }
12519 {
12520 arg3 = (int)(SWIG_As_int(obj2));
12521 if (SWIG_arg_fail(3)) SWIG_fail;
12522 }
d55e5bfc
RD
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetMargins(arg2,arg3);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 Py_INCREF(Py_None); resultobj = Py_None;
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
c32bde28 12537static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12538 PyObject *resultobj;
12539 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12540 wxColour *arg2 = 0 ;
12541 wxColour temp2 ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self",(char *) "col", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12551 {
12552 arg2 = &temp2;
12553 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12554 }
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 Py_INCREF(Py_None); resultobj = Py_None;
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
c32bde28 12569static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12570 PyObject *obj;
12571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12572 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12573 Py_INCREF(obj);
12574 return Py_BuildValue((char *)"");
12575}
c32bde28 12576static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12577 PyObject *resultobj;
12578 wxWindow *arg1 = (wxWindow *) 0 ;
12579 int arg2 = (int) wxID_ANY ;
12580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12582 wxSize const &arg4_defvalue = wxDefaultSize ;
12583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12584 long arg5 = (long) 0 ;
12585 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12586 wxString *arg6 = (wxString *) &arg6_defvalue ;
12587 wxPyHtmlListBox *result;
12588 wxPoint temp3 ;
12589 wxSize temp4 ;
ae8162c8 12590 bool temp6 = false ;
d55e5bfc
RD
12591 PyObject * obj0 = 0 ;
12592 PyObject * obj1 = 0 ;
12593 PyObject * obj2 = 0 ;
12594 PyObject * obj3 = 0 ;
12595 PyObject * obj4 = 0 ;
12596 PyObject * obj5 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12604 if (obj1) {
093d3ff1
RD
12605 {
12606 arg2 = (int)(SWIG_As_int(obj1));
12607 if (SWIG_arg_fail(2)) SWIG_fail;
12608 }
d55e5bfc
RD
12609 }
12610 if (obj2) {
12611 {
12612 arg3 = &temp3;
12613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12614 }
12615 }
12616 if (obj3) {
12617 {
12618 arg4 = &temp4;
12619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12620 }
12621 }
12622 if (obj4) {
093d3ff1
RD
12623 {
12624 arg5 = (long)(SWIG_As_long(obj4));
12625 if (SWIG_arg_fail(5)) SWIG_fail;
12626 }
d55e5bfc
RD
12627 }
12628 if (obj5) {
12629 {
12630 arg6 = wxString_in_helper(obj5);
12631 if (arg6 == NULL) SWIG_fail;
ae8162c8 12632 temp6 = true;
d55e5bfc
RD
12633 }
12634 }
12635 {
0439c23b 12636 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12639
12640 wxPyEndAllowThreads(__tstate);
110da5b0 12641 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12642 }
12643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12644 {
12645 if (temp6)
12646 delete arg6;
12647 }
12648 return resultobj;
12649 fail:
12650 {
12651 if (temp6)
12652 delete arg6;
12653 }
12654 return NULL;
12655}
12656
12657
c32bde28 12658static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12659 PyObject *resultobj;
12660 wxPyHtmlListBox *result;
12661 char *kwnames[] = {
12662 NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12666 {
0439c23b 12667 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12670
12671 wxPyEndAllowThreads(__tstate);
110da5b0 12672 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12673 }
12674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12675 return resultobj;
12676 fail:
12677 return NULL;
12678}
12679
12680
c32bde28 12681static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12682 PyObject *resultobj;
12683 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12684 PyObject *arg2 = (PyObject *) 0 ;
12685 PyObject *arg3 = (PyObject *) 0 ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 PyObject * obj2 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self",(char *) "self",(char *) "_class", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12696 arg2 = obj1;
12697 arg3 = obj2;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->_setCallbackInfo(arg2,arg3);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709}
12710
12711
c32bde28 12712static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12713 PyObject *resultobj;
12714 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12715 wxWindow *arg2 = (wxWindow *) 0 ;
12716 int arg3 = (int) wxID_ANY ;
12717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12719 wxSize const &arg5_defvalue = wxDefaultSize ;
12720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12721 long arg6 = (long) 0 ;
12722 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12723 wxString *arg7 = (wxString *) &arg7_defvalue ;
12724 bool result;
12725 wxPoint temp4 ;
12726 wxSize temp5 ;
ae8162c8 12727 bool temp7 = false ;
d55e5bfc
RD
12728 PyObject * obj0 = 0 ;
12729 PyObject * obj1 = 0 ;
12730 PyObject * obj2 = 0 ;
12731 PyObject * obj3 = 0 ;
12732 PyObject * obj4 = 0 ;
12733 PyObject * obj5 = 0 ;
12734 PyObject * obj6 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail;
12742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12743 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12744 if (obj2) {
093d3ff1
RD
12745 {
12746 arg3 = (int)(SWIG_As_int(obj2));
12747 if (SWIG_arg_fail(3)) SWIG_fail;
12748 }
d55e5bfc
RD
12749 }
12750 if (obj3) {
12751 {
12752 arg4 = &temp4;
12753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12754 }
12755 }
12756 if (obj4) {
12757 {
12758 arg5 = &temp5;
12759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12760 }
12761 }
12762 if (obj5) {
093d3ff1
RD
12763 {
12764 arg6 = (long)(SWIG_As_long(obj5));
12765 if (SWIG_arg_fail(6)) SWIG_fail;
12766 }
d55e5bfc
RD
12767 }
12768 if (obj6) {
12769 {
12770 arg7 = wxString_in_helper(obj6);
12771 if (arg7 == NULL) SWIG_fail;
ae8162c8 12772 temp7 = true;
d55e5bfc
RD
12773 }
12774 }
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12778
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 {
12783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12784 }
12785 {
12786 if (temp7)
12787 delete arg7;
12788 }
12789 return resultobj;
12790 fail:
12791 {
12792 if (temp7)
12793 delete arg7;
12794 }
12795 return NULL;
12796}
12797
12798
c32bde28 12799static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12800 PyObject *resultobj;
12801 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->RefreshAll();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
c32bde28 12824static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12825 PyObject *resultobj;
12826 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12827 size_t arg2 ;
12828 PyObject * obj0 = 0 ;
12829 PyObject * obj1 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self",(char *) "count", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12836 if (SWIG_arg_fail(1)) SWIG_fail;
12837 {
12838 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12839 if (SWIG_arg_fail(2)) SWIG_fail;
12840 }
d55e5bfc
RD
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 (arg1)->SetItemCount(arg2);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 Py_INCREF(Py_None); resultobj = Py_None;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852}
12853
12854
c32bde28 12855static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
12856 PyObject *resultobj;
12857 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12858 wxFileSystem *result;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12866 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 {
12870 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12871 result = (wxFileSystem *) &_result_ref;
12872 }
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12878 return resultobj;
12879 fail:
12880 return NULL;
12881}
12882
12883
c32bde28 12884static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12885 PyObject *obj;
12886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12887 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12888 Py_INCREF(obj);
12889 return Py_BuildValue((char *)"");
12890}
c32bde28 12891static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12892 PyObject *resultobj;
5e483524 12893 wxPyTaskBarIcon *result;
d55e5bfc
RD
12894 char *kwnames[] = {
12895 NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12899 {
0439c23b 12900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12902 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
12903
12904 wxPyEndAllowThreads(__tstate);
110da5b0 12905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12906 }
5e483524 12907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
5e483524 12914static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12915 PyObject *resultobj;
5e483524
RD
12916 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12917 PyObject *arg2 = (PyObject *) 0 ;
12918 PyObject *arg3 = (PyObject *) 0 ;
12919 int arg4 ;
d55e5bfc 12920 PyObject * obj0 = 0 ;
5e483524
RD
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 PyObject * obj3 = 0 ;
d55e5bfc 12924 char *kwnames[] = {
5e483524 12925 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
12926 };
12927
5e483524 12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12931 arg2 = obj1;
12932 arg3 = obj2;
093d3ff1
RD
12933 {
12934 arg4 = (int)(SWIG_As_int(obj3));
12935 if (SWIG_arg_fail(4)) SWIG_fail;
12936 }
d55e5bfc
RD
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12939 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 Py_INCREF(Py_None); resultobj = Py_None;
12945 return resultobj;
12946 fail:
12947 return NULL;
12948}
12949
12950
c32bde28 12951static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12952 PyObject *resultobj;
5e483524 12953 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
12954 PyObject * obj0 = 0 ;
12955 char *kwnames[] = {
12956 (char *) "self", NULL
12957 };
12958
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12964 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 return resultobj;
12971 fail:
12972 return NULL;
12973}
12974
12975
c32bde28 12976static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12977 PyObject *resultobj;
5e483524 12978 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
12979 bool result;
12980 PyObject * obj0 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12990 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 {
12996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12997 }
12998 return resultobj;
12999 fail:
13000 return NULL;
13001}
13002
13003
c32bde28 13004static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13005 PyObject *resultobj;
5e483524 13006 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13007 bool result;
13008 PyObject * obj0 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13018 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13025 }
13026 return resultobj;
13027 fail:
13028 return NULL;
13029}
13030
13031
c32bde28 13032static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13033 PyObject *resultobj;
5e483524 13034 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13035 wxIcon *arg2 = 0 ;
13036 wxString const &arg3_defvalue = wxPyEmptyString ;
13037 wxString *arg3 = (wxString *) &arg3_defvalue ;
13038 bool result;
ae8162c8 13039 bool temp3 = false ;
d55e5bfc
RD
13040 PyObject * obj0 = 0 ;
13041 PyObject * obj1 = 0 ;
13042 PyObject * obj2 = 0 ;
13043 char *kwnames[] = {
13044 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13049 if (SWIG_arg_fail(1)) SWIG_fail;
13050 {
13051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13052 if (SWIG_arg_fail(2)) SWIG_fail;
13053 if (arg2 == NULL) {
13054 SWIG_null_ref("wxIcon");
13055 }
13056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13057 }
13058 if (obj2) {
13059 {
13060 arg3 = wxString_in_helper(obj2);
13061 if (arg3 == NULL) SWIG_fail;
ae8162c8 13062 temp3 = true;
d55e5bfc
RD
13063 }
13064 }
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13074 }
13075 {
13076 if (temp3)
13077 delete arg3;
13078 }
13079 return resultobj;
13080 fail:
13081 {
13082 if (temp3)
13083 delete arg3;
13084 }
13085 return NULL;
13086}
13087
13088
c32bde28 13089static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13090 PyObject *resultobj;
5e483524 13091 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13092 bool result;
13093 PyObject * obj0 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->RemoveIcon();
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
13111 return resultobj;
13112 fail:
13113 return NULL;
13114}
13115
13116
c32bde28 13117static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13118 PyObject *resultobj;
5e483524 13119 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13120 wxMenu *arg2 = (wxMenu *) 0 ;
13121 bool result;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "menu", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13132 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 result = (bool)(arg1)->PopupMenu(arg2);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 {
13141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13142 }
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
c32bde28 13149static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13150 PyObject *obj;
13151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13152 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13153 Py_INCREF(obj);
13154 return Py_BuildValue((char *)"");
13155}
c32bde28 13156static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13157 PyObject *resultobj;
13158 wxEventType arg1 ;
13159 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13160 wxTaskBarIconEvent *result;
13161 PyObject * obj0 = 0 ;
13162 PyObject * obj1 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "evtType",(char *) "tbIcon", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13168 {
13169 arg1 = (wxEventType)(SWIG_As_int(obj0));
13170 if (SWIG_arg_fail(1)) SWIG_fail;
13171 }
13172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13173 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13182 return resultobj;
13183 fail:
13184 return NULL;
13185}
13186
13187
c32bde28 13188static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13189 PyObject *obj;
13190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13191 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13192 Py_INCREF(obj);
13193 return Py_BuildValue((char *)"");
13194}
c32bde28 13195static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13196 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13197 return 1;
13198}
13199
13200
093d3ff1 13201static PyObject *_wrap_FileSelectorPromptStr_get(void) {
d55e5bfc
RD
13202 PyObject *pyobj;
13203
13204 {
13205#if wxUSE_UNICODE
13206 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13207#else
13208 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13209#endif
13210 }
13211 return pyobj;
13212}
13213
13214
c32bde28 13215static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13216 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13217 return 1;
13218}
13219
13220
093d3ff1 13221static PyObject *_wrap_DirSelectorPromptStr_get(void) {
d55e5bfc
RD
13222 PyObject *pyobj;
13223
13224 {
13225#if wxUSE_UNICODE
13226 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13227#else
13228 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13229#endif
13230 }
13231 return pyobj;
13232}
13233
13234
c32bde28 13235static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13236 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13237 return 1;
13238}
13239
13240
093d3ff1 13241static PyObject *_wrap_DirDialogNameStr_get(void) {
d55e5bfc
RD
13242 PyObject *pyobj;
13243
13244 {
13245#if wxUSE_UNICODE
13246 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13247#else
13248 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13249#endif
13250 }
13251 return pyobj;
13252}
13253
13254
c32bde28 13255static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13256 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13257 return 1;
13258}
13259
13260
093d3ff1 13261static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
d55e5bfc
RD
13262 PyObject *pyobj;
13263
13264 {
13265#if wxUSE_UNICODE
13266 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13267#else
13268 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13269#endif
13270 }
13271 return pyobj;
13272}
13273
13274
c32bde28 13275static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13276 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13277 return 1;
13278}
13279
13280
093d3ff1 13281static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
d55e5bfc
RD
13282 PyObject *pyobj;
13283
13284 {
13285#if wxUSE_UNICODE
13286 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13287#else
13288 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13289#endif
13290 }
13291 return pyobj;
13292}
13293
13294
c32bde28 13295static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13296 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13297 return 1;
13298}
13299
13300
093d3ff1 13301static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
d55e5bfc
RD
13302 PyObject *pyobj;
13303
13304 {
13305#if wxUSE_UNICODE
13306 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13307#else
13308 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13309#endif
13310 }
13311 return pyobj;
13312}
13313
13314
c32bde28 13315static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13316 PyObject *resultobj;
13317 wxColourData *result;
13318 char *kwnames[] = {
13319 NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (wxColourData *)new wxColourData();
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13331 return resultobj;
13332 fail:
13333 return NULL;
13334}
13335
13336
c32bde28 13337static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13338 PyObject *resultobj;
13339 wxColourData *arg1 = (wxColourData *) 0 ;
13340 PyObject * obj0 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 delete arg1;
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 Py_INCREF(Py_None); resultobj = Py_None;
13356 return resultobj;
13357 fail:
13358 return NULL;
13359}
13360
13361
c32bde28 13362static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13363 PyObject *resultobj;
13364 wxColourData *arg1 = (wxColourData *) 0 ;
13365 bool result;
13366 PyObject * obj0 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 result = (bool)(arg1)->GetChooseFull();
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 {
13382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13383 }
13384 return resultobj;
13385 fail:
13386 return NULL;
13387}
13388
13389
c32bde28 13390static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13391 PyObject *resultobj;
13392 wxColourData *arg1 = (wxColourData *) 0 ;
13393 wxColour result;
13394 PyObject * obj0 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (arg1)->GetColour();
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 {
13410 wxColour * resultptr;
093d3ff1 13411 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13413 }
13414 return resultobj;
13415 fail:
13416 return NULL;
13417}
13418
13419
c32bde28 13420static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13421 PyObject *resultobj;
13422 wxColourData *arg1 = (wxColourData *) 0 ;
13423 int arg2 ;
13424 wxColour result;
13425 PyObject * obj0 = 0 ;
13426 PyObject * obj1 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self",(char *) "i", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail;
13434 {
13435 arg2 = (int)(SWIG_As_int(obj1));
13436 if (SWIG_arg_fail(2)) SWIG_fail;
13437 }
d55e5bfc
RD
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (arg1)->GetCustomColour(arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 wxColour * resultptr;
093d3ff1 13447 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13449 }
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
c32bde28 13456static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13457 PyObject *resultobj;
13458 wxColourData *arg1 = (wxColourData *) 0 ;
13459 int arg2 ;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self",(char *) "flag", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13468 if (SWIG_arg_fail(1)) SWIG_fail;
13469 {
13470 arg2 = (int)(SWIG_As_int(obj1));
13471 if (SWIG_arg_fail(2)) SWIG_fail;
13472 }
d55e5bfc
RD
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->SetChooseFull(arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 Py_INCREF(Py_None); resultobj = Py_None;
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
c32bde28 13487static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13488 PyObject *resultobj;
13489 wxColourData *arg1 = (wxColourData *) 0 ;
13490 wxColour *arg2 = 0 ;
13491 wxColour temp2 ;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "colour", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13501 {
13502 arg2 = &temp2;
13503 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 (arg1)->SetColour((wxColour const &)*arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 Py_INCREF(Py_None); resultobj = Py_None;
13513 return resultobj;
13514 fail:
13515 return NULL;
13516}
13517
13518
c32bde28 13519static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13520 PyObject *resultobj;
13521 wxColourData *arg1 = (wxColourData *) 0 ;
13522 int arg2 ;
13523 wxColour *arg3 = 0 ;
13524 wxColour temp3 ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 PyObject * obj2 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self",(char *) "i",(char *) "colour", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail;
13535 {
13536 arg2 = (int)(SWIG_As_int(obj1));
13537 if (SWIG_arg_fail(2)) SWIG_fail;
13538 }
d55e5bfc
RD
13539 {
13540 arg3 = &temp3;
13541 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 Py_INCREF(Py_None); resultobj = Py_None;
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
c32bde28 13557static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13558 PyObject *obj;
13559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13561 Py_INCREF(obj);
13562 return Py_BuildValue((char *)"");
13563}
c32bde28 13564static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13565 PyObject *resultobj;
13566 wxWindow *arg1 = (wxWindow *) 0 ;
13567 wxColourData *arg2 = (wxColourData *) NULL ;
13568 wxColourDialog *result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "parent",(char *) "data", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13578 if (obj1) {
093d3ff1
RD
13579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13580 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13581 }
13582 {
0439c23b 13583 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
110da5b0 13588 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13589 }
13590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13591 return resultobj;
13592 fail:
13593 return NULL;
13594}
13595
13596
c32bde28 13597static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13598 PyObject *resultobj;
13599 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13600 wxColourData *result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 {
13612 wxColourData &_result_ref = (arg1)->GetColourData();
13613 result = (wxColourData *) &_result_ref;
13614 }
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13620 return resultobj;
13621 fail:
13622 return NULL;
13623}
13624
13625
c32bde28 13626static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13627 PyObject *obj;
13628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13629 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13630 Py_INCREF(obj);
13631 return Py_BuildValue((char *)"");
13632}
c32bde28 13633static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13634 PyObject *resultobj;
13635 wxWindow *arg1 = (wxWindow *) 0 ;
13636 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13637 wxString *arg2 = (wxString *) &arg2_defvalue ;
13638 wxString const &arg3_defvalue = wxPyEmptyString ;
13639 wxString *arg3 = (wxString *) &arg3_defvalue ;
13640 long arg4 = (long) 0 ;
13641 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13642 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13643 wxSize const &arg6_defvalue = wxDefaultSize ;
13644 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13645 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13646 wxString *arg7 = (wxString *) &arg7_defvalue ;
13647 wxDirDialog *result;
ae8162c8
RD
13648 bool temp2 = false ;
13649 bool temp3 = false ;
d55e5bfc
RD
13650 wxPoint temp5 ;
13651 wxSize temp6 ;
ae8162c8 13652 bool temp7 = false ;
d55e5bfc
RD
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 PyObject * obj2 = 0 ;
13656 PyObject * obj3 = 0 ;
13657 PyObject * obj4 = 0 ;
13658 PyObject * obj5 = 0 ;
13659 PyObject * obj6 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13667 if (obj1) {
13668 {
13669 arg2 = wxString_in_helper(obj1);
13670 if (arg2 == NULL) SWIG_fail;
ae8162c8 13671 temp2 = true;
d55e5bfc
RD
13672 }
13673 }
13674 if (obj2) {
13675 {
13676 arg3 = wxString_in_helper(obj2);
13677 if (arg3 == NULL) SWIG_fail;
ae8162c8 13678 temp3 = true;
d55e5bfc
RD
13679 }
13680 }
13681 if (obj3) {
093d3ff1
RD
13682 {
13683 arg4 = (long)(SWIG_As_long(obj3));
13684 if (SWIG_arg_fail(4)) SWIG_fail;
13685 }
d55e5bfc
RD
13686 }
13687 if (obj4) {
13688 {
13689 arg5 = &temp5;
13690 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13691 }
13692 }
13693 if (obj5) {
13694 {
13695 arg6 = &temp6;
13696 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13697 }
13698 }
13699 if (obj6) {
13700 {
13701 arg7 = wxString_in_helper(obj6);
13702 if (arg7 == NULL) SWIG_fail;
ae8162c8 13703 temp7 = true;
d55e5bfc
RD
13704 }
13705 }
13706 {
0439c23b 13707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13710
13711 wxPyEndAllowThreads(__tstate);
110da5b0 13712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13713 }
13714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13715 {
13716 if (temp2)
13717 delete arg2;
13718 }
13719 {
13720 if (temp3)
13721 delete arg3;
13722 }
13723 {
13724 if (temp7)
13725 delete arg7;
13726 }
13727 return resultobj;
13728 fail:
13729 {
13730 if (temp2)
13731 delete arg2;
13732 }
13733 {
13734 if (temp3)
13735 delete arg3;
13736 }
13737 {
13738 if (temp7)
13739 delete arg7;
13740 }
13741 return NULL;
13742}
13743
13744
c32bde28 13745static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13746 PyObject *resultobj;
13747 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13748 wxString result;
13749 PyObject * obj0 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 result = (arg1)->GetPath();
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 {
13765#if wxUSE_UNICODE
13766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13767#else
13768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13769#endif
13770 }
13771 return resultobj;
13772 fail:
13773 return NULL;
13774}
13775
13776
c32bde28 13777static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13778 PyObject *resultobj;
13779 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13780 wxString result;
13781 PyObject * obj0 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (arg1)->GetMessage();
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 {
13797#if wxUSE_UNICODE
13798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13799#else
13800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13801#endif
13802 }
13803 return resultobj;
13804 fail:
13805 return NULL;
13806}
13807
13808
c32bde28 13809static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13810 PyObject *resultobj;
13811 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13812 long result;
13813 PyObject * obj0 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (long)(arg1)->GetStyle();
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
093d3ff1
RD
13828 {
13829 resultobj = SWIG_From_long((long)(result));
13830 }
d55e5bfc
RD
13831 return resultobj;
13832 fail:
13833 return NULL;
13834}
13835
13836
c32bde28 13837static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13838 PyObject *resultobj;
13839 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13840 wxString *arg2 = 0 ;
ae8162c8 13841 bool temp2 = false ;
d55e5bfc
RD
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self",(char *) "message", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13851 {
13852 arg2 = wxString_in_helper(obj1);
13853 if (arg2 == NULL) SWIG_fail;
ae8162c8 13854 temp2 = true;
d55e5bfc
RD
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->SetMessage((wxString const &)*arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 {
13865 if (temp2)
13866 delete arg2;
13867 }
13868 return resultobj;
13869 fail:
13870 {
13871 if (temp2)
13872 delete arg2;
13873 }
13874 return NULL;
13875}
13876
13877
c32bde28 13878static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13879 PyObject *resultobj;
13880 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13881 wxString *arg2 = 0 ;
ae8162c8 13882 bool temp2 = false ;
d55e5bfc
RD
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "path", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13892 {
13893 arg2 = wxString_in_helper(obj1);
13894 if (arg2 == NULL) SWIG_fail;
ae8162c8 13895 temp2 = true;
d55e5bfc
RD
13896 }
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->SetPath((wxString const &)*arg2);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 Py_INCREF(Py_None); resultobj = Py_None;
13905 {
13906 if (temp2)
13907 delete arg2;
13908 }
13909 return resultobj;
13910 fail:
13911 {
13912 if (temp2)
13913 delete arg2;
13914 }
13915 return NULL;
13916}
13917
13918
c32bde28 13919static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13920 PyObject *obj;
13921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13922 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13923 Py_INCREF(obj);
13924 return Py_BuildValue((char *)"");
13925}
c32bde28 13926static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13927 PyObject *resultobj;
13928 wxWindow *arg1 = (wxWindow *) 0 ;
13929 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13930 wxString *arg2 = (wxString *) &arg2_defvalue ;
13931 wxString const &arg3_defvalue = wxPyEmptyString ;
13932 wxString *arg3 = (wxString *) &arg3_defvalue ;
13933 wxString const &arg4_defvalue = wxPyEmptyString ;
13934 wxString *arg4 = (wxString *) &arg4_defvalue ;
13935 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13936 wxString *arg5 = (wxString *) &arg5_defvalue ;
13937 long arg6 = (long) 0 ;
13938 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13939 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13940 wxFileDialog *result;
ae8162c8
RD
13941 bool temp2 = false ;
13942 bool temp3 = false ;
13943 bool temp4 = false ;
13944 bool temp5 = false ;
d55e5bfc
RD
13945 wxPoint temp7 ;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 PyObject * obj2 = 0 ;
13949 PyObject * obj3 = 0 ;
13950 PyObject * obj4 = 0 ;
13951 PyObject * obj5 = 0 ;
13952 PyObject * obj6 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13960 if (obj1) {
13961 {
13962 arg2 = wxString_in_helper(obj1);
13963 if (arg2 == NULL) SWIG_fail;
ae8162c8 13964 temp2 = true;
d55e5bfc
RD
13965 }
13966 }
13967 if (obj2) {
13968 {
13969 arg3 = wxString_in_helper(obj2);
13970 if (arg3 == NULL) SWIG_fail;
ae8162c8 13971 temp3 = true;
d55e5bfc
RD
13972 }
13973 }
13974 if (obj3) {
13975 {
13976 arg4 = wxString_in_helper(obj3);
13977 if (arg4 == NULL) SWIG_fail;
ae8162c8 13978 temp4 = true;
d55e5bfc
RD
13979 }
13980 }
13981 if (obj4) {
13982 {
13983 arg5 = wxString_in_helper(obj4);
13984 if (arg5 == NULL) SWIG_fail;
ae8162c8 13985 temp5 = true;
d55e5bfc
RD
13986 }
13987 }
13988 if (obj5) {
093d3ff1
RD
13989 {
13990 arg6 = (long)(SWIG_As_long(obj5));
13991 if (SWIG_arg_fail(6)) SWIG_fail;
13992 }
d55e5bfc
RD
13993 }
13994 if (obj6) {
13995 {
13996 arg7 = &temp7;
13997 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13998 }
13999 }
14000 {
0439c23b 14001 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14004
14005 wxPyEndAllowThreads(__tstate);
110da5b0 14006 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14007 }
14008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 {
14014 if (temp3)
14015 delete arg3;
14016 }
14017 {
14018 if (temp4)
14019 delete arg4;
14020 }
14021 {
14022 if (temp5)
14023 delete arg5;
14024 }
14025 return resultobj;
14026 fail:
14027 {
14028 if (temp2)
14029 delete arg2;
14030 }
14031 {
14032 if (temp3)
14033 delete arg3;
14034 }
14035 {
14036 if (temp4)
14037 delete arg4;
14038 }
14039 {
14040 if (temp5)
14041 delete arg5;
14042 }
14043 return NULL;
14044}
14045
14046
c32bde28 14047static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14048 PyObject *resultobj;
14049 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14050 wxString *arg2 = 0 ;
ae8162c8 14051 bool temp2 = false ;
d55e5bfc
RD
14052 PyObject * obj0 = 0 ;
14053 PyObject * obj1 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self",(char *) "message", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14061 {
14062 arg2 = wxString_in_helper(obj1);
14063 if (arg2 == NULL) SWIG_fail;
ae8162c8 14064 temp2 = true;
d55e5bfc
RD
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->SetMessage((wxString const &)*arg2);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 Py_INCREF(Py_None); resultobj = Py_None;
14074 {
14075 if (temp2)
14076 delete arg2;
14077 }
14078 return resultobj;
14079 fail:
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return NULL;
14085}
14086
14087
c32bde28 14088static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14089 PyObject *resultobj;
14090 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14091 wxString *arg2 = 0 ;
ae8162c8 14092 bool temp2 = false ;
d55e5bfc
RD
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self",(char *) "path", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14102 {
14103 arg2 = wxString_in_helper(obj1);
14104 if (arg2 == NULL) SWIG_fail;
ae8162c8 14105 temp2 = true;
d55e5bfc
RD
14106 }
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->SetPath((wxString const &)*arg2);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 return resultobj;
14120 fail:
14121 {
14122 if (temp2)
14123 delete arg2;
14124 }
14125 return NULL;
14126}
14127
14128
c32bde28 14129static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14130 PyObject *resultobj;
14131 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14132 wxString *arg2 = 0 ;
ae8162c8 14133 bool temp2 = false ;
d55e5bfc
RD
14134 PyObject * obj0 = 0 ;
14135 PyObject * obj1 = 0 ;
14136 char *kwnames[] = {
14137 (char *) "self",(char *) "dir", NULL
14138 };
14139
14140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14143 {
14144 arg2 = wxString_in_helper(obj1);
14145 if (arg2 == NULL) SWIG_fail;
ae8162c8 14146 temp2 = true;
d55e5bfc
RD
14147 }
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 (arg1)->SetDirectory((wxString const &)*arg2);
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 Py_INCREF(Py_None); resultobj = Py_None;
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return resultobj;
14161 fail:
14162 {
14163 if (temp2)
14164 delete arg2;
14165 }
14166 return NULL;
14167}
14168
14169
c32bde28 14170static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14171 PyObject *resultobj;
14172 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14173 wxString *arg2 = 0 ;
ae8162c8 14174 bool temp2 = false ;
d55e5bfc
RD
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 char *kwnames[] = {
14178 (char *) "self",(char *) "name", NULL
14179 };
14180
14181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14184 {
14185 arg2 = wxString_in_helper(obj1);
14186 if (arg2 == NULL) SWIG_fail;
ae8162c8 14187 temp2 = true;
d55e5bfc
RD
14188 }
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 (arg1)->SetFilename((wxString const &)*arg2);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 {
14198 if (temp2)
14199 delete arg2;
14200 }
14201 return resultobj;
14202 fail:
14203 {
14204 if (temp2)
14205 delete arg2;
14206 }
14207 return NULL;
14208}
14209
14210
c32bde28 14211static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14212 PyObject *resultobj;
14213 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14214 wxString *arg2 = 0 ;
ae8162c8 14215 bool temp2 = false ;
d55e5bfc
RD
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "wildCard", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14225 {
14226 arg2 = wxString_in_helper(obj1);
14227 if (arg2 == NULL) SWIG_fail;
ae8162c8 14228 temp2 = true;
d55e5bfc
RD
14229 }
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->SetWildcard((wxString const &)*arg2);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14253 PyObject *resultobj;
14254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14255 long arg2 ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "style", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14264 if (SWIG_arg_fail(1)) SWIG_fail;
14265 {
14266 arg2 = (long)(SWIG_As_long(obj1));
14267 if (SWIG_arg_fail(2)) SWIG_fail;
14268 }
d55e5bfc
RD
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 (arg1)->SetStyle(arg2);
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 Py_INCREF(Py_None); resultobj = Py_None;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280}
14281
14282
c32bde28 14283static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14284 PyObject *resultobj;
14285 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14286 int arg2 ;
14287 PyObject * obj0 = 0 ;
14288 PyObject * obj1 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self",(char *) "filterIndex", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail;
14296 {
14297 arg2 = (int)(SWIG_As_int(obj1));
14298 if (SWIG_arg_fail(2)) SWIG_fail;
14299 }
d55e5bfc
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->SetFilterIndex(arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
c32bde28 14314static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14315 PyObject *resultobj;
14316 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14317 wxString result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = ((wxFileDialog const *)arg1)->GetMessage();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334#if wxUSE_UNICODE
14335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14336#else
14337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14338#endif
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343}
14344
14345
c32bde28 14346static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14347 PyObject *resultobj;
14348 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14349 wxString result;
14350 PyObject * obj0 = 0 ;
14351 char *kwnames[] = {
14352 (char *) "self", NULL
14353 };
14354
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = ((wxFileDialog const *)arg1)->GetPath();
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366#if wxUSE_UNICODE
14367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14368#else
14369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14370#endif
14371 }
14372 return resultobj;
14373 fail:
14374 return NULL;
14375}
14376
14377
c32bde28 14378static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14379 PyObject *resultobj;
14380 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14381 wxString result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = ((wxFileDialog const *)arg1)->GetDirectory();
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 {
14398#if wxUSE_UNICODE
14399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14400#else
14401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14402#endif
14403 }
14404 return resultobj;
14405 fail:
14406 return NULL;
14407}
14408
14409
c32bde28 14410static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14411 PyObject *resultobj;
14412 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14413 wxString result;
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 result = ((wxFileDialog const *)arg1)->GetFilename();
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 {
14430#if wxUSE_UNICODE
14431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14432#else
14433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14434#endif
14435 }
14436 return resultobj;
14437 fail:
14438 return NULL;
14439}
14440
14441
c32bde28 14442static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14443 PyObject *resultobj;
14444 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14445 wxString result;
14446 PyObject * obj0 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 result = ((wxFileDialog const *)arg1)->GetWildcard();
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 {
14462#if wxUSE_UNICODE
14463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14464#else
14465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14466#endif
14467 }
14468 return resultobj;
14469 fail:
14470 return NULL;
14471}
14472
14473
c32bde28 14474static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14475 PyObject *resultobj;
14476 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14477 long result;
14478 PyObject * obj0 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
093d3ff1
RD
14493 {
14494 resultobj = SWIG_From_long((long)(result));
14495 }
d55e5bfc
RD
14496 return resultobj;
14497 fail:
14498 return NULL;
14499}
14500
14501
c32bde28 14502static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14503 PyObject *resultobj;
14504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14505 int result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
093d3ff1
RD
14521 {
14522 resultobj = SWIG_From_int((int)(result));
14523 }
d55e5bfc
RD
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
c32bde28 14530static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14531 PyObject *resultobj;
14532 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14533 PyObject *result;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = result;
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
c32bde28 14556static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14557 PyObject *resultobj;
14558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14559 PyObject *result;
14560 PyObject * obj0 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = result;
14576 return resultobj;
14577 fail:
14578 return NULL;
14579}
14580
14581
c32bde28 14582static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14583 PyObject *obj;
14584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14585 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14586 Py_INCREF(obj);
14587 return Py_BuildValue((char *)"");
14588}
c32bde28 14589static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14590 PyObject *resultobj;
14591 wxWindow *arg1 = (wxWindow *) 0 ;
14592 wxString *arg2 = 0 ;
14593 wxString *arg3 = 0 ;
14594 int arg4 = (int) 0 ;
248ed943 14595 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14596 long arg6 = (long) wxCHOICEDLG_STYLE ;
14597 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14598 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14599 wxMultiChoiceDialog *result;
ae8162c8
RD
14600 bool temp2 = false ;
14601 bool temp3 = false ;
093d3ff1 14602 wxPoint temp7 ;
d55e5bfc
RD
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 PyObject * obj2 = 0 ;
14606 PyObject * obj3 = 0 ;
14607 PyObject * obj4 = 0 ;
14608 PyObject * obj5 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14616 {
14617 arg2 = wxString_in_helper(obj1);
14618 if (arg2 == NULL) SWIG_fail;
ae8162c8 14619 temp2 = true;
d55e5bfc
RD
14620 }
14621 {
14622 arg3 = wxString_in_helper(obj2);
14623 if (arg3 == NULL) SWIG_fail;
ae8162c8 14624 temp3 = true;
d55e5bfc
RD
14625 }
14626 if (obj3) {
14627 {
14628 arg4 = PyList_Size(obj3);
14629 arg5 = wxString_LIST_helper(obj3);
14630 if (arg5 == NULL) SWIG_fail;
14631 }
14632 }
14633 if (obj4) {
093d3ff1
RD
14634 {
14635 arg6 = (long)(SWIG_As_long(obj4));
14636 if (SWIG_arg_fail(6)) SWIG_fail;
14637 }
d55e5bfc
RD
14638 }
14639 if (obj5) {
14640 {
093d3ff1 14641 arg7 = &temp7;
d55e5bfc
RD
14642 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14643 }
14644 }
14645 {
0439c23b 14646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14649
14650 wxPyEndAllowThreads(__tstate);
110da5b0 14651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14652 }
14653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14654 {
14655 if (temp2)
14656 delete arg2;
14657 }
14658 {
14659 if (temp3)
14660 delete arg3;
14661 }
14662 {
14663 if (arg5) delete [] arg5;
14664 }
14665 return resultobj;
14666 fail:
14667 {
14668 if (temp2)
14669 delete arg2;
14670 }
14671 {
14672 if (temp3)
14673 delete arg3;
14674 }
14675 {
14676 if (arg5) delete [] arg5;
14677 }
14678 return NULL;
14679}
14680
14681
c32bde28 14682static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14683 PyObject *resultobj;
14684 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14685 wxArrayInt *arg2 = 0 ;
ae8162c8 14686 bool temp2 = false ;
d55e5bfc
RD
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self",(char *) "selections", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14696 {
14697 if (! PySequence_Check(obj1)) {
14698 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14699 SWIG_fail;
14700 }
14701 arg2 = new wxArrayInt;
ae8162c8 14702 temp2 = true;
d55e5bfc
RD
14703 int i, len=PySequence_Length(obj1);
14704 for (i=0; i<len; i++) {
14705 PyObject* item = PySequence_GetItem(obj1, i);
14706 PyObject* number = PyNumber_Int(item);
14707 arg2->Add(PyInt_AS_LONG(number));
14708 Py_DECREF(item);
14709 Py_DECREF(number);
14710 }
14711 }
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14715
14716 wxPyEndAllowThreads(__tstate);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 Py_INCREF(Py_None); resultobj = Py_None;
14720 {
14721 if (temp2) delete arg2;
14722 }
14723 return resultobj;
14724 fail:
14725 {
14726 if (temp2) delete arg2;
14727 }
14728 return NULL;
14729}
14730
14731
c32bde28 14732static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14733 PyObject *resultobj;
14734 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14735 PyObject *result;
14736 PyObject * obj0 = 0 ;
14737 char *kwnames[] = {
14738 (char *) "self", NULL
14739 };
14740
14741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = result;
14752 return resultobj;
14753 fail:
14754 return NULL;
14755}
14756
14757
c32bde28 14758static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14759 PyObject *obj;
14760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14761 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14762 Py_INCREF(obj);
14763 return Py_BuildValue((char *)"");
14764}
c32bde28 14765static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14766 PyObject *resultobj;
14767 wxWindow *arg1 = (wxWindow *) 0 ;
14768 wxString *arg2 = 0 ;
14769 wxString *arg3 = 0 ;
14770 int arg4 ;
14771 wxString *arg5 = (wxString *) 0 ;
14772 long arg6 = (long) wxCHOICEDLG_STYLE ;
14773 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14774 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14775 wxSingleChoiceDialog *result;
ae8162c8
RD
14776 bool temp2 = false ;
14777 bool temp3 = false ;
093d3ff1 14778 wxPoint temp7 ;
d55e5bfc
RD
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 PyObject * obj2 = 0 ;
14782 PyObject * obj3 = 0 ;
14783 PyObject * obj4 = 0 ;
14784 PyObject * obj5 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14792 {
14793 arg2 = wxString_in_helper(obj1);
14794 if (arg2 == NULL) SWIG_fail;
ae8162c8 14795 temp2 = true;
d55e5bfc
RD
14796 }
14797 {
14798 arg3 = wxString_in_helper(obj2);
14799 if (arg3 == NULL) SWIG_fail;
ae8162c8 14800 temp3 = true;
d55e5bfc
RD
14801 }
14802 {
14803 arg4 = PyList_Size(obj3);
14804 arg5 = wxString_LIST_helper(obj3);
14805 if (arg5 == NULL) SWIG_fail;
14806 }
14807 if (obj4) {
093d3ff1
RD
14808 {
14809 arg6 = (long)(SWIG_As_long(obj4));
14810 if (SWIG_arg_fail(6)) SWIG_fail;
14811 }
d55e5bfc
RD
14812 }
14813 if (obj5) {
14814 {
093d3ff1 14815 arg7 = &temp7;
d55e5bfc
RD
14816 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14817 }
14818 }
14819 {
0439c23b 14820 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14823
14824 wxPyEndAllowThreads(__tstate);
110da5b0 14825 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14826 }
14827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14828 {
14829 if (temp2)
14830 delete arg2;
14831 }
14832 {
14833 if (temp3)
14834 delete arg3;
14835 }
14836 {
14837 if (arg5) delete [] arg5;
14838 }
14839 return resultobj;
14840 fail:
14841 {
14842 if (temp2)
14843 delete arg2;
14844 }
14845 {
14846 if (temp3)
14847 delete arg3;
14848 }
14849 {
14850 if (arg5) delete [] arg5;
14851 }
14852 return NULL;
14853}
14854
14855
c32bde28 14856static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14857 PyObject *resultobj;
14858 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14859 int result;
14860 PyObject * obj0 = 0 ;
14861 char *kwnames[] = {
14862 (char *) "self", NULL
14863 };
14864
14865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (int)(arg1)->GetSelection();
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
093d3ff1
RD
14875 {
14876 resultobj = SWIG_From_int((int)(result));
14877 }
d55e5bfc
RD
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
c32bde28 14884static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14885 PyObject *resultobj;
14886 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14887 wxString result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (arg1)->GetStringSelection();
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 {
14904#if wxUSE_UNICODE
14905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14906#else
14907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14908#endif
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913}
14914
14915
c32bde28 14916static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14917 PyObject *resultobj;
14918 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14919 int arg2 ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "sel", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14928 if (SWIG_arg_fail(1)) SWIG_fail;
14929 {
14930 arg2 = (int)(SWIG_As_int(obj1));
14931 if (SWIG_arg_fail(2)) SWIG_fail;
14932 }
d55e5bfc
RD
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->SetSelection(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944}
14945
14946
c32bde28 14947static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14948 PyObject *obj;
14949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14951 Py_INCREF(obj);
14952 return Py_BuildValue((char *)"");
14953}
c32bde28 14954static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14955 PyObject *resultobj;
14956 wxWindow *arg1 = (wxWindow *) 0 ;
14957 wxString *arg2 = 0 ;
14958 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14959 wxString *arg3 = (wxString *) &arg3_defvalue ;
14960 wxString const &arg4_defvalue = wxPyEmptyString ;
14961 wxString *arg4 = (wxString *) &arg4_defvalue ;
c1cb24a4 14962 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
14963 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14964 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14965 wxTextEntryDialog *result;
ae8162c8
RD
14966 bool temp2 = false ;
14967 bool temp3 = false ;
14968 bool temp4 = false ;
d55e5bfc
RD
14969 wxPoint temp6 ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 PyObject * obj2 = 0 ;
14973 PyObject * obj3 = 0 ;
14974 PyObject * obj4 = 0 ;
14975 PyObject * obj5 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14983 {
14984 arg2 = wxString_in_helper(obj1);
14985 if (arg2 == NULL) SWIG_fail;
ae8162c8 14986 temp2 = true;
d55e5bfc
RD
14987 }
14988 if (obj2) {
14989 {
14990 arg3 = wxString_in_helper(obj2);
14991 if (arg3 == NULL) SWIG_fail;
ae8162c8 14992 temp3 = true;
d55e5bfc
RD
14993 }
14994 }
14995 if (obj3) {
14996 {
14997 arg4 = wxString_in_helper(obj3);
14998 if (arg4 == NULL) SWIG_fail;
ae8162c8 14999 temp4 = true;
d55e5bfc
RD
15000 }
15001 }
15002 if (obj4) {
093d3ff1
RD
15003 {
15004 arg5 = (long)(SWIG_As_long(obj4));
15005 if (SWIG_arg_fail(5)) SWIG_fail;
15006 }
d55e5bfc
RD
15007 }
15008 if (obj5) {
15009 {
15010 arg6 = &temp6;
15011 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15012 }
15013 }
15014 {
0439c23b 15015 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15018
15019 wxPyEndAllowThreads(__tstate);
110da5b0 15020 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15021 }
15022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15023 {
15024 if (temp2)
15025 delete arg2;
15026 }
15027 {
15028 if (temp3)
15029 delete arg3;
15030 }
15031 {
15032 if (temp4)
15033 delete arg4;
15034 }
15035 return resultobj;
15036 fail:
15037 {
15038 if (temp2)
15039 delete arg2;
15040 }
15041 {
15042 if (temp3)
15043 delete arg3;
15044 }
15045 {
15046 if (temp4)
15047 delete arg4;
15048 }
15049 return NULL;
15050}
15051
15052
c32bde28 15053static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15054 PyObject *resultobj;
15055 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15056 wxString result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (arg1)->GetValue();
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 {
15073#if wxUSE_UNICODE
15074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15075#else
15076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15077#endif
15078 }
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
c32bde28 15085static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15086 PyObject *resultobj;
15087 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15088 wxString *arg2 = 0 ;
ae8162c8 15089 bool temp2 = false ;
d55e5bfc
RD
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "value", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15099 {
15100 arg2 = wxString_in_helper(obj1);
15101 if (arg2 == NULL) SWIG_fail;
ae8162c8 15102 temp2 = true;
d55e5bfc
RD
15103 }
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetValue((wxString const &)*arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 {
15113 if (temp2)
15114 delete arg2;
15115 }
15116 return resultobj;
15117 fail:
15118 {
15119 if (temp2)
15120 delete arg2;
15121 }
15122 return NULL;
15123}
15124
15125
c32bde28 15126static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15127 PyObject *obj;
15128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15130 Py_INCREF(obj);
15131 return Py_BuildValue((char *)"");
15132}
c1cb24a4
RD
15133static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15134 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15135 return 1;
15136}
15137
15138
093d3ff1 15139static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
c1cb24a4
RD
15140 PyObject *pyobj;
15141
15142 {
15143#if wxUSE_UNICODE
15144 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15145#else
15146 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15147#endif
15148 }
15149 return pyobj;
15150}
15151
15152
15153static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxWindow *arg1 = (wxWindow *) 0 ;
15156 wxString *arg2 = 0 ;
15157 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15158 wxString *arg3 = (wxString *) &arg3_defvalue ;
15159 wxString const &arg4_defvalue = wxPyEmptyString ;
15160 wxString *arg4 = (wxString *) &arg4_defvalue ;
15161 long arg5 = (long) wxTextEntryDialogStyle ;
15162 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15163 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15164 wxPasswordEntryDialog *result;
15165 bool temp2 = false ;
15166 bool temp3 = false ;
15167 bool temp4 = false ;
15168 wxPoint temp6 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 PyObject * obj3 = 0 ;
15173 PyObject * obj4 = 0 ;
15174 PyObject * obj5 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
15182 {
15183 arg2 = wxString_in_helper(obj1);
15184 if (arg2 == NULL) SWIG_fail;
15185 temp2 = true;
15186 }
15187 if (obj2) {
15188 {
15189 arg3 = wxString_in_helper(obj2);
15190 if (arg3 == NULL) SWIG_fail;
15191 temp3 = true;
15192 }
15193 }
15194 if (obj3) {
15195 {
15196 arg4 = wxString_in_helper(obj3);
15197 if (arg4 == NULL) SWIG_fail;
15198 temp4 = true;
15199 }
15200 }
15201 if (obj4) {
093d3ff1
RD
15202 {
15203 arg5 = (long)(SWIG_As_long(obj4));
15204 if (SWIG_arg_fail(5)) SWIG_fail;
15205 }
c1cb24a4
RD
15206 }
15207 if (obj5) {
15208 {
15209 arg6 = &temp6;
15210 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15211 }
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15221 {
15222 if (temp2)
15223 delete arg2;
15224 }
15225 {
15226 if (temp3)
15227 delete arg3;
15228 }
15229 {
15230 if (temp4)
15231 delete arg4;
15232 }
15233 return resultobj;
15234 fail:
15235 {
15236 if (temp2)
15237 delete arg2;
15238 }
15239 {
15240 if (temp3)
15241 delete arg3;
15242 }
15243 {
15244 if (temp4)
15245 delete arg4;
15246 }
15247 return NULL;
15248}
15249
15250
15251static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15252 PyObject *obj;
15253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15254 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15255 Py_INCREF(obj);
15256 return Py_BuildValue((char *)"");
15257}
c32bde28 15258static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15259 PyObject *resultobj;
15260 wxFontData *result;
15261 char *kwnames[] = {
15262 NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (wxFontData *)new wxFontData();
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15274 return resultobj;
15275 fail:
15276 return NULL;
15277}
15278
15279
c32bde28 15280static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15281 PyObject *resultobj;
15282 wxFontData *arg1 = (wxFontData *) 0 ;
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 delete arg1;
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
c32bde28 15305static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15306 PyObject *resultobj;
15307 wxFontData *arg1 = (wxFontData *) 0 ;
15308 bool arg2 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "enable", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail;
15318 {
15319 arg2 = (bool)(SWIG_As_bool(obj1));
15320 if (SWIG_arg_fail(2)) SWIG_fail;
15321 }
d55e5bfc
RD
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->EnableEffects(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
c32bde28 15336static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15337 PyObject *resultobj;
15338 wxFontData *arg1 = (wxFontData *) 0 ;
15339 bool result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (bool)(arg1)->GetAllowSymbols();
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 {
15356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15357 }
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
c32bde28 15364static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15365 PyObject *resultobj;
15366 wxFontData *arg1 = (wxFontData *) 0 ;
15367 wxColour result;
15368 PyObject * obj0 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (arg1)->GetColour();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 {
15384 wxColour * resultptr;
093d3ff1 15385 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
15386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15387 }
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
c32bde28 15394static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15395 PyObject *resultobj;
15396 wxFontData *arg1 = (wxFontData *) 0 ;
15397 wxFont result;
15398 PyObject * obj0 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (arg1)->GetChosenFont();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 {
15414 wxFont * resultptr;
093d3ff1 15415 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15417 }
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c32bde28 15424static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15425 PyObject *resultobj;
15426 wxFontData *arg1 = (wxFontData *) 0 ;
15427 bool result;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (bool)(arg1)->GetEnableEffects();
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 {
15444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15445 }
15446 return resultobj;
15447 fail:
15448 return NULL;
15449}
15450
15451
c32bde28 15452static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15453 PyObject *resultobj;
15454 wxFontData *arg1 = (wxFontData *) 0 ;
15455 wxFont result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (arg1)->GetInitialFont();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 wxFont * resultptr;
093d3ff1 15473 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15475 }
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
c32bde28 15482static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15483 PyObject *resultobj;
15484 wxFontData *arg1 = (wxFontData *) 0 ;
15485 bool result;
15486 PyObject * obj0 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "self", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->GetShowHelp();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15503 }
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
c32bde28 15510static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15511 PyObject *resultobj;
15512 wxFontData *arg1 = (wxFontData *) 0 ;
15513 bool arg2 ;
15514 PyObject * obj0 = 0 ;
15515 PyObject * obj1 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self",(char *) "allowSymbols", NULL
15518 };
15519
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail;
15523 {
15524 arg2 = (bool)(SWIG_As_bool(obj1));
15525 if (SWIG_arg_fail(2)) SWIG_fail;
15526 }
d55e5bfc
RD
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 (arg1)->SetAllowSymbols(arg2);
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 Py_INCREF(Py_None); resultobj = Py_None;
15535 return resultobj;
15536 fail:
15537 return NULL;
15538}
15539
15540
c32bde28 15541static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15542 PyObject *resultobj;
15543 wxFontData *arg1 = (wxFontData *) 0 ;
15544 wxFont *arg2 = 0 ;
15545 PyObject * obj0 = 0 ;
15546 PyObject * obj1 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self",(char *) "font", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail;
15554 {
15555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15556 if (SWIG_arg_fail(2)) SWIG_fail;
15557 if (arg2 == NULL) {
15558 SWIG_null_ref("wxFont");
15559 }
15560 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15561 }
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->SetChosenFont((wxFont const &)*arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
c32bde28 15576static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15577 PyObject *resultobj;
15578 wxFontData *arg1 = (wxFontData *) 0 ;
15579 wxColour *arg2 = 0 ;
15580 wxColour temp2 ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "colour", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15590 {
15591 arg2 = &temp2;
15592 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15593 }
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 (arg1)->SetColour((wxColour const &)*arg2);
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 Py_INCREF(Py_None); resultobj = Py_None;
15602 return resultobj;
15603 fail:
15604 return NULL;
15605}
15606
15607
c32bde28 15608static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15609 PyObject *resultobj;
15610 wxFontData *arg1 = (wxFontData *) 0 ;
15611 wxFont *arg2 = 0 ;
15612 PyObject * obj0 = 0 ;
15613 PyObject * obj1 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "self",(char *) "font", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15620 if (SWIG_arg_fail(1)) SWIG_fail;
15621 {
15622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15623 if (SWIG_arg_fail(2)) SWIG_fail;
15624 if (arg2 == NULL) {
15625 SWIG_null_ref("wxFont");
15626 }
15627 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15628 }
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 (arg1)->SetInitialFont((wxFont const &)*arg2);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 Py_INCREF(Py_None); resultobj = Py_None;
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
c32bde28 15643static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15644 PyObject *resultobj;
15645 wxFontData *arg1 = (wxFontData *) 0 ;
15646 int arg2 ;
15647 int arg3 ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 PyObject * obj2 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "min",(char *) "max", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
15658 {
15659 arg2 = (int)(SWIG_As_int(obj1));
15660 if (SWIG_arg_fail(2)) SWIG_fail;
15661 }
15662 {
15663 arg3 = (int)(SWIG_As_int(obj2));
15664 if (SWIG_arg_fail(3)) SWIG_fail;
15665 }
d55e5bfc
RD
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 (arg1)->SetRange(arg2,arg3);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 Py_INCREF(Py_None); resultobj = Py_None;
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
c32bde28 15680static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15681 PyObject *resultobj;
15682 wxFontData *arg1 = (wxFontData *) 0 ;
15683 bool arg2 ;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self",(char *) "showHelp", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15692 if (SWIG_arg_fail(1)) SWIG_fail;
15693 {
15694 arg2 = (bool)(SWIG_As_bool(obj1));
15695 if (SWIG_arg_fail(2)) SWIG_fail;
15696 }
d55e5bfc
RD
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->SetShowHelp(arg2);
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 Py_INCREF(Py_None); resultobj = Py_None;
15705 return resultobj;
15706 fail:
15707 return NULL;
15708}
15709
15710
c32bde28 15711static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15712 PyObject *obj;
15713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15714 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15715 Py_INCREF(obj);
15716 return Py_BuildValue((char *)"");
15717}
c32bde28 15718static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15719 PyObject *resultobj;
15720 wxWindow *arg1 = (wxWindow *) 0 ;
15721 wxFontData *arg2 = 0 ;
15722 wxFontDialog *result;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "parent",(char *) "data", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15731 if (SWIG_arg_fail(1)) SWIG_fail;
15732 {
15733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15734 if (SWIG_arg_fail(2)) SWIG_fail;
15735 if (arg2 == NULL) {
15736 SWIG_null_ref("wxFontData");
15737 }
15738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15739 }
15740 {
0439c23b 15741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15744
15745 wxPyEndAllowThreads(__tstate);
110da5b0 15746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15747 }
15748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15749 return resultobj;
15750 fail:
15751 return NULL;
15752}
15753
15754
c32bde28 15755static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15756 PyObject *resultobj;
15757 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15758 wxFontData *result;
15759 PyObject * obj0 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 {
15770 wxFontData &_result_ref = (arg1)->GetFontData();
15771 result = (wxFontData *) &_result_ref;
15772 }
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15778 return resultobj;
15779 fail:
15780 return NULL;
15781}
15782
15783
c32bde28 15784static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15785 PyObject *obj;
15786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15787 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15788 Py_INCREF(obj);
15789 return Py_BuildValue((char *)"");
15790}
c32bde28 15791static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15792 PyObject *resultobj;
15793 wxWindow *arg1 = (wxWindow *) 0 ;
15794 wxString *arg2 = 0 ;
15795 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15796 wxString *arg3 = (wxString *) &arg3_defvalue ;
15797 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15800 wxMessageDialog *result;
ae8162c8
RD
15801 bool temp2 = false ;
15802 bool temp3 = false ;
d55e5bfc
RD
15803 wxPoint temp5 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 PyObject * obj3 = 0 ;
15808 PyObject * obj4 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15816 {
15817 arg2 = wxString_in_helper(obj1);
15818 if (arg2 == NULL) SWIG_fail;
ae8162c8 15819 temp2 = true;
d55e5bfc
RD
15820 }
15821 if (obj2) {
15822 {
15823 arg3 = wxString_in_helper(obj2);
15824 if (arg3 == NULL) SWIG_fail;
ae8162c8 15825 temp3 = true;
d55e5bfc
RD
15826 }
15827 }
15828 if (obj3) {
093d3ff1
RD
15829 {
15830 arg4 = (long)(SWIG_As_long(obj3));
15831 if (SWIG_arg_fail(4)) SWIG_fail;
15832 }
d55e5bfc
RD
15833 }
15834 if (obj4) {
15835 {
15836 arg5 = &temp5;
15837 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15838 }
15839 }
15840 {
0439c23b 15841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15844
15845 wxPyEndAllowThreads(__tstate);
110da5b0 15846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15847 }
15848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15849 {
15850 if (temp2)
15851 delete arg2;
15852 }
15853 {
15854 if (temp3)
15855 delete arg3;
15856 }
15857 return resultobj;
15858 fail:
15859 {
15860 if (temp2)
15861 delete arg2;
15862 }
15863 {
15864 if (temp3)
15865 delete arg3;
15866 }
15867 return NULL;
15868}
15869
15870
c32bde28 15871static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15872 PyObject *obj;
15873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15874 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15875 Py_INCREF(obj);
15876 return Py_BuildValue((char *)"");
15877}
c32bde28 15878static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15879 PyObject *resultobj;
15880 wxString *arg1 = 0 ;
15881 wxString *arg2 = 0 ;
15882 int arg3 = (int) 100 ;
15883 wxWindow *arg4 = (wxWindow *) NULL ;
15884 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15885 wxProgressDialog *result;
ae8162c8
RD
15886 bool temp1 = false ;
15887 bool temp2 = false ;
d55e5bfc
RD
15888 PyObject * obj0 = 0 ;
15889 PyObject * obj1 = 0 ;
15890 PyObject * obj2 = 0 ;
15891 PyObject * obj3 = 0 ;
15892 PyObject * obj4 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15898 {
15899 arg1 = wxString_in_helper(obj0);
15900 if (arg1 == NULL) SWIG_fail;
ae8162c8 15901 temp1 = true;
d55e5bfc
RD
15902 }
15903 {
15904 arg2 = wxString_in_helper(obj1);
15905 if (arg2 == NULL) SWIG_fail;
ae8162c8 15906 temp2 = true;
d55e5bfc
RD
15907 }
15908 if (obj2) {
093d3ff1
RD
15909 {
15910 arg3 = (int)(SWIG_As_int(obj2));
15911 if (SWIG_arg_fail(3)) SWIG_fail;
15912 }
d55e5bfc
RD
15913 }
15914 if (obj3) {
093d3ff1
RD
15915 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15916 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
15917 }
15918 if (obj4) {
093d3ff1
RD
15919 {
15920 arg5 = (int)(SWIG_As_int(obj4));
15921 if (SWIG_arg_fail(5)) SWIG_fail;
15922 }
d55e5bfc
RD
15923 }
15924 {
0439c23b 15925 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15928
15929 wxPyEndAllowThreads(__tstate);
110da5b0 15930 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15931 }
15932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15933 {
15934 if (temp1)
15935 delete arg1;
15936 }
15937 {
15938 if (temp2)
15939 delete arg2;
15940 }
15941 return resultobj;
15942 fail:
15943 {
15944 if (temp1)
15945 delete arg1;
15946 }
15947 {
15948 if (temp2)
15949 delete arg2;
15950 }
15951 return NULL;
15952}
15953
15954
c32bde28 15955static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15956 PyObject *resultobj;
15957 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15958 int arg2 ;
15959 wxString const &arg3_defvalue = wxPyEmptyString ;
15960 wxString *arg3 = (wxString *) &arg3_defvalue ;
15961 bool result;
ae8162c8 15962 bool temp3 = false ;
d55e5bfc
RD
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 PyObject * obj2 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15972 if (SWIG_arg_fail(1)) SWIG_fail;
15973 {
15974 arg2 = (int)(SWIG_As_int(obj1));
15975 if (SWIG_arg_fail(2)) SWIG_fail;
15976 }
d55e5bfc
RD
15977 if (obj2) {
15978 {
15979 arg3 = wxString_in_helper(obj2);
15980 if (arg3 == NULL) SWIG_fail;
ae8162c8 15981 temp3 = true;
d55e5bfc
RD
15982 }
15983 }
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15993 }
15994 {
15995 if (temp3)
15996 delete arg3;
15997 }
15998 return resultobj;
15999 fail:
16000 {
16001 if (temp3)
16002 delete arg3;
16003 }
16004 return NULL;
16005}
16006
16007
c32bde28 16008static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16009 PyObject *resultobj;
16010 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 (arg1)->Resume();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 Py_INCREF(Py_None); resultobj = Py_None;
16027 return resultobj;
16028 fail:
16029 return NULL;
16030}
16031
16032
c32bde28 16033static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16034 PyObject *obj;
16035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16037 Py_INCREF(obj);
16038 return Py_BuildValue((char *)"");
16039}
c32bde28 16040static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16041 PyObject *resultobj;
16042 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16043 int arg2 = (int) 0 ;
16044 wxFindDialogEvent *result;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "commandType",(char *) "id", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16052 if (obj0) {
093d3ff1
RD
16053 {
16054 arg1 = (wxEventType)(SWIG_As_int(obj0));
16055 if (SWIG_arg_fail(1)) SWIG_fail;
16056 }
d55e5bfc
RD
16057 }
16058 if (obj1) {
093d3ff1
RD
16059 {
16060 arg2 = (int)(SWIG_As_int(obj1));
16061 if (SWIG_arg_fail(2)) SWIG_fail;
16062 }
d55e5bfc
RD
16063 }
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075}
16076
16077
c32bde28 16078static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16079 PyObject *resultobj;
16080 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16081 int result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (int)(arg1)->GetFlags();
16093
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
093d3ff1
RD
16097 {
16098 resultobj = SWIG_From_int((int)(result));
16099 }
d55e5bfc
RD
16100 return resultobj;
16101 fail:
16102 return NULL;
16103}
16104
16105
c32bde28 16106static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16107 PyObject *resultobj;
16108 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16109 wxString *result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 {
16121 wxString const &_result_ref = (arg1)->GetFindString();
16122 result = (wxString *) &_result_ref;
16123 }
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 {
16129#if wxUSE_UNICODE
16130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16131#else
16132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16133#endif
16134 }
16135 return resultobj;
16136 fail:
16137 return NULL;
16138}
16139
16140
c32bde28 16141static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16142 PyObject *resultobj;
16143 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16144 wxString *result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16153 {
16154 PyThreadState* __tstate = wxPyBeginAllowThreads();
16155 {
16156 wxString const &_result_ref = (arg1)->GetReplaceString();
16157 result = (wxString *) &_result_ref;
16158 }
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164#if wxUSE_UNICODE
16165 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16166#else
16167 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16168#endif
16169 }
16170 return resultobj;
16171 fail:
16172 return NULL;
16173}
16174
16175
c32bde28 16176static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16177 PyObject *resultobj;
16178 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16179 wxFindReplaceDialog *result;
16180 PyObject * obj0 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16196 return resultobj;
16197 fail:
16198 return NULL;
16199}
16200
16201
c32bde28 16202static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16203 PyObject *resultobj;
16204 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16205 int arg2 ;
16206 PyObject * obj0 = 0 ;
16207 PyObject * obj1 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "flags", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16214 if (SWIG_arg_fail(1)) SWIG_fail;
16215 {
16216 arg2 = (int)(SWIG_As_int(obj1));
16217 if (SWIG_arg_fail(2)) SWIG_fail;
16218 }
d55e5bfc
RD
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 (arg1)->SetFlags(arg2);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230}
16231
16232
c32bde28 16233static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16234 PyObject *resultobj;
16235 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16236 wxString *arg2 = 0 ;
ae8162c8 16237 bool temp2 = false ;
d55e5bfc
RD
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "str", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16247 {
16248 arg2 = wxString_in_helper(obj1);
16249 if (arg2 == NULL) SWIG_fail;
ae8162c8 16250 temp2 = true;
d55e5bfc
RD
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 (arg1)->SetFindString((wxString const &)*arg2);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 Py_INCREF(Py_None); resultobj = Py_None;
16260 {
16261 if (temp2)
16262 delete arg2;
16263 }
16264 return resultobj;
16265 fail:
16266 {
16267 if (temp2)
16268 delete arg2;
16269 }
16270 return NULL;
16271}
16272
16273
c32bde28 16274static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16275 PyObject *resultobj;
16276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16277 wxString *arg2 = 0 ;
ae8162c8 16278 bool temp2 = false ;
d55e5bfc
RD
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "str", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16288 {
16289 arg2 = wxString_in_helper(obj1);
16290 if (arg2 == NULL) SWIG_fail;
ae8162c8 16291 temp2 = true;
d55e5bfc
RD
16292 }
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 (arg1)->SetReplaceString((wxString const &)*arg2);
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 Py_INCREF(Py_None); resultobj = Py_None;
16301 {
16302 if (temp2)
16303 delete arg2;
16304 }
16305 return resultobj;
16306 fail:
16307 {
16308 if (temp2)
16309 delete arg2;
16310 }
16311 return NULL;
16312}
16313
16314
c32bde28 16315static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16316 PyObject *obj;
16317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16318 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16319 Py_INCREF(obj);
16320 return Py_BuildValue((char *)"");
16321}
c32bde28 16322static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16323 PyObject *resultobj;
16324 int arg1 = (int) 0 ;
16325 wxFindReplaceData *result;
16326 PyObject * obj0 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "flags", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16332 if (obj0) {
093d3ff1
RD
16333 {
16334 arg1 = (int)(SWIG_As_int(obj0));
16335 if (SWIG_arg_fail(1)) SWIG_fail;
16336 }
d55e5bfc
RD
16337 }
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
c32bde28 16352static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16353 PyObject *resultobj;
16354 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 delete arg1;
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
c32bde28 16377static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16378 PyObject *resultobj;
16379 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16380 wxString *result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 {
16392 wxString const &_result_ref = (arg1)->GetFindString();
16393 result = (wxString *) &_result_ref;
16394 }
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 {
16400#if wxUSE_UNICODE
16401 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16402#else
16403 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16404#endif
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
c32bde28 16412static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16413 PyObject *resultobj;
16414 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16415 wxString *result;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 {
16427 wxString const &_result_ref = (arg1)->GetReplaceString();
16428 result = (wxString *) &_result_ref;
16429 }
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 {
16435#if wxUSE_UNICODE
16436 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16437#else
16438 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16439#endif
16440 }
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
c32bde28 16447static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16448 PyObject *resultobj;
16449 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16450 int result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (int)(arg1)->GetFlags();
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
093d3ff1
RD
16466 {
16467 resultobj = SWIG_From_int((int)(result));
16468 }
d55e5bfc
RD
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
c32bde28 16475static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16476 PyObject *resultobj;
16477 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16478 int arg2 ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "flags", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 arg2 = (int)(SWIG_As_int(obj1));
16490 if (SWIG_arg_fail(2)) SWIG_fail;
16491 }
d55e5bfc
RD
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetFlags(arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
c32bde28 16506static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16507 PyObject *resultobj;
16508 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16509 wxString *arg2 = 0 ;
ae8162c8 16510 bool temp2 = false ;
d55e5bfc
RD
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "self",(char *) "str", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16520 {
16521 arg2 = wxString_in_helper(obj1);
16522 if (arg2 == NULL) SWIG_fail;
ae8162c8 16523 temp2 = true;
d55e5bfc
RD
16524 }
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 (arg1)->SetFindString((wxString const &)*arg2);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 Py_INCREF(Py_None); resultobj = Py_None;
16533 {
16534 if (temp2)
16535 delete arg2;
16536 }
16537 return resultobj;
16538 fail:
16539 {
16540 if (temp2)
16541 delete arg2;
16542 }
16543 return NULL;
16544}
16545
16546
c32bde28 16547static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16548 PyObject *resultobj;
16549 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16550 wxString *arg2 = 0 ;
ae8162c8 16551 bool temp2 = false ;
d55e5bfc
RD
16552 PyObject * obj0 = 0 ;
16553 PyObject * obj1 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self",(char *) "str", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16561 {
16562 arg2 = wxString_in_helper(obj1);
16563 if (arg2 == NULL) SWIG_fail;
ae8162c8 16564 temp2 = true;
d55e5bfc
RD
16565 }
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 (arg1)->SetReplaceString((wxString const &)*arg2);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 Py_INCREF(Py_None); resultobj = Py_None;
16574 {
16575 if (temp2)
16576 delete arg2;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp2)
16582 delete arg2;
16583 }
16584 return NULL;
16585}
16586
16587
c32bde28 16588static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16589 PyObject *obj;
16590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16591 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16592 Py_INCREF(obj);
16593 return Py_BuildValue((char *)"");
16594}
c32bde28 16595static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16596 PyObject *resultobj;
16597 wxWindow *arg1 = (wxWindow *) 0 ;
16598 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16599 wxString *arg3 = 0 ;
16600 int arg4 = (int) 0 ;
16601 wxFindReplaceDialog *result;
ae8162c8 16602 bool temp3 = false ;
d55e5bfc
RD
16603 PyObject * obj0 = 0 ;
16604 PyObject * obj1 = 0 ;
16605 PyObject * obj2 = 0 ;
16606 PyObject * obj3 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail;
16614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16616 {
16617 arg3 = wxString_in_helper(obj2);
16618 if (arg3 == NULL) SWIG_fail;
ae8162c8 16619 temp3 = true;
d55e5bfc
RD
16620 }
16621 if (obj3) {
093d3ff1
RD
16622 {
16623 arg4 = (int)(SWIG_As_int(obj3));
16624 if (SWIG_arg_fail(4)) SWIG_fail;
16625 }
d55e5bfc
RD
16626 }
16627 {
0439c23b 16628 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16631
16632 wxPyEndAllowThreads(__tstate);
110da5b0 16633 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16634 }
16635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16636 {
16637 if (temp3)
16638 delete arg3;
16639 }
16640 return resultobj;
16641 fail:
16642 {
16643 if (temp3)
16644 delete arg3;
16645 }
16646 return NULL;
16647}
16648
16649
c32bde28 16650static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16651 PyObject *resultobj;
16652 wxFindReplaceDialog *result;
16653 char *kwnames[] = {
16654 NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16658 {
0439c23b 16659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16662
16663 wxPyEndAllowThreads(__tstate);
110da5b0 16664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16665 }
16666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16667 return resultobj;
16668 fail:
16669 return NULL;
16670}
16671
16672
c32bde28 16673static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16674 PyObject *resultobj;
16675 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16676 wxWindow *arg2 = (wxWindow *) 0 ;
16677 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16678 wxString *arg4 = 0 ;
16679 int arg5 = (int) 0 ;
16680 bool result;
ae8162c8 16681 bool temp4 = false ;
d55e5bfc
RD
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 PyObject * obj2 = 0 ;
16685 PyObject * obj3 = 0 ;
16686 PyObject * obj4 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16693 if (SWIG_arg_fail(1)) SWIG_fail;
16694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16695 if (SWIG_arg_fail(2)) SWIG_fail;
16696 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16697 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16698 {
16699 arg4 = wxString_in_helper(obj3);
16700 if (arg4 == NULL) SWIG_fail;
ae8162c8 16701 temp4 = true;
d55e5bfc
RD
16702 }
16703 if (obj4) {
093d3ff1
RD
16704 {
16705 arg5 = (int)(SWIG_As_int(obj4));
16706 if (SWIG_arg_fail(5)) SWIG_fail;
16707 }
d55e5bfc
RD
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 {
16717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16718 }
16719 {
16720 if (temp4)
16721 delete arg4;
16722 }
16723 return resultobj;
16724 fail:
16725 {
16726 if (temp4)
16727 delete arg4;
16728 }
16729 return NULL;
16730}
16731
16732
c32bde28 16733static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16734 PyObject *resultobj;
16735 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16736 wxFindReplaceData *result;
16737 PyObject * obj0 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (wxFindReplaceData *)(arg1)->GetData();
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16753 return resultobj;
16754 fail:
16755 return NULL;
16756}
16757
16758
c32bde28 16759static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16760 PyObject *resultobj;
16761 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16762 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self",(char *) "data", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16771 if (SWIG_arg_fail(1)) SWIG_fail;
16772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 (arg1)->SetData(arg2);
16777
16778 wxPyEndAllowThreads(__tstate);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 Py_INCREF(Py_None); resultobj = Py_None;
16782 return resultobj;
16783 fail:
16784 return NULL;
16785}
16786
16787
c32bde28 16788static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16789 PyObject *obj;
16790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16791 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16792 Py_INCREF(obj);
16793 return Py_BuildValue((char *)"");
16794}
c32bde28 16795static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16796 PyObject *resultobj;
16797 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16798 int arg2 = (int) (int)-1 ;
16799 wxString const &arg3_defvalue = wxPyEmptyString ;
16800 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
16801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16803 wxSize const &arg5_defvalue = wxDefaultSize ;
16804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16805 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16806 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16807 wxString *arg7 = (wxString *) &arg7_defvalue ;
16808 wxMDIParentFrame *result;
ae8162c8 16809 bool temp3 = false ;
d55e5bfc
RD
16810 wxPoint temp4 ;
16811 wxSize temp5 ;
ae8162c8 16812 bool temp7 = false ;
d55e5bfc
RD
16813 PyObject * obj0 = 0 ;
16814 PyObject * obj1 = 0 ;
16815 PyObject * obj2 = 0 ;
16816 PyObject * obj3 = 0 ;
16817 PyObject * obj4 = 0 ;
16818 PyObject * obj5 = 0 ;
16819 PyObject * obj6 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16822 };
16823
248ed943 16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16827 if (obj1) {
093d3ff1
RD
16828 {
16829 arg2 = (int const)(SWIG_As_int(obj1));
16830 if (SWIG_arg_fail(2)) SWIG_fail;
16831 }
248ed943
RD
16832 }
16833 if (obj2) {
16834 {
16835 arg3 = wxString_in_helper(obj2);
16836 if (arg3 == NULL) SWIG_fail;
ae8162c8 16837 temp3 = true;
248ed943 16838 }
d55e5bfc
RD
16839 }
16840 if (obj3) {
16841 {
16842 arg4 = &temp4;
16843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16844 }
16845 }
16846 if (obj4) {
16847 {
16848 arg5 = &temp5;
16849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16850 }
16851 }
16852 if (obj5) {
093d3ff1
RD
16853 {
16854 arg6 = (long)(SWIG_As_long(obj5));
16855 if (SWIG_arg_fail(6)) SWIG_fail;
16856 }
d55e5bfc
RD
16857 }
16858 if (obj6) {
16859 {
16860 arg7 = wxString_in_helper(obj6);
16861 if (arg7 == NULL) SWIG_fail;
ae8162c8 16862 temp7 = true;
d55e5bfc
RD
16863 }
16864 }
16865 {
0439c23b 16866 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16869
16870 wxPyEndAllowThreads(__tstate);
110da5b0 16871 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16872 }
16873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16874 {
16875 if (temp3)
16876 delete arg3;
16877 }
16878 {
16879 if (temp7)
16880 delete arg7;
16881 }
16882 return resultobj;
16883 fail:
16884 {
16885 if (temp3)
16886 delete arg3;
16887 }
16888 {
16889 if (temp7)
16890 delete arg7;
16891 }
16892 return NULL;
16893}
16894
16895
c32bde28 16896static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16897 PyObject *resultobj;
16898 wxMDIParentFrame *result;
16899 char *kwnames[] = {
16900 NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16904 {
0439c23b 16905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16908
16909 wxPyEndAllowThreads(__tstate);
110da5b0 16910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16911 }
16912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16913 return resultobj;
16914 fail:
16915 return NULL;
16916}
16917
16918
c32bde28 16919static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16920 PyObject *resultobj;
16921 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16922 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16923 int arg3 = (int) (int)-1 ;
16924 wxString const &arg4_defvalue = wxPyEmptyString ;
16925 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16926 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16927 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16928 wxSize const &arg6_defvalue = wxDefaultSize ;
16929 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16930 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16931 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16932 wxString *arg8 = (wxString *) &arg8_defvalue ;
16933 bool result;
ae8162c8 16934 bool temp4 = false ;
d55e5bfc
RD
16935 wxPoint temp5 ;
16936 wxSize temp6 ;
ae8162c8 16937 bool temp8 = false ;
d55e5bfc
RD
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 PyObject * obj2 = 0 ;
16941 PyObject * obj3 = 0 ;
16942 PyObject * obj4 = 0 ;
16943 PyObject * obj5 = 0 ;
16944 PyObject * obj6 = 0 ;
16945 PyObject * obj7 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16948 };
16949
248ed943 16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail;
16953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16954 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16955 if (obj2) {
093d3ff1
RD
16956 {
16957 arg3 = (int const)(SWIG_As_int(obj2));
16958 if (SWIG_arg_fail(3)) SWIG_fail;
16959 }
248ed943
RD
16960 }
16961 if (obj3) {
16962 {
16963 arg4 = wxString_in_helper(obj3);
16964 if (arg4 == NULL) SWIG_fail;
ae8162c8 16965 temp4 = true;
248ed943 16966 }
d55e5bfc
RD
16967 }
16968 if (obj4) {
16969 {
16970 arg5 = &temp5;
16971 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16972 }
16973 }
16974 if (obj5) {
16975 {
16976 arg6 = &temp6;
16977 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16978 }
16979 }
16980 if (obj6) {
093d3ff1
RD
16981 {
16982 arg7 = (long)(SWIG_As_long(obj6));
16983 if (SWIG_arg_fail(7)) SWIG_fail;
16984 }
d55e5bfc
RD
16985 }
16986 if (obj7) {
16987 {
16988 arg8 = wxString_in_helper(obj7);
16989 if (arg8 == NULL) SWIG_fail;
ae8162c8 16990 temp8 = true;
d55e5bfc
RD
16991 }
16992 }
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17002 }
17003 {
17004 if (temp4)
17005 delete arg4;
17006 }
17007 {
17008 if (temp8)
17009 delete arg8;
17010 }
17011 return resultobj;
17012 fail:
17013 {
17014 if (temp4)
17015 delete arg4;
17016 }
17017 {
17018 if (temp8)
17019 delete arg8;
17020 }
17021 return NULL;
17022}
17023
17024
c32bde28 17025static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17026 PyObject *resultobj;
17027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17028 PyObject * obj0 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 (arg1)->ActivateNext();
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 Py_INCREF(Py_None); resultobj = Py_None;
17044 return resultobj;
17045 fail:
17046 return NULL;
17047}
17048
17049
c32bde28 17050static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17051 PyObject *resultobj;
17052 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 (arg1)->ActivatePrevious();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 Py_INCREF(Py_None); resultobj = Py_None;
17069 return resultobj;
17070 fail:
17071 return NULL;
17072}
17073
17074
c32bde28 17075static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17076 PyObject *resultobj;
17077 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 (arg1)->ArrangeIcons();
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 Py_INCREF(Py_None); resultobj = Py_None;
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
c32bde28 17100static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17101 PyObject *resultobj;
17102 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 (arg1)->Cascade();
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 Py_INCREF(Py_None); resultobj = Py_None;
17119 return resultobj;
17120 fail:
17121 return NULL;
17122}
17123
17124
c32bde28 17125static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17126 PyObject *resultobj;
17127 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17128 wxMDIChildFrame *result;
17129 PyObject * obj0 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 {
412d302d 17145 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17146 }
17147 return resultobj;
17148 fail:
17149 return NULL;
17150}
17151
17152
c32bde28 17153static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17154 PyObject *resultobj;
17155 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17156 wxMDIClientWindow *result;
17157 PyObject * obj0 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 {
412d302d 17173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17174 }
17175 return resultobj;
17176 fail:
17177 return NULL;
17178}
17179
17180
c32bde28 17181static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17182 PyObject *resultobj;
17183 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17184 wxWindow *result;
17185 PyObject * obj0 = 0 ;
17186 char *kwnames[] = {
17187 (char *) "self", NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxWindow *)(arg1)->GetToolBar();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 {
412d302d 17201 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17202 }
17203 return resultobj;
17204 fail:
17205 return NULL;
17206}
17207
17208
c32bde28 17209static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17210 PyObject *resultobj;
17211 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17212 wxMenu *result;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
17219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = (wxMenu *)(arg1)->GetWindowMenu();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 {
412d302d 17229 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17230 }
17231 return resultobj;
17232 fail:
17233 return NULL;
17234}
17235
17236
c32bde28 17237static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17238 PyObject *resultobj;
17239 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17240 wxMenu *arg2 = (wxMenu *) 0 ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self",(char *) "menu", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail;
17250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetWindowMenu(arg2);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 Py_INCREF(Py_None); resultobj = Py_None;
17260 return resultobj;
17261 fail:
17262 return NULL;
17263}
17264
17265
c32bde28 17266static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17267 PyObject *resultobj;
17268 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17269 wxToolBar *arg2 = (wxToolBar *) 0 ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "toolbar", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17278 if (SWIG_arg_fail(1)) SWIG_fail;
17279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17280 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->SetToolBar(arg2);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 Py_INCREF(Py_None); resultobj = Py_None;
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
c32bde28 17295static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17296 PyObject *resultobj;
17297 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17298 PyObject * obj0 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
093d3ff1
RD
17304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 (arg1)->Tile();
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 Py_INCREF(Py_None); resultobj = Py_None;
17314 return resultobj;
17315 fail:
17316 return NULL;
17317}
17318
17319
c32bde28 17320static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17321 PyObject *obj;
17322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17323 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17324 Py_INCREF(obj);
17325 return Py_BuildValue((char *)"");
17326}
c32bde28 17327static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17328 PyObject *resultobj;
17329 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17330 int arg2 = (int) (int)-1 ;
17331 wxString const &arg3_defvalue = wxPyEmptyString ;
17332 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17335 wxSize const &arg5_defvalue = wxDefaultSize ;
17336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17337 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17338 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17339 wxString *arg7 = (wxString *) &arg7_defvalue ;
17340 wxMDIChildFrame *result;
ae8162c8 17341 bool temp3 = false ;
d55e5bfc
RD
17342 wxPoint temp4 ;
17343 wxSize temp5 ;
ae8162c8 17344 bool temp7 = false ;
d55e5bfc
RD
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 PyObject * obj2 = 0 ;
17348 PyObject * obj3 = 0 ;
17349 PyObject * obj4 = 0 ;
17350 PyObject * obj5 = 0 ;
17351 PyObject * obj6 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17354 };
17355
248ed943 17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17359 if (obj1) {
093d3ff1
RD
17360 {
17361 arg2 = (int const)(SWIG_As_int(obj1));
17362 if (SWIG_arg_fail(2)) SWIG_fail;
17363 }
248ed943
RD
17364 }
17365 if (obj2) {
17366 {
17367 arg3 = wxString_in_helper(obj2);
17368 if (arg3 == NULL) SWIG_fail;
ae8162c8 17369 temp3 = true;
248ed943 17370 }
d55e5bfc
RD
17371 }
17372 if (obj3) {
17373 {
17374 arg4 = &temp4;
17375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17376 }
17377 }
17378 if (obj4) {
17379 {
17380 arg5 = &temp5;
17381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17382 }
17383 }
17384 if (obj5) {
093d3ff1
RD
17385 {
17386 arg6 = (long)(SWIG_As_long(obj5));
17387 if (SWIG_arg_fail(6)) SWIG_fail;
17388 }
d55e5bfc
RD
17389 }
17390 if (obj6) {
17391 {
17392 arg7 = wxString_in_helper(obj6);
17393 if (arg7 == NULL) SWIG_fail;
ae8162c8 17394 temp7 = true;
d55e5bfc
RD
17395 }
17396 }
17397 {
0439c23b 17398 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17401
17402 wxPyEndAllowThreads(__tstate);
110da5b0 17403 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17404 }
b0f7404b 17405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17406 {
17407 if (temp3)
17408 delete arg3;
17409 }
17410 {
17411 if (temp7)
17412 delete arg7;
17413 }
17414 return resultobj;
17415 fail:
17416 {
17417 if (temp3)
17418 delete arg3;
17419 }
17420 {
17421 if (temp7)
17422 delete arg7;
17423 }
17424 return NULL;
17425}
17426
17427
c32bde28 17428static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17429 PyObject *resultobj;
17430 wxMDIChildFrame *result;
17431 char *kwnames[] = {
17432 NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17436 {
0439c23b 17437 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17440
17441 wxPyEndAllowThreads(__tstate);
110da5b0 17442 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17443 }
b0f7404b 17444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
c32bde28 17451static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17452 PyObject *resultobj;
17453 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17454 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17455 int arg3 = (int) (int)-1 ;
17456 wxString const &arg4_defvalue = wxPyEmptyString ;
17457 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17460 wxSize const &arg6_defvalue = wxDefaultSize ;
17461 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17462 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17463 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17464 wxString *arg8 = (wxString *) &arg8_defvalue ;
17465 bool result;
ae8162c8 17466 bool temp4 = false ;
d55e5bfc
RD
17467 wxPoint temp5 ;
17468 wxSize temp6 ;
ae8162c8 17469 bool temp8 = false ;
d55e5bfc
RD
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 PyObject * obj2 = 0 ;
17473 PyObject * obj3 = 0 ;
17474 PyObject * obj4 = 0 ;
17475 PyObject * obj5 = 0 ;
17476 PyObject * obj6 = 0 ;
17477 PyObject * obj7 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17480 };
17481
248ed943 17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail;
17485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17486 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17487 if (obj2) {
093d3ff1
RD
17488 {
17489 arg3 = (int const)(SWIG_As_int(obj2));
17490 if (SWIG_arg_fail(3)) SWIG_fail;
17491 }
248ed943
RD
17492 }
17493 if (obj3) {
17494 {
17495 arg4 = wxString_in_helper(obj3);
17496 if (arg4 == NULL) SWIG_fail;
ae8162c8 17497 temp4 = true;
248ed943 17498 }
d55e5bfc
RD
17499 }
17500 if (obj4) {
17501 {
17502 arg5 = &temp5;
17503 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17504 }
17505 }
17506 if (obj5) {
17507 {
17508 arg6 = &temp6;
17509 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17510 }
17511 }
17512 if (obj6) {
093d3ff1
RD
17513 {
17514 arg7 = (long)(SWIG_As_long(obj6));
17515 if (SWIG_arg_fail(7)) SWIG_fail;
17516 }
d55e5bfc
RD
17517 }
17518 if (obj7) {
17519 {
17520 arg8 = wxString_in_helper(obj7);
17521 if (arg8 == NULL) SWIG_fail;
ae8162c8 17522 temp8 = true;
d55e5bfc
RD
17523 }
17524 }
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 {
17533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17534 }
17535 {
17536 if (temp4)
17537 delete arg4;
17538 }
17539 {
17540 if (temp8)
17541 delete arg8;
17542 }
17543 return resultobj;
17544 fail:
17545 {
17546 if (temp4)
17547 delete arg4;
17548 }
17549 {
17550 if (temp8)
17551 delete arg8;
17552 }
17553 return NULL;
17554}
17555
17556
c32bde28 17557static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17558 PyObject *resultobj;
17559 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17560 PyObject * obj0 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 (arg1)->Activate();
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 Py_INCREF(Py_None); resultobj = Py_None;
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
c32bde28 17582static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17583 PyObject *resultobj;
17584 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
b519803b 17585 bool arg2 = (bool) true ;
d55e5bfc
RD
17586 PyObject * obj0 = 0 ;
17587 PyObject * obj1 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self",(char *) "maximize", NULL
17590 };
17591
b519803b 17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b 17595 if (obj1) {
093d3ff1
RD
17596 {
17597 arg2 = (bool)(SWIG_As_bool(obj1));
17598 if (SWIG_arg_fail(2)) SWIG_fail;
17599 }
b519803b 17600 }
d55e5bfc
RD
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 (arg1)->Maximize(arg2);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 Py_INCREF(Py_None); resultobj = Py_None;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
c32bde28 17615static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17616 PyObject *resultobj;
17617 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17618 PyObject * obj0 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->Restore();
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
c32bde28 17640static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17641 PyObject *obj;
17642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17643 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17644 Py_INCREF(obj);
17645 return Py_BuildValue((char *)"");
17646}
c32bde28 17647static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17648 PyObject *resultobj;
17649 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17650 long arg2 = (long) 0 ;
17651 wxMDIClientWindow *result;
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "parent",(char *) "style", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17661 if (obj1) {
093d3ff1
RD
17662 {
17663 arg2 = (long)(SWIG_As_long(obj1));
17664 if (SWIG_arg_fail(2)) SWIG_fail;
17665 }
d55e5bfc
RD
17666 }
17667 {
0439c23b 17668 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
110da5b0 17673 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17674 }
b0f7404b 17675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17676 return resultobj;
17677 fail:
17678 return NULL;
17679}
17680
17681
c32bde28 17682static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17683 PyObject *resultobj;
17684 wxMDIClientWindow *result;
17685 char *kwnames[] = {
17686 NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17690 {
0439c23b 17691 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17694
17695 wxPyEndAllowThreads(__tstate);
110da5b0 17696 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17697 }
b0f7404b 17698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17706 PyObject *resultobj;
17707 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17708 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17709 long arg3 = (long) 0 ;
17710 bool result;
17711 PyObject * obj0 = 0 ;
17712 PyObject * obj1 = 0 ;
17713 PyObject * obj2 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "parent",(char *) "style", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail;
17721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17723 if (obj2) {
093d3ff1
RD
17724 {
17725 arg3 = (long)(SWIG_As_long(obj2));
17726 if (SWIG_arg_fail(3)) SWIG_fail;
17727 }
d55e5bfc
RD
17728 }
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)(arg1)->Create(arg2,arg3);
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17738 }
17739 return resultobj;
17740 fail:
17741 return NULL;
17742}
17743
17744
c32bde28 17745static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17746 PyObject *obj;
17747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17748 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17749 Py_INCREF(obj);
17750 return Py_BuildValue((char *)"");
17751}
c32bde28 17752static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17753 PyObject *resultobj;
17754 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17755 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17758 wxSize const &arg4_defvalue = wxDefaultSize ;
17759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17760 long arg5 = (long) 0 ;
17761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17762 wxString *arg6 = (wxString *) &arg6_defvalue ;
17763 wxPyWindow *result;
17764 wxPoint temp3 ;
17765 wxSize temp4 ;
ae8162c8 17766 bool temp6 = false ;
d55e5bfc
RD
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 PyObject * obj2 = 0 ;
17770 PyObject * obj3 = 0 ;
17771 PyObject * obj4 = 0 ;
17772 PyObject * obj5 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17775 };
17776
248ed943 17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17779 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17780 if (obj1) {
093d3ff1
RD
17781 {
17782 arg2 = (int const)(SWIG_As_int(obj1));
17783 if (SWIG_arg_fail(2)) SWIG_fail;
17784 }
248ed943 17785 }
d55e5bfc
RD
17786 if (obj2) {
17787 {
17788 arg3 = &temp3;
17789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17790 }
17791 }
17792 if (obj3) {
17793 {
17794 arg4 = &temp4;
17795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17796 }
17797 }
17798 if (obj4) {
093d3ff1
RD
17799 {
17800 arg5 = (long)(SWIG_As_long(obj4));
17801 if (SWIG_arg_fail(5)) SWIG_fail;
17802 }
d55e5bfc
RD
17803 }
17804 if (obj5) {
17805 {
17806 arg6 = wxString_in_helper(obj5);
17807 if (arg6 == NULL) SWIG_fail;
ae8162c8 17808 temp6 = true;
d55e5bfc
RD
17809 }
17810 }
17811 {
0439c23b 17812 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17815
17816 wxPyEndAllowThreads(__tstate);
110da5b0 17817 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17818 }
17819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17820 {
17821 if (temp6)
17822 delete arg6;
17823 }
17824 return resultobj;
17825 fail:
17826 {
17827 if (temp6)
17828 delete arg6;
17829 }
17830 return NULL;
17831}
17832
17833
c32bde28 17834static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17835 PyObject *resultobj;
17836 wxPyWindow *result;
17837 char *kwnames[] = {
17838 NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17842 {
0439c23b 17843 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (wxPyWindow *)new wxPyWindow();
17846
17847 wxPyEndAllowThreads(__tstate);
110da5b0 17848 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17849 }
17850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17851 return resultobj;
17852 fail:
17853 return NULL;
17854}
17855
17856
c32bde28 17857static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17858 PyObject *resultobj;
17859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17860 PyObject *arg2 = (PyObject *) 0 ;
17861 PyObject *arg3 = (PyObject *) 0 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 PyObject * obj2 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self",(char *) "self",(char *) "_class", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17872 arg2 = obj1;
17873 arg3 = obj2;
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 (arg1)->_setCallbackInfo(arg2,arg3);
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 Py_INCREF(Py_None); resultobj = Py_None;
17882 return resultobj;
17883 fail:
17884 return NULL;
17885}
17886
17887
c32bde28 17888static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17889 PyObject *resultobj;
17890 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17891 wxSize *arg2 = 0 ;
17892 wxSize temp2 ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "size", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
17902 {
17903 arg2 = &temp2;
17904 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17905 }
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 (arg1)->SetBestSize((wxSize const &)*arg2);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 Py_INCREF(Py_None); resultobj = Py_None;
17914 return resultobj;
17915 fail:
17916 return NULL;
17917}
17918
17919
c32bde28 17920static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17921 PyObject *resultobj;
17922 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17923 int arg2 ;
17924 int arg3 ;
17925 int arg4 ;
17926 int arg5 ;
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 PyObject * obj2 = 0 ;
17930 PyObject * obj3 = 0 ;
17931 PyObject * obj4 = 0 ;
17932 char *kwnames[] = {
17933 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17934 };
17935
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail;
17939 {
17940 arg2 = (int)(SWIG_As_int(obj1));
17941 if (SWIG_arg_fail(2)) SWIG_fail;
17942 }
17943 {
17944 arg3 = (int)(SWIG_As_int(obj2));
17945 if (SWIG_arg_fail(3)) SWIG_fail;
17946 }
17947 {
17948 arg4 = (int)(SWIG_As_int(obj3));
17949 if (SWIG_arg_fail(4)) SWIG_fail;
17950 }
17951 {
17952 arg5 = (int)(SWIG_As_int(obj4));
17953 if (SWIG_arg_fail(5)) SWIG_fail;
17954 }
d55e5bfc
RD
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 Py_INCREF(Py_None); resultobj = Py_None;
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
c32bde28 17969static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17970 PyObject *resultobj;
17971 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17972 int arg2 ;
17973 int arg3 ;
17974 int arg4 ;
17975 int arg5 ;
17976 int arg6 = (int) wxSIZE_AUTO ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 PyObject * obj3 = 0 ;
17981 PyObject * obj4 = 0 ;
17982 PyObject * obj5 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
17990 {
17991 arg2 = (int)(SWIG_As_int(obj1));
17992 if (SWIG_arg_fail(2)) SWIG_fail;
17993 }
17994 {
17995 arg3 = (int)(SWIG_As_int(obj2));
17996 if (SWIG_arg_fail(3)) SWIG_fail;
17997 }
17998 {
17999 arg4 = (int)(SWIG_As_int(obj3));
18000 if (SWIG_arg_fail(4)) SWIG_fail;
18001 }
18002 {
18003 arg5 = (int)(SWIG_As_int(obj4));
18004 if (SWIG_arg_fail(5)) SWIG_fail;
18005 }
d55e5bfc 18006 if (obj5) {
093d3ff1
RD
18007 {
18008 arg6 = (int)(SWIG_As_int(obj5));
18009 if (SWIG_arg_fail(6)) SWIG_fail;
18010 }
d55e5bfc
RD
18011 }
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 Py_INCREF(Py_None); resultobj = Py_None;
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
c32bde28 18026static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18027 PyObject *resultobj;
18028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18029 int arg2 ;
18030 int arg3 ;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 PyObject * obj2 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "width",(char *) "height", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18040 if (SWIG_arg_fail(1)) SWIG_fail;
18041 {
18042 arg2 = (int)(SWIG_As_int(obj1));
18043 if (SWIG_arg_fail(2)) SWIG_fail;
18044 }
18045 {
18046 arg3 = (int)(SWIG_As_int(obj2));
18047 if (SWIG_arg_fail(3)) SWIG_fail;
18048 }
d55e5bfc
RD
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->base_DoSetClientSize(arg2,arg3);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
c32bde28 18063static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18064 PyObject *resultobj;
18065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18066 int arg2 ;
18067 int arg3 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 PyObject * obj2 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "x",(char *) "y", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail;
18078 {
18079 arg2 = (int)(SWIG_As_int(obj1));
18080 if (SWIG_arg_fail(2)) SWIG_fail;
18081 }
18082 {
18083 arg3 = (int)(SWIG_As_int(obj2));
18084 if (SWIG_arg_fail(3)) SWIG_fail;
18085 }
d55e5bfc
RD
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 Py_INCREF(Py_None); resultobj = Py_None;
18094 return resultobj;
18095 fail:
18096 return NULL;
18097}
18098
18099
c32bde28 18100static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18101 PyObject *resultobj;
18102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18103 int *arg2 = (int *) 0 ;
18104 int *arg3 = (int *) 0 ;
18105 int temp2 ;
c32bde28 18106 int res2 = 0 ;
d55e5bfc 18107 int temp3 ;
c32bde28 18108 int res3 = 0 ;
d55e5bfc
RD
18109 PyObject * obj0 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self", NULL
18112 };
18113
c32bde28
RD
18114 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18115 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18127 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18128 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18129 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18130 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18131 return resultobj;
18132 fail:
18133 return NULL;
18134}
18135
18136
c32bde28 18137static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18138 PyObject *resultobj;
18139 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18140 int *arg2 = (int *) 0 ;
18141 int *arg3 = (int *) 0 ;
18142 int temp2 ;
c32bde28 18143 int res2 = 0 ;
d55e5bfc 18144 int temp3 ;
c32bde28 18145 int res3 = 0 ;
d55e5bfc
RD
18146 PyObject * obj0 = 0 ;
18147 char *kwnames[] = {
18148 (char *) "self", NULL
18149 };
18150
c32bde28
RD
18151 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18152 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18164 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18165 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18166 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18167 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18168 return resultobj;
18169 fail:
18170 return NULL;
18171}
18172
18173
c32bde28 18174static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18175 PyObject *resultobj;
18176 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18177 int *arg2 = (int *) 0 ;
18178 int *arg3 = (int *) 0 ;
18179 int temp2 ;
c32bde28 18180 int res2 = 0 ;
d55e5bfc 18181 int temp3 ;
c32bde28 18182 int res3 = 0 ;
d55e5bfc
RD
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self", NULL
18186 };
18187
c32bde28
RD
18188 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18189 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18201 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18202 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18203 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18204 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18205 return resultobj;
18206 fail:
18207 return NULL;
18208}
18209
18210
c32bde28 18211static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18212 PyObject *resultobj;
18213 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18214 wxSize result;
18215 PyObject * obj0 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "self", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 {
18231 wxSize * resultptr;
093d3ff1 18232 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18234 }
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
c32bde28 18241static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18242 PyObject *resultobj;
18243 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18244 wxSize result;
18245 PyObject * obj0 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18252 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 {
18261 wxSize * resultptr;
093d3ff1 18262 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18264 }
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
c32bde28 18271static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18272 PyObject *resultobj;
18273 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->base_InitDialog();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 Py_INCREF(Py_None); resultobj = Py_None;
18290 return resultobj;
18291 fail:
18292 return NULL;
18293}
18294
18295
c32bde28 18296static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18297 PyObject *resultobj;
18298 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18299 bool result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (bool)(arg1)->base_TransferDataToWindow();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
c32bde28 18324static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18325 PyObject *resultobj;
18326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18327 bool result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (bool)(arg1)->base_TransferDataFromWindow();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 {
18344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18345 }
18346 return resultobj;
18347 fail:
18348 return NULL;
18349}
18350
18351
c32bde28 18352static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18353 PyObject *resultobj;
18354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18355 bool result;
18356 PyObject * obj0 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->base_Validate();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 {
18372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18373 }
18374 return resultobj;
18375 fail:
18376 return NULL;
18377}
18378
18379
c32bde28 18380static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18381 PyObject *resultobj;
18382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18383 bool result;
18384 PyObject * obj0 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 {
18400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18401 }
18402 return resultobj;
18403 fail:
18404 return NULL;
18405}
18406
18407
c32bde28 18408static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18409 PyObject *resultobj;
18410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18411 bool result;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 {
18428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18429 }
18430 return resultobj;
18431 fail:
18432 return NULL;
18433}
18434
18435
c32bde28 18436static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18437 PyObject *resultobj;
18438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18439 wxSize result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxSize * resultptr;
093d3ff1 18457 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
c32bde28 18466static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18467 PyObject *resultobj;
18468 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18469 wxWindow *arg2 = (wxWindow *) 0 ;
18470 PyObject * obj0 = 0 ;
18471 PyObject * obj1 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "child", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18478 if (SWIG_arg_fail(1)) SWIG_fail;
18479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18480 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->base_AddChild(arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492}
18493
18494
c32bde28 18495static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18496 PyObject *resultobj;
18497 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18498 wxWindow *arg2 = (wxWindow *) 0 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "child", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
18508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18509 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->base_RemoveChild(arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
c32bde28 18524static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18525 PyObject *resultobj;
18526 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18527 bool result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18538 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 {
18544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549}
18550
18551
c32bde28 18552static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18553 PyObject *resultobj;
18554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18555 wxColour *arg2 = 0 ;
18556 wxColour temp2 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "c", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18566 {
18567 arg2 = &temp2;
18568 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581}
18582
18583
c32bde28 18584static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18585 PyObject *resultobj;
18586 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18587 wxVisualAttributes result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (arg1)->base_GetDefaultAttributes();
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 {
18604 wxVisualAttributes * resultptr;
093d3ff1 18605 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
18606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18607 }
18608 return resultobj;
18609 fail:
18610 return NULL;
18611}
18612
18613
c32bde28 18614static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18615 PyObject *obj;
18616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18617 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18618 Py_INCREF(obj);
18619 return Py_BuildValue((char *)"");
18620}
c32bde28 18621static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18622 PyObject *resultobj;
18623 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18624 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18627 wxSize const &arg4_defvalue = wxDefaultSize ;
18628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18629 long arg5 = (long) 0 ;
18630 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18631 wxString *arg6 = (wxString *) &arg6_defvalue ;
18632 wxPyPanel *result;
18633 wxPoint temp3 ;
18634 wxSize temp4 ;
ae8162c8 18635 bool temp6 = false ;
d55e5bfc
RD
18636 PyObject * obj0 = 0 ;
18637 PyObject * obj1 = 0 ;
18638 PyObject * obj2 = 0 ;
18639 PyObject * obj3 = 0 ;
18640 PyObject * obj4 = 0 ;
18641 PyObject * obj5 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18644 };
18645
248ed943 18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18648 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18649 if (obj1) {
093d3ff1
RD
18650 {
18651 arg2 = (int const)(SWIG_As_int(obj1));
18652 if (SWIG_arg_fail(2)) SWIG_fail;
18653 }
248ed943 18654 }
d55e5bfc
RD
18655 if (obj2) {
18656 {
18657 arg3 = &temp3;
18658 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18659 }
18660 }
18661 if (obj3) {
18662 {
18663 arg4 = &temp4;
18664 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18665 }
18666 }
18667 if (obj4) {
093d3ff1
RD
18668 {
18669 arg5 = (long)(SWIG_As_long(obj4));
18670 if (SWIG_arg_fail(5)) SWIG_fail;
18671 }
d55e5bfc
RD
18672 }
18673 if (obj5) {
18674 {
18675 arg6 = wxString_in_helper(obj5);
18676 if (arg6 == NULL) SWIG_fail;
ae8162c8 18677 temp6 = true;
d55e5bfc
RD
18678 }
18679 }
18680 {
0439c23b 18681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18684
18685 wxPyEndAllowThreads(__tstate);
110da5b0 18686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18687 }
18688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18689 {
18690 if (temp6)
18691 delete arg6;
18692 }
18693 return resultobj;
18694 fail:
18695 {
18696 if (temp6)
18697 delete arg6;
18698 }
18699 return NULL;
18700}
18701
18702
c32bde28 18703static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18704 PyObject *resultobj;
18705 wxPyPanel *result;
18706 char *kwnames[] = {
18707 NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18711 {
0439c23b 18712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (wxPyPanel *)new wxPyPanel();
18715
18716 wxPyEndAllowThreads(__tstate);
110da5b0 18717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18718 }
18719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18720 return resultobj;
18721 fail:
18722 return NULL;
18723}
18724
18725
c32bde28 18726static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18727 PyObject *resultobj;
18728 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18729 PyObject *arg2 = (PyObject *) 0 ;
18730 PyObject *arg3 = (PyObject *) 0 ;
18731 PyObject * obj0 = 0 ;
18732 PyObject * obj1 = 0 ;
18733 PyObject * obj2 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "self",(char *) "_class", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18741 arg2 = obj1;
18742 arg3 = obj2;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->_setCallbackInfo(arg2,arg3);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754}
18755
18756
c32bde28 18757static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18758 PyObject *resultobj;
18759 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18760 wxSize *arg2 = 0 ;
18761 wxSize temp2 ;
18762 PyObject * obj0 = 0 ;
18763 PyObject * obj1 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self",(char *) "size", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18771 {
18772 arg2 = &temp2;
18773 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 (arg1)->SetBestSize((wxSize const &)*arg2);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 Py_INCREF(Py_None); resultobj = Py_None;
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
c32bde28 18789static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18790 PyObject *resultobj;
18791 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18792 int arg2 ;
18793 int arg3 ;
18794 int arg4 ;
18795 int arg5 ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj1 = 0 ;
18798 PyObject * obj2 = 0 ;
18799 PyObject * obj3 = 0 ;
18800 PyObject * obj4 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail;
18808 {
18809 arg2 = (int)(SWIG_As_int(obj1));
18810 if (SWIG_arg_fail(2)) SWIG_fail;
18811 }
18812 {
18813 arg3 = (int)(SWIG_As_int(obj2));
18814 if (SWIG_arg_fail(3)) SWIG_fail;
18815 }
18816 {
18817 arg4 = (int)(SWIG_As_int(obj3));
18818 if (SWIG_arg_fail(4)) SWIG_fail;
18819 }
18820 {
18821 arg5 = (int)(SWIG_As_int(obj4));
18822 if (SWIG_arg_fail(5)) SWIG_fail;
18823 }
d55e5bfc
RD
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835}
18836
18837
c32bde28 18838static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18839 PyObject *resultobj;
18840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18841 int arg2 ;
18842 int arg3 ;
18843 int arg4 ;
18844 int arg5 ;
18845 int arg6 = (int) wxSIZE_AUTO ;
18846 PyObject * obj0 = 0 ;
18847 PyObject * obj1 = 0 ;
18848 PyObject * obj2 = 0 ;
18849 PyObject * obj3 = 0 ;
18850 PyObject * obj4 = 0 ;
18851 PyObject * obj5 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail;
18859 {
18860 arg2 = (int)(SWIG_As_int(obj1));
18861 if (SWIG_arg_fail(2)) SWIG_fail;
18862 }
18863 {
18864 arg3 = (int)(SWIG_As_int(obj2));
18865 if (SWIG_arg_fail(3)) SWIG_fail;
18866 }
18867 {
18868 arg4 = (int)(SWIG_As_int(obj3));
18869 if (SWIG_arg_fail(4)) SWIG_fail;
18870 }
18871 {
18872 arg5 = (int)(SWIG_As_int(obj4));
18873 if (SWIG_arg_fail(5)) SWIG_fail;
18874 }
d55e5bfc 18875 if (obj5) {
093d3ff1
RD
18876 {
18877 arg6 = (int)(SWIG_As_int(obj5));
18878 if (SWIG_arg_fail(6)) SWIG_fail;
18879 }
d55e5bfc
RD
18880 }
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 Py_INCREF(Py_None); resultobj = Py_None;
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
c32bde28 18895static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18896 PyObject *resultobj;
18897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18898 int arg2 ;
18899 int arg3 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 PyObject * obj2 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "width",(char *) "height", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail;
18910 {
18911 arg2 = (int)(SWIG_As_int(obj1));
18912 if (SWIG_arg_fail(2)) SWIG_fail;
18913 }
18914 {
18915 arg3 = (int)(SWIG_As_int(obj2));
18916 if (SWIG_arg_fail(3)) SWIG_fail;
18917 }
d55e5bfc
RD
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 (arg1)->base_DoSetClientSize(arg2,arg3);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 int arg2 ;
18936 int arg3 ;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 PyObject * obj2 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "x",(char *) "y", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18946 if (SWIG_arg_fail(1)) SWIG_fail;
18947 {
18948 arg2 = (int)(SWIG_As_int(obj1));
18949 if (SWIG_arg_fail(2)) SWIG_fail;
18950 }
18951 {
18952 arg3 = (int)(SWIG_As_int(obj2));
18953 if (SWIG_arg_fail(3)) SWIG_fail;
18954 }
d55e5bfc
RD
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 Py_INCREF(Py_None); resultobj = Py_None;
18963 return resultobj;
18964 fail:
18965 return NULL;
18966}
18967
18968
c32bde28 18969static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18970 PyObject *resultobj;
18971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18972 int *arg2 = (int *) 0 ;
18973 int *arg3 = (int *) 0 ;
18974 int temp2 ;
c32bde28 18975 int res2 = 0 ;
d55e5bfc 18976 int temp3 ;
c32bde28 18977 int res3 = 0 ;
d55e5bfc
RD
18978 PyObject * obj0 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self", NULL
18981 };
18982
c32bde28
RD
18983 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18984 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18996 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18997 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18998 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18999 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19000 return resultobj;
19001 fail:
19002 return NULL;
19003}
19004
19005
c32bde28 19006static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19007 PyObject *resultobj;
19008 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19009 int *arg2 = (int *) 0 ;
19010 int *arg3 = (int *) 0 ;
19011 int temp2 ;
c32bde28 19012 int res2 = 0 ;
d55e5bfc 19013 int temp3 ;
c32bde28 19014 int res3 = 0 ;
d55e5bfc
RD
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
c32bde28
RD
19020 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19021 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19033 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19034 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19035 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19036 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19037 return resultobj;
19038 fail:
19039 return NULL;
19040}
19041
19042
c32bde28 19043static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19044 PyObject *resultobj;
19045 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19046 int *arg2 = (int *) 0 ;
19047 int *arg3 = (int *) 0 ;
19048 int temp2 ;
c32bde28 19049 int res2 = 0 ;
d55e5bfc 19050 int temp3 ;
c32bde28 19051 int res3 = 0 ;
d55e5bfc
RD
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
c32bde28
RD
19057 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19058 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19070 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19071 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19072 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19073 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19074 return resultobj;
19075 fail:
19076 return NULL;
19077}
19078
19079
c32bde28 19080static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19081 PyObject *resultobj;
19082 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19083 wxSize result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 {
19100 wxSize * resultptr;
093d3ff1 19101 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19103 }
19104 return resultobj;
19105 fail:
19106 return NULL;
19107}
19108
19109
c32bde28 19110static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19111 PyObject *resultobj;
19112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19113 wxSize result;
19114 PyObject * obj0 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 {
19130 wxSize * resultptr;
093d3ff1 19131 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137}
19138
19139
c32bde28 19140static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19141 PyObject *resultobj;
19142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19143 PyObject * obj0 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 (arg1)->base_InitDialog();
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
c32bde28 19165static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19166 PyObject *resultobj;
19167 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19168 bool result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = (bool)(arg1)->base_TransferDataToWindow();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 {
19185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19186 }
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
c32bde28 19193static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19194 PyObject *resultobj;
19195 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19196 bool result;
19197 PyObject * obj0 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)(arg1)->base_TransferDataFromWindow();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218}
19219
19220
c32bde28 19221static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19222 PyObject *resultobj;
19223 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19224 bool result;
19225 PyObject * obj0 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 result = (bool)(arg1)->base_Validate();
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 {
19241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19242 }
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
c32bde28 19249static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19250 PyObject *resultobj;
19251 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19252 bool result;
19253 PyObject * obj0 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 {
19269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19270 }
19271 return resultobj;
19272 fail:
19273 return NULL;
19274}
19275
19276
c32bde28 19277static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19278 PyObject *resultobj;
19279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19280 bool result;
19281 PyObject * obj0 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 {
19297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19298 }
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
c32bde28 19305static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19306 PyObject *resultobj;
19307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19308 wxSize result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxSize * resultptr;
093d3ff1 19326 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
c32bde28 19335static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19336 PyObject *resultobj;
19337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19338 wxWindow *arg2 = (wxWindow *) 0 ;
19339 PyObject * obj0 = 0 ;
19340 PyObject * obj1 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self",(char *) "child", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19347 if (SWIG_arg_fail(1)) SWIG_fail;
19348 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19349 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->base_AddChild(arg2);
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c32bde28 19364static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19365 PyObject *resultobj;
19366 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19367 wxWindow *arg2 = (wxWindow *) 0 ;
19368 PyObject * obj0 = 0 ;
19369 PyObject * obj1 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self",(char *) "child", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(1)) SWIG_fail;
19377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19378 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 (arg1)->base_RemoveChild(arg2);
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 Py_INCREF(Py_None); resultobj = Py_None;
19387 return resultobj;
19388 fail:
19389 return NULL;
19390}
19391
19392
c32bde28 19393static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19394 PyObject *resultobj;
19395 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 19407 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 {
19413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19414 }
19415 return resultobj;
19416 fail:
19417 return NULL;
19418}
19419
19420
c32bde28 19421static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19422 PyObject *resultobj;
19423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19424 wxColour *arg2 = 0 ;
19425 wxColour temp2 ;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "c", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19435 {
19436 arg2 = &temp2;
19437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19438 }
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 Py_INCREF(Py_None); resultobj = Py_None;
19447 return resultobj;
19448 fail:
19449 return NULL;
19450}
19451
19452
c32bde28 19453static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19454 PyObject *resultobj;
19455 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19456 wxVisualAttributes result;
19457 PyObject * obj0 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (arg1)->base_GetDefaultAttributes();
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 {
19473 wxVisualAttributes * resultptr;
093d3ff1 19474 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
19475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19476 }
19477 return resultobj;
19478 fail:
19479 return NULL;
19480}
19481
19482
c32bde28 19483static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19484 PyObject *obj;
19485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19487 Py_INCREF(obj);
19488 return Py_BuildValue((char *)"");
19489}
c32bde28 19490static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19491 PyObject *resultobj;
19492 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19493 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19496 wxSize const &arg4_defvalue = wxDefaultSize ;
19497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19498 long arg5 = (long) 0 ;
19499 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19500 wxString *arg6 = (wxString *) &arg6_defvalue ;
19501 wxPyScrolledWindow *result;
19502 wxPoint temp3 ;
19503 wxSize temp4 ;
ae8162c8 19504 bool temp6 = false ;
d55e5bfc
RD
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 PyObject * obj2 = 0 ;
19508 PyObject * obj3 = 0 ;
19509 PyObject * obj4 = 0 ;
19510 PyObject * obj5 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19513 };
19514
248ed943 19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19517 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19518 if (obj1) {
093d3ff1
RD
19519 {
19520 arg2 = (int const)(SWIG_As_int(obj1));
19521 if (SWIG_arg_fail(2)) SWIG_fail;
19522 }
248ed943 19523 }
d55e5bfc
RD
19524 if (obj2) {
19525 {
19526 arg3 = &temp3;
19527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19528 }
19529 }
19530 if (obj3) {
19531 {
19532 arg4 = &temp4;
19533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19534 }
19535 }
19536 if (obj4) {
093d3ff1
RD
19537 {
19538 arg5 = (long)(SWIG_As_long(obj4));
19539 if (SWIG_arg_fail(5)) SWIG_fail;
19540 }
d55e5bfc
RD
19541 }
19542 if (obj5) {
19543 {
19544 arg6 = wxString_in_helper(obj5);
19545 if (arg6 == NULL) SWIG_fail;
ae8162c8 19546 temp6 = true;
d55e5bfc
RD
19547 }
19548 }
19549 {
0439c23b 19550 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19553
19554 wxPyEndAllowThreads(__tstate);
110da5b0 19555 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19556 }
19557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19558 {
19559 if (temp6)
19560 delete arg6;
19561 }
19562 return resultobj;
19563 fail:
19564 {
19565 if (temp6)
19566 delete arg6;
19567 }
19568 return NULL;
19569}
19570
19571
c32bde28 19572static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19573 PyObject *resultobj;
19574 wxPyScrolledWindow *result;
19575 char *kwnames[] = {
19576 NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19580 {
0439c23b 19581 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19584
19585 wxPyEndAllowThreads(__tstate);
110da5b0 19586 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19587 }
19588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19589 return resultobj;
19590 fail:
19591 return NULL;
19592}
19593
19594
c32bde28 19595static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19596 PyObject *resultobj;
19597 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19598 PyObject *arg2 = (PyObject *) 0 ;
19599 PyObject *arg3 = (PyObject *) 0 ;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "self",(char *) "_class", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19610 arg2 = obj1;
19611 arg3 = obj2;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->_setCallbackInfo(arg2,arg3);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
c32bde28 19626static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19627 PyObject *resultobj;
19628 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19629 wxSize *arg2 = 0 ;
19630 wxSize temp2 ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self",(char *) "size", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19639 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19640 {
19641 arg2 = &temp2;
19642 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19643 }
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 (arg1)->SetBestSize((wxSize const &)*arg2);
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 Py_INCREF(Py_None); resultobj = Py_None;
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
c32bde28 19658static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19659 PyObject *resultobj;
19660 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19661 int arg2 ;
19662 int arg3 ;
19663 int arg4 ;
19664 int arg5 ;
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
19667 PyObject * obj2 = 0 ;
19668 PyObject * obj3 = 0 ;
19669 PyObject * obj4 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail;
19677 {
19678 arg2 = (int)(SWIG_As_int(obj1));
19679 if (SWIG_arg_fail(2)) SWIG_fail;
19680 }
19681 {
19682 arg3 = (int)(SWIG_As_int(obj2));
19683 if (SWIG_arg_fail(3)) SWIG_fail;
19684 }
19685 {
19686 arg4 = (int)(SWIG_As_int(obj3));
19687 if (SWIG_arg_fail(4)) SWIG_fail;
19688 }
19689 {
19690 arg5 = (int)(SWIG_As_int(obj4));
19691 if (SWIG_arg_fail(5)) SWIG_fail;
19692 }
d55e5bfc
RD
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
c32bde28 19707static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19708 PyObject *resultobj;
19709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19710 int arg2 ;
19711 int arg3 ;
19712 int arg4 ;
19713 int arg5 ;
19714 int arg6 = (int) wxSIZE_AUTO ;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 PyObject * obj2 = 0 ;
19718 PyObject * obj3 = 0 ;
19719 PyObject * obj4 = 0 ;
19720 PyObject * obj5 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail;
19728 {
19729 arg2 = (int)(SWIG_As_int(obj1));
19730 if (SWIG_arg_fail(2)) SWIG_fail;
19731 }
19732 {
19733 arg3 = (int)(SWIG_As_int(obj2));
19734 if (SWIG_arg_fail(3)) SWIG_fail;
19735 }
19736 {
19737 arg4 = (int)(SWIG_As_int(obj3));
19738 if (SWIG_arg_fail(4)) SWIG_fail;
19739 }
19740 {
19741 arg5 = (int)(SWIG_As_int(obj4));
19742 if (SWIG_arg_fail(5)) SWIG_fail;
19743 }
d55e5bfc 19744 if (obj5) {
093d3ff1
RD
19745 {
19746 arg6 = (int)(SWIG_As_int(obj5));
19747 if (SWIG_arg_fail(6)) SWIG_fail;
19748 }
d55e5bfc
RD
19749 }
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 Py_INCREF(Py_None); resultobj = Py_None;
19758 return resultobj;
19759 fail:
19760 return NULL;
19761}
19762
19763
c32bde28 19764static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19765 PyObject *resultobj;
19766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19767 int arg2 ;
19768 int arg3 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 PyObject * obj2 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "width",(char *) "height", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail;
19779 {
19780 arg2 = (int)(SWIG_As_int(obj1));
19781 if (SWIG_arg_fail(2)) SWIG_fail;
19782 }
19783 {
19784 arg3 = (int)(SWIG_As_int(obj2));
19785 if (SWIG_arg_fail(3)) SWIG_fail;
19786 }
d55e5bfc
RD
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 (arg1)->base_DoSetClientSize(arg2,arg3);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 Py_INCREF(Py_None); resultobj = Py_None;
19795 return resultobj;
19796 fail:
19797 return NULL;
19798}
19799
19800
c32bde28 19801static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19802 PyObject *resultobj;
19803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19804 int arg2 ;
19805 int arg3 ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 PyObject * obj2 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "x",(char *) "y", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail;
19816 {
19817 arg2 = (int)(SWIG_As_int(obj1));
19818 if (SWIG_arg_fail(2)) SWIG_fail;
19819 }
19820 {
19821 arg3 = (int)(SWIG_As_int(obj2));
19822 if (SWIG_arg_fail(3)) SWIG_fail;
19823 }
d55e5bfc
RD
19824 {
19825 PyThreadState* __tstate = wxPyBeginAllowThreads();
19826 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19827
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 Py_INCREF(Py_None); resultobj = Py_None;
19832 return resultobj;
19833 fail:
19834 return NULL;
19835}
19836
19837
c32bde28 19838static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19839 PyObject *resultobj;
19840 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19841 int *arg2 = (int *) 0 ;
19842 int *arg3 = (int *) 0 ;
19843 int temp2 ;
c32bde28 19844 int res2 = 0 ;
d55e5bfc 19845 int temp3 ;
c32bde28 19846 int res3 = 0 ;
d55e5bfc
RD
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
c32bde28
RD
19852 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19853 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19865 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19866 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19867 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19868 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19869 return resultobj;
19870 fail:
19871 return NULL;
19872}
19873
19874
c32bde28 19875static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19876 PyObject *resultobj;
19877 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19878 int *arg2 = (int *) 0 ;
19879 int *arg3 = (int *) 0 ;
19880 int temp2 ;
c32bde28 19881 int res2 = 0 ;
d55e5bfc 19882 int temp3 ;
c32bde28 19883 int res3 = 0 ;
d55e5bfc
RD
19884 PyObject * obj0 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self", NULL
19887 };
19888
c32bde28
RD
19889 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19890 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19902 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19903 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19904 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19905 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19906 return resultobj;
19907 fail:
19908 return NULL;
19909}
19910
19911
c32bde28 19912static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19913 PyObject *resultobj;
19914 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19915 int *arg2 = (int *) 0 ;
19916 int *arg3 = (int *) 0 ;
19917 int temp2 ;
c32bde28 19918 int res2 = 0 ;
d55e5bfc 19919 int temp3 ;
c32bde28 19920 int res3 = 0 ;
d55e5bfc
RD
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
c32bde28
RD
19926 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19927 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19939 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19940 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19941 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19942 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
c32bde28 19949static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19950 PyObject *resultobj;
19951 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19952 wxSize result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 {
19969 wxSize * resultptr;
093d3ff1 19970 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19972 }
19973 return resultobj;
19974 fail:
19975 return NULL;
19976}
19977
19978
c32bde28 19979static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19980 PyObject *resultobj;
19981 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19982 wxSize result;
19983 PyObject * obj0 = 0 ;
19984 char *kwnames[] = {
19985 (char *) "self", NULL
19986 };
19987
19988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 {
19999 wxSize * resultptr;
093d3ff1 20000 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20002 }
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
c32bde28 20009static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20010 PyObject *resultobj;
20011 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
20018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->base_InitDialog();
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
c32bde28 20034static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20035 PyObject *resultobj;
20036 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->base_TransferDataToWindow();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
c32bde28 20062static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20063 PyObject *resultobj;
20064 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20065 bool result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (bool)(arg1)->base_TransferDataFromWindow();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 {
20082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20083 }
20084 return resultobj;
20085 fail:
20086 return NULL;
20087}
20088
20089
c32bde28 20090static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20091 PyObject *resultobj;
20092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20093 bool result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (bool)(arg1)->base_Validate();
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 {
20110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20111 }
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
c32bde28 20118static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20119 PyObject *resultobj;
20120 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20121 bool result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 {
20138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20139 }
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
c32bde28 20146static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20147 PyObject *resultobj;
20148 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20149 bool result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20167 }
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
c32bde28 20174static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20175 PyObject *resultobj;
20176 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20177 wxSize result;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 wxSize * resultptr;
093d3ff1 20195 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
c32bde28 20204static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20205 PyObject *resultobj;
20206 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20207 wxWindow *arg2 = (wxWindow *) 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self",(char *) "child", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20216 if (SWIG_arg_fail(1)) SWIG_fail;
20217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 (arg1)->base_AddChild(arg2);
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 Py_INCREF(Py_None); resultobj = Py_None;
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c32bde28 20233static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20234 PyObject *resultobj;
20235 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20236 wxWindow *arg2 = (wxWindow *) 0 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "child", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20247 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 (arg1)->base_RemoveChild(arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 return resultobj;
20257 fail:
20258 return NULL;
20259}
20260
20261
c32bde28 20262static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20263 PyObject *resultobj;
20264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20265 bool result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 20276 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
c32bde28 20290static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20291 PyObject *resultobj;
20292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20293 wxColour *arg2 = 0 ;
20294 wxColour temp2 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "c", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20304 {
20305 arg2 = &temp2;
20306 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20307 }
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 Py_INCREF(Py_None); resultobj = Py_None;
20316 return resultobj;
20317 fail:
20318 return NULL;
20319}
20320
20321
c32bde28 20322static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
20323 PyObject *resultobj;
20324 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20325 wxVisualAttributes result;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20333 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = (arg1)->base_GetDefaultAttributes();
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 {
20342 wxVisualAttributes * resultptr;
093d3ff1 20343 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
20344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20345 }
20346 return resultobj;
20347 fail:
20348 return NULL;
20349}
20350
20351
c32bde28 20352static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20353 PyObject *obj;
20354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20355 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20356 Py_INCREF(obj);
20357 return Py_BuildValue((char *)"");
20358}
c32bde28 20359static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20360 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20361 return 1;
20362}
20363
20364
093d3ff1 20365static PyObject *_wrap_PrintoutTitleStr_get(void) {
d55e5bfc
RD
20366 PyObject *pyobj;
20367
20368 {
20369#if wxUSE_UNICODE
20370 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20371#else
20372 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20373#endif
20374 }
20375 return pyobj;
20376}
20377
20378
c32bde28 20379static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20380 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20381 return 1;
20382}
20383
20384
093d3ff1 20385static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
d55e5bfc
RD
20386 PyObject *pyobj;
20387
20388 {
20389#if wxUSE_UNICODE
20390 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20391#else
20392 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20393#endif
20394 }
20395 return pyobj;
20396}
20397
20398
c32bde28 20399static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20400 PyObject *resultobj;
20401 wxPrintData *result;
d55e5bfc 20402
09c21d3b 20403 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (wxPrintData *)new wxPrintData();
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
c32bde28 20418static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
20419 PyObject *resultobj;
20420 wxPrintData *arg1 = 0 ;
20421 wxPrintData *result;
20422 PyObject * obj0 = 0 ;
20423
20424 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20425 {
20426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail;
20428 if (arg1 == NULL) {
20429 SWIG_null_ref("wxPrintData");
20430 }
20431 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20432 }
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20441 return resultobj;
20442 fail:
20443 return NULL;
20444}
20445
20446
20447static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20448 int argc;
20449 PyObject *argv[2];
20450 int ii;
20451
20452 argc = PyObject_Length(args);
20453 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20454 argv[ii] = PyTuple_GetItem(args,ii);
20455 }
20456 if (argc == 0) {
20457 return _wrap_new_PrintData__SWIG_0(self,args);
20458 }
20459 if (argc == 1) {
20460 int _v;
20461 {
093d3ff1 20462 void *ptr = 0;
09c21d3b
RD
20463 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20464 _v = 0;
20465 PyErr_Clear();
20466 } else {
093d3ff1 20467 _v = (ptr != 0);
09c21d3b
RD
20468 }
20469 }
20470 if (_v) {
20471 return _wrap_new_PrintData__SWIG_1(self,args);
20472 }
20473 }
20474
093d3ff1 20475 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20476 return NULL;
20477}
20478
20479
c32bde28 20480static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20481 PyObject *resultobj;
20482 wxPrintData *arg1 = (wxPrintData *) 0 ;
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 delete arg1;
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 Py_INCREF(Py_None); resultobj = Py_None;
20499 return resultobj;
20500 fail:
20501 return NULL;
20502}
20503
20504
c32bde28 20505static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20506 PyObject *resultobj;
20507 wxPrintData *arg1 = (wxPrintData *) 0 ;
20508 int result;
20509 PyObject * obj0 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (int)(arg1)->GetNoCopies();
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
093d3ff1
RD
20524 {
20525 resultobj = SWIG_From_int((int)(result));
20526 }
d55e5bfc
RD
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
c32bde28 20533static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20534 PyObject *resultobj;
20535 wxPrintData *arg1 = (wxPrintData *) 0 ;
20536 bool result;
20537 PyObject * obj0 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (bool)(arg1)->GetCollate();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 {
20553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20554 }
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
c32bde28 20561static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20562 PyObject *resultobj;
20563 wxPrintData *arg1 = (wxPrintData *) 0 ;
20564 int result;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (int)(arg1)->GetOrientation();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
093d3ff1
RD
20580 {
20581 resultobj = SWIG_From_int((int)(result));
20582 }
d55e5bfc
RD
20583 return resultobj;
20584 fail:
20585 return NULL;
20586}
20587
20588
c32bde28 20589static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20590 PyObject *resultobj;
20591 wxPrintData *arg1 = (wxPrintData *) 0 ;
20592 bool result;
20593 PyObject * obj0 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (bool)(arg1)->Ok();
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 {
20609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20610 }
20611 return resultobj;
20612 fail:
20613 return NULL;
20614}
20615
20616
c32bde28 20617static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20618 PyObject *resultobj;
20619 wxPrintData *arg1 = (wxPrintData *) 0 ;
20620 wxString *result;
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 {
20632 wxString const &_result_ref = (arg1)->GetPrinterName();
20633 result = (wxString *) &_result_ref;
20634 }
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 {
20640#if wxUSE_UNICODE
20641 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20642#else
20643 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20644#endif
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
c32bde28 20652static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20653 PyObject *resultobj;
20654 wxPrintData *arg1 = (wxPrintData *) 0 ;
20655 bool result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (bool)(arg1)->GetColour();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 {
20672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20673 }
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
c32bde28 20680static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20681 PyObject *resultobj;
20682 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20683 wxDuplexMode result;
d55e5bfc
RD
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20694 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
093d3ff1 20699 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20700 return resultobj;
20701 fail:
20702 return NULL;
20703}
20704
20705
c32bde28 20706static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20707 PyObject *resultobj;
20708 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20709 wxPaperSize result;
d55e5bfc
RD
20710 PyObject * obj0 = 0 ;
20711 char *kwnames[] = {
20712 (char *) "self", NULL
20713 };
20714
20715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20720 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
093d3ff1 20725 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
c32bde28 20732static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20733 PyObject *resultobj;
20734 wxPrintData *arg1 = (wxPrintData *) 0 ;
20735 wxSize *result;
20736 PyObject * obj0 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 {
20747 wxSize const &_result_ref = (arg1)->GetPaperSize();
20748 result = (wxSize *) &_result_ref;
20749 }
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
c32bde28 20761static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20762 PyObject *resultobj;
20763 wxPrintData *arg1 = (wxPrintData *) 0 ;
20764 int result;
20765 PyObject * obj0 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 result = (int)(arg1)->GetQuality();
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
093d3ff1
RD
20780 {
20781 resultobj = SWIG_From_int((int)(result));
20782 }
d55e5bfc
RD
20783 return resultobj;
20784 fail:
20785 return NULL;
20786}
20787
20788
ae8162c8
RD
20789static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20792 wxPrintBin result;
ae8162c8
RD
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20803 result = (wxPrintBin)(arg1)->GetBin();
ae8162c8
RD
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
093d3ff1 20808 resultobj = SWIG_From_int((result));
ae8162c8
RD
20809 return resultobj;
20810 fail:
20811 return NULL;
20812}
20813
20814
c1cb24a4
RD
20815static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20818 wxPrintMode result;
c1cb24a4
RD
20819 PyObject * obj0 = 0 ;
20820 char *kwnames[] = {
20821 (char *) "self", NULL
20822 };
20823
20824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20826 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20829 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
c1cb24a4
RD
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
093d3ff1 20834 resultobj = SWIG_From_int((result));
c1cb24a4
RD
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
c32bde28 20841static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20842 PyObject *resultobj;
20843 wxPrintData *arg1 = (wxPrintData *) 0 ;
20844 int arg2 ;
20845 PyObject * obj0 = 0 ;
20846 PyObject * obj1 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self",(char *) "v", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail;
20854 {
20855 arg2 = (int)(SWIG_As_int(obj1));
20856 if (SWIG_arg_fail(2)) SWIG_fail;
20857 }
d55e5bfc
RD
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetNoCopies(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869}
20870
20871
c32bde28 20872static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20873 PyObject *resultobj;
20874 wxPrintData *arg1 = (wxPrintData *) 0 ;
20875 bool arg2 ;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "flag", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail;
20885 {
20886 arg2 = (bool)(SWIG_As_bool(obj1));
20887 if (SWIG_arg_fail(2)) SWIG_fail;
20888 }
d55e5bfc
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->SetCollate(arg2);
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 Py_INCREF(Py_None); resultobj = Py_None;
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
c32bde28 20903static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20904 PyObject *resultobj;
20905 wxPrintData *arg1 = (wxPrintData *) 0 ;
20906 int arg2 ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "orient", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail;
20916 {
20917 arg2 = (int)(SWIG_As_int(obj1));
20918 if (SWIG_arg_fail(2)) SWIG_fail;
20919 }
d55e5bfc
RD
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->SetOrientation(arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931}
20932
20933
c32bde28 20934static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20935 PyObject *resultobj;
20936 wxPrintData *arg1 = (wxPrintData *) 0 ;
20937 wxString *arg2 = 0 ;
ae8162c8 20938 bool temp2 = false ;
d55e5bfc
RD
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "name", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20948 {
20949 arg2 = wxString_in_helper(obj1);
20950 if (arg2 == NULL) SWIG_fail;
ae8162c8 20951 temp2 = true;
d55e5bfc
RD
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 (arg1)->SetPrinterName((wxString const &)*arg2);
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 Py_INCREF(Py_None); resultobj = Py_None;
20961 {
20962 if (temp2)
20963 delete arg2;
20964 }
20965 return resultobj;
20966 fail:
20967 {
20968 if (temp2)
20969 delete arg2;
20970 }
20971 return NULL;
20972}
20973
20974
c32bde28 20975static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20976 PyObject *resultobj;
20977 wxPrintData *arg1 = (wxPrintData *) 0 ;
20978 bool arg2 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "colour", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail;
20988 {
20989 arg2 = (bool)(SWIG_As_bool(obj1));
20990 if (SWIG_arg_fail(2)) SWIG_fail;
20991 }
d55e5bfc
RD
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 (arg1)->SetColour(arg2);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003}
21004
21005
c32bde28 21006static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21007 PyObject *resultobj;
21008 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21009 wxDuplexMode arg2 ;
d55e5bfc
RD
21010 PyObject * obj0 = 0 ;
21011 PyObject * obj1 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self",(char *) "duplex", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail;
21019 {
21020 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21021 if (SWIG_arg_fail(2)) SWIG_fail;
21022 }
d55e5bfc
RD
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->SetDuplex((wxDuplexMode )arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
c32bde28 21037static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21038 PyObject *resultobj;
21039 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21040 wxPaperSize arg2 ;
d55e5bfc
RD
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "sizeId", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail;
21050 {
21051 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21052 if (SWIG_arg_fail(2)) SWIG_fail;
21053 }
d55e5bfc
RD
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 (arg1)->SetPaperId((wxPaperSize )arg2);
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 Py_INCREF(Py_None); resultobj = Py_None;
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
c32bde28 21068static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21069 PyObject *resultobj;
21070 wxPrintData *arg1 = (wxPrintData *) 0 ;
21071 wxSize *arg2 = 0 ;
21072 wxSize temp2 ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "sz", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21082 {
21083 arg2 = &temp2;
21084 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21085 }
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 (arg1)->SetPaperSize((wxSize const &)*arg2);
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 Py_INCREF(Py_None); resultobj = Py_None;
21094 return resultobj;
21095 fail:
21096 return NULL;
21097}
21098
21099
c32bde28 21100static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21101 PyObject *resultobj;
21102 wxPrintData *arg1 = (wxPrintData *) 0 ;
21103 int arg2 ;
21104 PyObject * obj0 = 0 ;
21105 PyObject * obj1 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self",(char *) "quality", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21112 if (SWIG_arg_fail(1)) SWIG_fail;
21113 {
21114 arg2 = (int)(SWIG_As_int(obj1));
21115 if (SWIG_arg_fail(2)) SWIG_fail;
21116 }
d55e5bfc
RD
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->SetQuality(arg2);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 Py_INCREF(Py_None); resultobj = Py_None;
21125 return resultobj;
21126 fail:
21127 return NULL;
21128}
21129
21130
ae8162c8
RD
21131static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj;
21133 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21134 wxPrintBin arg2 ;
ae8162c8
RD
21135 PyObject * obj0 = 0 ;
21136 PyObject * obj1 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "bin", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail;
21144 {
21145 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21146 if (SWIG_arg_fail(2)) SWIG_fail;
21147 }
ae8162c8
RD
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->SetBin((wxPrintBin )arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 Py_INCREF(Py_None); resultobj = Py_None;
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
c1cb24a4 21162static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21163 PyObject *resultobj;
21164 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21165 wxPrintMode arg2 ;
c1cb24a4
RD
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "printMode", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21174 if (SWIG_arg_fail(1)) SWIG_fail;
21175 {
21176 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21177 if (SWIG_arg_fail(2)) SWIG_fail;
21178 }
c1cb24a4
RD
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 (arg1)->SetPrintMode((wxPrintMode )arg2);
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 Py_INCREF(Py_None); resultobj = Py_None;
21187 return resultobj;
21188 fail:
21189 return NULL;
21190}
21191
21192
21193static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxPrintData *arg1 = (wxPrintData *) 0 ;
21196 wxString result;
d55e5bfc
RD
21197 PyObject * obj0 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self", NULL
21200 };
21201
c1cb24a4 21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21207 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 {
21213#if wxUSE_UNICODE
c1cb24a4 21214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21215#else
c1cb24a4 21216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21217#endif
21218 }
21219 return resultobj;
21220 fail:
21221 return NULL;
21222}
21223
21224
c1cb24a4
RD
21225static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21226 PyObject *resultobj;
21227 wxPrintData *arg1 = (wxPrintData *) 0 ;
21228 wxString *arg2 = 0 ;
21229 bool temp2 = false ;
21230 PyObject * obj0 = 0 ;
21231 PyObject * obj1 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self",(char *) "filename", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21239 {
21240 arg2 = wxString_in_helper(obj1);
21241 if (arg2 == NULL) SWIG_fail;
21242 temp2 = true;
21243 }
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 (arg1)->SetFilename((wxString const &)*arg2);
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 Py_INCREF(Py_None); resultobj = Py_None;
21252 {
21253 if (temp2)
21254 delete arg2;
21255 }
21256 return resultobj;
21257 fail:
21258 {
21259 if (temp2)
21260 delete arg2;
21261 }
21262 return NULL;
21263}
21264
21265
21266static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21267 PyObject *resultobj;
21268 wxPrintData *arg1 = (wxPrintData *) 0 ;
21269 wxString *result;
21270 PyObject * obj0 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self", NULL
21273 };
21274
c1cb24a4 21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 {
c1cb24a4 21281 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d55e5bfc
RD
21282 result = (wxString *) &_result_ref;
21283 }
21284
21285 wxPyEndAllowThreads(__tstate);
21286 if (PyErr_Occurred()) SWIG_fail;
21287 }
21288 {
21289#if wxUSE_UNICODE
21290 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21291#else
21292 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21293#endif
21294 }
21295 return resultobj;
21296 fail:
21297 return NULL;
21298}
21299
21300
c1cb24a4 21301static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21302 PyObject *resultobj;
21303 wxPrintData *arg1 = (wxPrintData *) 0 ;
21304 wxString *result;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
c1cb24a4 21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 {
c1cb24a4 21316 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d55e5bfc
RD
21317 result = (wxString *) &_result_ref;
21318 }
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324#if wxUSE_UNICODE
21325 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21326#else
21327 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21328#endif
21329 }
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
c1cb24a4 21336static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21337 PyObject *resultobj;
21338 wxPrintData *arg1 = (wxPrintData *) 0 ;
21339 wxString *result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
c1cb24a4 21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 {
c1cb24a4 21351 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d55e5bfc
RD
21352 result = (wxString *) &_result_ref;
21353 }
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359#if wxUSE_UNICODE
21360 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21361#else
21362 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21363#endif
21364 }
21365 return resultobj;
21366 fail:
21367 return NULL;
21368}
21369
21370
c32bde28 21371static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21372 PyObject *resultobj;
21373 wxPrintData *arg1 = (wxPrintData *) 0 ;
21374 wxString *result;
21375 PyObject * obj0 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 {
21386 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21387 result = (wxString *) &_result_ref;
21388 }
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 {
21394#if wxUSE_UNICODE
21395 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21396#else
21397 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21398#endif
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403}
21404
21405
c32bde28 21406static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21407 PyObject *resultobj;
21408 wxPrintData *arg1 = (wxPrintData *) 0 ;
21409 double result;
21410 PyObject * obj0 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (double)(arg1)->GetPrinterScaleX();
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
093d3ff1
RD
21425 {
21426 resultobj = SWIG_From_double((double)(result));
21427 }
d55e5bfc
RD
21428 return resultobj;
21429 fail:
21430 return NULL;
21431}
21432
21433
c32bde28 21434static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21435 PyObject *resultobj;
21436 wxPrintData *arg1 = (wxPrintData *) 0 ;
21437 double result;
21438 PyObject * obj0 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = (double)(arg1)->GetPrinterScaleY();
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
093d3ff1
RD
21453 {
21454 resultobj = SWIG_From_double((double)(result));
21455 }
d55e5bfc
RD
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
c32bde28 21462static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21463 PyObject *resultobj;
21464 wxPrintData *arg1 = (wxPrintData *) 0 ;
21465 long result;
21466 PyObject * obj0 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 result = (long)(arg1)->GetPrinterTranslateX();
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
093d3ff1
RD
21481 {
21482 resultobj = SWIG_From_long((long)(result));
21483 }
d55e5bfc
RD
21484 return resultobj;
21485 fail:
21486 return NULL;
21487}
21488
21489
c32bde28 21490static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21491 PyObject *resultobj;
21492 wxPrintData *arg1 = (wxPrintData *) 0 ;
21493 long result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (long)(arg1)->GetPrinterTranslateY();
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
093d3ff1
RD
21509 {
21510 resultobj = SWIG_From_long((long)(result));
21511 }
d55e5bfc
RD
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
c1cb24a4 21518static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21519 PyObject *resultobj;
21520 wxPrintData *arg1 = (wxPrintData *) 0 ;
c1cb24a4
RD
21521 wxString *arg2 = 0 ;
21522 bool temp2 = false ;
d55e5bfc 21523 PyObject * obj0 = 0 ;
c1cb24a4 21524 PyObject * obj1 = 0 ;
d55e5bfc 21525 char *kwnames[] = {
c1cb24a4 21526 (char *) "self",(char *) "command", NULL
d55e5bfc
RD
21527 };
21528
c1cb24a4 21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21532 {
21533 arg2 = wxString_in_helper(obj1);
21534 if (arg2 == NULL) SWIG_fail;
21535 temp2 = true;
21536 }
d55e5bfc
RD
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21539 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d55e5bfc
RD
21540
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
c1cb24a4
RD
21544 Py_INCREF(Py_None); resultobj = Py_None;
21545 {
21546 if (temp2)
21547 delete arg2;
21548 }
d55e5bfc
RD
21549 return resultobj;
21550 fail:
21551 {
21552 if (temp2)
21553 delete arg2;
21554 }
21555 return NULL;
21556}
21557
21558
c32bde28 21559static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21560 PyObject *resultobj;
21561 wxPrintData *arg1 = (wxPrintData *) 0 ;
21562 wxString *arg2 = 0 ;
ae8162c8 21563 bool temp2 = false ;
d55e5bfc
RD
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self",(char *) "options", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21573 {
21574 arg2 = wxString_in_helper(obj1);
21575 if (arg2 == NULL) SWIG_fail;
ae8162c8 21576 temp2 = true;
d55e5bfc
RD
21577 }
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 Py_INCREF(Py_None); resultobj = Py_None;
21586 {
21587 if (temp2)
21588 delete arg2;
21589 }
21590 return resultobj;
21591 fail:
21592 {
21593 if (temp2)
21594 delete arg2;
21595 }
21596 return NULL;
21597}
21598
21599
c32bde28 21600static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21601 PyObject *resultobj;
21602 wxPrintData *arg1 = (wxPrintData *) 0 ;
21603 wxString *arg2 = 0 ;
ae8162c8 21604 bool temp2 = false ;
d55e5bfc
RD
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self",(char *) "command", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21614 {
21615 arg2 = wxString_in_helper(obj1);
21616 if (arg2 == NULL) SWIG_fail;
ae8162c8 21617 temp2 = true;
d55e5bfc
RD
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 {
21628 if (temp2)
21629 delete arg2;
21630 }
21631 return resultobj;
21632 fail:
21633 {
21634 if (temp2)
21635 delete arg2;
21636 }
21637 return NULL;
21638}
21639
21640
c32bde28 21641static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21642 PyObject *resultobj;
21643 wxPrintData *arg1 = (wxPrintData *) 0 ;
21644 wxString *arg2 = 0 ;
ae8162c8 21645 bool temp2 = false ;
d55e5bfc
RD
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "path", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21655 {
21656 arg2 = wxString_in_helper(obj1);
21657 if (arg2 == NULL) SWIG_fail;
ae8162c8 21658 temp2 = true;
d55e5bfc
RD
21659 }
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 Py_INCREF(Py_None); resultobj = Py_None;
21668 {
21669 if (temp2)
21670 delete arg2;
21671 }
21672 return resultobj;
21673 fail:
21674 {
21675 if (temp2)
21676 delete arg2;
21677 }
21678 return NULL;
21679}
21680
21681
c32bde28 21682static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21683 PyObject *resultobj;
21684 wxPrintData *arg1 = (wxPrintData *) 0 ;
21685 double arg2 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "x", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 arg2 = (double)(SWIG_As_double(obj1));
21697 if (SWIG_arg_fail(2)) SWIG_fail;
21698 }
d55e5bfc
RD
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 (arg1)->SetPrinterScaleX(arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 Py_INCREF(Py_None); resultobj = Py_None;
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
c32bde28 21713static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21714 PyObject *resultobj;
21715 wxPrintData *arg1 = (wxPrintData *) 0 ;
21716 double arg2 ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "y", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21725 if (SWIG_arg_fail(1)) SWIG_fail;
21726 {
21727 arg2 = (double)(SWIG_As_double(obj1));
21728 if (SWIG_arg_fail(2)) SWIG_fail;
21729 }
d55e5bfc
RD
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 (arg1)->SetPrinterScaleY(arg2);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 Py_INCREF(Py_None); resultobj = Py_None;
21738 return resultobj;
21739 fail:
21740 return NULL;
21741}
21742
21743
c32bde28 21744static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21745 PyObject *resultobj;
21746 wxPrintData *arg1 = (wxPrintData *) 0 ;
21747 double arg2 ;
21748 double arg3 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 PyObject * obj2 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "x",(char *) "y", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 {
21760 arg2 = (double)(SWIG_As_double(obj1));
21761 if (SWIG_arg_fail(2)) SWIG_fail;
21762 }
21763 {
21764 arg3 = (double)(SWIG_As_double(obj2));
21765 if (SWIG_arg_fail(3)) SWIG_fail;
21766 }
d55e5bfc
RD
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->SetPrinterScaling(arg2,arg3);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778}
21779
21780
c32bde28 21781static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21782 PyObject *resultobj;
21783 wxPrintData *arg1 = (wxPrintData *) 0 ;
21784 long arg2 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self",(char *) "x", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail;
21794 {
21795 arg2 = (long)(SWIG_As_long(obj1));
21796 if (SWIG_arg_fail(2)) SWIG_fail;
21797 }
d55e5bfc
RD
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 (arg1)->SetPrinterTranslateX(arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 Py_INCREF(Py_None); resultobj = Py_None;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809}
21810
21811
c32bde28 21812static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21813 PyObject *resultobj;
21814 wxPrintData *arg1 = (wxPrintData *) 0 ;
21815 long arg2 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "y", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail;
21825 {
21826 arg2 = (long)(SWIG_As_long(obj1));
21827 if (SWIG_arg_fail(2)) SWIG_fail;
21828 }
d55e5bfc
RD
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 (arg1)->SetPrinterTranslateY(arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 Py_INCREF(Py_None); resultobj = Py_None;
21837 return resultobj;
21838 fail:
21839 return NULL;
21840}
21841
21842
c32bde28 21843static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21844 PyObject *resultobj;
21845 wxPrintData *arg1 = (wxPrintData *) 0 ;
21846 long arg2 ;
21847 long arg3 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 PyObject * obj2 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "x",(char *) "y", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail;
21858 {
21859 arg2 = (long)(SWIG_As_long(obj1));
21860 if (SWIG_arg_fail(2)) SWIG_fail;
21861 }
21862 {
21863 arg3 = (long)(SWIG_As_long(obj2));
21864 if (SWIG_arg_fail(3)) SWIG_fail;
21865 }
d55e5bfc
RD
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetPrinterTranslation(arg2,arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877}
21878
21879
c32bde28 21880static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21881 PyObject *obj;
21882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21883 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21884 Py_INCREF(obj);
21885 return Py_BuildValue((char *)"");
21886}
c32bde28 21887static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
21888 PyObject *resultobj;
21889 wxPageSetupDialogData *result;
d55e5bfc 21890
09c21d3b 21891 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21900 return resultobj;
21901 fail:
21902 return NULL;
21903}
21904
21905
c32bde28 21906static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
21907 PyObject *resultobj;
21908 wxPageSetupDialogData *arg1 = 0 ;
21909 wxPageSetupDialogData *result;
21910 PyObject * obj0 = 0 ;
21911
21912 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21913 {
21914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21915 if (SWIG_arg_fail(1)) SWIG_fail;
21916 if (arg1 == NULL) {
21917 SWIG_null_ref("wxPageSetupDialogData");
21918 }
21919 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21929 return resultobj;
21930 fail:
21931 return NULL;
21932}
21933
21934
fef4c27a
RD
21935static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21936 PyObject *resultobj;
21937 wxPrintData *arg1 = 0 ;
21938 wxPageSetupDialogData *result;
21939 PyObject * obj0 = 0 ;
21940
21941 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21942 {
21943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21944 if (SWIG_arg_fail(1)) SWIG_fail;
21945 if (arg1 == NULL) {
21946 SWIG_null_ref("wxPrintData");
21947 }
21948 if (SWIG_arg_fail(1)) SWIG_fail;
21949 }
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21958 return resultobj;
21959 fail:
21960 return NULL;
21961}
21962
21963
09c21d3b
RD
21964static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21965 int argc;
21966 PyObject *argv[2];
21967 int ii;
21968
21969 argc = PyObject_Length(args);
21970 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21971 argv[ii] = PyTuple_GetItem(args,ii);
21972 }
21973 if (argc == 0) {
21974 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21975 }
21976 if (argc == 1) {
21977 int _v;
21978 {
093d3ff1 21979 void *ptr = 0;
09c21d3b
RD
21980 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21981 _v = 0;
21982 PyErr_Clear();
21983 } else {
093d3ff1 21984 _v = (ptr != 0);
09c21d3b
RD
21985 }
21986 }
21987 if (_v) {
21988 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21989 }
21990 }
fef4c27a
RD
21991 if (argc == 1) {
21992 int _v;
21993 {
21994 void *ptr = 0;
21995 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21996 _v = 0;
21997 PyErr_Clear();
21998 } else {
21999 _v = (ptr != 0);
22000 }
22001 }
22002 if (_v) {
22003 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22004 }
22005 }
09c21d3b 22006
093d3ff1 22007 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
22008 return NULL;
22009}
22010
22011
c32bde28 22012static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22013 PyObject *resultobj;
22014 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22015 PyObject * obj0 = 0 ;
22016 char *kwnames[] = {
22017 (char *) "self", NULL
22018 };
22019
22020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 delete arg1;
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 Py_INCREF(Py_None); resultobj = Py_None;
22031 return resultobj;
22032 fail:
22033 return NULL;
22034}
22035
22036
c32bde28 22037static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22038 PyObject *resultobj;
22039 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22040 bool arg2 ;
22041 PyObject * obj0 = 0 ;
22042 PyObject * obj1 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self",(char *) "flag", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail;
22050 {
22051 arg2 = (bool)(SWIG_As_bool(obj1));
22052 if (SWIG_arg_fail(2)) SWIG_fail;
22053 }
d55e5bfc
RD
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->EnableHelp(arg2);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 Py_INCREF(Py_None); resultobj = Py_None;
22062 return resultobj;
22063 fail:
22064 return NULL;
22065}
22066
22067
c32bde28 22068static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22069 PyObject *resultobj;
22070 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22071 bool arg2 ;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "flag", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22080 if (SWIG_arg_fail(1)) SWIG_fail;
22081 {
22082 arg2 = (bool)(SWIG_As_bool(obj1));
22083 if (SWIG_arg_fail(2)) SWIG_fail;
22084 }
d55e5bfc
RD
22085 {
22086 PyThreadState* __tstate = wxPyBeginAllowThreads();
22087 (arg1)->EnableMargins(arg2);
22088
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 Py_INCREF(Py_None); resultobj = Py_None;
22093 return resultobj;
22094 fail:
22095 return NULL;
22096}
22097
22098
c32bde28 22099static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22100 PyObject *resultobj;
22101 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22102 bool arg2 ;
22103 PyObject * obj0 = 0 ;
22104 PyObject * obj1 = 0 ;
22105 char *kwnames[] = {
22106 (char *) "self",(char *) "flag", NULL
22107 };
22108
22109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22111 if (SWIG_arg_fail(1)) SWIG_fail;
22112 {
22113 arg2 = (bool)(SWIG_As_bool(obj1));
22114 if (SWIG_arg_fail(2)) SWIG_fail;
22115 }
d55e5bfc
RD
22116 {
22117 PyThreadState* __tstate = wxPyBeginAllowThreads();
22118 (arg1)->EnableOrientation(arg2);
22119
22120 wxPyEndAllowThreads(__tstate);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 Py_INCREF(Py_None); resultobj = Py_None;
22124 return resultobj;
22125 fail:
22126 return NULL;
22127}
22128
22129
c32bde28 22130static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22131 PyObject *resultobj;
22132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22133 bool arg2 ;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "flag", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail;
22143 {
22144 arg2 = (bool)(SWIG_As_bool(obj1));
22145 if (SWIG_arg_fail(2)) SWIG_fail;
22146 }
d55e5bfc
RD
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 (arg1)->EnablePaper(arg2);
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 Py_INCREF(Py_None); resultobj = Py_None;
22155 return resultobj;
22156 fail:
22157 return NULL;
22158}
22159
22160
c32bde28 22161static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22162 PyObject *resultobj;
22163 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22164 bool arg2 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 char *kwnames[] = {
22168 (char *) "self",(char *) "flag", NULL
22169 };
22170
22171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22173 if (SWIG_arg_fail(1)) SWIG_fail;
22174 {
22175 arg2 = (bool)(SWIG_As_bool(obj1));
22176 if (SWIG_arg_fail(2)) SWIG_fail;
22177 }
d55e5bfc
RD
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 (arg1)->EnablePrinter(arg2);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
22185 Py_INCREF(Py_None); resultobj = Py_None;
22186 return resultobj;
22187 fail:
22188 return NULL;
22189}
22190
22191
c32bde28 22192static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22193 PyObject *resultobj;
22194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22195 bool result;
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
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();
22206 result = (bool)(arg1)->GetDefaultMinMargins();
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 {
22212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217}
22218
22219
c32bde28 22220static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22221 PyObject *resultobj;
22222 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22223 bool result;
22224 PyObject * obj0 = 0 ;
22225 char *kwnames[] = {
22226 (char *) "self", NULL
22227 };
22228
22229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 result = (bool)(arg1)->GetEnableMargins();
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 {
22240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
c32bde28 22248static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22249 PyObject *resultobj;
22250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22251 bool result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
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 result = (bool)(arg1)->GetEnableOrientation();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22269 }
22270 return resultobj;
22271 fail:
22272 return NULL;
22273}
22274
22275
c32bde28 22276static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22277 PyObject *resultobj;
22278 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22279 bool result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = (bool)(arg1)->GetEnablePaper();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22297 }
22298 return resultobj;
22299 fail:
22300 return NULL;
22301}
22302
22303
c32bde28 22304static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22305 PyObject *resultobj;
22306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22307 bool result;
22308 PyObject * obj0 = 0 ;
22309 char *kwnames[] = {
22310 (char *) "self", NULL
22311 };
22312
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22316 {
22317 PyThreadState* __tstate = wxPyBeginAllowThreads();
22318 result = (bool)(arg1)->GetEnablePrinter();
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 {
22324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22325 }
22326 return resultobj;
22327 fail:
22328 return NULL;
22329}
22330
22331
c32bde28 22332static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22333 PyObject *resultobj;
22334 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22335 bool result;
22336 PyObject * obj0 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "self", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (bool)(arg1)->GetEnableHelp();
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22353 }
22354 return resultobj;
22355 fail:
22356 return NULL;
22357}
22358
22359
c32bde28 22360static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22361 PyObject *resultobj;
22362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22363 bool result;
22364 PyObject * obj0 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (bool)(arg1)->GetDefaultInfo();
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 {
22380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22381 }
22382 return resultobj;
22383 fail:
22384 return NULL;
22385}
22386
22387
c32bde28 22388static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22389 PyObject *resultobj;
22390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22391 wxPoint result;
22392 PyObject * obj0 = 0 ;
22393 char *kwnames[] = {
22394 (char *) "self", NULL
22395 };
22396
22397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 result = (arg1)->GetMarginTopLeft();
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 {
22408 wxPoint * resultptr;
093d3ff1 22409 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22411 }
22412 return resultobj;
22413 fail:
22414 return NULL;
22415}
22416
22417
c32bde28 22418static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22419 PyObject *resultobj;
22420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22421 wxPoint result;
22422 PyObject * obj0 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 result = (arg1)->GetMarginBottomRight();
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 {
22438 wxPoint * resultptr;
093d3ff1 22439 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22440 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22441 }
22442 return resultobj;
22443 fail:
22444 return NULL;
22445}
22446
22447
c32bde28 22448static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22449 PyObject *resultobj;
22450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22451 wxPoint result;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "self", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (arg1)->GetMinMarginTopLeft();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 {
22468 wxPoint * resultptr;
093d3ff1 22469 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22471 }
22472 return resultobj;
22473 fail:
22474 return NULL;
22475}
22476
22477
c32bde28 22478static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22479 PyObject *resultobj;
22480 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22481 wxPoint result;
22482 PyObject * obj0 = 0 ;
22483 char *kwnames[] = {
22484 (char *) "self", NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = (arg1)->GetMinMarginBottomRight();
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 {
22498 wxPoint * resultptr;
093d3ff1 22499 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22501 }
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
c32bde28 22508static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22509 PyObject *resultobj;
22510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22511 wxPaperSize result;
d55e5bfc
RD
22512 PyObject * obj0 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22522 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
093d3ff1 22527 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22528 return resultobj;
22529 fail:
22530 return NULL;
22531}
22532
22533
c32bde28 22534static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22535 PyObject *resultobj;
22536 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22537 wxSize result;
22538 PyObject * obj0 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (arg1)->GetPaperSize();
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 wxSize * resultptr;
093d3ff1 22555 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
22556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22557 }
22558 return resultobj;
22559 fail:
22560 return NULL;
22561}
22562
22563
c32bde28 22564static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22565 PyObject *resultobj;
22566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22567 wxPrintData *result;
22568 PyObject * obj0 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22576 {
22577 PyThreadState* __tstate = wxPyBeginAllowThreads();
22578 {
22579 wxPrintData &_result_ref = (arg1)->GetPrintData();
22580 result = (wxPrintData *) &_result_ref;
22581 }
22582
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
c32bde28 22593static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22594 PyObject *resultobj;
22595 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22596 bool result;
22597 PyObject * obj0 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22604 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = (bool)(arg1)->Ok();
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 {
22613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618}
22619
22620
c32bde28 22621static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22622 PyObject *resultobj;
22623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22624 bool arg2 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "flag", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 arg2 = (bool)(SWIG_As_bool(obj1));
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 }
d55e5bfc
RD
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 (arg1)->SetDefaultInfo(arg2);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 Py_INCREF(Py_None); resultobj = Py_None;
22646 return resultobj;
22647 fail:
22648 return NULL;
22649}
22650
22651
c32bde28 22652static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22653 PyObject *resultobj;
22654 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22655 bool arg2 ;
22656 PyObject * obj0 = 0 ;
22657 PyObject * obj1 = 0 ;
22658 char *kwnames[] = {
22659 (char *) "self",(char *) "flag", NULL
22660 };
22661
22662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22664 if (SWIG_arg_fail(1)) SWIG_fail;
22665 {
22666 arg2 = (bool)(SWIG_As_bool(obj1));
22667 if (SWIG_arg_fail(2)) SWIG_fail;
22668 }
d55e5bfc
RD
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 (arg1)->SetDefaultMinMargins(arg2);
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 Py_INCREF(Py_None); resultobj = Py_None;
22677 return resultobj;
22678 fail:
22679 return NULL;
22680}
22681
22682
c32bde28 22683static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22684 PyObject *resultobj;
22685 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22686 wxPoint *arg2 = 0 ;
22687 wxPoint temp2 ;
22688 PyObject * obj0 = 0 ;
22689 PyObject * obj1 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self",(char *) "pt", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22697 {
22698 arg2 = &temp2;
22699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22700 }
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 Py_INCREF(Py_None); resultobj = Py_None;
22709 return resultobj;
22710 fail:
22711 return NULL;
22712}
22713
22714
c32bde28 22715static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22716 PyObject *resultobj;
22717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22718 wxPoint *arg2 = 0 ;
22719 wxPoint temp2 ;
22720 PyObject * obj0 = 0 ;
22721 PyObject * obj1 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self",(char *) "pt", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22729 {
22730 arg2 = &temp2;
22731 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22732 }
22733 {
22734 PyThreadState* __tstate = wxPyBeginAllowThreads();
22735 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22736
22737 wxPyEndAllowThreads(__tstate);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 }
22740 Py_INCREF(Py_None); resultobj = Py_None;
22741 return resultobj;
22742 fail:
22743 return NULL;
22744}
22745
22746
c32bde28 22747static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22748 PyObject *resultobj;
22749 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22750 wxPoint *arg2 = 0 ;
22751 wxPoint temp2 ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 char *kwnames[] = {
22755 (char *) "self",(char *) "pt", NULL
22756 };
22757
22758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22761 {
22762 arg2 = &temp2;
22763 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22764 }
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 Py_INCREF(Py_None); resultobj = Py_None;
22773 return resultobj;
22774 fail:
22775 return NULL;
22776}
22777
22778
c32bde28 22779static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22780 PyObject *resultobj;
22781 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22782 wxPoint *arg2 = 0 ;
22783 wxPoint temp2 ;
22784 PyObject * obj0 = 0 ;
22785 PyObject * obj1 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "pt", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22793 {
22794 arg2 = &temp2;
22795 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22796 }
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808}
22809
22810
c32bde28 22811static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22812 PyObject *resultobj;
22813 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22814 wxPaperSize arg2 ;
d55e5bfc
RD
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 char *kwnames[] = {
22818 (char *) "self",(char *) "id", NULL
22819 };
22820
22821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22823 if (SWIG_arg_fail(1)) SWIG_fail;
22824 {
22825 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22826 if (SWIG_arg_fail(2)) SWIG_fail;
22827 }
d55e5bfc
RD
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 (arg1)->SetPaperId((wxPaperSize )arg2);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 Py_INCREF(Py_None); resultobj = Py_None;
22836 return resultobj;
22837 fail:
22838 return NULL;
22839}
22840
22841
c32bde28 22842static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22843 PyObject *resultobj;
22844 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22845 wxSize *arg2 = 0 ;
22846 wxSize temp2 ;
22847 PyObject * obj0 = 0 ;
22848 PyObject * obj1 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self",(char *) "size", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22856 {
22857 arg2 = &temp2;
22858 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22859 }
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 (arg1)->SetPaperSize((wxSize const &)*arg2);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
22867 Py_INCREF(Py_None); resultobj = Py_None;
22868 return resultobj;
22869 fail:
22870 return NULL;
22871}
22872
22873
c32bde28 22874static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22875 PyObject *resultobj;
22876 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22877 wxPrintData *arg2 = 0 ;
22878 PyObject * obj0 = 0 ;
22879 PyObject * obj1 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "printData", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 {
22888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22889 if (SWIG_arg_fail(2)) SWIG_fail;
22890 if (arg2 == NULL) {
22891 SWIG_null_ref("wxPrintData");
22892 }
22893 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22894 }
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 Py_INCREF(Py_None); resultobj = Py_None;
22903 return resultobj;
22904 fail:
22905 return NULL;
22906}
22907
22908
fef4c27a
RD
22909static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22912 PyObject * obj0 = 0 ;
22913 char *kwnames[] = {
22914 (char *) "self", NULL
22915 };
22916
22917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22919 if (SWIG_arg_fail(1)) SWIG_fail;
22920 {
22921 PyThreadState* __tstate = wxPyBeginAllowThreads();
22922 (arg1)->CalculateIdFromPaperSize();
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 Py_INCREF(Py_None); resultobj = Py_None;
22928 return resultobj;
22929 fail:
22930 return NULL;
22931}
22932
22933
22934static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22937 PyObject * obj0 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22944 if (SWIG_arg_fail(1)) SWIG_fail;
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 (arg1)->CalculatePaperSizeFromId();
22948
22949 wxPyEndAllowThreads(__tstate);
22950 if (PyErr_Occurred()) SWIG_fail;
22951 }
22952 Py_INCREF(Py_None); resultobj = Py_None;
22953 return resultobj;
22954 fail:
22955 return NULL;
22956}
22957
22958
c32bde28 22959static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22960 PyObject *obj;
22961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22962 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22963 Py_INCREF(obj);
22964 return Py_BuildValue((char *)"");
22965}
c32bde28 22966static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22967 PyObject *resultobj;
22968 wxWindow *arg1 = (wxWindow *) 0 ;
22969 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22970 wxPageSetupDialog *result;
22971 PyObject * obj0 = 0 ;
22972 PyObject * obj1 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "parent",(char *) "data", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22980 if (obj1) {
093d3ff1
RD
22981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22982 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22983 }
22984 {
0439c23b 22985 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22986 PyThreadState* __tstate = wxPyBeginAllowThreads();
22987 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22988
22989 wxPyEndAllowThreads(__tstate);
110da5b0 22990 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22991 }
22992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
c32bde28 22999static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23000 PyObject *resultobj;
23001 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23002 wxPageSetupDialogData *result;
23003 PyObject * obj0 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23010 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23011 {
23012 PyThreadState* __tstate = wxPyBeginAllowThreads();
23013 {
23014 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23015 result = (wxPageSetupDialogData *) &_result_ref;
23016 }
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23022 return resultobj;
23023 fail:
23024 return NULL;
23025}
23026
23027
8ac8dba0
RD
23028static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23029 PyObject *resultobj;
23030 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23031 wxPageSetupDialogData *result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 {
23043 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23044 result = (wxPageSetupDialogData *) &_result_ref;
23045 }
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
23050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23051 return resultobj;
23052 fail:
23053 return NULL;
23054}
23055
23056
c32bde28 23057static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23058 PyObject *resultobj;
23059 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23060 int result;
23061 PyObject * obj0 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23069 {
23070 PyThreadState* __tstate = wxPyBeginAllowThreads();
23071 result = (int)(arg1)->ShowModal();
23072
23073 wxPyEndAllowThreads(__tstate);
23074 if (PyErr_Occurred()) SWIG_fail;
23075 }
093d3ff1
RD
23076 {
23077 resultobj = SWIG_From_int((int)(result));
23078 }
d55e5bfc
RD
23079 return resultobj;
23080 fail:
23081 return NULL;
23082}
23083
23084
c32bde28 23085static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23086 PyObject *obj;
23087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23088 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23089 Py_INCREF(obj);
23090 return Py_BuildValue((char *)"");
23091}
c32bde28 23092static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23093 PyObject *resultobj;
23094 wxPrintDialogData *result;
23095
23096 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (wxPrintDialogData *)new wxPrintDialogData();
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
23104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23105 return resultobj;
23106 fail:
23107 return NULL;
23108}
23109
23110
c32bde28 23111static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23112 PyObject *resultobj;
23113 wxPrintData *arg1 = 0 ;
23114 wxPrintDialogData *result;
23115 PyObject * obj0 = 0 ;
23116
23117 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
23118 {
23119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23120 if (SWIG_arg_fail(1)) SWIG_fail;
23121 if (arg1 == NULL) {
23122 SWIG_null_ref("wxPrintData");
23123 }
23124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23125 }
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23134 return resultobj;
23135 fail:
23136 return NULL;
23137}
23138
23139
fef4c27a
RD
23140static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23141 PyObject *resultobj;
23142 wxPrintDialogData *arg1 = 0 ;
23143 wxPrintDialogData *result;
23144 PyObject * obj0 = 0 ;
23145
23146 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23147 {
23148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23149 if (SWIG_arg_fail(1)) SWIG_fail;
23150 if (arg1 == NULL) {
23151 SWIG_null_ref("wxPrintDialogData");
23152 }
23153 if (SWIG_arg_fail(1)) SWIG_fail;
23154 }
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
23162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23163 return resultobj;
23164 fail:
23165 return NULL;
23166}
23167
23168
d55e5bfc
RD
23169static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23170 int argc;
23171 PyObject *argv[2];
23172 int ii;
23173
23174 argc = PyObject_Length(args);
23175 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23176 argv[ii] = PyTuple_GetItem(args,ii);
23177 }
23178 if (argc == 0) {
23179 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23180 }
23181 if (argc == 1) {
23182 int _v;
23183 {
093d3ff1 23184 void *ptr = 0;
d55e5bfc
RD
23185 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23186 _v = 0;
23187 PyErr_Clear();
23188 } else {
093d3ff1 23189 _v = (ptr != 0);
d55e5bfc
RD
23190 }
23191 }
23192 if (_v) {
23193 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23194 }
23195 }
fef4c27a
RD
23196 if (argc == 1) {
23197 int _v;
23198 {
23199 void *ptr = 0;
23200 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23201 _v = 0;
23202 PyErr_Clear();
23203 } else {
23204 _v = (ptr != 0);
23205 }
23206 }
23207 if (_v) {
23208 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23209 }
23210 }
d55e5bfc 23211
093d3ff1 23212 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
23213 return NULL;
23214}
23215
23216
c32bde28 23217static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23218 PyObject *resultobj;
23219 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 delete arg1;
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 Py_INCREF(Py_None); resultobj = Py_None;
23236 return resultobj;
23237 fail:
23238 return NULL;
23239}
23240
23241
c32bde28 23242static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23243 PyObject *resultobj;
23244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23245 int result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
093d3ff1
RD
23261 {
23262 resultobj = SWIG_From_int((int)(result));
23263 }
d55e5bfc
RD
23264 return resultobj;
23265 fail:
23266 return NULL;
23267}
23268
23269
c32bde28 23270static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23271 PyObject *resultobj;
23272 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23273 int result;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
093d3ff1
RD
23289 {
23290 resultobj = SWIG_From_int((int)(result));
23291 }
d55e5bfc
RD
23292 return resultobj;
23293 fail:
23294 return NULL;
23295}
23296
23297
c32bde28 23298static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23299 PyObject *resultobj;
23300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23301 int result;
23302 PyObject * obj0 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
093d3ff1
RD
23317 {
23318 resultobj = SWIG_From_int((int)(result));
23319 }
d55e5bfc
RD
23320 return resultobj;
23321 fail:
23322 return NULL;
23323}
23324
23325
c32bde28 23326static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23327 PyObject *resultobj;
23328 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23329 int result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
093d3ff1
RD
23345 {
23346 resultobj = SWIG_From_int((int)(result));
23347 }
d55e5bfc
RD
23348 return resultobj;
23349 fail:
23350 return NULL;
23351}
23352
23353
c32bde28 23354static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23355 PyObject *resultobj;
23356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23357 int result;
23358 PyObject * obj0 = 0 ;
23359 char *kwnames[] = {
23360 (char *) "self", NULL
23361 };
23362
23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
093d3ff1
RD
23373 {
23374 resultobj = SWIG_From_int((int)(result));
23375 }
d55e5bfc
RD
23376 return resultobj;
23377 fail:
23378 return NULL;
23379}
23380
23381
c32bde28 23382static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23383 PyObject *resultobj;
23384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23385 bool result;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 {
23402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23403 }
23404 return resultobj;
23405 fail:
23406 return NULL;
23407}
23408
23409
c32bde28 23410static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23411 PyObject *resultobj;
23412 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23413 bool result;
23414 PyObject * obj0 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 {
23430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23431 }
23432 return resultobj;
23433 fail:
23434 return NULL;
23435}
23436
23437
c32bde28 23438static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23439 PyObject *resultobj;
23440 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23441 bool result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23450 {
23451 PyThreadState* __tstate = wxPyBeginAllowThreads();
23452 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 {
23458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23459 }
23460 return resultobj;
23461 fail:
23462 return NULL;
23463}
23464
23465
c32bde28 23466static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23467 PyObject *resultobj;
23468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23469 bool result;
23470 PyObject * obj0 = 0 ;
23471 char *kwnames[] = {
23472 (char *) "self", NULL
23473 };
23474
23475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23481
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 {
23486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23487 }
23488 return resultobj;
23489 fail:
23490 return NULL;
23491}
23492
23493
c32bde28 23494static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23495 PyObject *resultobj;
23496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23497 bool result;
23498 PyObject * obj0 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23506 {
23507 PyThreadState* __tstate = wxPyBeginAllowThreads();
23508 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 {
23514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23515 }
23516 return resultobj;
23517 fail:
23518 return NULL;
23519}
23520
23521
c1cb24a4
RD
23522static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23523 PyObject *resultobj;
23524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23525 bool arg2 ;
23526 PyObject * obj0 = 0 ;
23527 PyObject * obj1 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self",(char *) "flag", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail;
23535 {
23536 arg2 = (bool)(SWIG_As_bool(obj1));
23537 if (SWIG_arg_fail(2)) SWIG_fail;
23538 }
c1cb24a4
RD
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 (arg1)->SetSetupDialog(arg2);
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 Py_INCREF(Py_None); resultobj = Py_None;
23547 return resultobj;
23548 fail:
23549 return NULL;
23550}
23551
23552
c32bde28 23553static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23554 PyObject *resultobj;
23555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23556 int arg2 ;
23557 PyObject * obj0 = 0 ;
23558 PyObject * obj1 = 0 ;
23559 char *kwnames[] = {
23560 (char *) "self",(char *) "v", NULL
23561 };
23562
23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail;
23566 {
23567 arg2 = (int)(SWIG_As_int(obj1));
23568 if (SWIG_arg_fail(2)) SWIG_fail;
23569 }
d55e5bfc
RD
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 (arg1)->SetFromPage(arg2);
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 Py_INCREF(Py_None); resultobj = Py_None;
23578 return resultobj;
23579 fail:
23580 return NULL;
23581}
23582
23583
c32bde28 23584static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23585 PyObject *resultobj;
23586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23587 int arg2 ;
23588 PyObject * obj0 = 0 ;
23589 PyObject * obj1 = 0 ;
23590 char *kwnames[] = {
23591 (char *) "self",(char *) "v", NULL
23592 };
23593
23594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23596 if (SWIG_arg_fail(1)) SWIG_fail;
23597 {
23598 arg2 = (int)(SWIG_As_int(obj1));
23599 if (SWIG_arg_fail(2)) SWIG_fail;
23600 }
d55e5bfc
RD
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 (arg1)->SetToPage(arg2);
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 Py_INCREF(Py_None); resultobj = Py_None;
23609 return resultobj;
23610 fail:
23611 return NULL;
23612}
23613
23614
c32bde28 23615static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23616 PyObject *resultobj;
23617 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23618 int arg2 ;
23619 PyObject * obj0 = 0 ;
23620 PyObject * obj1 = 0 ;
23621 char *kwnames[] = {
23622 (char *) "self",(char *) "v", NULL
23623 };
23624
23625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23627 if (SWIG_arg_fail(1)) SWIG_fail;
23628 {
23629 arg2 = (int)(SWIG_As_int(obj1));
23630 if (SWIG_arg_fail(2)) SWIG_fail;
23631 }
d55e5bfc
RD
23632 {
23633 PyThreadState* __tstate = wxPyBeginAllowThreads();
23634 (arg1)->SetMinPage(arg2);
23635
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 Py_INCREF(Py_None); resultobj = Py_None;
23640 return resultobj;
23641 fail:
23642 return NULL;
23643}
23644
23645
c32bde28 23646static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23647 PyObject *resultobj;
23648 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23649 int arg2 ;
23650 PyObject * obj0 = 0 ;
23651 PyObject * obj1 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "self",(char *) "v", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23658 if (SWIG_arg_fail(1)) SWIG_fail;
23659 {
23660 arg2 = (int)(SWIG_As_int(obj1));
23661 if (SWIG_arg_fail(2)) SWIG_fail;
23662 }
d55e5bfc
RD
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 (arg1)->SetMaxPage(arg2);
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 Py_INCREF(Py_None); resultobj = Py_None;
23671 return resultobj;
23672 fail:
23673 return NULL;
23674}
23675
23676
c32bde28 23677static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23678 PyObject *resultobj;
23679 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23680 int arg2 ;
23681 PyObject * obj0 = 0 ;
23682 PyObject * obj1 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self",(char *) "v", NULL
23685 };
23686
23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23689 if (SWIG_arg_fail(1)) SWIG_fail;
23690 {
23691 arg2 = (int)(SWIG_As_int(obj1));
23692 if (SWIG_arg_fail(2)) SWIG_fail;
23693 }
d55e5bfc
RD
23694 {
23695 PyThreadState* __tstate = wxPyBeginAllowThreads();
23696 (arg1)->SetNoCopies(arg2);
23697
23698 wxPyEndAllowThreads(__tstate);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 Py_INCREF(Py_None); resultobj = Py_None;
23702 return resultobj;
23703 fail:
23704 return NULL;
23705}
23706
23707
c32bde28 23708static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23709 PyObject *resultobj;
23710 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23711 bool arg2 ;
23712 PyObject * obj0 = 0 ;
23713 PyObject * obj1 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self",(char *) "flag", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail;
23721 {
23722 arg2 = (bool)(SWIG_As_bool(obj1));
23723 if (SWIG_arg_fail(2)) SWIG_fail;
23724 }
d55e5bfc
RD
23725 {
23726 PyThreadState* __tstate = wxPyBeginAllowThreads();
23727 (arg1)->SetAllPages(arg2);
23728
23729 wxPyEndAllowThreads(__tstate);
23730 if (PyErr_Occurred()) SWIG_fail;
23731 }
23732 Py_INCREF(Py_None); resultobj = Py_None;
23733 return resultobj;
23734 fail:
23735 return NULL;
23736}
23737
23738
c32bde28 23739static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23740 PyObject *resultobj;
23741 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23742 bool arg2 ;
23743 PyObject * obj0 = 0 ;
23744 PyObject * obj1 = 0 ;
23745 char *kwnames[] = {
23746 (char *) "self",(char *) "flag", NULL
23747 };
23748
23749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail;
23752 {
23753 arg2 = (bool)(SWIG_As_bool(obj1));
23754 if (SWIG_arg_fail(2)) SWIG_fail;
23755 }
d55e5bfc
RD
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 (arg1)->SetSelection(arg2);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767}
23768
23769
c32bde28 23770static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23771 PyObject *resultobj;
23772 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23773 bool arg2 ;
23774 PyObject * obj0 = 0 ;
23775 PyObject * obj1 = 0 ;
23776 char *kwnames[] = {
23777 (char *) "self",(char *) "flag", NULL
23778 };
23779
23780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23782 if (SWIG_arg_fail(1)) SWIG_fail;
23783 {
23784 arg2 = (bool)(SWIG_As_bool(obj1));
23785 if (SWIG_arg_fail(2)) SWIG_fail;
23786 }
d55e5bfc
RD
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 (arg1)->SetCollate(arg2);
23790
23791 wxPyEndAllowThreads(__tstate);
23792 if (PyErr_Occurred()) SWIG_fail;
23793 }
23794 Py_INCREF(Py_None); resultobj = Py_None;
23795 return resultobj;
23796 fail:
23797 return NULL;
23798}
23799
23800
c32bde28 23801static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23802 PyObject *resultobj;
23803 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23804 bool arg2 ;
23805 PyObject * obj0 = 0 ;
23806 PyObject * obj1 = 0 ;
23807 char *kwnames[] = {
23808 (char *) "self",(char *) "flag", NULL
23809 };
23810
23811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail;
23814 {
23815 arg2 = (bool)(SWIG_As_bool(obj1));
23816 if (SWIG_arg_fail(2)) SWIG_fail;
23817 }
d55e5bfc
RD
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 (arg1)->SetPrintToFile(arg2);
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 Py_INCREF(Py_None); resultobj = Py_None;
23826 return resultobj;
23827 fail:
23828 return NULL;
23829}
23830
23831
c32bde28 23832static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23833 PyObject *resultobj;
23834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23835 bool arg2 ;
23836 PyObject * obj0 = 0 ;
23837 PyObject * obj1 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "self",(char *) "flag", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23844 if (SWIG_arg_fail(1)) SWIG_fail;
23845 {
23846 arg2 = (bool)(SWIG_As_bool(obj1));
23847 if (SWIG_arg_fail(2)) SWIG_fail;
23848 }
d55e5bfc
RD
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 (arg1)->EnablePrintToFile(arg2);
23852
23853 wxPyEndAllowThreads(__tstate);
23854 if (PyErr_Occurred()) SWIG_fail;
23855 }
23856 Py_INCREF(Py_None); resultobj = Py_None;
23857 return resultobj;
23858 fail:
23859 return NULL;
23860}
23861
23862
c32bde28 23863static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23864 PyObject *resultobj;
23865 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23866 bool arg2 ;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self",(char *) "flag", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23875 if (SWIG_arg_fail(1)) SWIG_fail;
23876 {
23877 arg2 = (bool)(SWIG_As_bool(obj1));
23878 if (SWIG_arg_fail(2)) SWIG_fail;
23879 }
d55e5bfc
RD
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
23882 (arg1)->EnableSelection(arg2);
23883
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 Py_INCREF(Py_None); resultobj = Py_None;
23888 return resultobj;
23889 fail:
23890 return NULL;
23891}
23892
23893
c32bde28 23894static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23895 PyObject *resultobj;
23896 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23897 bool arg2 ;
23898 PyObject * obj0 = 0 ;
23899 PyObject * obj1 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "self",(char *) "flag", NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23906 if (SWIG_arg_fail(1)) SWIG_fail;
23907 {
23908 arg2 = (bool)(SWIG_As_bool(obj1));
23909 if (SWIG_arg_fail(2)) SWIG_fail;
23910 }
d55e5bfc
RD
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 (arg1)->EnablePageNumbers(arg2);
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 Py_INCREF(Py_None); resultobj = Py_None;
23919 return resultobj;
23920 fail:
23921 return NULL;
23922}
23923
23924
c32bde28 23925static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23926 PyObject *resultobj;
23927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23928 bool arg2 ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "flag", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23937 if (SWIG_arg_fail(1)) SWIG_fail;
23938 {
23939 arg2 = (bool)(SWIG_As_bool(obj1));
23940 if (SWIG_arg_fail(2)) SWIG_fail;
23941 }
d55e5bfc
RD
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 (arg1)->EnableHelp(arg2);
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 Py_INCREF(Py_None); resultobj = Py_None;
23950 return resultobj;
23951 fail:
23952 return NULL;
23953}
23954
23955
c32bde28 23956static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23957 PyObject *resultobj;
23958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23959 bool result;
23960 PyObject * obj0 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "self", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 {
23976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23977 }
23978 return resultobj;
23979 fail:
23980 return NULL;
23981}
23982
23983
c32bde28 23984static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23985 PyObject *resultobj;
23986 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23987 bool result;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 {
24004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24005 }
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
c32bde28 24012static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24013 PyObject *resultobj;
24014 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24015 bool result;
24016 PyObject * obj0 = 0 ;
24017 char *kwnames[] = {
24018 (char *) "self", NULL
24019 };
24020
24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
24022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24027
24028 wxPyEndAllowThreads(__tstate);
24029 if (PyErr_Occurred()) SWIG_fail;
24030 }
24031 {
24032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24033 }
24034 return resultobj;
24035 fail:
24036 return NULL;
24037}
24038
24039
c32bde28 24040static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24041 PyObject *resultobj;
24042 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24043 bool result;
24044 PyObject * obj0 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
24050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 {
24060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
c32bde28 24068static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24069 PyObject *resultobj;
24070 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24071 bool result;
24072 PyObject * obj0 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
24078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 {
24088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24089 }
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
c32bde28 24096static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24097 PyObject *resultobj;
24098 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24099 wxPrintData *result;
24100 PyObject * obj0 = 0 ;
24101 char *kwnames[] = {
24102 (char *) "self", NULL
24103 };
24104
24105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 {
24111 wxPrintData &_result_ref = (arg1)->GetPrintData();
24112 result = (wxPrintData *) &_result_ref;
24113 }
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24119 return resultobj;
24120 fail:
24121 return NULL;
24122}
24123
24124
c32bde28 24125static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24126 PyObject *resultobj;
24127 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24128 wxPrintData *arg2 = 0 ;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self",(char *) "printData", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24137 if (SWIG_arg_fail(1)) SWIG_fail;
24138 {
24139 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24140 if (SWIG_arg_fail(2)) SWIG_fail;
24141 if (arg2 == NULL) {
24142 SWIG_null_ref("wxPrintData");
24143 }
24144 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24145 }
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 Py_INCREF(Py_None); resultobj = Py_None;
24154 return resultobj;
24155 fail:
24156 return NULL;
24157}
24158
24159
c32bde28 24160static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24161 PyObject *obj;
24162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24163 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24164 Py_INCREF(obj);
24165 return Py_BuildValue((char *)"");
24166}
c32bde28 24167static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24168 PyObject *resultobj;
24169 wxWindow *arg1 = (wxWindow *) 0 ;
24170 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24171 wxPrintDialog *result;
24172 PyObject * obj0 = 0 ;
24173 PyObject * obj1 = 0 ;
24174 char *kwnames[] = {
24175 (char *) "parent",(char *) "data", NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24181 if (obj1) {
093d3ff1
RD
24182 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24183 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24184 }
24185 {
0439c23b 24186 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
110da5b0 24191 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24192 }
24193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24194 return resultobj;
24195 fail:
24196 return NULL;
24197}
24198
24199
c1cb24a4
RD
24200static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24203 int result;
24204 PyObject * obj0 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24211 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (int)(arg1)->ShowModal();
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
093d3ff1
RD
24219 {
24220 resultobj = SWIG_From_int((int)(result));
24221 }
c1cb24a4
RD
24222 return resultobj;
24223 fail:
24224 return NULL;
24225}
24226
24227
c32bde28 24228static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24229 PyObject *resultobj;
24230 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24231 wxPrintDialogData *result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 {
24243 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24244 result = (wxPrintDialogData *) &_result_ref;
24245 }
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24251 return resultobj;
24252 fail:
24253 return NULL;
24254}
24255
24256
c1cb24a4 24257static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24258 PyObject *resultobj;
24259 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24260 wxPrintData *result;
d55e5bfc
RD
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
c1cb24a4 24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4
RD
24271 {
24272 wxPrintData &_result_ref = (arg1)->GetPrintData();
24273 result = (wxPrintData *) &_result_ref;
24274 }
d55e5bfc
RD
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
c1cb24a4 24279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
24280 return resultobj;
24281 fail:
24282 return NULL;
24283}
24284
24285
c1cb24a4 24286static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24287 PyObject *resultobj;
24288 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24289 wxDC *result;
d55e5bfc
RD
24290 PyObject * obj0 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self", NULL
24293 };
24294
c1cb24a4 24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24300 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
c1cb24a4
RD
24305 {
24306 resultobj = wxPyMake_wxObject(result, 1);
24307 }
d55e5bfc
RD
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
c32bde28 24314static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24315 PyObject *obj;
24316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24317 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24318 Py_INCREF(obj);
24319 return Py_BuildValue((char *)"");
24320}
c32bde28 24321static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24322 PyObject *resultobj;
24323 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24324 wxPrinter *result;
24325 PyObject * obj0 = 0 ;
24326 char *kwnames[] = {
24327 (char *) "data", NULL
24328 };
24329
24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24331 if (obj0) {
093d3ff1
RD
24332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24334 }
24335 {
0439c23b 24336 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (wxPrinter *)new wxPrinter(arg1);
24339
24340 wxPyEndAllowThreads(__tstate);
110da5b0 24341 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24342 }
24343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24344 return resultobj;
24345 fail:
24346 return NULL;
24347}
24348
24349
c32bde28 24350static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24351 PyObject *resultobj;
24352 wxPrinter *arg1 = (wxPrinter *) 0 ;
24353 PyObject * obj0 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 delete arg1;
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 Py_INCREF(Py_None); resultobj = Py_None;
24369 return resultobj;
24370 fail:
24371 return NULL;
24372}
24373
24374
c32bde28 24375static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24376 PyObject *resultobj;
24377 wxPrinter *arg1 = (wxPrinter *) 0 ;
24378 wxWindow *arg2 = (wxWindow *) 0 ;
24379 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4 24380 wxWindow *result;
d55e5bfc
RD
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 PyObject * obj2 = 0 ;
24384 char *kwnames[] = {
24385 (char *) "self",(char *) "parent",(char *) "printout", NULL
24386 };
24387
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24390 if (SWIG_arg_fail(1)) SWIG_fail;
24391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24392 if (SWIG_arg_fail(2)) SWIG_fail;
24393 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24394 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24395 {
24396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24397 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24398
24399 wxPyEndAllowThreads(__tstate);
24400 if (PyErr_Occurred()) SWIG_fail;
24401 }
d55e5bfc 24402 {
c1cb24a4 24403 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24404 }
d55e5bfc
RD
24405 return resultobj;
24406 fail:
24407 return NULL;
24408}
24409
24410
c1cb24a4 24411static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24412 PyObject *resultobj;
24413 wxPrinter *arg1 = (wxPrinter *) 0 ;
24414 wxWindow *arg2 = (wxWindow *) 0 ;
24415 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24416 wxString *arg4 = 0 ;
24417 bool temp4 = false ;
d55e5bfc
RD
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 PyObject * obj2 = 0 ;
24421 PyObject * obj3 = 0 ;
24422 char *kwnames[] = {
c1cb24a4 24423 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24424 };
24425
c1cb24a4 24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24428 if (SWIG_arg_fail(1)) SWIG_fail;
24429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24430 if (SWIG_arg_fail(2)) SWIG_fail;
24431 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24432 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4
RD
24433 {
24434 arg4 = wxString_in_helper(obj3);
24435 if (arg4 == NULL) SWIG_fail;
24436 temp4 = true;
d55e5bfc
RD
24437 }
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24440 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24441
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
c1cb24a4 24445 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24446 {
c1cb24a4
RD
24447 if (temp4)
24448 delete arg4;
d55e5bfc
RD
24449 }
24450 return resultobj;
24451 fail:
c1cb24a4
RD
24452 {
24453 if (temp4)
24454 delete arg4;
24455 }
d55e5bfc
RD
24456 return NULL;
24457}
24458
24459
c1cb24a4 24460static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24461 PyObject *resultobj;
24462 wxPrinter *arg1 = (wxPrinter *) 0 ;
24463 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24464 bool result;
d55e5bfc
RD
24465 PyObject * obj0 = 0 ;
24466 PyObject * obj1 = 0 ;
24467 char *kwnames[] = {
24468 (char *) "self",(char *) "parent", NULL
24469 };
24470
c1cb24a4 24471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail;
24474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24475 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24478 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 {
c1cb24a4 24484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24485 }
24486 return resultobj;
24487 fail:
24488 return NULL;
24489}
24490
24491
c1cb24a4 24492static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24493 PyObject *resultobj;
24494 wxPrinter *arg1 = (wxPrinter *) 0 ;
24495 wxWindow *arg2 = (wxWindow *) 0 ;
24496 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24497 bool arg4 = (bool) true ;
24498 bool result;
d55e5bfc
RD
24499 PyObject * obj0 = 0 ;
24500 PyObject * obj1 = 0 ;
24501 PyObject * obj2 = 0 ;
24502 PyObject * obj3 = 0 ;
24503 char *kwnames[] = {
c1cb24a4 24504 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24505 };
24506
c1cb24a4 24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24509 if (SWIG_arg_fail(1)) SWIG_fail;
24510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24511 if (SWIG_arg_fail(2)) SWIG_fail;
24512 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24513 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4 24514 if (obj3) {
093d3ff1
RD
24515 {
24516 arg4 = (bool)(SWIG_As_bool(obj3));
24517 if (SWIG_arg_fail(4)) SWIG_fail;
24518 }
d55e5bfc
RD
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24522 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
d55e5bfc 24527 {
c1cb24a4 24528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24529 }
24530 return resultobj;
24531 fail:
d55e5bfc
RD
24532 return NULL;
24533}
24534
24535
c1cb24a4 24536static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24537 PyObject *resultobj;
24538 wxPrinter *arg1 = (wxPrinter *) 0 ;
24539 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24540 wxDC *result;
d55e5bfc
RD
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self",(char *) "parent", NULL
24545 };
24546
c1cb24a4 24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(1)) SWIG_fail;
24550 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24551 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24554 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 {
c1cb24a4 24560 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24561 }
24562 return resultobj;
24563 fail:
24564 return NULL;
24565}
24566
24567
c1cb24a4
RD
24568static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxPrinter *arg1 = (wxPrinter *) 0 ;
24571 wxPrintDialogData *result;
24572 PyObject * obj0 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 {
24583 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24584 result = (wxPrintDialogData *) &_result_ref;
24585 }
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
c32bde28 24597static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24598 PyObject *resultobj;
24599 wxPrinter *arg1 = (wxPrinter *) 0 ;
24600 bool result;
24601 PyObject * obj0 = 0 ;
24602 char *kwnames[] = {
24603 (char *) "self", NULL
24604 };
24605
24606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (bool)(arg1)->GetAbort();
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 {
24617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24618 }
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
c32bde28 24625static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 24626 PyObject *resultobj;
093d3ff1 24627 wxPrinterError result;
d55e5bfc
RD
24628 char *kwnames[] = {
24629 NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24635 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
093d3ff1 24640 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24641 return resultobj;
24642 fail:
24643 return NULL;
24644}
24645
24646
c32bde28 24647static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24648 PyObject *obj;
24649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24650 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24651 Py_INCREF(obj);
24652 return Py_BuildValue((char *)"");
24653}
c32bde28 24654static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24655 PyObject *resultobj;
24656 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24657 wxString *arg1 = (wxString *) &arg1_defvalue ;
24658 wxPyPrintout *result;
ae8162c8 24659 bool temp1 = false ;
d55e5bfc
RD
24660 PyObject * obj0 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "title", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24666 if (obj0) {
24667 {
24668 arg1 = wxString_in_helper(obj0);
24669 if (arg1 == NULL) SWIG_fail;
ae8162c8 24670 temp1 = true;
d55e5bfc
RD
24671 }
24672 }
24673 {
0439c23b 24674 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24675 PyThreadState* __tstate = wxPyBeginAllowThreads();
24676 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24677
24678 wxPyEndAllowThreads(__tstate);
110da5b0 24679 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24680 }
24681 {
412d302d 24682 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
24683 }
24684 {
24685 if (temp1)
24686 delete arg1;
24687 }
24688 return resultobj;
24689 fail:
24690 {
24691 if (temp1)
24692 delete arg1;
24693 }
24694 return NULL;
24695}
24696
24697
c32bde28 24698static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24699 PyObject *resultobj;
24700 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24701 PyObject *arg2 = (PyObject *) 0 ;
24702 PyObject *arg3 = (PyObject *) 0 ;
24703 PyObject * obj0 = 0 ;
24704 PyObject * obj1 = 0 ;
24705 PyObject * obj2 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self",(char *) "self",(char *) "_class", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24713 arg2 = obj1;
24714 arg3 = obj2;
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 (arg1)->_setCallbackInfo(arg2,arg3);
24718
24719 wxPyEndAllowThreads(__tstate);
24720 if (PyErr_Occurred()) SWIG_fail;
24721 }
24722 Py_INCREF(Py_None); resultobj = Py_None;
24723 return resultobj;
24724 fail:
24725 return NULL;
24726}
24727
24728
c32bde28 24729static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24730 PyObject *resultobj;
24731 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24732 wxString result;
24733 PyObject * obj0 = 0 ;
24734 char *kwnames[] = {
24735 (char *) "self", NULL
24736 };
24737
24738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 result = ((wxPyPrintout const *)arg1)->GetTitle();
24744
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 {
24749#if wxUSE_UNICODE
24750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24751#else
24752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24753#endif
24754 }
24755 return resultobj;
24756 fail:
24757 return NULL;
24758}
24759
24760
c32bde28 24761static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24762 PyObject *resultobj;
24763 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24764 wxDC *result;
24765 PyObject * obj0 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24773 {
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 result = (wxDC *)(arg1)->GetDC();
24776
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 {
412d302d 24781 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24782 }
24783 return resultobj;
24784 fail:
24785 return NULL;
24786}
24787
24788
c32bde28 24789static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24790 PyObject *resultobj;
24791 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24792 wxDC *arg2 = (wxDC *) 0 ;
24793 PyObject * obj0 = 0 ;
24794 PyObject * obj1 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "dc", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24801 if (SWIG_arg_fail(1)) SWIG_fail;
24802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 (arg1)->SetDC(arg2);
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
24811 Py_INCREF(Py_None); resultobj = Py_None;
24812 return resultobj;
24813 fail:
24814 return NULL;
24815}
24816
24817
c32bde28 24818static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24819 PyObject *resultobj;
24820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24821 int arg2 ;
24822 int arg3 ;
24823 PyObject * obj0 = 0 ;
24824 PyObject * obj1 = 0 ;
24825 PyObject * obj2 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self",(char *) "w",(char *) "h", NULL
24828 };
24829
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail;
24833 {
24834 arg2 = (int)(SWIG_As_int(obj1));
24835 if (SWIG_arg_fail(2)) SWIG_fail;
24836 }
24837 {
24838 arg3 = (int)(SWIG_As_int(obj2));
24839 if (SWIG_arg_fail(3)) SWIG_fail;
24840 }
d55e5bfc
RD
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 (arg1)->SetPageSizePixels(arg2,arg3);
24844
24845 wxPyEndAllowThreads(__tstate);
24846 if (PyErr_Occurred()) SWIG_fail;
24847 }
24848 Py_INCREF(Py_None); resultobj = Py_None;
24849 return resultobj;
24850 fail:
24851 return NULL;
24852}
24853
24854
c32bde28 24855static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24856 PyObject *resultobj;
24857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24858 int *arg2 = (int *) 0 ;
24859 int *arg3 = (int *) 0 ;
24860 int temp2 ;
c32bde28 24861 int res2 = 0 ;
d55e5bfc 24862 int temp3 ;
c32bde28 24863 int res3 = 0 ;
d55e5bfc
RD
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self", NULL
24867 };
24868
c32bde28
RD
24869 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24870 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24873 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 (arg1)->GetPageSizePixels(arg2,arg3);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24882 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24883 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24884 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24885 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24886 return resultobj;
24887 fail:
24888 return NULL;
24889}
24890
24891
c32bde28 24892static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24893 PyObject *resultobj;
24894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24895 int arg2 ;
24896 int arg3 ;
24897 PyObject * obj0 = 0 ;
24898 PyObject * obj1 = 0 ;
24899 PyObject * obj2 = 0 ;
24900 char *kwnames[] = {
24901 (char *) "self",(char *) "w",(char *) "h", NULL
24902 };
24903
24904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail;
24907 {
24908 arg2 = (int)(SWIG_As_int(obj1));
24909 if (SWIG_arg_fail(2)) SWIG_fail;
24910 }
24911 {
24912 arg3 = (int)(SWIG_As_int(obj2));
24913 if (SWIG_arg_fail(3)) SWIG_fail;
24914 }
d55e5bfc
RD
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->SetPageSizeMM(arg2,arg3);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 Py_INCREF(Py_None); resultobj = Py_None;
24923 return resultobj;
24924 fail:
24925 return NULL;
24926}
24927
24928
c32bde28 24929static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24930 PyObject *resultobj;
24931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24932 int *arg2 = (int *) 0 ;
24933 int *arg3 = (int *) 0 ;
24934 int temp2 ;
c32bde28 24935 int res2 = 0 ;
d55e5bfc 24936 int temp3 ;
c32bde28 24937 int res3 = 0 ;
d55e5bfc
RD
24938 PyObject * obj0 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self", NULL
24941 };
24942
c32bde28
RD
24943 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24944 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 (arg1)->GetPageSizeMM(arg2,arg3);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24956 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24957 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24958 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24959 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24960 return resultobj;
24961 fail:
24962 return NULL;
24963}
24964
24965
c32bde28 24966static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24967 PyObject *resultobj;
24968 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24969 int arg2 ;
24970 int arg3 ;
24971 PyObject * obj0 = 0 ;
24972 PyObject * obj1 = 0 ;
24973 PyObject * obj2 = 0 ;
24974 char *kwnames[] = {
24975 (char *) "self",(char *) "x",(char *) "y", NULL
24976 };
24977
24978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail;
24981 {
24982 arg2 = (int)(SWIG_As_int(obj1));
24983 if (SWIG_arg_fail(2)) SWIG_fail;
24984 }
24985 {
24986 arg3 = (int)(SWIG_As_int(obj2));
24987 if (SWIG_arg_fail(3)) SWIG_fail;
24988 }
d55e5bfc
RD
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 (arg1)->SetPPIScreen(arg2,arg3);
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 Py_INCREF(Py_None); resultobj = Py_None;
24997 return resultobj;
24998 fail:
24999 return NULL;
25000}
25001
25002
c32bde28 25003static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25004 PyObject *resultobj;
25005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25006 int *arg2 = (int *) 0 ;
25007 int *arg3 = (int *) 0 ;
25008 int temp2 ;
c32bde28 25009 int res2 = 0 ;
d55e5bfc 25010 int temp3 ;
c32bde28 25011 int res3 = 0 ;
d55e5bfc
RD
25012 PyObject * obj0 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self", NULL
25015 };
25016
c32bde28
RD
25017 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25018 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
25020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->GetPPIScreen(arg2,arg3);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25030 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25031 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25032 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25033 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25034 return resultobj;
25035 fail:
25036 return NULL;
25037}
25038
25039
c32bde28 25040static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25041 PyObject *resultobj;
25042 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25043 int arg2 ;
25044 int arg3 ;
25045 PyObject * obj0 = 0 ;
25046 PyObject * obj1 = 0 ;
25047 PyObject * obj2 = 0 ;
25048 char *kwnames[] = {
25049 (char *) "self",(char *) "x",(char *) "y", NULL
25050 };
25051
25052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail;
25055 {
25056 arg2 = (int)(SWIG_As_int(obj1));
25057 if (SWIG_arg_fail(2)) SWIG_fail;
25058 }
25059 {
25060 arg3 = (int)(SWIG_As_int(obj2));
25061 if (SWIG_arg_fail(3)) SWIG_fail;
25062 }
d55e5bfc
RD
25063 {
25064 PyThreadState* __tstate = wxPyBeginAllowThreads();
25065 (arg1)->SetPPIPrinter(arg2,arg3);
25066
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 Py_INCREF(Py_None); resultobj = Py_None;
25071 return resultobj;
25072 fail:
25073 return NULL;
25074}
25075
25076
c32bde28 25077static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25078 PyObject *resultobj;
25079 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25080 int *arg2 = (int *) 0 ;
25081 int *arg3 = (int *) 0 ;
25082 int temp2 ;
c32bde28 25083 int res2 = 0 ;
d55e5bfc 25084 int temp3 ;
c32bde28 25085 int res3 = 0 ;
d55e5bfc
RD
25086 PyObject * obj0 = 0 ;
25087 char *kwnames[] = {
25088 (char *) "self", NULL
25089 };
25090
c32bde28
RD
25091 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25092 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
25094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 (arg1)->GetPPIPrinter(arg2,arg3);
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25104 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25105 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25106 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25107 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25108 return resultobj;
25109 fail:
25110 return NULL;
25111}
25112
25113
c32bde28 25114static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25115 PyObject *resultobj;
25116 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25117 bool result;
25118 PyObject * obj0 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25126 {
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 result = (bool)(arg1)->IsPreview();
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 {
25134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25135 }
25136 return resultobj;
25137 fail:
25138 return NULL;
25139}
25140
25141
c32bde28 25142static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25143 PyObject *resultobj;
25144 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25145 bool arg2 ;
25146 PyObject * obj0 = 0 ;
25147 PyObject * obj1 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "self",(char *) "p", NULL
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail;
25155 {
25156 arg2 = (bool)(SWIG_As_bool(obj1));
25157 if (SWIG_arg_fail(2)) SWIG_fail;
25158 }
d55e5bfc
RD
25159 {
25160 PyThreadState* __tstate = wxPyBeginAllowThreads();
25161 (arg1)->SetIsPreview(arg2);
25162
25163 wxPyEndAllowThreads(__tstate);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 Py_INCREF(Py_None); resultobj = Py_None;
25167 return resultobj;
25168 fail:
25169 return NULL;
25170}
25171
25172
c32bde28 25173static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25174 PyObject *resultobj;
25175 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25176 int arg2 ;
25177 int arg3 ;
25178 bool result;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 PyObject * obj2 = 0 ;
25182 char *kwnames[] = {
25183 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25184 };
25185
25186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25188 if (SWIG_arg_fail(1)) SWIG_fail;
25189 {
25190 arg2 = (int)(SWIG_As_int(obj1));
25191 if (SWIG_arg_fail(2)) SWIG_fail;
25192 }
25193 {
25194 arg3 = (int)(SWIG_As_int(obj2));
25195 if (SWIG_arg_fail(3)) SWIG_fail;
25196 }
d55e5bfc
RD
25197 {
25198 PyThreadState* __tstate = wxPyBeginAllowThreads();
25199 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25200
25201 wxPyEndAllowThreads(__tstate);
25202 if (PyErr_Occurred()) SWIG_fail;
25203 }
25204 {
25205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25206 }
25207 return resultobj;
25208 fail:
25209 return NULL;
25210}
25211
25212
c32bde28 25213static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25214 PyObject *resultobj;
25215 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25216 PyObject * obj0 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->base_OnEndDocument();
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 Py_INCREF(Py_None); resultobj = Py_None;
25232 return resultobj;
25233 fail:
25234 return NULL;
25235}
25236
25237
c32bde28 25238static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25239 PyObject *resultobj;
25240 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25241 PyObject * obj0 = 0 ;
25242 char *kwnames[] = {
25243 (char *) "self", NULL
25244 };
25245
25246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25249 {
25250 PyThreadState* __tstate = wxPyBeginAllowThreads();
25251 (arg1)->base_OnBeginPrinting();
25252
25253 wxPyEndAllowThreads(__tstate);
25254 if (PyErr_Occurred()) SWIG_fail;
25255 }
25256 Py_INCREF(Py_None); resultobj = Py_None;
25257 return resultobj;
25258 fail:
25259 return NULL;
25260}
25261
25262
c32bde28 25263static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25264 PyObject *resultobj;
25265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25266 PyObject * obj0 = 0 ;
25267 char *kwnames[] = {
25268 (char *) "self", NULL
25269 };
25270
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25274 {
25275 PyThreadState* __tstate = wxPyBeginAllowThreads();
25276 (arg1)->base_OnEndPrinting();
25277
25278 wxPyEndAllowThreads(__tstate);
25279 if (PyErr_Occurred()) SWIG_fail;
25280 }
25281 Py_INCREF(Py_None); resultobj = Py_None;
25282 return resultobj;
25283 fail:
25284 return NULL;
25285}
25286
25287
c32bde28 25288static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25289 PyObject *resultobj;
25290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25291 PyObject * obj0 = 0 ;
25292 char *kwnames[] = {
25293 (char *) "self", NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 (arg1)->base_OnPreparePrinting();
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 Py_INCREF(Py_None); resultobj = Py_None;
25307 return resultobj;
25308 fail:
25309 return NULL;
25310}
25311
25312
c32bde28 25313static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25314 PyObject *resultobj;
25315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25316 int arg2 ;
25317 bool result;
25318 PyObject * obj0 = 0 ;
25319 PyObject * obj1 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "self",(char *) "page", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail;
25327 {
25328 arg2 = (int)(SWIG_As_int(obj1));
25329 if (SWIG_arg_fail(2)) SWIG_fail;
25330 }
d55e5bfc
RD
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 result = (bool)(arg1)->base_HasPage(arg2);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 {
25339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25340 }
25341 return resultobj;
25342 fail:
25343 return NULL;
25344}
25345
25346
c32bde28 25347static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25348 PyObject *resultobj;
25349 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25350 int *arg2 = (int *) 0 ;
25351 int *arg3 = (int *) 0 ;
25352 int *arg4 = (int *) 0 ;
25353 int *arg5 = (int *) 0 ;
25354 int temp2 ;
c32bde28 25355 int res2 = 0 ;
d55e5bfc 25356 int temp3 ;
c32bde28 25357 int res3 = 0 ;
d55e5bfc 25358 int temp4 ;
c32bde28 25359 int res4 = 0 ;
d55e5bfc 25360 int temp5 ;
c32bde28 25361 int res5 = 0 ;
d55e5bfc
RD
25362 PyObject * obj0 = 0 ;
25363 char *kwnames[] = {
25364 (char *) "self", NULL
25365 };
25366
c32bde28
RD
25367 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25368 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25369 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25370 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25382 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25383 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25384 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25385 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25386 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25387 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25388 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25389 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25390 return resultobj;
25391 fail:
25392 return NULL;
25393}
25394
25395
c32bde28 25396static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25397 PyObject *obj;
25398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25399 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25400 Py_INCREF(obj);
25401 return Py_BuildValue((char *)"");
25402}
c32bde28 25403static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25404 PyObject *resultobj;
25405 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25406 wxWindow *arg2 = (wxWindow *) 0 ;
25407 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25408 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25409 wxSize const &arg4_defvalue = wxDefaultSize ;
25410 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25411 long arg5 = (long) 0 ;
25412 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25413 wxString *arg6 = (wxString *) &arg6_defvalue ;
25414 wxPreviewCanvas *result;
25415 wxPoint temp3 ;
25416 wxSize temp4 ;
ae8162c8 25417 bool temp6 = false ;
d55e5bfc
RD
25418 PyObject * obj0 = 0 ;
25419 PyObject * obj1 = 0 ;
25420 PyObject * obj2 = 0 ;
25421 PyObject * obj3 = 0 ;
25422 PyObject * obj4 = 0 ;
25423 PyObject * obj5 = 0 ;
25424 char *kwnames[] = {
25425 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25426 };
25427
25428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25430 if (SWIG_arg_fail(1)) SWIG_fail;
25431 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25432 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25433 if (obj2) {
25434 {
25435 arg3 = &temp3;
25436 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25437 }
25438 }
25439 if (obj3) {
25440 {
25441 arg4 = &temp4;
25442 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25443 }
25444 }
25445 if (obj4) {
093d3ff1
RD
25446 {
25447 arg5 = (long)(SWIG_As_long(obj4));
25448 if (SWIG_arg_fail(5)) SWIG_fail;
25449 }
d55e5bfc
RD
25450 }
25451 if (obj5) {
25452 {
25453 arg6 = wxString_in_helper(obj5);
25454 if (arg6 == NULL) SWIG_fail;
ae8162c8 25455 temp6 = true;
d55e5bfc
RD
25456 }
25457 }
25458 {
0439c23b 25459 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25460 PyThreadState* __tstate = wxPyBeginAllowThreads();
25461 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25462
25463 wxPyEndAllowThreads(__tstate);
110da5b0 25464 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25465 }
25466 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25467 {
25468 if (temp6)
25469 delete arg6;
25470 }
25471 return resultobj;
25472 fail:
25473 {
25474 if (temp6)
25475 delete arg6;
25476 }
25477 return NULL;
25478}
25479
25480
c32bde28 25481static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25482 PyObject *obj;
25483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25484 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25485 Py_INCREF(obj);
25486 return Py_BuildValue((char *)"");
25487}
c32bde28 25488static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25489 PyObject *resultobj;
25490 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25491 wxFrame *arg2 = (wxFrame *) 0 ;
25492 wxString *arg3 = 0 ;
25493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25495 wxSize const &arg5_defvalue = wxDefaultSize ;
25496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25497 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25498 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25499 wxString *arg7 = (wxString *) &arg7_defvalue ;
25500 wxPreviewFrame *result;
ae8162c8 25501 bool temp3 = false ;
d55e5bfc
RD
25502 wxPoint temp4 ;
25503 wxSize temp5 ;
ae8162c8 25504 bool temp7 = false ;
d55e5bfc
RD
25505 PyObject * obj0 = 0 ;
25506 PyObject * obj1 = 0 ;
25507 PyObject * obj2 = 0 ;
25508 PyObject * obj3 = 0 ;
25509 PyObject * obj4 = 0 ;
25510 PyObject * obj5 = 0 ;
25511 PyObject * obj6 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail;
25519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25520 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25521 {
25522 arg3 = wxString_in_helper(obj2);
25523 if (arg3 == NULL) SWIG_fail;
ae8162c8 25524 temp3 = true;
d55e5bfc
RD
25525 }
25526 if (obj3) {
25527 {
25528 arg4 = &temp4;
25529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25530 }
25531 }
25532 if (obj4) {
25533 {
25534 arg5 = &temp5;
25535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25536 }
25537 }
25538 if (obj5) {
093d3ff1
RD
25539 {
25540 arg6 = (long)(SWIG_As_long(obj5));
25541 if (SWIG_arg_fail(6)) SWIG_fail;
25542 }
d55e5bfc
RD
25543 }
25544 if (obj6) {
25545 {
25546 arg7 = wxString_in_helper(obj6);
25547 if (arg7 == NULL) SWIG_fail;
ae8162c8 25548 temp7 = true;
d55e5bfc
RD
25549 }
25550 }
25551 {
0439c23b 25552 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25555
25556 wxPyEndAllowThreads(__tstate);
110da5b0 25557 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25558 }
25559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25560 {
25561 if (temp3)
25562 delete arg3;
25563 }
25564 {
25565 if (temp7)
25566 delete arg7;
25567 }
25568 return resultobj;
25569 fail:
25570 {
25571 if (temp3)
25572 delete arg3;
25573 }
25574 {
25575 if (temp7)
25576 delete arg7;
25577 }
25578 return NULL;
25579}
25580
25581
c32bde28 25582static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25583 PyObject *resultobj;
25584 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25585 PyObject * obj0 = 0 ;
25586 char *kwnames[] = {
25587 (char *) "self", NULL
25588 };
25589
25590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25593 {
25594 PyThreadState* __tstate = wxPyBeginAllowThreads();
25595 (arg1)->Initialize();
25596
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 Py_INCREF(Py_None); resultobj = Py_None;
25601 return resultobj;
25602 fail:
25603 return NULL;
25604}
25605
25606
c32bde28 25607static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25608 PyObject *resultobj;
25609 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25610 PyObject * obj0 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 (arg1)->CreateControlBar();
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 Py_INCREF(Py_None); resultobj = Py_None;
25626 return resultobj;
25627 fail:
25628 return NULL;
25629}
25630
25631
c32bde28 25632static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25633 PyObject *resultobj;
25634 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25635 PyObject * obj0 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "self", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 (arg1)->CreateCanvas();
25646
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 Py_INCREF(Py_None); resultobj = Py_None;
25651 return resultobj;
25652 fail:
25653 return NULL;
25654}
25655
25656
c32bde28 25657static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25658 PyObject *resultobj;
25659 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25660 wxPreviewControlBar *result;
25661 PyObject * obj0 = 0 ;
25662 char *kwnames[] = {
25663 (char *) "self", NULL
25664 };
25665
25666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25669 {
25670 PyThreadState* __tstate = wxPyBeginAllowThreads();
25671 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25672
25673 wxPyEndAllowThreads(__tstate);
25674 if (PyErr_Occurred()) SWIG_fail;
25675 }
25676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25677 return resultobj;
25678 fail:
25679 return NULL;
25680}
25681
25682
c32bde28 25683static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25684 PyObject *obj;
25685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25686 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25687 Py_INCREF(obj);
25688 return Py_BuildValue((char *)"");
25689}
c32bde28 25690static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25691 PyObject *resultobj;
25692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25693 long arg2 ;
25694 wxWindow *arg3 = (wxWindow *) 0 ;
25695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25697 wxSize const &arg5_defvalue = wxDefaultSize ;
25698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25699 long arg6 = (long) wxTAB_TRAVERSAL ;
25700 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25701 wxString *arg7 = (wxString *) &arg7_defvalue ;
25702 wxPreviewControlBar *result;
25703 wxPoint temp4 ;
25704 wxSize temp5 ;
ae8162c8 25705 bool temp7 = false ;
d55e5bfc
RD
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 PyObject * obj2 = 0 ;
25709 PyObject * obj3 = 0 ;
25710 PyObject * obj4 = 0 ;
25711 PyObject * obj5 = 0 ;
25712 PyObject * obj6 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail;
25720 {
25721 arg2 = (long)(SWIG_As_long(obj1));
25722 if (SWIG_arg_fail(2)) SWIG_fail;
25723 }
25724 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25725 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25726 if (obj3) {
25727 {
25728 arg4 = &temp4;
25729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25730 }
25731 }
25732 if (obj4) {
25733 {
25734 arg5 = &temp5;
25735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25736 }
25737 }
25738 if (obj5) {
093d3ff1
RD
25739 {
25740 arg6 = (long)(SWIG_As_long(obj5));
25741 if (SWIG_arg_fail(6)) SWIG_fail;
25742 }
d55e5bfc
RD
25743 }
25744 if (obj6) {
25745 {
25746 arg7 = wxString_in_helper(obj6);
25747 if (arg7 == NULL) SWIG_fail;
ae8162c8 25748 temp7 = true;
d55e5bfc
RD
25749 }
25750 }
25751 {
0439c23b 25752 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25753 PyThreadState* __tstate = wxPyBeginAllowThreads();
25754 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25755
25756 wxPyEndAllowThreads(__tstate);
110da5b0 25757 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25758 }
25759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25760 {
25761 if (temp7)
25762 delete arg7;
25763 }
25764 return resultobj;
25765 fail:
25766 {
25767 if (temp7)
25768 delete arg7;
25769 }
25770 return NULL;
25771}
25772
25773
c32bde28 25774static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25775 PyObject *resultobj;
25776 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25777 int result;
25778 PyObject * obj0 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "self", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25786 {
25787 PyThreadState* __tstate = wxPyBeginAllowThreads();
25788 result = (int)(arg1)->GetZoomControl();
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
093d3ff1
RD
25793 {
25794 resultobj = SWIG_From_int((int)(result));
25795 }
d55e5bfc
RD
25796 return resultobj;
25797 fail:
25798 return NULL;
25799}
25800
25801
c32bde28 25802static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25803 PyObject *resultobj;
25804 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25805 int arg2 ;
25806 PyObject * obj0 = 0 ;
25807 PyObject * obj1 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "self",(char *) "zoom", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25814 if (SWIG_arg_fail(1)) SWIG_fail;
25815 {
25816 arg2 = (int)(SWIG_As_int(obj1));
25817 if (SWIG_arg_fail(2)) SWIG_fail;
25818 }
d55e5bfc
RD
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->SetZoomControl(arg2);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830}
25831
25832
c32bde28 25833static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25834 PyObject *resultobj;
25835 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25836 wxPrintPreview *result;
25837 PyObject * obj0 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25845 {
25846 PyThreadState* __tstate = wxPyBeginAllowThreads();
25847 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25848
25849 wxPyEndAllowThreads(__tstate);
25850 if (PyErr_Occurred()) SWIG_fail;
25851 }
25852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25853 return resultobj;
25854 fail:
25855 return NULL;
25856}
25857
25858
c32bde28 25859static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25860 PyObject *resultobj;
25861 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25862 PyObject * obj0 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 (arg1)->OnNext();
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 Py_INCREF(Py_None); resultobj = Py_None;
25878 return resultobj;
25879 fail:
25880 return NULL;
25881}
25882
25883
c32bde28 25884static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25885 PyObject *resultobj;
25886 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25887 PyObject * obj0 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->OnPrevious();
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 Py_INCREF(Py_None); resultobj = Py_None;
25903 return resultobj;
25904 fail:
25905 return NULL;
25906}
25907
25908
c32bde28 25909static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25910 PyObject *resultobj;
25911 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25912 PyObject * obj0 = 0 ;
25913 char *kwnames[] = {
25914 (char *) "self", NULL
25915 };
25916
25917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->OnFirst();
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 Py_INCREF(Py_None); resultobj = Py_None;
25928 return resultobj;
25929 fail:
25930 return NULL;
25931}
25932
25933
c32bde28 25934static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25935 PyObject *resultobj;
25936 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25937 PyObject * obj0 = 0 ;
25938 char *kwnames[] = {
25939 (char *) "self", NULL
25940 };
25941
25942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 (arg1)->OnLast();
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 Py_INCREF(Py_None); resultobj = Py_None;
25953 return resultobj;
25954 fail:
25955 return NULL;
25956}
25957
25958
c32bde28 25959static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25960 PyObject *resultobj;
25961 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25962 PyObject * obj0 = 0 ;
25963 char *kwnames[] = {
25964 (char *) "self", NULL
25965 };
25966
25967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25970 {
25971 PyThreadState* __tstate = wxPyBeginAllowThreads();
25972 (arg1)->OnGoto();
25973
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 Py_INCREF(Py_None); resultobj = Py_None;
25978 return resultobj;
25979 fail:
25980 return NULL;
25981}
25982
25983
c32bde28 25984static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25985 PyObject *obj;
25986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25987 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25988 Py_INCREF(obj);
25989 return Py_BuildValue((char *)"");
25990}
c32bde28 25991static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
25992 PyObject *resultobj;
25993 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25994 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25995 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25996 wxPrintPreview *result;
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 PyObject * obj2 = 0 ;
26000
26001 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail;
26004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26005 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26006 if (obj2) {
093d3ff1
RD
26007 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26008 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26009 }
26010 {
0439c23b 26011 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26012 PyThreadState* __tstate = wxPyBeginAllowThreads();
26013 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26014
26015 wxPyEndAllowThreads(__tstate);
110da5b0 26016 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26017 }
26018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26019 return resultobj;
26020 fail:
26021 return NULL;
26022}
26023
26024
c32bde28 26025static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26026 PyObject *resultobj;
26027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26028 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26029 wxPrintData *arg3 = (wxPrintData *) 0 ;
26030 wxPrintPreview *result;
26031 PyObject * obj0 = 0 ;
26032 PyObject * obj1 = 0 ;
26033 PyObject * obj2 = 0 ;
26034
26035 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail;
26038 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26039 if (SWIG_arg_fail(2)) SWIG_fail;
26040 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26041 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26042 {
0439c23b 26043 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26046
26047 wxPyEndAllowThreads(__tstate);
110da5b0 26048 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26049 }
26050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26051 return resultobj;
26052 fail:
26053 return NULL;
26054}
26055
26056
26057static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26058 int argc;
26059 PyObject *argv[4];
26060 int ii;
26061
26062 argc = PyObject_Length(args);
26063 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26064 argv[ii] = PyTuple_GetItem(args,ii);
26065 }
26066 if ((argc >= 2) && (argc <= 3)) {
26067 int _v;
26068 {
26069 void *ptr;
26070 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26071 _v = 0;
26072 PyErr_Clear();
26073 } else {
26074 _v = 1;
26075 }
26076 }
26077 if (_v) {
26078 {
26079 void *ptr;
26080 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26081 _v = 0;
26082 PyErr_Clear();
26083 } else {
26084 _v = 1;
26085 }
26086 }
26087 if (_v) {
26088 if (argc <= 2) {
26089 return _wrap_new_PrintPreview__SWIG_0(self,args);
26090 }
26091 {
26092 void *ptr;
26093 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26094 _v = 0;
26095 PyErr_Clear();
26096 } else {
26097 _v = 1;
26098 }
26099 }
26100 if (_v) {
26101 return _wrap_new_PrintPreview__SWIG_0(self,args);
26102 }
26103 }
26104 }
26105 }
26106 if (argc == 3) {
26107 int _v;
26108 {
26109 void *ptr;
26110 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26111 _v = 0;
26112 PyErr_Clear();
26113 } else {
26114 _v = 1;
26115 }
26116 }
26117 if (_v) {
26118 {
26119 void *ptr;
26120 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26121 _v = 0;
26122 PyErr_Clear();
26123 } else {
26124 _v = 1;
26125 }
26126 }
26127 if (_v) {
26128 {
26129 void *ptr;
26130 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26131 _v = 0;
26132 PyErr_Clear();
26133 } else {
26134 _v = 1;
26135 }
26136 }
26137 if (_v) {
26138 return _wrap_new_PrintPreview__SWIG_1(self,args);
26139 }
26140 }
26141 }
26142 }
26143
093d3ff1 26144 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
26145 return NULL;
26146}
26147
26148
c32bde28 26149static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26150 PyObject *resultobj;
26151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26152 int arg2 ;
26153 bool result;
26154 PyObject * obj0 = 0 ;
26155 PyObject * obj1 = 0 ;
26156 char *kwnames[] = {
26157 (char *) "self",(char *) "pageNum", NULL
26158 };
26159
26160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail;
26163 {
26164 arg2 = (int)(SWIG_As_int(obj1));
26165 if (SWIG_arg_fail(2)) SWIG_fail;
26166 }
d55e5bfc
RD
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 result = (bool)(arg1)->SetCurrentPage(arg2);
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 {
26175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26176 }
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
c32bde28 26183static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26184 PyObject *resultobj;
26185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26186 int result;
26187 PyObject * obj0 = 0 ;
26188 char *kwnames[] = {
26189 (char *) "self", NULL
26190 };
26191
26192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 result = (int)(arg1)->GetCurrentPage();
26198
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
093d3ff1
RD
26202 {
26203 resultobj = SWIG_From_int((int)(result));
26204 }
d55e5bfc
RD
26205 return resultobj;
26206 fail:
26207 return NULL;
26208}
26209
26210
c32bde28 26211static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26212 PyObject *resultobj;
26213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26214 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj1 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self",(char *) "printout", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26223 if (SWIG_arg_fail(1)) SWIG_fail;
26224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26225 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 (arg1)->SetPrintout(arg2);
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 Py_INCREF(Py_None); resultobj = Py_None;
26234 return resultobj;
26235 fail:
26236 return NULL;
26237}
26238
26239
c32bde28 26240static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26241 PyObject *resultobj;
26242 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26243 wxPyPrintout *result;
26244 PyObject * obj0 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26252 {
26253 PyThreadState* __tstate = wxPyBeginAllowThreads();
26254 result = (wxPyPrintout *)(arg1)->GetPrintout();
26255
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 {
412d302d 26260 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26261 }
26262 return resultobj;
26263 fail:
26264 return NULL;
26265}
26266
26267
c32bde28 26268static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26269 PyObject *resultobj;
26270 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26271 wxPyPrintout *result;
26272 PyObject * obj0 = 0 ;
26273 char *kwnames[] = {
26274 (char *) "self", NULL
26275 };
26276
26277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 {
412d302d 26288 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26289 }
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
c32bde28 26296static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26297 PyObject *resultobj;
26298 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26299 wxFrame *arg2 = (wxFrame *) 0 ;
26300 PyObject * obj0 = 0 ;
26301 PyObject * obj1 = 0 ;
26302 char *kwnames[] = {
26303 (char *) "self",(char *) "frame", NULL
26304 };
26305
26306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26308 if (SWIG_arg_fail(1)) SWIG_fail;
26309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26310 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26311 {
26312 PyThreadState* __tstate = wxPyBeginAllowThreads();
26313 (arg1)->SetFrame(arg2);
26314
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 Py_INCREF(Py_None); resultobj = Py_None;
26319 return resultobj;
26320 fail:
26321 return NULL;
26322}
26323
26324
c32bde28 26325static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26326 PyObject *resultobj;
26327 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26328 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26329 PyObject * obj0 = 0 ;
26330 PyObject * obj1 = 0 ;
26331 char *kwnames[] = {
26332 (char *) "self",(char *) "canvas", NULL
26333 };
26334
26335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26337 if (SWIG_arg_fail(1)) SWIG_fail;
26338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26339 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26340 {
26341 PyThreadState* __tstate = wxPyBeginAllowThreads();
26342 (arg1)->SetCanvas(arg2);
26343
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 Py_INCREF(Py_None); resultobj = Py_None;
26348 return resultobj;
26349 fail:
26350 return NULL;
26351}
26352
26353
c32bde28 26354static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26355 PyObject *resultobj;
26356 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26357 wxFrame *result;
26358 PyObject * obj0 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (wxFrame *)(arg1)->GetFrame();
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 {
412d302d 26374 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26375 }
26376 return resultobj;
26377 fail:
26378 return NULL;
26379}
26380
26381
c32bde28 26382static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26383 PyObject *resultobj;
26384 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26385 wxPreviewCanvas *result;
26386 PyObject * obj0 = 0 ;
26387 char *kwnames[] = {
26388 (char *) "self", NULL
26389 };
26390
26391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26397
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26402 return resultobj;
26403 fail:
26404 return NULL;
26405}
26406
26407
c32bde28 26408static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26409 PyObject *resultobj;
26410 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26411 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26412 wxDC *arg3 = 0 ;
26413 bool result;
26414 PyObject * obj0 = 0 ;
26415 PyObject * obj1 = 0 ;
26416 PyObject * obj2 = 0 ;
26417 char *kwnames[] = {
26418 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26423 if (SWIG_arg_fail(1)) SWIG_fail;
26424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26425 if (SWIG_arg_fail(2)) SWIG_fail;
26426 {
26427 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(3)) SWIG_fail;
26429 if (arg3 == NULL) {
26430 SWIG_null_ref("wxDC");
26431 }
26432 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 {
26442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26443 }
26444 return resultobj;
26445 fail:
26446 return NULL;
26447}
26448
26449
c32bde28 26450static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26451 PyObject *resultobj;
26452 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26453 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26454 wxDC *arg3 = 0 ;
26455 bool result;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 PyObject * obj2 = 0 ;
26459 char *kwnames[] = {
26460 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26461 };
26462
26463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26465 if (SWIG_arg_fail(1)) SWIG_fail;
26466 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26467 if (SWIG_arg_fail(2)) SWIG_fail;
26468 {
26469 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26470 if (SWIG_arg_fail(3)) SWIG_fail;
26471 if (arg3 == NULL) {
26472 SWIG_null_ref("wxDC");
26473 }
26474 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26475 }
26476 {
26477 PyThreadState* __tstate = wxPyBeginAllowThreads();
26478 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26479
26480 wxPyEndAllowThreads(__tstate);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 }
26483 {
26484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26485 }
26486 return resultobj;
26487 fail:
26488 return NULL;
26489}
26490
26491
c32bde28 26492static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26493 PyObject *resultobj;
26494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26495 int arg2 ;
26496 bool result;
26497 PyObject * obj0 = 0 ;
26498 PyObject * obj1 = 0 ;
26499 char *kwnames[] = {
26500 (char *) "self",(char *) "pageNum", NULL
26501 };
26502
26503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26505 if (SWIG_arg_fail(1)) SWIG_fail;
26506 {
26507 arg2 = (int)(SWIG_As_int(obj1));
26508 if (SWIG_arg_fail(2)) SWIG_fail;
26509 }
d55e5bfc
RD
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 result = (bool)(arg1)->RenderPage(arg2);
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 {
26518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26519 }
26520 return resultobj;
26521 fail:
26522 return NULL;
26523}
26524
26525
c32bde28 26526static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26527 PyObject *resultobj;
26528 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26529 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self",(char *) "canvas", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26538 if (SWIG_arg_fail(1)) SWIG_fail;
26539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 (arg1)->AdjustScrollbars(arg2);
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 Py_INCREF(Py_None); resultobj = Py_None;
26549 return resultobj;
26550 fail:
26551 return NULL;
26552}
26553
26554
c32bde28 26555static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26556 PyObject *resultobj;
26557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26558 wxPrintDialogData *result;
26559 PyObject * obj0 = 0 ;
26560 char *kwnames[] = {
26561 (char *) "self", NULL
26562 };
26563
26564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 {
26570 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26571 result = (wxPrintDialogData *) &_result_ref;
26572 }
26573
26574 wxPyEndAllowThreads(__tstate);
26575 if (PyErr_Occurred()) SWIG_fail;
26576 }
26577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26578 return resultobj;
26579 fail:
26580 return NULL;
26581}
26582
26583
c32bde28 26584static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26585 PyObject *resultobj;
26586 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26587 int arg2 ;
26588 PyObject * obj0 = 0 ;
26589 PyObject * obj1 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "self",(char *) "percent", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26596 if (SWIG_arg_fail(1)) SWIG_fail;
26597 {
26598 arg2 = (int)(SWIG_As_int(obj1));
26599 if (SWIG_arg_fail(2)) SWIG_fail;
26600 }
d55e5bfc
RD
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
26603 (arg1)->SetZoom(arg2);
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 Py_INCREF(Py_None); resultobj = Py_None;
26609 return resultobj;
26610 fail:
26611 return NULL;
26612}
26613
26614
c32bde28 26615static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26616 PyObject *resultobj;
26617 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26618 int result;
26619 PyObject * obj0 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "self", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 result = (int)(arg1)->GetZoom();
26630
26631 wxPyEndAllowThreads(__tstate);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 }
093d3ff1
RD
26634 {
26635 resultobj = SWIG_From_int((int)(result));
26636 }
d55e5bfc
RD
26637 return resultobj;
26638 fail:
26639 return NULL;
26640}
26641
26642
c32bde28 26643static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26644 PyObject *resultobj;
26645 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26646 int result;
26647 PyObject * obj0 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self", NULL
26650 };
26651
26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26655 {
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 result = (int)(arg1)->GetMaxPage();
26658
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
093d3ff1
RD
26662 {
26663 resultobj = SWIG_From_int((int)(result));
26664 }
d55e5bfc
RD
26665 return resultobj;
26666 fail:
26667 return NULL;
26668}
26669
26670
c32bde28 26671static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26672 PyObject *resultobj;
26673 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26674 int result;
26675 PyObject * obj0 = 0 ;
26676 char *kwnames[] = {
26677 (char *) "self", NULL
26678 };
26679
26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 result = (int)(arg1)->GetMinPage();
26686
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
093d3ff1
RD
26690 {
26691 resultobj = SWIG_From_int((int)(result));
26692 }
d55e5bfc
RD
26693 return resultobj;
26694 fail:
26695 return NULL;
26696}
26697
26698
c32bde28 26699static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26700 PyObject *resultobj;
26701 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26702 bool result;
26703 PyObject * obj0 = 0 ;
26704 char *kwnames[] = {
26705 (char *) "self", NULL
26706 };
26707
26708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26711 {
26712 PyThreadState* __tstate = wxPyBeginAllowThreads();
26713 result = (bool)(arg1)->Ok();
26714
26715 wxPyEndAllowThreads(__tstate);
26716 if (PyErr_Occurred()) SWIG_fail;
26717 }
26718 {
26719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26720 }
26721 return resultobj;
26722 fail:
26723 return NULL;
26724}
26725
26726
c32bde28 26727static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26728 PyObject *resultobj;
26729 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26730 bool arg2 ;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "ok", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26739 if (SWIG_arg_fail(1)) SWIG_fail;
26740 {
26741 arg2 = (bool)(SWIG_As_bool(obj1));
26742 if (SWIG_arg_fail(2)) SWIG_fail;
26743 }
d55e5bfc
RD
26744 {
26745 PyThreadState* __tstate = wxPyBeginAllowThreads();
26746 (arg1)->SetOk(arg2);
26747
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 Py_INCREF(Py_None); resultobj = Py_None;
26752 return resultobj;
26753 fail:
26754 return NULL;
26755}
26756
26757
c32bde28 26758static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26759 PyObject *resultobj;
26760 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26761 bool arg2 ;
26762 bool result;
26763 PyObject * obj0 = 0 ;
26764 PyObject * obj1 = 0 ;
26765 char *kwnames[] = {
26766 (char *) "self",(char *) "interactive", NULL
26767 };
26768
26769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26771 if (SWIG_arg_fail(1)) SWIG_fail;
26772 {
26773 arg2 = (bool)(SWIG_As_bool(obj1));
26774 if (SWIG_arg_fail(2)) SWIG_fail;
26775 }
d55e5bfc
RD
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (bool)(arg1)->Print(arg2);
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 {
26784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26785 }
26786 return resultobj;
26787 fail:
26788 return NULL;
26789}
26790
26791
c32bde28 26792static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26793 PyObject *resultobj;
26794 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26795 PyObject * obj0 = 0 ;
26796 char *kwnames[] = {
26797 (char *) "self", NULL
26798 };
26799
26800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 (arg1)->DetermineScaling();
26806
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 Py_INCREF(Py_None); resultobj = Py_None;
26811 return resultobj;
26812 fail:
26813 return NULL;
26814}
26815
26816
c32bde28 26817static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26818 PyObject *obj;
26819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26820 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26821 Py_INCREF(obj);
26822 return Py_BuildValue((char *)"");
26823}
c32bde28 26824static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26825 PyObject *resultobj;
26826 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26827 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26828 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26829 wxPyPrintPreview *result;
26830 PyObject * obj0 = 0 ;
26831 PyObject * obj1 = 0 ;
26832 PyObject * obj2 = 0 ;
26833
26834 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26836 if (SWIG_arg_fail(1)) SWIG_fail;
26837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26838 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26839 if (obj2) {
093d3ff1
RD
26840 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26841 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26842 }
26843 {
0439c23b 26844 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26847
26848 wxPyEndAllowThreads(__tstate);
110da5b0 26849 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26850 }
26851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26852 return resultobj;
26853 fail:
26854 return NULL;
26855}
26856
26857
c32bde28 26858static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26859 PyObject *resultobj;
26860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26861 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26862 wxPrintData *arg3 = (wxPrintData *) 0 ;
26863 wxPyPrintPreview *result;
26864 PyObject * obj0 = 0 ;
26865 PyObject * obj1 = 0 ;
26866 PyObject * obj2 = 0 ;
26867
26868 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
26871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26872 if (SWIG_arg_fail(2)) SWIG_fail;
26873 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26874 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26875 {
0439c23b 26876 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26879
26880 wxPyEndAllowThreads(__tstate);
110da5b0 26881 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26882 }
26883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26884 return resultobj;
26885 fail:
26886 return NULL;
26887}
26888
26889
26890static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26891 int argc;
26892 PyObject *argv[4];
26893 int ii;
26894
26895 argc = PyObject_Length(args);
26896 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26897 argv[ii] = PyTuple_GetItem(args,ii);
26898 }
26899 if ((argc >= 2) && (argc <= 3)) {
26900 int _v;
26901 {
26902 void *ptr;
26903 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26904 _v = 0;
26905 PyErr_Clear();
26906 } else {
26907 _v = 1;
26908 }
26909 }
26910 if (_v) {
26911 {
26912 void *ptr;
26913 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26914 _v = 0;
26915 PyErr_Clear();
26916 } else {
26917 _v = 1;
26918 }
26919 }
26920 if (_v) {
26921 if (argc <= 2) {
26922 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26923 }
26924 {
26925 void *ptr;
26926 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26927 _v = 0;
26928 PyErr_Clear();
26929 } else {
26930 _v = 1;
26931 }
26932 }
26933 if (_v) {
26934 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26935 }
26936 }
26937 }
26938 }
26939 if (argc == 3) {
26940 int _v;
26941 {
26942 void *ptr;
26943 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26944 _v = 0;
26945 PyErr_Clear();
26946 } else {
26947 _v = 1;
26948 }
26949 }
26950 if (_v) {
26951 {
26952 void *ptr;
26953 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26954 _v = 0;
26955 PyErr_Clear();
26956 } else {
26957 _v = 1;
26958 }
26959 }
26960 if (_v) {
26961 {
26962 void *ptr;
26963 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26964 _v = 0;
26965 PyErr_Clear();
26966 } else {
26967 _v = 1;
26968 }
26969 }
26970 if (_v) {
26971 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26972 }
26973 }
26974 }
26975 }
26976
093d3ff1 26977 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26978 return NULL;
26979}
26980
26981
c32bde28 26982static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26983 PyObject *resultobj;
26984 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26985 PyObject *arg2 = (PyObject *) 0 ;
26986 PyObject *arg3 = (PyObject *) 0 ;
26987 PyObject * obj0 = 0 ;
26988 PyObject * obj1 = 0 ;
26989 PyObject * obj2 = 0 ;
26990 char *kwnames[] = {
26991 (char *) "self",(char *) "self",(char *) "_class", NULL
26992 };
26993
26994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26997 arg2 = obj1;
26998 arg3 = obj2;
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 (arg1)->_setCallbackInfo(arg2,arg3);
27002
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 Py_INCREF(Py_None); resultobj = Py_None;
27007 return resultobj;
27008 fail:
27009 return NULL;
27010}
27011
27012
c32bde28 27013static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27014 PyObject *resultobj;
27015 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27016 int arg2 ;
27017 bool result;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 char *kwnames[] = {
27021 (char *) "self",(char *) "pageNum", NULL
27022 };
27023
27024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27026 if (SWIG_arg_fail(1)) SWIG_fail;
27027 {
27028 arg2 = (int)(SWIG_As_int(obj1));
27029 if (SWIG_arg_fail(2)) SWIG_fail;
27030 }
d55e5bfc
RD
27031 {
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27034
27035 wxPyEndAllowThreads(__tstate);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 }
27038 {
27039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27040 }
27041 return resultobj;
27042 fail:
27043 return NULL;
27044}
27045
27046
c32bde28 27047static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27048 PyObject *resultobj;
27049 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27050 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27051 wxDC *arg3 = 0 ;
27052 bool result;
27053 PyObject * obj0 = 0 ;
27054 PyObject * obj1 = 0 ;
27055 PyObject * obj2 = 0 ;
27056 char *kwnames[] = {
27057 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27058 };
27059
27060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27062 if (SWIG_arg_fail(1)) SWIG_fail;
27063 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27064 if (SWIG_arg_fail(2)) SWIG_fail;
27065 {
27066 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27067 if (SWIG_arg_fail(3)) SWIG_fail;
27068 if (arg3 == NULL) {
27069 SWIG_null_ref("wxDC");
27070 }
27071 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27072 }
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27076
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
27080 {
27081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27082 }
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
c32bde28 27089static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27090 PyObject *resultobj;
27091 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27092 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27093 wxDC *arg3 = 0 ;
27094 bool result;
27095 PyObject * obj0 = 0 ;
27096 PyObject * obj1 = 0 ;
27097 PyObject * obj2 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail;
27105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27106 if (SWIG_arg_fail(2)) SWIG_fail;
27107 {
27108 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27109 if (SWIG_arg_fail(3)) SWIG_fail;
27110 if (arg3 == NULL) {
27111 SWIG_null_ref("wxDC");
27112 }
27113 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27114 }
27115 {
27116 PyThreadState* __tstate = wxPyBeginAllowThreads();
27117 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27118
27119 wxPyEndAllowThreads(__tstate);
27120 if (PyErr_Occurred()) SWIG_fail;
27121 }
27122 {
27123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27124 }
27125 return resultobj;
27126 fail:
27127 return NULL;
27128}
27129
27130
c32bde28 27131static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27132 PyObject *resultobj;
27133 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27134 int arg2 ;
27135 bool result;
27136 PyObject * obj0 = 0 ;
27137 PyObject * obj1 = 0 ;
27138 char *kwnames[] = {
27139 (char *) "self",(char *) "pageNum", NULL
27140 };
27141
27142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27144 if (SWIG_arg_fail(1)) SWIG_fail;
27145 {
27146 arg2 = (int)(SWIG_As_int(obj1));
27147 if (SWIG_arg_fail(2)) SWIG_fail;
27148 }
d55e5bfc
RD
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 result = (bool)(arg1)->base_RenderPage(arg2);
27152
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 {
27157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27158 }
27159 return resultobj;
27160 fail:
27161 return NULL;
27162}
27163
27164
c32bde28 27165static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27166 PyObject *resultobj;
27167 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27168 int arg2 ;
27169 PyObject * obj0 = 0 ;
27170 PyObject * obj1 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self",(char *) "percent", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27177 if (SWIG_arg_fail(1)) SWIG_fail;
27178 {
27179 arg2 = (int)(SWIG_As_int(obj1));
27180 if (SWIG_arg_fail(2)) SWIG_fail;
27181 }
d55e5bfc
RD
27182 {
27183 PyThreadState* __tstate = wxPyBeginAllowThreads();
27184 (arg1)->base_SetZoom(arg2);
27185
27186 wxPyEndAllowThreads(__tstate);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
27189 Py_INCREF(Py_None); resultobj = Py_None;
27190 return resultobj;
27191 fail:
27192 return NULL;
27193}
27194
27195
c32bde28 27196static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27197 PyObject *resultobj;
27198 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27199 bool arg2 ;
27200 bool result;
27201 PyObject * obj0 = 0 ;
27202 PyObject * obj1 = 0 ;
27203 char *kwnames[] = {
27204 (char *) "self",(char *) "interactive", NULL
27205 };
27206
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail;
27210 {
27211 arg2 = (bool)(SWIG_As_bool(obj1));
27212 if (SWIG_arg_fail(2)) SWIG_fail;
27213 }
d55e5bfc
RD
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 result = (bool)(arg1)->base_Print(arg2);
27217
27218 wxPyEndAllowThreads(__tstate);
27219 if (PyErr_Occurred()) SWIG_fail;
27220 }
27221 {
27222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27223 }
27224 return resultobj;
27225 fail:
27226 return NULL;
27227}
27228
27229
c32bde28 27230static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27231 PyObject *resultobj;
27232 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27233 PyObject * obj0 = 0 ;
27234 char *kwnames[] = {
27235 (char *) "self", NULL
27236 };
27237
27238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27241 {
27242 PyThreadState* __tstate = wxPyBeginAllowThreads();
27243 (arg1)->base_DetermineScaling();
27244
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 Py_INCREF(Py_None); resultobj = Py_None;
27249 return resultobj;
27250 fail:
27251 return NULL;
27252}
27253
27254
c32bde28 27255static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27256 PyObject *obj;
27257 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27258 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27259 Py_INCREF(obj);
27260 return Py_BuildValue((char *)"");
27261}
c32bde28 27262static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27263 PyObject *resultobj;
27264 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27265 wxFrame *arg2 = (wxFrame *) 0 ;
27266 wxString *arg3 = 0 ;
27267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27269 wxSize const &arg5_defvalue = wxDefaultSize ;
27270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27271 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27272 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27273 wxString *arg7 = (wxString *) &arg7_defvalue ;
27274 wxPyPreviewFrame *result;
ae8162c8 27275 bool temp3 = false ;
d55e5bfc
RD
27276 wxPoint temp4 ;
27277 wxSize temp5 ;
ae8162c8 27278 bool temp7 = false ;
d55e5bfc
RD
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 PyObject * obj2 = 0 ;
27282 PyObject * obj3 = 0 ;
27283 PyObject * obj4 = 0 ;
27284 PyObject * obj5 = 0 ;
27285 PyObject * obj6 = 0 ;
27286 char *kwnames[] = {
27287 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27288 };
27289
27290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail;
27293 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27294 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27295 {
27296 arg3 = wxString_in_helper(obj2);
27297 if (arg3 == NULL) SWIG_fail;
ae8162c8 27298 temp3 = true;
d55e5bfc
RD
27299 }
27300 if (obj3) {
27301 {
27302 arg4 = &temp4;
27303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27304 }
27305 }
27306 if (obj4) {
27307 {
27308 arg5 = &temp5;
27309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27310 }
27311 }
27312 if (obj5) {
093d3ff1
RD
27313 {
27314 arg6 = (long)(SWIG_As_long(obj5));
27315 if (SWIG_arg_fail(6)) SWIG_fail;
27316 }
d55e5bfc
RD
27317 }
27318 if (obj6) {
27319 {
27320 arg7 = wxString_in_helper(obj6);
27321 if (arg7 == NULL) SWIG_fail;
ae8162c8 27322 temp7 = true;
d55e5bfc
RD
27323 }
27324 }
27325 {
0439c23b 27326 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27327 PyThreadState* __tstate = wxPyBeginAllowThreads();
27328 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27329
27330 wxPyEndAllowThreads(__tstate);
110da5b0 27331 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27332 }
27333 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27334 {
27335 if (temp3)
27336 delete arg3;
27337 }
27338 {
27339 if (temp7)
27340 delete arg7;
27341 }
27342 return resultobj;
27343 fail:
27344 {
27345 if (temp3)
27346 delete arg3;
27347 }
27348 {
27349 if (temp7)
27350 delete arg7;
27351 }
27352 return NULL;
27353}
27354
27355
c32bde28 27356static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27357 PyObject *resultobj;
27358 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27359 PyObject *arg2 = (PyObject *) 0 ;
27360 PyObject *arg3 = (PyObject *) 0 ;
27361 PyObject * obj0 = 0 ;
27362 PyObject * obj1 = 0 ;
27363 PyObject * obj2 = 0 ;
27364 char *kwnames[] = {
27365 (char *) "self",(char *) "self",(char *) "_class", NULL
27366 };
27367
27368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27371 arg2 = obj1;
27372 arg3 = obj2;
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 (arg1)->_setCallbackInfo(arg2,arg3);
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 Py_INCREF(Py_None); resultobj = Py_None;
27381 return resultobj;
27382 fail:
27383 return NULL;
27384}
27385
27386
c32bde28 27387static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27388 PyObject *resultobj;
27389 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27390 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27391 PyObject * obj0 = 0 ;
27392 PyObject * obj1 = 0 ;
27393 char *kwnames[] = {
27394 (char *) "self",(char *) "canvas", NULL
27395 };
27396
27397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27399 if (SWIG_arg_fail(1)) SWIG_fail;
27400 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27401 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27402 {
27403 PyThreadState* __tstate = wxPyBeginAllowThreads();
27404 (arg1)->SetPreviewCanvas(arg2);
27405
27406 wxPyEndAllowThreads(__tstate);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
27409 Py_INCREF(Py_None); resultobj = Py_None;
27410 return resultobj;
27411 fail:
27412 return NULL;
27413}
27414
27415
c32bde28 27416static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27417 PyObject *resultobj;
27418 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27419 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27420 PyObject * obj0 = 0 ;
27421 PyObject * obj1 = 0 ;
27422 char *kwnames[] = {
27423 (char *) "self",(char *) "bar", NULL
27424 };
27425
27426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27428 if (SWIG_arg_fail(1)) SWIG_fail;
27429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27430 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27431 {
27432 PyThreadState* __tstate = wxPyBeginAllowThreads();
27433 (arg1)->SetControlBar(arg2);
27434
27435 wxPyEndAllowThreads(__tstate);
27436 if (PyErr_Occurred()) SWIG_fail;
27437 }
27438 Py_INCREF(Py_None); resultobj = Py_None;
27439 return resultobj;
27440 fail:
27441 return NULL;
27442}
27443
27444
c32bde28 27445static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27446 PyObject *resultobj;
27447 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27448 PyObject * obj0 = 0 ;
27449 char *kwnames[] = {
27450 (char *) "self", NULL
27451 };
27452
27453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27456 {
27457 PyThreadState* __tstate = wxPyBeginAllowThreads();
27458 (arg1)->base_Initialize();
27459
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
27463 Py_INCREF(Py_None); resultobj = Py_None;
27464 return resultobj;
27465 fail:
27466 return NULL;
27467}
27468
27469
c32bde28 27470static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27471 PyObject *resultobj;
27472 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27473 PyObject * obj0 = 0 ;
27474 char *kwnames[] = {
27475 (char *) "self", NULL
27476 };
27477
27478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 (arg1)->base_CreateCanvas();
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 Py_INCREF(Py_None); resultobj = Py_None;
27489 return resultobj;
27490 fail:
27491 return NULL;
27492}
27493
27494
c32bde28 27495static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27496 PyObject *resultobj;
27497 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27498 PyObject * obj0 = 0 ;
27499 char *kwnames[] = {
27500 (char *) "self", NULL
27501 };
27502
27503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27506 {
27507 PyThreadState* __tstate = wxPyBeginAllowThreads();
27508 (arg1)->base_CreateControlBar();
27509
27510 wxPyEndAllowThreads(__tstate);
27511 if (PyErr_Occurred()) SWIG_fail;
27512 }
27513 Py_INCREF(Py_None); resultobj = Py_None;
27514 return resultobj;
27515 fail:
27516 return NULL;
27517}
27518
27519
c32bde28 27520static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27521 PyObject *obj;
27522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27523 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27524 Py_INCREF(obj);
27525 return Py_BuildValue((char *)"");
27526}
c32bde28 27527static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27528 PyObject *resultobj;
27529 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27530 long arg2 ;
27531 wxWindow *arg3 = (wxWindow *) 0 ;
27532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27534 wxSize const &arg5_defvalue = wxDefaultSize ;
27535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27536 long arg6 = (long) 0 ;
27537 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27538 wxString *arg7 = (wxString *) &arg7_defvalue ;
27539 wxPyPreviewControlBar *result;
27540 wxPoint temp4 ;
27541 wxSize temp5 ;
ae8162c8 27542 bool temp7 = false ;
d55e5bfc
RD
27543 PyObject * obj0 = 0 ;
27544 PyObject * obj1 = 0 ;
27545 PyObject * obj2 = 0 ;
27546 PyObject * obj3 = 0 ;
27547 PyObject * obj4 = 0 ;
27548 PyObject * obj5 = 0 ;
27549 PyObject * obj6 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail;
27557 {
27558 arg2 = (long)(SWIG_As_long(obj1));
27559 if (SWIG_arg_fail(2)) SWIG_fail;
27560 }
27561 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27562 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27563 if (obj3) {
27564 {
27565 arg4 = &temp4;
27566 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27567 }
27568 }
27569 if (obj4) {
27570 {
27571 arg5 = &temp5;
27572 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27573 }
27574 }
27575 if (obj5) {
093d3ff1
RD
27576 {
27577 arg6 = (long)(SWIG_As_long(obj5));
27578 if (SWIG_arg_fail(6)) SWIG_fail;
27579 }
d55e5bfc
RD
27580 }
27581 if (obj6) {
27582 {
27583 arg7 = wxString_in_helper(obj6);
27584 if (arg7 == NULL) SWIG_fail;
ae8162c8 27585 temp7 = true;
d55e5bfc
RD
27586 }
27587 }
27588 {
0439c23b 27589 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27590 PyThreadState* __tstate = wxPyBeginAllowThreads();
27591 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27592
27593 wxPyEndAllowThreads(__tstate);
110da5b0 27594 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27595 }
27596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27597 {
27598 if (temp7)
27599 delete arg7;
27600 }
27601 return resultobj;
27602 fail:
27603 {
27604 if (temp7)
27605 delete arg7;
27606 }
27607 return NULL;
27608}
27609
27610
c32bde28 27611static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27612 PyObject *resultobj;
27613 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27614 PyObject *arg2 = (PyObject *) 0 ;
27615 PyObject *arg3 = (PyObject *) 0 ;
27616 PyObject * obj0 = 0 ;
27617 PyObject * obj1 = 0 ;
27618 PyObject * obj2 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self",(char *) "self",(char *) "_class", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27626 arg2 = obj1;
27627 arg3 = obj2;
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 (arg1)->_setCallbackInfo(arg2,arg3);
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 Py_INCREF(Py_None); resultobj = Py_None;
27636 return resultobj;
27637 fail:
27638 return NULL;
27639}
27640
27641
c32bde28 27642static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27643 PyObject *resultobj;
27644 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27645 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27646 PyObject * obj0 = 0 ;
27647 PyObject * obj1 = 0 ;
27648 char *kwnames[] = {
27649 (char *) "self",(char *) "preview", NULL
27650 };
27651
27652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27654 if (SWIG_arg_fail(1)) SWIG_fail;
27655 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27656 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 (arg1)->SetPrintPreview(arg2);
27660
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 Py_INCREF(Py_None); resultobj = Py_None;
27665 return resultobj;
27666 fail:
27667 return NULL;
27668}
27669
27670
c32bde28 27671static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27672 PyObject *resultobj;
27673 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27674 PyObject * obj0 = 0 ;
27675 char *kwnames[] = {
27676 (char *) "self", NULL
27677 };
27678
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 (arg1)->base_CreateButtons();
27685
27686 wxPyEndAllowThreads(__tstate);
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
27689 Py_INCREF(Py_None); resultobj = Py_None;
27690 return resultobj;
27691 fail:
27692 return NULL;
27693}
27694
27695
c32bde28 27696static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27697 PyObject *resultobj;
27698 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27699 int arg2 ;
27700 PyObject * obj0 = 0 ;
27701 PyObject * obj1 = 0 ;
27702 char *kwnames[] = {
27703 (char *) "self",(char *) "zoom", NULL
27704 };
27705
27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail;
27709 {
27710 arg2 = (int)(SWIG_As_int(obj1));
27711 if (SWIG_arg_fail(2)) SWIG_fail;
27712 }
d55e5bfc
RD
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 (arg1)->base_SetZoomControl(arg2);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 Py_INCREF(Py_None); resultobj = Py_None;
27721 return resultobj;
27722 fail:
27723 return NULL;
27724}
27725
27726
c32bde28 27727static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27728 PyObject *obj;
27729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27730 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27731 Py_INCREF(obj);
27732 return Py_BuildValue((char *)"");
27733}
27734static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27735 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27743 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27758 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27759 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27768 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27786 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27810 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27817 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27818 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27823 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27827 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27831 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27836 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27853 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27883 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27890 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27913 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27921 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27933 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27939 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27948 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27954 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27959 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27965 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28013 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28021 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28030 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28032 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28041 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28044 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28051 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28069 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28073 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28078 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28082 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28084 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28100 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28103 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28105 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28109 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28118 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28127 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28133 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28148 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28155 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28159 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28185 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28211 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28237 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28238 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28283 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28284 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
28314 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28316 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28317 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28322 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28323 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28325 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28354 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28356 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28358 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28362 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28367 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28373 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28384 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28396 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28397 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28398 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28399 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28404 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28414 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28415 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28426 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28435 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28438 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28439 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28448 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28456 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28462 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28463};
28464
28465
28466/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28467
28468static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28469 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28470}
28471static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28473}
28474static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28475 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28476}
28477static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28478 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28479}
28480static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28481 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28482}
28483static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28484 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28485}
28486static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28487 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28488}
28489static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28490 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28491}
28492static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28493 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28494}
28495static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28497}
28498static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28500}
28501static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28502 return (void *)((wxEvent *) ((wxPyEvent *) x));
28503}
28504static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28505 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28506}
28507static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28508 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28509}
28510static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28511 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28512}
28513static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28514 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28515}
28516static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28517 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28518}
28519static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28520 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28521}
28522static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28523 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28524}
28525static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28526 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28527}
28528static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28529 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28530}
28531static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28532 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28533}
28534static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28535 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28536}
28537static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28538 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28539}
28540static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28541 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28542}
28543static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28544 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28545}
28546static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28547 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28548}
28549static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28550 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28551}
28552static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28553 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28554}
28555static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28556 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28557}
28558static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28559 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28560}
28561static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28563}
28564static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28566}
28567static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28568 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28569}
28570static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28571 return (void *)((wxEvent *) ((wxShowEvent *) x));
28572}
28573static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28574 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28575}
28576static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28577 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28578}
28579static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28580 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28581}
28582static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28583 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28584}
28585static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28586 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28587}
28588static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28589 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28590}
28591static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28592 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28593}
28594static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28595 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28596}
c1cb24a4
RD
28597static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28598 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28599}
d55e5bfc
RD
28600static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28601 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28602}
28603static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28604 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28605}
28606static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28607 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28608}
28609static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28610 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28611}
28612static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28613 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28614}
28615static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28616 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28617}
28618static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28619 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28620}
c1cb24a4
RD
28621static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28623}
d55e5bfc
RD
28624static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28626}
28627static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28629}
28630static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28632}
28633static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28635}
28636static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28637 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28638}
28639static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28640 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28641}
28642static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28643 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28644}
28645static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28646 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28647}
28648static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28649 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28650}
28651static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28652 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28653}
28654static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28655 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28656}
28657static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28658 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28659}
28660static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28661 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28662}
28663static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28664 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28665}
28666static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28668}
28669static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28671}
28672static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28673 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28674}
28675static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28676 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28677}
28678static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28679 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28680}
28681static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28682 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28683}
28684static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28685 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28686}
28687static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28688 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28689}
28690static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28692}
28693static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28694 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28695}
28696static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28697 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28698}
28699static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28700 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28701}
28702static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28703 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28704}
28705static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28707}
28708static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28709 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28710}
28711static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28712 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28713}
28714static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28715 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28716}
28717static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28718 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28719}
28720static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28721 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28722}
28723static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28724 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28725}
5e483524
RD
28726static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28727 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28728}
28729static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28731}
d55e5bfc
RD
28732static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28734}
28735static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28737}
28738static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28739 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28740}
c1cb24a4
RD
28741static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28742 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28743}
d55e5bfc
RD
28744static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28745 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28746}
28747static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28748 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28749}
28750static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28751 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28752}
28753static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28754 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28755}
28756static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28757 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28758}
28759static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28760 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28761}
28762static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28763 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28764}
28765static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28766 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28767}
28768static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28769 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28770}
28771static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28772 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28773}
28774static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28775 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28776}
28777static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28779}
28780static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28782}
28783static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28784 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28785}
28786static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28787 return (void *)((wxObject *) ((wxSizerItem *) x));
28788}
28789static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28791}
28792static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28793 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28794}
28795static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28796 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28797}
28798static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28799 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28800}
28801static void *_p_wxSizerTo_p_wxObject(void *x) {
28802 return (void *)((wxObject *) ((wxSizer *) x));
28803}
28804static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28805 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28806}
28807static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28809}
28810static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28812}
28813static void *_p_wxEventTo_p_wxObject(void *x) {
28814 return (void *)((wxObject *) ((wxEvent *) x));
28815}
28816static void *_p_wxFontDataTo_p_wxObject(void *x) {
28817 return (void *)((wxObject *) ((wxFontData *) x));
28818}
28819static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28820 return (void *)((wxObject *) ((wxPrintData *) x));
28821}
28822static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28823 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28824}
28825static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28826 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28827}
28828static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28829 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28830}
28831static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28832 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28833}
5e483524
RD
28834static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28835 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28836}
28837static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28839}
28840static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28841 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28842}
28843static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28844 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28845}
28846static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28847 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28848}
28849static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28850 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28851}
28852static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28853 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28854}
28855static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28856 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28857}
28858static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28860}
28861static void *_p_wxControlTo_p_wxObject(void *x) {
28862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28863}
28864static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28865 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28866}
28867static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28869}
28870static void *_p_wxFSFileTo_p_wxObject(void *x) {
28871 return (void *)((wxObject *) ((wxFSFile *) x));
28872}
28873static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28874 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28875}
28876static void *_p_wxPySizerTo_p_wxObject(void *x) {
28877 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28878}
28879static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28881}
28882static void *_p_wxColourDataTo_p_wxObject(void *x) {
28883 return (void *)((wxObject *) ((wxColourData *) x));
28884}
28885static void *_p_wxPyEventTo_p_wxObject(void *x) {
28886 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28887}
28888static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28890}
28891static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28893}
28894static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28896}
28897static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28899}
28900static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28902}
28903static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28905}
28906static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28908}
c1cb24a4
RD
28909static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28911}
d55e5bfc
RD
28912static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28914}
28915static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28917}
28918static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28920}
28921static void *_p_wxShowEventTo_p_wxObject(void *x) {
28922 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28923}
28924static void *_p_wxPrinterTo_p_wxObject(void *x) {
28925 return (void *)((wxObject *) ((wxPrinter *) x));
28926}
28927static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28928 return (void *)((wxObject *) ((wxMenuItem *) x));
28929}
28930static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28931 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28932}
28933static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28935}
28936static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28937 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28938}
28939static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28940 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28941}
28942static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28943 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28944}
28945static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28946 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28947}
28948static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28949 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28950}
28951static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28952 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28953}
28954static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28955 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28956}
28957static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28958 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28959}
28960static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28961 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28962}
28963static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28964 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28965}
28966static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28967 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28968}
28969static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28970 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28971}
28972static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28973 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28974}
28975static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28976 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28977}
28978static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28979 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28980}
28981static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28982 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28983}
28984static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28985 return (void *)((wxObject *) ((wxImageHandler *) x));
28986}
28987static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28988 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28989}
28990static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28991 return (void *)((wxObject *) ((wxEvtHandler *) x));
28992}
28993static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28994 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28995}
28996static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28998}
28999static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29001}
62d32a5f
RD
29002static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29003 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29004}
d55e5bfc
RD
29005static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29006 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29007}
29008static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29010}
29011static void *_p_wxImageTo_p_wxObject(void *x) {
29012 return (void *)((wxObject *) ((wxImage *) x));
29013}
29014static void *_p_wxFrameTo_p_wxObject(void *x) {
29015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29016}
29017static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29018 return (void *)((wxObject *) ((wxPyPrintout *) x));
29019}
29020static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29021 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29022}
29023static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29024 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29025}
29026static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29028}
29029static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29031}
29032static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29034}
29035static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29036 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29037}
29038static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29039 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29040}
29041static void *_p_wxWindowTo_p_wxObject(void *x) {
29042 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29043}
29044static void *_p_wxMenuTo_p_wxObject(void *x) {
29045 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29046}
29047static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29049}
29050static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29052}
29053static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29055}
29056static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29058}
29059static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29061}
29062static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29064}
29065static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29067}
29068static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29070}
29071static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29073}
29074static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29076}
29077static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29079}
29080static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29082}
29083static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29085}
29086static void *_p_wxSashEventTo_p_wxObject(void *x) {
29087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29088}
29089static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29090 return (void *)((wxObject *) ((wxPrintPreview *) x));
29091}
29092static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29093 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29094}
29095static void *_p_wxPanelTo_p_wxObject(void *x) {
29096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29097}
29098static void *_p_wxDialogTo_p_wxObject(void *x) {
29099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29100}
29101static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29103}
29104static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29106}
29107static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29109}
29110static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 29111 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
29112}
29113static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 29114 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
29115}
29116static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29117 return (void *)((wxObject *) ((wxFileSystem *) x));
29118}
29119static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29121}
29122static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29123 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29124}
29125static void *_p_wxPyAppTo_p_wxObject(void *x) {
29126 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29127}
29128static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29129 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29130}
29131static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29132 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29133}
29134static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29135 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29136}
29137static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29139}
29140static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29141 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29142}
29143static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29145}
29146static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29148}
29149static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29150 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29151}
29152static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29153 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29154}
29155static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29157}
29158static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29160}
29161static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29162 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29163}
29164static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29165 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29166}
29167static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29168 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29169}
29170static void *_p_wxValidatorTo_p_wxObject(void *x) {
29171 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29172}
29173static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29174 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29175}
29176static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29177 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29178}
29179static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29180 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29181}
29182static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29183 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29184}
29185static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29186 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29187}
29188static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29189 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29190}
29191static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29192 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29193}
29194static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29195 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29196}
29197static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29198 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29199}
29200static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29201 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29202}
29203static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29204 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29205}
29206static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29207 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29208}
d55e5bfc
RD
29209static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29210 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29211}
29212static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29213 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29214}
29215static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29216 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29217}
d55e5bfc
RD
29218static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29219 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29220}
29221static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29222 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29223}
c1cb24a4
RD
29224static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29225 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29226}
d55e5bfc
RD
29227static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29228 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29229}
29230static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29231 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29232}
29233static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29234 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29235}
29236static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29237 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29238}
c1cb24a4
RD
29239static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29240 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29241}
d55e5bfc
RD
29242static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29243 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29244}
29245static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29246 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29247}
29248static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29250}
29251static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29253}
29254static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29255 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29256}
29257static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29258 return (void *)((wxWindow *) ((wxMenuBar *) x));
29259}
29260static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29262}
29263static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29265}
29266static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29267 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29268}
c1cb24a4
RD
29269static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29270 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29271}
d55e5bfc
RD
29272static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29273 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29274}
29275static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29277}
29278static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29279 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29280}
29281static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29282 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29283}
29284static void *_p_wxPanelTo_p_wxWindow(void *x) {
29285 return (void *)((wxWindow *) ((wxPanel *) x));
29286}
29287static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29288 return (void *)((wxWindow *) ((wxStatusBar *) x));
29289}
d55e5bfc
RD
29290static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29291 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29292}
29293static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29294 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29295}
29296static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29297 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29298}
29299static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29300 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29301}
29302static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29303 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29304}
29305static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29306 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29307}
29308static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29309 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29310}
29311static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29312 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29313}
29314static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29315 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29316}
29317static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29318 return (void *)((wxWindow *) ((wxSashWindow *) x));
29319}
c1cb24a4
RD
29320static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29321 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29322}
d55e5bfc
RD
29323static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29324 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29325}
29326static void *_p_wxControlTo_p_wxWindow(void *x) {
29327 return (void *)((wxWindow *) ((wxControl *) x));
29328}
29329static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29330 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29331}
29332static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29333 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29334}
29335static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29336 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29337}
29338static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29339 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29340}
29341static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29342 return (void *)((wxWindow *) ((wxPyWindow *) x));
29343}
29344static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29345 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29346}
29347static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29348 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29349}
29350static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29351 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29352}
29353static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29354 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29355}
29356static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29357 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29358}
29359static void *_p_wxFrameTo_p_wxWindow(void *x) {
29360 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29361}
29362static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29364}
29365static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29366 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29367}
29368static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29370}
29371static void *_p_wxDialogTo_p_wxWindow(void *x) {
29372 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29373}
d55e5bfc
RD
29374static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29375 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29376}
29377static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29378 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29379}
29380static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29381 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29382}
29383static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29384 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29385}
29386static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29387 return (void *)((wxDialog *) ((wxColourDialog *) x));
29388}
29389static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29390 return (void *)((wxDialog *) ((wxDirDialog *) x));
29391}
29392static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29393 return (void *)((wxDialog *) ((wxFontDialog *) x));
29394}
d55e5bfc
RD
29395static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29396 return (void *)((wxDialog *) ((wxFileDialog *) x));
29397}
29398static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29399 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29400}
29401static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29402 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29403}
29404static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29405 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29406}
c1cb24a4
RD
29407static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29408 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29409}
d55e5bfc
RD
29410static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29411 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29412}
29413static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29414 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29415}
29416static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29417 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29418}
29419static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29420 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29421}
29422static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29423 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29424}
29425static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29426 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29427}
29428static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29429 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29430}
29431static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29432 return (void *)((wxPanel *) ((wxPyPanel *) x));
29433}
29434static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29435 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29436}
29437static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29438 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29439}
29440static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29441 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29442}
29443static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29444 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29445}
29446static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29447 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29448}
29449static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29450 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29451}
29452static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29453 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29454}
29455static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29456 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29457}
29458static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29459 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29460}
29461static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29462 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29463}
29464static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29465 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29466}
29467static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29468 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29469}
29470static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29471 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29472}
29473static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29474 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29475}
29476static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29477 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29478}
29479static 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}};
29480static 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}};
29481static 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}};
29482static 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}};
29483static 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
29484static 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}};
29485static 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 29486static 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 29487static 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 29488static 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
29489static 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}};
29490static 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}};
29491static 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}};
29492static 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}};
29493static 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}};
29494static 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}};
29495static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29496static 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}};
29497static 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
29498static 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}};
29499static 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}};
29500static 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}};
29501static 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}};
29502static 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 29503static 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
29504static 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}};
29505static 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}};
29506static 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}};
29507static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29508static 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 29509static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c1cb24a4 29510static 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
29511static 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}};
29512static 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}};
29513static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c1cb24a4 29514static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29515static 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}};
29516static 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}};
29517static 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
29518static 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}};
29519static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29520static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 29521static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29522static 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}};
29523static 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}};
29524static 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}};
29525static 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 29526static 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
29527static 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}};
29528static 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}};
29529static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29530static 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}};
29531static 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}};
29532static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29533static 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
29534static 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}};
29535static 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}};
29536static 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 29537static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29538static 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
29539static 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}};
29540static 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}};
29541static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 29542static 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
29543static 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}};
29544static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29545static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29546static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0
RD
29547static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29548static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29549static 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 29550static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29551static 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 29552static 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
29553static 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}};
29554static 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}};
29555static 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}};
29556static 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
29557static 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}};
29558static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 29559static 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 29560static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29561static 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
29562static 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}};
29563static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c24da6d6 29564static 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 29565static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29566static 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}};
29567static 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}};
29568static 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
29569static 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}};
29570static 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}};
29571static 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}};
29572static 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}};
29573static 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}};
29574static 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}};
29575static 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}};
29576
29577static swig_type_info *swig_types_initial[] = {
29578_swigt__p_wxQueryLayoutInfoEvent,
29579_swigt__p_wxPreviewFrame,
29580_swigt__p_wxPyPreviewFrame,
29581_swigt__p_wxPyPanel,
29582_swigt__p_wxMenu,
d55e5bfc
RD
29583_swigt__p_wxFontData,
29584_swigt__p_wxEvent,
f5b96ee1 29585_swigt__p_wxPrintData,
d55e5bfc 29586_swigt__p_wxTaskBarIcon,
5e483524 29587_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
29588_swigt__p_wxIconBundle,
29589_swigt__p_wxLayoutAlgorithm,
29590_swigt__p_wxFindDialogEvent,
29591_swigt__p_wxPreviewCanvas,
29592_swigt__p_wxFont,
29593_swigt__p_wxSplitterEvent,
29594_swigt__p_wxRegion,
093d3ff1
RD
29595_swigt__ptrdiff_t,
29596_swigt__std__ptrdiff_t,
d55e5bfc
RD
29597_swigt__p_wxFindReplaceData,
29598_swigt__p_int,
29599_swigt__p_wxSize,
29600_swigt__p_wxDC,
29601_swigt__p_wxIcon,
f20a2e1f 29602_swigt__p_wxVisualAttributes,
d55e5bfc
RD
29603_swigt__p_wxMDIChildFrame,
29604_swigt__p_wxColourData,
29605_swigt__p_wxNotifyEvent,
29606_swigt__p_wxPyWindow,
093d3ff1 29607_swigt__p_form_ops_t,
d55e5bfc 29608_swigt__p_wxSplashScreen,
c1cb24a4 29609_swigt__p_wxPasswordEntryDialog,
d55e5bfc
RD
29610_swigt__p_wxSingleChoiceDialog,
29611_swigt__p_wxMultiChoiceDialog,
29612_swigt__p_wxFileDialog,
c1cb24a4 29613_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29614_swigt__p_wxMessageDialog,
29615_swigt__p_wxProgressDialog,
29616_swigt__p_wxFindReplaceDialog,
d55e5bfc
RD
29617_swigt__p_wxPrinter,
29618_swigt__p_wxArrayInt,
093d3ff1 29619_swigt__p_wxDuplexMode,
d55e5bfc
RD
29620_swigt__p_wxEvtHandler,
29621_swigt__p_wxCalculateLayoutEvent,
29622_swigt__p_wxPyHtmlListBox,
29623_swigt__p_wxPyVListBox,
29624_swigt__p_wxRect,
62d32a5f 29625_swigt__p_wxStdDialogButtonSizer,
d55e5bfc
RD
29626_swigt__p_char,
29627_swigt__p_wxMiniFrame,
29628_swigt__p_wxFrame,
29629_swigt__p_wxPyPrintout,
29630_swigt__p_wxTaskBarIconEvent,
29631_swigt__p_wxScrollWinEvent,
093d3ff1 29632_swigt__p_wxPaperSize,
d55e5bfc
RD
29633_swigt__p_wxStatusBar,
29634_swigt__p_wxMDIParentFrame,
29635_swigt__p_wxPoint,
29636_swigt__p_wxObject,
093d3ff1 29637_swigt__p_unsigned_long,
d55e5bfc
RD
29638_swigt__p_wxTipWindow,
29639_swigt__p_wxSashLayoutWindow,
29640_swigt__p_wxSplitterWindow,
f20a2e1f 29641_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
29642_swigt__p_wxPyVScrolledWindow,
29643_swigt__p_wxPyPopupTransientWindow,
29644_swigt__p_wxPopupWindow,
29645_swigt__p_wxSashWindow,
29646_swigt__p_wxTopLevelWindow,
29647_swigt__p_wxWindow,
29648_swigt__p_wxScrolledWindow,
d55e5bfc 29649_swigt__p_wxMenuBar,
093d3ff1 29650_swigt__p_wxMDIClientWindow,
5e483524 29651_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
29652_swigt__p_wxPrintPreview,
29653_swigt__p_wxSashEvent,
29654_swigt__p_wxString,
29655_swigt__p_wxPyPrintPreview,
d55e5bfc
RD
29656_swigt__p_wxDirDialog,
29657_swigt__p_wxColourDialog,
29658_swigt__p_wxDialog,
29659_swigt__p_wxPanel,
093d3ff1 29660_swigt__p_wxFontDialog,
d55e5bfc
RD
29661_swigt__p_wxPageSetupDialog,
29662_swigt__p_wxPrintDialog,
c24da6d6 29663_swigt__p_wxFileSystem,
d55e5bfc 29664_swigt__p_wxBitmap,
093d3ff1
RD
29665_swigt__unsigned_int,
29666_swigt__p_unsigned_int,
29667_swigt__p_unsigned_char,
d55e5bfc
RD
29668_swigt__p_wxCommandEvent,
29669_swigt__p_wxPreviewControlBar,
29670_swigt__p_wxPyPreviewControlBar,
29671_swigt__p_wxColour,
29672_swigt__p_wxToolBar,
29673_swigt__p_wxPageSetupDialogData,
29674_swigt__p_wxPrintDialogData,
296750
29676};
29677
29678
29679/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29680
29681static swig_const_info swig_const_table[] = {
c32bde28 29682{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29683
29684#ifdef __cplusplus
29685}
29686#endif
29687
093d3ff1
RD
29688
29689#ifdef __cplusplus
29690extern "C" {
29691#endif
29692
29693 /* Python-specific SWIG API */
29694#define SWIG_newvarlink() SWIG_Python_newvarlink()
29695#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29696#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29697
29698 /* -----------------------------------------------------------------------------
29699 * global variable support code.
29700 * ----------------------------------------------------------------------------- */
29701
29702 typedef struct swig_globalvar {
29703 char *name; /* Name of global variable */
29704 PyObject *(*get_attr)(); /* Return the current value */
29705 int (*set_attr)(PyObject *); /* Set the value */
29706 struct swig_globalvar *next;
29707 } swig_globalvar;
29708
29709 typedef struct swig_varlinkobject {
29710 PyObject_HEAD
29711 swig_globalvar *vars;
29712 } swig_varlinkobject;
29713
29714 static PyObject *
29715 swig_varlink_repr(swig_varlinkobject *v) {
29716 v = v;
29717 return PyString_FromString("<Swig global variables>");
29718 }
29719
29720 static int
29721 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29722 swig_globalvar *var;
29723 flags = flags;
29724 fprintf(fp,"Swig global variables { ");
29725 for (var = v->vars; var; var=var->next) {
29726 fprintf(fp,"%s", var->name);
29727 if (var->next) fprintf(fp,", ");
29728 }
29729 fprintf(fp," }\n");
29730 return 0;
29731 }
29732
29733 static PyObject *
29734 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29735 swig_globalvar *var = v->vars;
29736 while (var) {
29737 if (strcmp(var->name,n) == 0) {
29738 return (*var->get_attr)();
29739 }
29740 var = var->next;
29741 }
29742 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29743 return NULL;
29744 }
29745
29746 static int
29747 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29748 swig_globalvar *var = v->vars;
29749 while (var) {
29750 if (strcmp(var->name,n) == 0) {
29751 return (*var->set_attr)(p);
29752 }
29753 var = var->next;
29754 }
29755 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29756 return 1;
29757 }
29758
29759 static PyTypeObject varlinktype = {
29760 PyObject_HEAD_INIT(0)
29761 0, /* Number of items in variable part (ob_size) */
29762 (char *)"swigvarlink", /* Type name (tp_name) */
29763 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29764 0, /* Itemsize (tp_itemsize) */
29765 0, /* Deallocator (tp_dealloc) */
29766 (printfunc) swig_varlink_print, /* Print (tp_print) */
29767 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29768 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29769 0, /* tp_compare */
29770 (reprfunc) swig_varlink_repr, /* tp_repr */
29771 0, /* tp_as_number */
29772 0, /* tp_as_sequence */
29773 0, /* tp_as_mapping */
29774 0, /* tp_hash */
29775 0, /* tp_call */
29776 0, /* tp_str */
29777 0, /* tp_getattro */
29778 0, /* tp_setattro */
29779 0, /* tp_as_buffer */
29780 0, /* tp_flags */
29781 0, /* tp_doc */
29782#if PY_VERSION_HEX >= 0x02000000
29783 0, /* tp_traverse */
29784 0, /* tp_clear */
29785#endif
29786#if PY_VERSION_HEX >= 0x02010000
29787 0, /* tp_richcompare */
29788 0, /* tp_weaklistoffset */
29789#endif
29790#if PY_VERSION_HEX >= 0x02020000
29791 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29792#endif
29793#if PY_VERSION_HEX >= 0x02030000
29794 0, /* tp_del */
29795#endif
29796#ifdef COUNT_ALLOCS
29797 0,0,0,0 /* tp_alloc -> tp_next */
29798#endif
29799 };
29800
29801 /* Create a variable linking object for use later */
29802 static PyObject *
29803 SWIG_Python_newvarlink(void) {
29804 swig_varlinkobject *result = 0;
29805 result = PyMem_NEW(swig_varlinkobject,1);
29806 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29807 result->ob_type = &varlinktype;
29808 result->vars = 0;
29809 result->ob_refcnt = 0;
29810 Py_XINCREF((PyObject *) result);
29811 return ((PyObject*) result);
29812 }
29813
29814 static void
29815 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29816 swig_varlinkobject *v;
29817 swig_globalvar *gv;
29818 v= (swig_varlinkobject *) p;
29819 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29820 gv->name = (char *) malloc(strlen(name)+1);
29821 strcpy(gv->name,name);
29822 gv->get_attr = get_attr;
29823 gv->set_attr = set_attr;
29824 gv->next = v->vars;
29825 v->vars = gv;
29826 }
29827
29828 /* -----------------------------------------------------------------------------
29829 * constants/methods manipulation
29830 * ----------------------------------------------------------------------------- */
29831
29832 /* Install Constants */
29833 static void
29834 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29835 PyObject *obj = 0;
29836 size_t i;
29837 for (i = 0; constants[i].type; i++) {
29838 switch(constants[i].type) {
29839 case SWIG_PY_INT:
29840 obj = PyInt_FromLong(constants[i].lvalue);
29841 break;
29842 case SWIG_PY_FLOAT:
29843 obj = PyFloat_FromDouble(constants[i].dvalue);
29844 break;
29845 case SWIG_PY_STRING:
29846 if (constants[i].pvalue) {
29847 obj = PyString_FromString((char *) constants[i].pvalue);
29848 } else {
29849 Py_INCREF(Py_None);
29850 obj = Py_None;
29851 }
29852 break;
29853 case SWIG_PY_POINTER:
29854 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29855 break;
29856 case SWIG_PY_BINARY:
29857 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29858 break;
29859 default:
29860 obj = 0;
29861 break;
29862 }
29863 if (obj) {
29864 PyDict_SetItemString(d,constants[i].name,obj);
29865 Py_DECREF(obj);
29866 }
29867 }
29868 }
29869
29870 /* -----------------------------------------------------------------------------*/
29871 /* Fix SwigMethods to carry the callback ptrs when needed */
29872 /* -----------------------------------------------------------------------------*/
29873
29874 static void
29875 SWIG_Python_FixMethods(PyMethodDef *methods,
29876 swig_const_info *const_table,
29877 swig_type_info **types,
29878 swig_type_info **types_initial) {
29879 size_t i;
29880 for (i = 0; methods[i].ml_name; ++i) {
29881 char *c = methods[i].ml_doc;
29882 if (c && (c = strstr(c, "swig_ptr: "))) {
29883 int j;
29884 swig_const_info *ci = 0;
29885 char *name = c + 10;
29886 for (j = 0; const_table[j].type; j++) {
29887 if (strncmp(const_table[j].name, name,
29888 strlen(const_table[j].name)) == 0) {
29889 ci = &(const_table[j]);
29890 break;
29891 }
29892 }
29893 if (ci) {
29894 size_t shift = (ci->ptype) - types;
29895 swig_type_info *ty = types_initial[shift];
29896 size_t ldoc = (c - methods[i].ml_doc);
29897 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29898 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29899 char *buff = ndoc;
29900 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29901 strncpy(buff, methods[i].ml_doc, ldoc);
29902 buff += ldoc;
29903 strncpy(buff, "swig_ptr: ", 10);
29904 buff += 10;
29905 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29906 methods[i].ml_doc = ndoc;
29907 }
29908 }
29909 }
29910 }
29911
29912 /* -----------------------------------------------------------------------------*
29913 * Initialize type list
29914 * -----------------------------------------------------------------------------*/
29915
29916#if PY_MAJOR_VERSION < 2
29917 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29918 is copied out of Python/modsupport.c in python version 2.3.4 */
29919 static int
29920 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29921 {
29922 PyObject *dict;
29923 if (!PyModule_Check(m)) {
29924 PyErr_SetString(PyExc_TypeError,
29925 "PyModule_AddObject() needs module as first arg");
29926 return -1;
29927 }
29928 if (!o) {
29929 PyErr_SetString(PyExc_TypeError,
29930 "PyModule_AddObject() needs non-NULL value");
29931 return -1;
29932 }
29933
29934 dict = PyModule_GetDict(m);
29935 if (dict == NULL) {
29936 /* Internal error -- modules must have a dict! */
29937 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29938 PyModule_GetName(m));
29939 return -1;
29940 }
29941 if (PyDict_SetItemString(dict, name, o))
29942 return -1;
29943 Py_DECREF(o);
29944 return 0;
29945 }
29946#endif
29947
29948 static swig_type_info **
29949 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29950 static PyMethodDef swig_empty_runtime_method_table[] = {
29951 {
29952 NULL, NULL, 0, NULL
29953 }
29954 };/* Sentinel */
29955
29956 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29957 swig_empty_runtime_method_table);
29958 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29959 if (pointer && module) {
29960 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29961 }
29962 return type_list_handle;
29963 }
29964
29965 static swig_type_info **
29966 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29967 swig_type_info **type_pointer;
29968
29969 /* first check if module already created */
29970 type_pointer = SWIG_Python_GetTypeListHandle();
29971 if (type_pointer) {
29972 return type_pointer;
29973 } else {
29974 /* create a new module and variable */
29975 return SWIG_Python_SetTypeListHandle(type_list_handle);
29976 }
29977 }
29978
29979#ifdef __cplusplus
29980}
29981#endif
29982
29983/* -----------------------------------------------------------------------------*
29984 * Partial Init method
29985 * -----------------------------------------------------------------------------*/
29986
29987#ifdef SWIG_LINK_RUNTIME
29988#ifdef __cplusplus
29989extern "C"
29990#endif
29991SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29992#endif
29993
d55e5bfc
RD
29994#ifdef __cplusplus
29995extern "C"
29996#endif
29997SWIGEXPORT(void) SWIG_init(void) {
29998 static PyObject *SWIG_globals = 0;
29999 static int typeinit = 0;
30000 PyObject *m, *d;
30001 int i;
30002 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
30003
30004 /* Fix SwigMethods to carry the callback ptrs when needed */
30005 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30006
d55e5bfc
RD
30007 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30008 d = PyModule_GetDict(m);
30009
30010 if (!typeinit) {
093d3ff1
RD
30011#ifdef SWIG_LINK_RUNTIME
30012 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30013#else
30014# ifndef SWIG_STATIC_RUNTIME
30015 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30016# endif
30017#endif
d55e5bfc
RD
30018 for (i = 0; swig_types_initial[i]; i++) {
30019 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30020 }
30021 typeinit = 1;
30022 }
093d3ff1
RD
30023 SWIG_InstallConstants(d,swig_const_table);
30024
30025 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30026 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30027 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30028 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30029 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30030 {
30031 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30032 }
30033 {
30034 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30035 }
30036 {
30037 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30038 }
30039 {
30040 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30041 }
30042 {
30043 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30044 }
30045 {
30046 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30047 }
30048 {
30049 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30050 }
30051 {
30052 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30053 }
30054 {
30055 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30056 }
30057 {
30058 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30059 }
30060 {
30061 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30062 }
30063 {
30064 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30065 }
30066 {
30067 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30068 }
30069 {
30070 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30071 }
30072 {
30073 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30074 }
30075 {
30076 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30077 }
30078 {
30079 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30080 }
30081 {
30082 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30083 }
30084 {
30085 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30086 }
30087 {
30088 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30089 }
30090 {
30091 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30092 }
30093 {
30094 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30095 }
30096 {
30097 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30098 }
30099 {
30100 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30101 }
30102 {
30103 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30104 }
30105 {
30106 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30107 }
30108 {
30109 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30110 }
30111 {
30112 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30113 }
30114 {
30115 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30116 }
30117 {
30118 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30119 }
30120 {
30121 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30122 }
30123 {
30124 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30125 }
30126 {
30127 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30128 }
30129 {
30130 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30131 }
30132 {
30133 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30134 }
30135 {
30136 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30137 }
30138 {
30139 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30140 }
30141 {
30142 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30143 }
30144 {
30145 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30146 }
30147 {
30148 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30149 }
30150 {
30151 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30152 }
30153 {
30154 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30155 }
30156 {
30157 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30158 }
d55e5bfc 30159 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
30160 {
30161 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30162 }
30163 {
30164 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30165 }
30166 {
30167 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30168 }
30169 {
30170 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30174 }
30175 {
30176 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30177 }
30178 {
30179 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30180 }
30181 {
30182 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30183 }
30184 {
30185 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30186 }
30187 {
30188 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30189 }
30190 {
30191 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30192 }
30193 {
30194 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30195 }
30196 {
30197 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30198 }
30199 {
30200 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30201 }
d55e5bfc
RD
30202 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30203 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30204 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30205 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30206 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30207 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
30208 {
30209 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30210 }
30211 {
30212 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30213 }
30214 {
30215 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30216 }
30217 {
30218 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30219 }
30220 {
30221 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30222 }
30223 {
30224 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30225 }
30226 {
30227 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30228 }
30229 {
30230 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30231 }
30232 {
30233 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30234 }
30235 {
30236 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30237 }
30238 {
30239 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30240 }
30241 {
30242 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30243 }
30244 {
30245 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30246 }
30247 {
30248 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30249 }
30250 {
30251 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30252 }
d55e5bfc 30253 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
30254 {
30255 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30256 }
30257 {
30258 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30259 }
30260 {
30261 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30262 }
30263 {
30264 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30265 }
30266 {
30267 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30268 }
30269 {
30270 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30274 }
30275 {
30276 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30277 }
30278 {
30279 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30280 }
30281 {
30282 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30283 }
30284 {
30285 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30286 }
d55e5bfc
RD
30287 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30288 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30289 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30290
30291 // Map renamed classes back to their common name for OOR
30292 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30293 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30294 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30295
30296 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30297 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30298 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30299 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30300 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30301 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30302 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30303 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30304 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30305 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30306 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30307 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30308 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30309 {
30310 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30314 }
c1cb24a4 30315 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30316 {
30317 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30318 }
30319 {
30320 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30321 }
30322 {
30323 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30324 }
30325 {
30326 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30327 }
30328 {
30329 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30330 }
30331 {
30332 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30333 }
30334 {
30335 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30336 }
d55e5bfc
RD
30337 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30338 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30339 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30340 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30341 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30342 {
30343 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30362 }
30363 {
30364 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30365 }
d55e5bfc
RD
30366 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30367 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30368 {
30369 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30370 }
30371 {
30372 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30373 }
30374 {
30375 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30376 }
30377 {
30378 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30379 }
30380 {
30381 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30382 }
30383 {
30384 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30385 }
30386 {
30387 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30388 }
30389 {
30390 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30391 }
30392 {
30393 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30394 }
30395 {
30396 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30397 }
30398 {
30399 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30400 }
30401 {
30402 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30403 }
30404 {
30405 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30406 }
30407 {
30408 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30409 }
30410 {
30411 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30412 }
30413 {
30414 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30415 }
30416 {
30417 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30418 }
30419 {
30420 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30421 }
30422 {
30423 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30424 }
30425 {
30426 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30427 }
30428 {
30429 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30430 }
30431 {
30432 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30433 }
30434 {
30435 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30436 }
30437 {
30438 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30439 }
30440 {
30441 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30442 }
30443 {
30444 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30445 }
30446 {
30447 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30448 }
30449 {
30450 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30451 }
30452 {
30453 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30454 }
30455 {
30456 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30457 }
30458 {
30459 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30460 }
30461 {
30462 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30463 }
30464 {
30465 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30466 }
30467 {
30468 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30469 }
30470 {
30471 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30472 }
30473 {
30474 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30475 }
30476 {
30477 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30478 }
30479 {
30480 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30481 }
30482 {
30483 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30484 }
d55e5bfc
RD
30485
30486 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30487
30488}
30489