]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
Added --with-gnomeprint to configure command
[wxWidgets.git] / wxPython / src / msw / _misc_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;
643
644/* Declarations for objects of type PySwigObject */
645
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;
653 } else {
654 return 1;
d55e5bfc 655 }
d55e5bfc 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
d55e5bfc 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;
d55e5bfc
RD
664}
665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
d55e5bfc 673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
d55e5bfc 678}
093d3ff1
RD
679
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)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
d55e5bfc 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;
d55e5bfc 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";
723
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 };
d55e5bfc 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
c32bde28 800 }
093d3ff1
RD
801
802 return &PySwigObject_Type;
c32bde28
RD
803}
804
093d3ff1
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
d55e5bfc 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
RD
813}
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)
c32bde28 823{
093d3ff1 824 return ((PySwigObject *)self)->desc;
d55e5bfc
RD
825}
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 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
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);
c32bde28 852 }
093d3ff1
RD
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
d55e5bfc 856}
c32bde28 857
093d3ff1
RD
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
d55e5bfc 860{
093d3ff1
RD
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)
882{
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);
891 }
892}
d55e5bfc 893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
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 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
7e63a440 952 }
093d3ff1
RD
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}
c32bde28 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}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
d55e5bfc
RD
988}
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 * ----------------------------------------------------------------------------- */
1000
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)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
d55e5bfc 1016{
093d3ff1
RD
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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
d55e5bfc 1048 }
c32bde28
RD
1049}
1050
093d3ff1
RD
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
c32bde28 1053{
093d3ff1
RD
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
d55e5bfc
RD
1059}
1060
093d3ff1
RD
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
d55e5bfc 1085
093d3ff1
RD
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
d55e5bfc 1088{
093d3ff1
RD
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
d55e5bfc
RD
1097}
1098
1099
093d3ff1
RD
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
d55e5bfc 1137#else
093d3ff1
RD
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
d55e5bfc 1155#endif
d55e5bfc 1156
093d3ff1 1157type_check:
d55e5bfc 1158
093d3ff1
RD
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
d55e5bfc 1192 }
093d3ff1
RD
1193 }
1194 return -1;
1195}
d55e5bfc 1196
093d3ff1
RD
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
d55e5bfc 1206 }
093d3ff1
RD
1207 }
1208 return result;
1209}
d55e5bfc 1210
093d3ff1
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d55e5bfc 1216
093d3ff1
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
d55e5bfc 1231
093d3ff1
RD
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
d55e5bfc 1277
093d3ff1
RD
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
d55e5bfc 1293#endif
093d3ff1
RD
1294 return robj;
1295}
d55e5bfc 1296
093d3ff1
RD
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
d55e5bfc 1300
093d3ff1
RD
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
d55e5bfc 1304
093d3ff1
RD
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
d55e5bfc 1323
093d3ff1
RD
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
d55e5bfc 1332
093d3ff1 1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
d55e5bfc 1334
093d3ff1
RD
1335#ifdef __cplusplus
1336}
1337#endif
d55e5bfc 1338
d55e5bfc 1339
093d3ff1 1340/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1341
093d3ff1
RD
1342#define SWIGTYPE_p_wxLogChain swig_types[0]
1343#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344#define SWIGTYPE_p_wxMetafile swig_types[2]
1345#define SWIGTYPE_p_wxFileHistory swig_types[3]
1346#define SWIGTYPE_p_wxLog swig_types[4]
1347#define SWIGTYPE_p_wxMenu swig_types[5]
1348#define SWIGTYPE_p_wxEvent swig_types[6]
1349#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1350#define SWIGTYPE_p_wxConfigBase swig_types[8]
1351#define SWIGTYPE_p_wxDisplay swig_types[9]
1352#define SWIGTYPE_p_wxFileType swig_types[10]
1353#define SWIGTYPE_p_wxLogGui swig_types[11]
1354#define SWIGTYPE_p_wxFont swig_types[12]
1355#define SWIGTYPE_p_wxDataFormat swig_types[13]
1356#define SWIGTYPE_p_wxTimerEvent swig_types[14]
1357#define SWIGTYPE_p_wxCaret swig_types[15]
1358#define SWIGTYPE_ptrdiff_t swig_types[16]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[17]
1360#define SWIGTYPE_p_int swig_types[18]
1361#define SWIGTYPE_p_wxSize swig_types[19]
1362#define SWIGTYPE_p_wxClipboard swig_types[20]
1363#define SWIGTYPE_p_wxStopWatch swig_types[21]
68350608
RD
1364#define SWIGTYPE_p_wxDC swig_types[22]
1365#define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1366#define SWIGTYPE_p_wxIcon swig_types[24]
1367#define SWIGTYPE_p_wxLogStderr swig_types[25]
1368#define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1369#define SWIGTYPE_p_wxTextCtrl swig_types[27]
1370#define SWIGTYPE_p_wxBusyCursor swig_types[28]
1371#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1372#define SWIGTYPE_p_wxTextDataObject swig_types[30]
1373#define SWIGTYPE_p_wxDataObject swig_types[31]
1374#define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1375#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1376#define SWIGTYPE_p_wxFileDataObject swig_types[34]
1377#define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1378#define SWIGTYPE_p_wxURLDataObject swig_types[36]
1379#define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1380#define SWIGTYPE_p_wxSound swig_types[38]
1381#define SWIGTYPE_p_wxTimerRunner swig_types[39]
1382#define SWIGTYPE_p_wxLogWindow swig_types[40]
1383#define SWIGTYPE_p_wxTimeSpan swig_types[41]
1384#define SWIGTYPE_p_wxArrayString swig_types[42]
1385#define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1386#define SWIGTYPE_p_form_ops_t swig_types[44]
1387#define SWIGTYPE_p_wxToolTip swig_types[45]
1388#define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
093d3ff1 1389#define SWIGTYPE_p_wxSystemSettings swig_types[47]
68350608
RD
1390#define SWIGTYPE_p_wxFileConfig swig_types[48]
1391#define SWIGTYPE_p_wxVideoMode swig_types[49]
1392#define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1393#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1394#define SWIGTYPE_p_wxDuplexMode swig_types[52]
1395#define SWIGTYPE_p_wxEvtHandler swig_types[53]
1396#define SWIGTYPE_p_wxRect swig_types[54]
1397#define SWIGTYPE_p_char swig_types[55]
1398#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1399#define SWIGTYPE_p_wxStandardPaths swig_types[57]
1400#define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1401#define SWIGTYPE_p_wxFrame swig_types[59]
1402#define SWIGTYPE_p_wxTimer swig_types[60]
1403#define SWIGTYPE_p_wxPaperSize swig_types[61]
1404#define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1405#define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1406#define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1407#define SWIGTYPE_p_wxTipProvider swig_types[65]
1408#define SWIGTYPE_p_wxJoystick swig_types[66]
1409#define SWIGTYPE_p_wxSystemOptions swig_types[67]
1410#define SWIGTYPE_p_wxPoint swig_types[68]
1411#define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1412#define SWIGTYPE_p_wxCursor swig_types[70]
1413#define SWIGTYPE_p_wxObject swig_types[71]
1414#define SWIGTYPE_p_wxOutputStream swig_types[72]
1415#define SWIGTYPE_p_wxDateTime swig_types[73]
1416#define SWIGTYPE_p_wxPyDropSource swig_types[74]
1417#define SWIGTYPE_p_unsigned_long swig_types[75]
1418#define SWIGTYPE_p_wxKillError swig_types[76]
1419#define SWIGTYPE_p_wxWindow swig_types[77]
1420#define SWIGTYPE_p_wxString swig_types[78]
1421#define SWIGTYPE_p_wxPyProcess swig_types[79]
1422#define SWIGTYPE_p_wxBitmap swig_types[80]
1423#define SWIGTYPE_p_wxConfig swig_types[81]
1424#define SWIGTYPE_unsigned_int swig_types[82]
1425#define SWIGTYPE_p_unsigned_int swig_types[83]
1426#define SWIGTYPE_p_unsigned_char swig_types[84]
1427#define SWIGTYPE_p_wxChar swig_types[85]
1428#define SWIGTYPE_p_wxBusyInfo swig_types[86]
1429#define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1430#define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1431#define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1432#define SWIGTYPE_p_wxProcessEvent swig_types[90]
1433#define SWIGTYPE_p_wxPyLog swig_types[91]
1434#define SWIGTYPE_p_wxLogNull swig_types[92]
1435#define SWIGTYPE_p_wxColour swig_types[93]
1436#define SWIGTYPE_p_wxPyTimer swig_types[94]
1437#define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1438#define SWIGTYPE_p_wxDateSpan swig_types[96]
1439static swig_type_info *swig_types[98];
d55e5bfc 1440
093d3ff1 1441/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1442
1443
093d3ff1
RD
1444/*-----------------------------------------------
1445 @(target):= _misc_.so
1446 ------------------------------------------------*/
1447#define SWIG_init init_misc_
d55e5bfc 1448
093d3ff1 1449#define SWIG_name "_misc_"
d55e5bfc 1450
093d3ff1
RD
1451#include "wx/wxPython/wxPython.h"
1452#include "wx/wxPython/pyclasses.h"
1453#include "wx/wxPython/pyistream.h"
d55e5bfc 1454
093d3ff1 1455 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1456
d55e5bfc 1457
d55e5bfc 1458
093d3ff1
RD
1459 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1460#define SWIG_From_int PyInt_FromLong
1461/*@@*/
d55e5bfc
RD
1462
1463
093d3ff1 1464#include <limits.h>
d55e5bfc
RD
1465
1466
093d3ff1
RD
1467SWIGINTERN int
1468 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1469 const char *errmsg)
d55e5bfc 1470{
093d3ff1
RD
1471 if (value < min_value) {
1472 if (errmsg) {
1473 PyErr_Format(PyExc_OverflowError,
1474 "value %ld is less than '%s' minimum %ld",
1475 value, errmsg, min_value);
1476 }
1477 return 0;
1478 } else if (value > max_value) {
c32bde28
RD
1479 if (errmsg) {
1480 PyErr_Format(PyExc_OverflowError,
093d3ff1 1481 "value %ld is greater than '%s' maximum %ld",
c32bde28 1482 value, errmsg, max_value);
d55e5bfc 1483 }
c32bde28 1484 return 0;
d55e5bfc 1485 }
c32bde28 1486 return 1;
093d3ff1 1487}
d55e5bfc
RD
1488
1489
093d3ff1
RD
1490SWIGINTERN int
1491SWIG_AsVal_long(PyObject* obj, long* val)
1492{
1493 if (PyNumber_Check(obj)) {
1494 if (val) *val = PyInt_AsLong(obj);
1495 return 1;
1496 }
1497 else {
1498 SWIG_type_error("number", obj);
1499 }
1500 return 0;
1501}
1502
1503
1504#if INT_MAX != LONG_MAX
1505SWIGINTERN int
1506 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1507{
093d3ff1
RD
1508 const char* errmsg = val ? "int" : (char*)0;
1509 long v;
1510 if (SWIG_AsVal_long(obj, &v)) {
1511 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1512 if (val) *val = (int)(v);
c32bde28 1513 return 1;
093d3ff1
RD
1514 } else {
1515 return 0;
c32bde28
RD
1516 }
1517 } else {
1518 PyErr_Clear();
1519 }
1520 if (val) {
093d3ff1 1521 SWIG_type_error(errmsg, obj);
c32bde28
RD
1522 }
1523 return 0;
d55e5bfc
RD
1524}
1525#else
093d3ff1
RD
1526SWIGINTERNSHORT int
1527 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1528{
093d3ff1 1529 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1530}
d55e5bfc
RD
1531#endif
1532
1533
093d3ff1
RD
1534SWIGINTERNSHORT int
1535SWIG_As_int(PyObject* obj)
d55e5bfc 1536{
093d3ff1
RD
1537 int v;
1538 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1539 /*
093d3ff1 1540 this is needed to make valgrind/purify happier.
c32bde28 1541 */
093d3ff1 1542 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1543 }
c32bde28
RD
1544 return v;
1545}
1546
1547
093d3ff1
RD
1548SWIGINTERNSHORT int
1549SWIG_Check_int(PyObject* obj)
c32bde28 1550{
093d3ff1 1551 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1552}
1553
093d3ff1 1554 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1555
093d3ff1 1556#include <wx/stockitem.h>
f78cc896 1557
093d3ff1
RD
1558 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1559 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1560 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1561
093d3ff1
RD
1562 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1563#define SWIG_From_long PyInt_FromLong
1564/*@@*/
f78cc896 1565
f78cc896 1566
093d3ff1
RD
1567SWIGINTERNSHORT long
1568SWIG_As_long(PyObject* obj)
1569{
1570 long v;
1571 if (!SWIG_AsVal_long(obj, &v)) {
1572 /*
1573 this is needed to make valgrind/purify happier.
1574 */
1575 memset((void*)&v, 0, sizeof(long));
1576 }
1577 return v;
1578}
f78cc896 1579
093d3ff1
RD
1580
1581SWIGINTERNSHORT int
1582SWIG_Check_long(PyObject* obj)
1583{
1584 return SWIG_AsVal_long(obj, (long*)0);
1585}
f78cc896 1586
f78cc896 1587
093d3ff1
RD
1588SWIGINTERN int
1589 SWIG_AsVal_bool(PyObject *obj, bool *val)
1590{
1591 if (obj == Py_True) {
1592 if (val) *val = true;
1593 return 1;
1594 }
1595 if (obj == Py_False) {
1596 if (val) *val = false;
1597 return 1;
1598 }
1599 int res = 0;
1600 if (SWIG_AsVal_int(obj, &res)) {
1601 if (val) *val = res ? true : false;
1602 return 1;
1603 } else {
1604 PyErr_Clear();
1605 }
1606 if (val) {
1607 SWIG_type_error("bool", obj);
1608 }
1609 return 0;
1610}
d55e5bfc 1611
d55e5bfc 1612
093d3ff1
RD
1613SWIGINTERNSHORT bool
1614SWIG_As_bool(PyObject* obj)
1615{
1616 bool v;
1617 if (!SWIG_AsVal_bool(obj, &v)) {
1618 /*
1619 this is needed to make valgrind/purify happier.
1620 */
1621 memset((void*)&v, 0, sizeof(bool));
1622 }
1623 return v;
1624}
d55e5bfc 1625
093d3ff1
RD
1626
1627SWIGINTERNSHORT int
1628SWIG_Check_bool(PyObject* obj)
1629{
1630 return SWIG_AsVal_bool(obj, (bool*)0);
1631}
d55e5bfc
RD
1632
1633
093d3ff1
RD
1634 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1635 PyObject* o2;
1636 PyObject* o3;
1637
1638 if (!target) {
1639 target = o;
1640 } else if (target == Py_None) {
1641 Py_DECREF(Py_None);
1642 target = o;
1643 } else {
1644 if (!PyTuple_Check(target)) {
1645 o2 = target;
1646 target = PyTuple_New(1);
1647 PyTuple_SetItem(target, 0, o2);
1648 }
1649 o3 = PyTuple_New(1);
1650 PyTuple_SetItem(o3, 0, o);
d55e5bfc 1651
093d3ff1
RD
1652 o2 = target;
1653 target = PySequence_Concat(o2, o3);
1654 Py_DECREF(o2);
1655 Py_DECREF(o3);
1656 }
1657 return target;
1658 }
d55e5bfc 1659
d55e5bfc
RD
1660
1661
093d3ff1
RD
1662SWIGINTERN int
1663SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1664{
1665 long v = 0;
1666 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1667 SWIG_type_error("unsigned number", obj);
d55e5bfc 1668 }
093d3ff1
RD
1669 else if (val)
1670 *val = (unsigned long)v;
1671 return 1;
1672}
d55e5bfc 1673
d55e5bfc 1674
093d3ff1
RD
1675SWIGINTERNSHORT unsigned long
1676SWIG_As_unsigned_SS_long(PyObject* obj)
1677{
1678 unsigned long v;
1679 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1680 /*
1681 this is needed to make valgrind/purify happier.
1682 */
1683 memset((void*)&v, 0, sizeof(unsigned long));
1684 }
1685 return v;
1686}
d55e5bfc 1687
093d3ff1
RD
1688
1689SWIGINTERNSHORT int
1690SWIG_Check_unsigned_SS_long(PyObject* obj)
1691{
1692 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1693}
d55e5bfc
RD
1694
1695
093d3ff1
RD
1696SWIGINTERNSHORT PyObject*
1697 SWIG_From_unsigned_SS_long(unsigned long value)
1698{
1699 return (value > LONG_MAX) ?
1700 PyLong_FromUnsignedLong(value)
1701 : PyInt_FromLong((long)(value));
1702}
d55e5bfc
RD
1703
1704
093d3ff1
RD
1705 bool wxThread_IsMain() {
1706#ifdef WXP_WITH_THREAD
1707 return wxThread::IsMain();
1708#else
1709 return true;
1710#endif
d55e5bfc 1711 }
093d3ff1 1712
091fdbfa
RD
1713static void wxCaret_Destroy(wxCaret *self){
1714 delete self;
1715 }
d55e5bfc 1716
093d3ff1
RD
1717#include <wx/snglinst.h>
1718
1719
68350608
RD
1720#ifdef __WXMSW__
1721#include <wx/msw/private.h>
1722#include <wx/dynload.h>
1723#endif
1724
1725
1726
1727bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1728#if 0
1729 , int method
1730#endif
1731 )
1732{
1733#ifdef __WXMSW__
1734#if 0
1735 switch (method)
1736 {
1737 case 1:
1738 // This one only partially works. Appears to be an undocumented
1739 // "standard" convention that not all widgets adhear to. For
1740 // example, for some widgets backgrounds or non-client areas may
1741 // not be painted.
1742 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1743 break;
1744
1745 case 2:
1746#endif
1747 // This one works much better, nearly all widgets and their
1748 // children are captured correctly[**]. Prior to the big
1749 // background erase changes that Vadim did in 2004-2005 this
1750 // method failed badly on XP with Themes activated, most native
1751 // widgets draw only partially, if at all. Without themes it
1752 // worked just like on Win2k. After those changes this method
1753 // works very well.
1754 //
1755 // ** For example the radio buttons in a wxRadioBox are not its
1756 // children by default, but you can capture it via the panel
1757 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1758 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1759 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1760 PRF_ERASEBKGND | PRF_OWNED );
1761 return true;
1762#if 0
1763 break;
1764
1765 case 3:
1766 // This one is only defined in the latest SDK and is only
1767 // available on XP. MSDN says it is similar to sending WM_PRINT
1768 // so I expect that it will work similar to the above. Since it
1769 // is avaialble only on XP, it can't be compiled like this and
1770 // will have to be loaded dynamically.
1771 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1772
1773 // fall through
1774
1775 case 4:
1776 // Use PrintWindow if available, or fallback to WM_PRINT
1777 // otherwise. Unfortunately using PrintWindow is even worse than
1778 // WM_PRINT. For most native widgets nothing is drawn to the dc
1779 // at all, with or without Themes.
1780 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1781 static bool s_triedToLoad = false;
1782 static PrintWindow_t pfnPrintWindow = NULL;
1783 if ( !s_triedToLoad )
1784 {
1785
1786 s_triedToLoad = true;
1787 wxDynamicLibrary dllUser32(_T("user32.dll"));
1788 if ( dllUser32.IsLoaded() )
1789 {
1790 wxLogNull nolog; // Don't report errors here
1791 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1792 }
1793 }
1794 if (pfnPrintWindow)
1795 {
1796 //printf("Using PrintWindow\n");
1797 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1798 }
1799 else
1800 {
1801 //printf("Using WM_PRINT\n");
1802 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1803 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1804 PRF_ERASEBKGND | PRF_OWNED );
1805 }
1806 }
1807#endif // 0
1808#else
1809 return false;
1810#endif // __WXMSW__
1811}
1812
1813
1814
093d3ff1
RD
1815#include <wx/tipdlg.h>
1816
d55e5bfc 1817
093d3ff1
RD
1818class wxPyTipProvider : public wxTipProvider {
1819public:
1820 wxPyTipProvider(size_t currentTip)
1821 : wxTipProvider(currentTip) {}
1822
1823 DEC_PYCALLBACK_STRING__pure(GetTip);
1824 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
1825 PYPRIVATE;
1826};
1827
093d3ff1
RD
1828IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
1829IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
1830
1831
093d3ff1 1832//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 1833
093d3ff1 1834IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 1835
093d3ff1
RD
1836wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
1837 : wxTimer(owner, id)
1838{
1839 if (owner == NULL) SetOwner(this);
1840}
d55e5bfc 1841
d55e5bfc 1842
093d3ff1
RD
1843void wxPyTimer::Notify() {
1844 bool found;
5a446332 1845 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
1846 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
1847 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
1848 wxPyEndBlockThreads(blocked);
1849 if (! found)
1850 wxTimer::Notify();
1851}
1852void wxPyTimer::base_Notify() {
1853 wxTimer::Notify();
1854}
d55e5bfc 1855
d55e5bfc 1856
093d3ff1
RD
1857
1858SWIGINTERN PyObject *
1859SWIG_FromCharPtr(const char* cptr)
1860{
1861 if (cptr) {
1862 size_t size = strlen(cptr);
1863 if (size > INT_MAX) {
1864 return SWIG_NewPointerObj((char*)(cptr),
1865 SWIG_TypeQuery("char *"), 0);
1866 } else {
1867 if (size != 0) {
1868 return PyString_FromStringAndSize(cptr, size);
1869 } else {
1870 return PyString_FromString(cptr);
1871 }
c32bde28 1872 }
093d3ff1
RD
1873 }
1874 Py_INCREF(Py_None);
1875 return Py_None;
1876}
1877
1878
1879SWIGINTERNSHORT int
1880 SWIG_CheckUnsignedLongInRange(unsigned long value,
1881 unsigned long max_value,
1882 const char *errmsg)
1883{
1884 if (value > max_value) {
1885 if (errmsg) {
1886 PyErr_Format(PyExc_OverflowError,
1887 "value %lu is greater than '%s' minimum %lu",
1888 value, errmsg, max_value);
d55e5bfc 1889 }
c32bde28 1890 return 0;
093d3ff1
RD
1891 }
1892 return 1;
1893 }
1894
1895
1896#if UINT_MAX != ULONG_MAX
1897SWIGINTERN int
1898 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1899{
1900 const char* errmsg = val ? "unsigned int" : (char*)0;
1901 unsigned long v;
1902 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1903 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1904 if (val) *val = (unsigned int)(v);
1905 return 1;
1906 }
1907 } else {
1908 PyErr_Clear();
1909 }
1910 if (val) {
1911 SWIG_type_error(errmsg, obj);
1912 }
1913 return 0;
1914}
1915#else
1916SWIGINTERNSHORT unsigned int
1917 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1918{
1919 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 1920}
093d3ff1 1921#endif
d55e5bfc
RD
1922
1923
093d3ff1
RD
1924SWIGINTERNSHORT unsigned int
1925SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 1926{
093d3ff1
RD
1927 unsigned int v;
1928 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 1929 /*
093d3ff1 1930 this is needed to make valgrind/purify happier.
c32bde28 1931 */
093d3ff1 1932 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 1933 }
c32bde28
RD
1934 return v;
1935}
1936
1937
093d3ff1
RD
1938SWIGINTERNSHORT int
1939SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 1940{
093d3ff1 1941 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
1942}
1943
093d3ff1
RD
1944static wxString Log_TimeStamp(){
1945 wxString msg;
1946 wxLog::TimeStamp(&msg);
1947 return msg;
d55e5bfc 1948 }
093d3ff1
RD
1949static void wxLog_Destroy(wxLog *self){ delete self; }
1950// Make somce wrappers that double any % signs so they are 'escaped'
1951 void wxPyLogFatalError(const wxString& msg)
1952 {
1953 wxString m(msg);
1954 m.Replace(wxT("%"), wxT("%%"));
1955 wxLogFatalError(m);
1956 }
1957
1958 void wxPyLogError(const wxString& msg)
1959 {
1960 wxString m(msg);
1961 m.Replace(wxT("%"), wxT("%%"));
1962 wxLogError(m);
1963 }
d55e5bfc 1964
093d3ff1
RD
1965 void wxPyLogWarning(const wxString& msg)
1966 {
1967 wxString m(msg);
1968 m.Replace(wxT("%"), wxT("%%"));
1969 wxLogWarning(m);
1970 }
d55e5bfc 1971
093d3ff1
RD
1972 void wxPyLogMessage(const wxString& msg)
1973 {
1974 wxString m(msg);
1975 m.Replace(wxT("%"), wxT("%%"));
1976 wxLogMessage(m);
1977 }
d55e5bfc 1978
093d3ff1
RD
1979 void wxPyLogInfo(const wxString& msg)
1980 {
1981 wxString m(msg);
1982 m.Replace(wxT("%"), wxT("%%"));
1983 wxLogInfo(m);
1984 }
d55e5bfc 1985
093d3ff1
RD
1986 void wxPyLogDebug(const wxString& msg)
1987 {
1988 wxString m(msg);
1989 m.Replace(wxT("%"), wxT("%%"));
1990 wxLogDebug(m);
1991 }
d55e5bfc 1992
093d3ff1
RD
1993 void wxPyLogVerbose(const wxString& msg)
1994 {
1995 wxString m(msg);
1996 m.Replace(wxT("%"), wxT("%%"));
1997 wxLogVerbose(m);
1998 }
d55e5bfc 1999
093d3ff1
RD
2000 void wxPyLogStatus(const wxString& msg)
2001 {
2002 wxString m(msg);
2003 m.Replace(wxT("%"), wxT("%%"));
2004 wxLogStatus(m);
2005 }
d55e5bfc 2006
093d3ff1
RD
2007 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2008 {
2009 wxString m(msg);
2010 m.Replace(wxT("%"), wxT("%%"));
2011 wxLogStatus(pFrame, m);
2012 }
d55e5bfc 2013
093d3ff1
RD
2014 void wxPyLogSysError(const wxString& msg)
2015 {
2016 wxString m(msg);
2017 m.Replace(wxT("%"), wxT("%%"));
2018 wxLogSysError(m);
2019 }
d55e5bfc 2020
093d3ff1
RD
2021 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2022 {
2023 wxString m(msg);
2024 m.Replace(wxT("%"), wxT("%%"));
2025 wxLogGeneric(level, m);
2026 }
a07a67e6 2027
093d3ff1
RD
2028 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2029 {
2030 wxString m(msg);
2031 m.Replace(wxT("%"), wxT("%%"));
2032 wxLogTrace(mask, m);
d55e5bfc 2033 }
093d3ff1
RD
2034
2035 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2036 {
2037 wxString m(msg);
2038 m.Replace(wxT("%"), wxT("%%"));
2039 wxLogTrace(mask, m);
d55e5bfc 2040 }
093d3ff1 2041
d55e5bfc
RD
2042
2043
093d3ff1
RD
2044// A wxLog class that can be derived from in wxPython
2045class wxPyLog : public wxLog {
d55e5bfc 2046public:
093d3ff1 2047 wxPyLog() : wxLog() {}
d55e5bfc 2048
093d3ff1
RD
2049 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2050 bool found;
5a446332 2051 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2052 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2053 PyObject* s = wx2PyString(szString);
2054 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2055 Py_DECREF(s);
d55e5bfc 2056 }
093d3ff1
RD
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 wxLog::DoLog(level, szString, t);
d55e5bfc 2060 }
d55e5bfc 2061
093d3ff1
RD
2062 virtual void DoLogString(const wxChar *szString, time_t t) {
2063 bool found;
5a446332 2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2065 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2066 PyObject* s = wx2PyString(szString);
2067 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2068 Py_DECREF(s);
d55e5bfc 2069 }
093d3ff1
RD
2070 wxPyEndBlockThreads(blocked);
2071 if (! found)
2072 wxLog::DoLogString(szString, t);
2073 }
d55e5bfc
RD
2074
2075 PYPRIVATE;
2076};
2077
d55e5bfc
RD
2078
2079
093d3ff1
RD
2080
2081IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2082
d55e5bfc 2083
093d3ff1 2084#include <wx/joystick.h>
d55e5bfc 2085
d55e5bfc 2086
093d3ff1
RD
2087#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2088// A C++ stub class for wxJoystick for platforms that don't have it.
2089class wxJoystick : public wxObject {
2090public:
2091 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2093 PyErr_SetString(PyExc_NotImplementedError,
2094 "wxJoystick is not available on this platform.");
2095 wxPyEndBlockThreads(blocked);
d55e5bfc 2096 }
093d3ff1
RD
2097 wxPoint GetPosition() { return wxPoint(-1,-1); }
2098 int GetZPosition() { return -1; }
2099 int GetButtonState() { return -1; }
2100 int GetPOVPosition() { return -1; }
2101 int GetPOVCTSPosition() { return -1; }
2102 int GetRudderPosition() { return -1; }
2103 int GetUPosition() { return -1; }
2104 int GetVPosition() { return -1; }
2105 int GetMovementThreshold() { return -1; }
2106 void SetMovementThreshold(int threshold) {}
d55e5bfc 2107
093d3ff1
RD
2108 bool IsOk(void) { return false; }
2109 int GetNumberJoysticks() { return -1; }
2110 int GetManufacturerId() { return -1; }
2111 int GetProductId() { return -1; }
2112 wxString GetProductName() { return wxEmptyString; }
2113 int GetXMin() { return -1; }
2114 int GetYMin() { return -1; }
2115 int GetZMin() { return -1; }
2116 int GetXMax() { return -1; }
2117 int GetYMax() { return -1; }
2118 int GetZMax() { return -1; }
2119 int GetNumberButtons() { return -1; }
2120 int GetNumberAxes() { return -1; }
2121 int GetMaxButtons() { return -1; }
2122 int GetMaxAxes() { return -1; }
2123 int GetPollingMin() { return -1; }
2124 int GetPollingMax() { return -1; }
2125 int GetRudderMin() { return -1; }
2126 int GetRudderMax() { return -1; }
2127 int GetUMin() { return -1; }
2128 int GetUMax() { return -1; }
2129 int GetVMin() { return -1; }
2130 int GetVMax() { return -1; }
d55e5bfc 2131
093d3ff1
RD
2132 bool HasRudder() { return false; }
2133 bool HasZ() { return false; }
2134 bool HasU() { return false; }
2135 bool HasV() { return false; }
2136 bool HasPOV() { return false; }
2137 bool HasPOV4Dir() { return false; }
2138 bool HasPOVCTS() { return false; }
d55e5bfc 2139
093d3ff1
RD
2140 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2141 bool ReleaseCapture() { return false; }
2142};
2143#endif
d55e5bfc 2144
6923d0a9 2145
093d3ff1 2146#include <wx/sound.h>
6923d0a9 2147
6923d0a9 2148
093d3ff1
RD
2149#if !wxUSE_SOUND
2150// A C++ stub class for wxWave for platforms that don't have it.
2151class wxSound : public wxObject
6923d0a9
RD
2152{
2153public:
093d3ff1 2154 wxSound() {
5a446332 2155 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2156 PyErr_SetString(PyExc_NotImplementedError,
2157 "wxSound is not available on this platform.");
2158 wxPyEndBlockThreads(blocked);
2159 }
2160 wxSound(const wxString&/*, bool*/) {
5a446332 2161 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2162 PyErr_SetString(PyExc_NotImplementedError,
2163 "wxSound is not available on this platform.");
2164 wxPyEndBlockThreads(blocked);
2165 }
2166 wxSound(int, const wxByte*) {
5a446332 2167 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2168 PyErr_SetString(PyExc_NotImplementedError,
2169 "wxSound is not available on this platform.");
2170 wxPyEndBlockThreads(blocked);
2171 }
6923d0a9 2172
093d3ff1 2173 ~wxSound() {};
6923d0a9 2174
093d3ff1
RD
2175 bool Create(const wxString&/*, bool*/) { return false; }
2176 bool Create(int, const wxByte*) { return false; };
2177 bool IsOk() { return false; };
2178 bool Play(unsigned) const { return false; }
2179 static bool Play(const wxString&, unsigned) { return false; }
2180 static void Stop() {}
6923d0a9 2181};
093d3ff1 2182
6923d0a9
RD
2183#endif
2184
093d3ff1
RD
2185static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2186 if (fileName.Length() == 0)
2187 return new wxSound;
2188 else
2189 return new wxSound(fileName);
2190 }
2191static wxSound *new_wxSound(PyObject *data){
2192 unsigned char* buffer; int size;
2193 wxSound *sound = NULL;
2194
5a446332 2195 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2196 if (!PyArg_Parse(data, "t#", &buffer, &size))
2197 goto done;
2198 sound = new wxSound(size, buffer);
2199 done:
d55e5bfc 2200 wxPyEndBlockThreads(blocked);
093d3ff1 2201 return sound;
d55e5bfc 2202 }
093d3ff1
RD
2203static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2204 #ifndef __WXMAC__
2205 unsigned char* buffer;
2206 int size;
2207 bool rv = false;
c1cb24a4 2208
5a446332 2209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2210 if (!PyArg_Parse(data, "t#", &buffer, &size))
2211 goto done;
2212 rv = self->Create(size, buffer);
2213 done:
2214 wxPyEndBlockThreads(blocked);
2215 return rv;
2216 #else
5a446332 2217 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2218 PyErr_SetString(PyExc_NotImplementedError,
2219 "Create from data is not available on this platform.");
2220 wxPyEndBlockThreads(blocked);
2221 return false;
2222 #endif
2223 }
c1cb24a4 2224
093d3ff1
RD
2225#include <wx/mimetype.h>
2226
2227static PyObject *wxFileType_GetMimeType(wxFileType *self){
2228 wxString str;
2229 if (self->GetMimeType(&str))
2230 return wx2PyString(str);
2231 else
2232 RETURN_NONE();
8fb0e70a 2233 }
093d3ff1
RD
2234static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2235 wxArrayString arr;
2236 if (self->GetMimeTypes(arr))
2237 return wxArrayString2PyList_helper(arr);
2238 else
2239 RETURN_NONE();
2240 }
2241static PyObject *wxFileType_GetExtensions(wxFileType *self){
2242 wxArrayString arr;
2243 if (self->GetExtensions(arr))
2244 return wxArrayString2PyList_helper(arr);
2245 else
2246 RETURN_NONE();
2247 }
2248static wxIcon *wxFileType_GetIcon(wxFileType *self){
2249 wxIconLocation loc;
2250 if (self->GetIcon(&loc))
2251 return new wxIcon(loc);
2252 else
2253 return NULL;
2254 }
2255static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2256 wxIconLocation loc;
2257 if (self->GetIcon(&loc)) {
2258 wxString iconFile = loc.GetFileName();
2259 int iconIndex = -1;
d55e5bfc 2260
093d3ff1 2261 iconIndex = loc.GetIndex();
d55e5bfc 2262
093d3ff1 2263 // Make a tuple and put the values in it
5a446332 2264 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2265 PyObject* tuple = PyTuple_New(3);
2266 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2267 wxT("wxIcon"), true));
2268 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2269 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2270 wxPyEndBlockThreads(blocked);
2271 return tuple;
2272 }
2273 else
2274 RETURN_NONE();
2275 }
2276static PyObject *wxFileType_GetDescription(wxFileType *self){
2277 wxString str;
2278 if (self->GetDescription(&str))
2279 return wx2PyString(str);
2280 else
2281 RETURN_NONE();
2282 }
2283static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2284 wxString str;
2285 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2286 return wx2PyString(str);
2287 else
2288 RETURN_NONE();
2289 }
2290static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2291 wxString str;
2292 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2293 return wx2PyString(str);
2294 else
2295 RETURN_NONE();
2296 }
2297static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2298 wxArrayString verbs;
2299 wxArrayString commands;
2300 if (self->GetAllCommands(&verbs, &commands,
2301 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2302 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2303 PyObject* tuple = PyTuple_New(2);
2304 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2305 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2306 wxPyEndBlockThreads(blocked);
2307 return tuple;
2308 }
2309 else
2310 RETURN_NONE();
2311 }
2312static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2313 return wxFileType::ExpandCommand(command,
2314 wxFileType::MessageParameters(filename, mimetype));
2315 }
2316static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2317 wxArrayString arr;
2318 self->EnumAllFileTypes(arr);
2319 return wxArrayString2PyList_helper(arr);
2320 }
d55e5bfc 2321
093d3ff1 2322#include <wx/artprov.h>
d55e5bfc 2323
093d3ff1
RD
2324 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2325 static const wxString wxPyART_MENU(wxART_MENU);
2326 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2327 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2328 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2329 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2330 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2331 static const wxString wxPyART_OTHER(wxART_OTHER);
2332 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2333 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2334 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2335 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2336 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2337 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2338 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2339 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2340 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2341 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2342 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2343 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2344 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2345 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2346 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2347 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2348 static const wxString wxPyART_PRINT(wxART_PRINT);
2349 static const wxString wxPyART_HELP(wxART_HELP);
2350 static const wxString wxPyART_TIP(wxART_TIP);
2351 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2352 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2353 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2354 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2355 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2356 static const wxString wxPyART_CDROM(wxART_CDROM);
2357 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2358 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2359 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2360 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2361 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2362 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2363 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2364 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2365 static const wxString wxPyART_ERROR(wxART_ERROR);
2366 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2367 static const wxString wxPyART_WARNING(wxART_WARNING);
2368 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2369 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2370 static const wxString wxPyART_COPY(wxART_COPY);
2371 static const wxString wxPyART_CUT(wxART_CUT);
2372 static const wxString wxPyART_PASTE(wxART_PASTE);
2373 static const wxString wxPyART_DELETE(wxART_DELETE);
2374 static const wxString wxPyART_UNDO(wxART_UNDO);
2375 static const wxString wxPyART_REDO(wxART_REDO);
2376 static const wxString wxPyART_QUIT(wxART_QUIT);
2377 static const wxString wxPyART_FIND(wxART_FIND);
2378 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2379 // Python aware wxArtProvider
2380class wxPyArtProvider : public wxArtProvider {
2381public:
d55e5bfc 2382
093d3ff1
RD
2383 virtual wxBitmap CreateBitmap(const wxArtID& id,
2384 const wxArtClient& client,
2385 const wxSize& size) {
2386 wxBitmap rval = wxNullBitmap;
5a446332 2387 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2388 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2389 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2390 PyObject* ro;
2391 wxBitmap* ptr;
2392 PyObject* s1, *s2;
2393 s1 = wx2PyString(id);
2394 s2 = wx2PyString(client);
2395 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2396 Py_DECREF(so);
2397 Py_DECREF(s1);
2398 Py_DECREF(s2);
2399 if (ro) {
2400 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2401 rval = *ptr;
2402 Py_DECREF(ro);
2403 }
2404 }
2405 wxPyEndBlockThreads(blocked);
2406 return rval;
d55e5bfc 2407 }
d55e5bfc 2408
093d3ff1
RD
2409 PYPRIVATE;
2410};
d55e5bfc 2411
093d3ff1 2412static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2413
2414
d55e5bfc 2415
093d3ff1
RD
2416 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2417 PyObject* ret = PyTuple_New(3);
2418 if (ret) {
2419 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2420 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2421 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2422 }
2423 return ret;
2424 }
d55e5bfc 2425
093d3ff1
RD
2426static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2427 bool cont;
2428 long index = 0;
2429 wxString value;
7e63a440 2430
093d3ff1
RD
2431 cont = self->GetFirstGroup(value, index);
2432 return __EnumerationHelper(cont, value, index);
2433 }
2434static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2435 bool cont;
2436 wxString value;
7e63a440 2437
093d3ff1
RD
2438 cont = self->GetNextGroup(value, index);
2439 return __EnumerationHelper(cont, value, index);
2440 }
2441static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2442 bool cont;
2443 long index = 0;
2444 wxString value;
7e63a440 2445
093d3ff1
RD
2446 cont = self->GetFirstEntry(value, index);
2447 return __EnumerationHelper(cont, value, index);
2448 }
2449static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2450 bool cont;
2451 wxString value;
d55e5bfc 2452
093d3ff1
RD
2453 cont = self->GetNextEntry(value, index);
2454 return __EnumerationHelper(cont, value, index);
2455 }
2456static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2457 long rv;
2458 self->Read(key, &rv, defaultVal);
2459 return rv;
2460 }
d55e5bfc 2461
093d3ff1
RD
2462SWIGINTERN int
2463SWIG_AsVal_double(PyObject *obj, double* val)
2464{
2465 if (PyNumber_Check(obj)) {
2466 if (val) *val = PyFloat_AsDouble(obj);
2467 return 1;
d55e5bfc 2468 }
093d3ff1
RD
2469 else {
2470 SWIG_type_error("number", obj);
d55e5bfc 2471 }
093d3ff1 2472 return 0;
d55e5bfc
RD
2473}
2474
2475
093d3ff1
RD
2476SWIGINTERNSHORT double
2477SWIG_As_double(PyObject* obj)
2478{
2479 double v;
2480 if (!SWIG_AsVal_double(obj, &v)) {
2481 /*
2482 this is needed to make valgrind/purify happier.
2483 */
2484 memset((void*)&v, 0, sizeof(double));
2485 }
2486 return v;
d55e5bfc
RD
2487}
2488
093d3ff1
RD
2489
2490SWIGINTERNSHORT int
2491SWIG_Check_double(PyObject* obj)
2492{
2493 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2494}
2495
093d3ff1
RD
2496static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2497 double rv;
2498 self->Read(key, &rv, defaultVal);
2499 return rv;
2500 }
d55e5bfc 2501
093d3ff1
RD
2502 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2503#define SWIG_From_double PyFloat_FromDouble
2504/*@@*/
d55e5bfc 2505
093d3ff1
RD
2506static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2507 bool rv;
2508 self->Read(key, &rv, defaultVal);
2509 return rv;
2510 }
d55e5bfc 2511
093d3ff1 2512#include <wx/datetime.h>
d55e5bfc 2513
fef4c27a
RD
2514 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2515 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2516
093d3ff1 2517#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2518
b9d6a5f3
RD
2519static PyObject *DateTime_GetAmPmStrings(){
2520 wxString am;
2521 wxString pm;
2522 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2523 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2524 PyObject* tup = PyTuple_New(2);
2525 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2526 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2527 wxPyEndBlockThreads(blocked);
2528 return tup;
2529 }
093d3ff1
RD
2530
2531#if UINT_MAX < LONG_MAX
2532/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2533#define SWIG_From_unsigned_SS_int SWIG_From_long
2534/*@@*/
d55e5bfc 2535#else
093d3ff1
RD
2536/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2537#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2538/*@@*/
d55e5bfc 2539#endif
d55e5bfc 2540
093d3ff1
RD
2541static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2542static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2543static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2544static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2545static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2546static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2547 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2548 return (*self < *other);
2549 }
2550static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2551 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2552 return (*self <= *other);
2553 }
2554static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2555 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2556 return (*self > *other);
2557 }
2558static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2559 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2560 return (*self >= *other);
2561 }
2562static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2563 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2564 return (*self == *other);
2565 }
2566static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2567 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2568 return (*self != *other);
2569 }
2570static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2571 const wxChar* rv;
2572 const wxChar* _date = date;
2573 rv = self->ParseRfc822Date(_date);
2574 if (rv == NULL) return -1;
2575 return rv - _date;
2576 }
fef4c27a 2577static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2578 const wxChar* rv;
2579 const wxChar* _date = date;
2580 rv = self->ParseFormat(_date, format, dateDef);
2581 if (rv == NULL) return -1;
2582 return rv - _date;
2583 }
2584static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2585 const wxChar* rv;
2586 const wxChar* _datetime = datetime;
2587 rv = self->ParseDateTime(_datetime);
2588 if (rv == NULL) return -1;
2589 return rv - _datetime;
2590 }
2591static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2592 const wxChar* rv;
2593 const wxChar* _date = date;
2594 rv = self->ParseDate(_date);
2595 if (rv == NULL) return -1;
2596 return rv - _date;
2597 }
2598static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2599 const wxChar* rv;
2600 const wxChar* _time = time;
2601 rv = self->ParseTime(_time);
2602 if (rv == NULL) return -1;
2603 return rv - _time;
2604 }
2605static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2606static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2607static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2608static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2609static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2610static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2611static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2612static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2613static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2614static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2615static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2616static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2617static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2618static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2619static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2620static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2621
093d3ff1 2622#include <wx/dataobj.h>
d55e5bfc 2623
093d3ff1
RD
2624static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2625 size_t count = self->GetFormatCount(dir);
2626 wxDataFormat* formats = new wxDataFormat[count];
2627 self->GetAllFormats(formats, dir);
d55e5bfc 2628
5a446332 2629 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2630 PyObject* list = PyList_New(count);
2631 for (size_t i=0; i<count; i++) {
2632 wxDataFormat* format = new wxDataFormat(formats[i]);
2633 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
2634 PyList_Append(list, obj);
2635 Py_DECREF(obj);
2636 }
2637 wxPyEndBlockThreads(blocked);
2638 delete [] formats;
2639 return list;
2640 }
2641static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2642 PyObject* rval = NULL;
2643 size_t size = self->GetDataSize(format);
5a446332 2644 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2645 if (size) {
2646 char* buf = new char[size];
2647 if (self->GetDataHere(format, buf))
2648 rval = PyString_FromStringAndSize(buf, size);
2649 delete [] buf;
2650 }
2651 if (! rval) {
2652 rval = Py_None;
2653 Py_INCREF(rval);
2654 }
2655 wxPyEndBlockThreads(blocked);
2656 return rval;
2657 }
2658static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2659 bool rval;
5a446332 2660 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2661 if (PyString_Check(data)) {
2662 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2663 }
2664 else {
2665 // raise a TypeError if not a string
2666 PyErr_SetString(PyExc_TypeError, "String expected.");
2667 rval = false;
2668 }
2669 wxPyEndBlockThreads(blocked);
2670 return rval;
2671 }
2672static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2673 PyObject* rval = NULL;
2674 size_t size = self->GetDataSize();
5a446332 2675 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2676 if (size) {
2677 char* buf = new char[size];
2678 if (self->GetDataHere(buf))
2679 rval = PyString_FromStringAndSize(buf, size);
2680 delete [] buf;
2681 }
2682 if (! rval) {
2683 rval = Py_None;
2684 Py_INCREF(rval);
2685 }
2686 wxPyEndBlockThreads(blocked);
2687 return rval;
2688 }
2689static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2690 bool rval;
5a446332 2691 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2692 if (PyString_Check(data)) {
2693 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2694 }
2695 else {
2696 // raise a TypeError if not a string
2697 PyErr_SetString(PyExc_TypeError, "String expected.");
2698 rval = false;
2699 }
2700 wxPyEndBlockThreads(blocked);
2701 return rval;
2702 }
2703 // Create a new class for wxPython to use
2704class wxPyDataObjectSimple : public wxDataObjectSimple {
2705public:
2706 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2707 : wxDataObjectSimple(format) {}
d55e5bfc 2708
093d3ff1
RD
2709 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2710 bool GetDataHere(void *buf) const;
2711 bool SetData(size_t len, const void *buf) const;
2712 PYPRIVATE;
2713};
d55e5bfc 2714
093d3ff1 2715IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2716
093d3ff1
RD
2717bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2718 // We need to get the data for this object and write it to buf. I think
2719 // the best way to do this for wxPython is to have the Python method
2720 // return either a string or None and then act appropriately with the
2721 // C++ version.
d55e5bfc 2722
093d3ff1 2723 bool rval = false;
5a446332 2724 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2725 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2726 PyObject* ro;
2727 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2728 if (ro) {
2729 rval = (ro != Py_None && PyString_Check(ro));
2730 if (rval)
2731 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2732 Py_DECREF(ro);
2733 }
d55e5bfc 2734 }
093d3ff1
RD
2735 wxPyEndBlockThreads(blocked);
2736 return rval;
d55e5bfc
RD
2737}
2738
093d3ff1
RD
2739bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2740 // For this one we simply need to make a string from buf and len
2741 // and send it to the Python method.
2742 bool rval = false;
5a446332 2743 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2744 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2745 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2746 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2747 Py_DECREF(data);
d55e5bfc 2748 }
093d3ff1
RD
2749 wxPyEndBlockThreads(blocked);
2750 return rval;
d55e5bfc
RD
2751}
2752
093d3ff1
RD
2753 // Create a new class for wxPython to use
2754class wxPyTextDataObject : public wxTextDataObject {
2755public:
2756 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2757 : wxTextDataObject(text) {}
2758
2759 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2760 DEC_PYCALLBACK_STRING__const(GetText);
2761 DEC_PYCALLBACK__STRING(SetText);
2762 PYPRIVATE;
2763};
d55e5bfc 2764
093d3ff1
RD
2765IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2766IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2767IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2768
2769
2770 // Create a new class for wxPython to use
2771class wxPyBitmapDataObject : public wxBitmapDataObject {
2772public:
2773 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2774 : wxBitmapDataObject(bitmap) {}
2775
2776 wxBitmap GetBitmap() const;
2777 void SetBitmap(const wxBitmap& bitmap);
2778 PYPRIVATE;
2779};
2780
2781wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2782 wxBitmap* rval = &wxNullBitmap;
5a446332 2783 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2784 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2785 PyObject* ro;
2786 wxBitmap* ptr;
2787 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2788 if (ro) {
2789 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2790 rval = ptr;
2791 Py_DECREF(ro);
2792 }
2793 }
2794 wxPyEndBlockThreads(blocked);
2795 return *rval;
2796}
2797
2798void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2799 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2800 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2801 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2802 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2803 Py_DECREF(bo);
2804 }
2805 wxPyEndBlockThreads(blocked);
2806}
2807
fef4c27a
RD
2808static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2809 return new wxCustomDataObject(wxDataFormat(formatName));
2810 }
093d3ff1
RD
2811static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2812 bool rval;
5a446332 2813 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2814 if (PyString_Check(data)) {
2815 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2816 }
2817 else {
2818 // raise a TypeError if not a string
2819 PyErr_SetString(PyExc_TypeError, "String expected.");
2820 rval = false;
2821 }
2822 wxPyEndBlockThreads(blocked);
2823 return rval;
2824 }
2825static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2826 PyObject* obj;
5a446332 2827 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2828 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
2829 wxPyEndBlockThreads(blocked);
2830 return obj;
2831 }
2832
2833#include <wx/metafile.h>
2834
2835
2836IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
2837
2838
2839IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
2840IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
2841IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
2842IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
2843IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
2844
2845
2846class wxPyTextDropTarget : public wxTextDropTarget {
2847public:
2848 wxPyTextDropTarget() {}
2849
2850 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
2851
2852 DEC_PYCALLBACK__(OnLeave);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2855 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2856 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2857
2858 PYPRIVATE;
2859};
2860
2861IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
2862IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
2863IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
2864IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
2865IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
2866IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
2867
2868
2869
2870class wxPyFileDropTarget : public wxFileDropTarget {
2871public:
2872 wxPyFileDropTarget() {}
2873
2874 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
2875
2876 DEC_PYCALLBACK__(OnLeave);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2879 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2880 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2881
2882 PYPRIVATE;
2883};
2884
2885bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
2886 const wxArrayString& filenames) {
2887 bool rval = false;
5a446332 2888 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2889 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
2890 PyObject* list = wxArrayString2PyList_helper(filenames);
2891 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
2892 Py_DECREF(list);
2893 }
2894 wxPyEndBlockThreads(blocked);
2895 return rval;
2896}
2897
2898
2899
2900IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
2901IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
2902IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
2903IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
2904IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
2905
2906
2907
2908
2909static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
2910
2911#include <wx/display.h>
2912
2913static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
2914static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
2915
2916// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2917#if !wxUSE_DISPLAY
2918#include <wx/dynarray.h>
2919#include <wx/vidmode.h>
2920
2921WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
2922#include "wx/arrimpl.cpp"
2923WX_DEFINE_OBJARRAY(wxArrayVideoModes);
2924const wxVideoMode wxDefaultVideoMode;
2925
2926class wxDisplay
2927{
2928public:
2929 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
2930 ~wxDisplay() {}
2931
2932 static size_t GetCount()
2933 { wxPyRaiseNotImplemented(); return 0; }
2934
2935 static int GetFromPoint(const wxPoint& pt)
2936 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2937 static int GetFromWindow(wxWindow *window)
2938 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2939
2940 virtual bool IsOk() const { return false; }
2941 virtual wxRect GetGeometry() const { wxRect r; return r; }
2942 virtual wxString GetName() const { return wxEmptyString; }
2943 bool IsPrimary() const { return false; }
2944
2945 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
2946 { wxArrayVideoModes a; return a; }
2947
2948 virtual wxVideoMode GetCurrentMode() const
2949 { return wxDefaultVideoMode; }
2950
2951 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
2952 { return false; }
2953
2954 void ResetMode() {}
2955};
2956#endif
2957
2958static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
2959 PyObject* pyList = NULL;
2960 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 2961 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2962 pyList = PyList_New(0);
2963 for (int i=0; i < arr.GetCount(); i++) {
2964 wxVideoMode* m = new wxVideoMode(arr.Item(i));
2965 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
2966 PyList_Append(pyList, pyObj);
2967 Py_DECREF(pyObj);
2968 }
2969 wxPyEndBlockThreads(blocked);
2970 return pyList;
2971 }
2972
2973#include <wx/stdpaths.h>
2974
2975static wxStandardPaths *StandardPaths_Get(){
2976 return (wxStandardPaths*) &wxStandardPaths::Get();
2977 }
2978static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
2979static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
2980#ifdef __cplusplus
2981extern "C" {
2982#endif
2983static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 2984 PyObject *resultobj;
093d3ff1
RD
2985 wxSystemColour arg1 ;
2986 wxColour result;
d55e5bfc
RD
2987 PyObject * obj0 = 0 ;
2988 char *kwnames[] = {
093d3ff1 2989 (char *) "index", NULL
d55e5bfc
RD
2990 };
2991
093d3ff1
RD
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2993 {
2994 arg1 = (wxSystemColour)(SWIG_As_int(obj0));
2995 if (SWIG_arg_fail(1)) SWIG_fail;
2996 }
d55e5bfc 2997 {
093d3ff1 2998 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3000 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
d55e5bfc
RD
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
093d3ff1
RD
3005 {
3006 wxColour * resultptr;
3007 resultptr = new wxColour((wxColour &)(result));
3008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3009 }
d55e5bfc
RD
3010 return resultobj;
3011 fail:
3012 return NULL;
3013}
3014
3015
093d3ff1 3016static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3017 PyObject *resultobj;
093d3ff1
RD
3018 wxSystemFont arg1 ;
3019 wxFont result;
3020 PyObject * obj0 = 0 ;
d55e5bfc 3021 char *kwnames[] = {
093d3ff1 3022 (char *) "index", NULL
d55e5bfc
RD
3023 };
3024
093d3ff1 3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3026 {
093d3ff1
RD
3027 arg1 = (wxSystemFont)(SWIG_As_int(obj0));
3028 if (SWIG_arg_fail(1)) SWIG_fail;
3029 }
3030 {
3031 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3033 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
d55e5bfc
RD
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
093d3ff1
RD
3038 {
3039 wxFont * resultptr;
3040 resultptr = new wxFont((wxFont &)(result));
3041 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3042 }
3043 return resultobj;
3044 fail:
3045 return NULL;
d55e5bfc
RD
3046}
3047
3048
093d3ff1 3049static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3050 PyObject *resultobj;
093d3ff1 3051 wxSystemMetric arg1 ;
6932ae68 3052 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3053 int result;
d1f3a348 3054 PyObject * obj0 = 0 ;
6932ae68 3055 PyObject * obj1 = 0 ;
d1f3a348 3056 char *kwnames[] = {
6932ae68 3057 (char *) "index",(char *) "win", NULL
d1f3a348
RD
3058 };
3059
6932ae68 3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
d1f3a348 3061 {
093d3ff1
RD
3062 arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
3063 if (SWIG_arg_fail(1)) SWIG_fail;
3064 }
6932ae68
RD
3065 if (obj1) {
3066 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(2)) SWIG_fail;
3068 }
093d3ff1
RD
3069 {
3070 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932ae68 3072 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
d1f3a348
RD
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 {
093d3ff1 3078 resultobj = SWIG_From_int((int)(result));
d1f3a348
RD
3079 }
3080 return resultobj;
3081 fail:
3082 return NULL;
3083}
3084
3085
093d3ff1 3086static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3087 PyObject *resultobj;
093d3ff1 3088 wxSystemFeature arg1 ;
d1f3a348 3089 bool result;
d1f3a348 3090 PyObject * obj0 = 0 ;
d1f3a348 3091 char *kwnames[] = {
093d3ff1 3092 (char *) "index", NULL
d1f3a348
RD
3093 };
3094
093d3ff1 3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
d1f3a348 3096 {
093d3ff1
RD
3097 arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
3098 if (SWIG_arg_fail(1)) SWIG_fail;
d1f3a348
RD
3099 }
3100 {
093d3ff1 3101 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3103 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
d1f3a348
RD
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 {
3109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3110 }
d1f3a348
RD
3111 return resultobj;
3112 fail:
d1f3a348
RD
3113 return NULL;
3114}
3115
3116
093d3ff1 3117static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3118 PyObject *resultobj;
093d3ff1 3119 wxSystemScreenType result;
d1f3a348 3120 char *kwnames[] = {
093d3ff1 3121 NULL
d1f3a348
RD
3122 };
3123
093d3ff1 3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
d1f3a348 3125 {
093d3ff1 3126 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3128 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
d1f3a348
RD
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
093d3ff1 3133 resultobj = SWIG_From_int((result));
d1f3a348
RD
3134 return resultobj;
3135 fail:
3136 return NULL;
3137}
3138
3139
093d3ff1 3140static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3141 PyObject *resultobj;
093d3ff1
RD
3142 wxSystemScreenType arg1 ;
3143 PyObject * obj0 = 0 ;
d55e5bfc 3144 char *kwnames[] = {
093d3ff1 3145 (char *) "screen", NULL
d55e5bfc
RD
3146 };
3147
093d3ff1
RD
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3149 {
3150 arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
3151 if (SWIG_arg_fail(1)) SWIG_fail;
3152 }
d55e5bfc 3153 {
0439c23b 3154 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3155 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3156 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
d55e5bfc
RD
3157
3158 wxPyEndAllowThreads(__tstate);
110da5b0 3159 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3160 }
3161 Py_INCREF(Py_None); resultobj = Py_None;
3162 return resultobj;
3163 fail:
3164 return NULL;
3165}
3166
3167
093d3ff1
RD
3168static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3169 PyObject *obj;
3170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3171 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3172 Py_INCREF(obj);
3173 return Py_BuildValue((char *)"");
3174}
3175static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3176 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3177 return 1;
3178}
3179
3180
3181static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3182 PyObject *pyobj;
d55e5bfc 3183
d55e5bfc 3184 {
093d3ff1
RD
3185#if wxUSE_UNICODE
3186 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3187#else
3188 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3189#endif
d55e5bfc 3190 }
093d3ff1 3191 return pyobj;
d55e5bfc
RD
3192}
3193
3194
093d3ff1 3195static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3196 PyObject *resultobj;
093d3ff1 3197 wxSystemOptions *result;
d55e5bfc 3198 char *kwnames[] = {
093d3ff1 3199 NULL
d55e5bfc
RD
3200 };
3201
093d3ff1 3202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3205 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
093d3ff1 3210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3211 return resultobj;
3212 fail:
3213 return NULL;
3214}
3215
3216
093d3ff1 3217static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3218 PyObject *resultobj;
093d3ff1
RD
3219 wxString *arg1 = 0 ;
3220 wxString *arg2 = 0 ;
3221 bool temp1 = false ;
3222 bool temp2 = false ;
3223 PyObject * obj0 = 0 ;
3224 PyObject * obj1 = 0 ;
d55e5bfc 3225 char *kwnames[] = {
093d3ff1 3226 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3227 };
3228
093d3ff1
RD
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3230 {
3231 arg1 = wxString_in_helper(obj0);
3232 if (arg1 == NULL) SWIG_fail;
3233 temp1 = true;
3234 }
3235 {
3236 arg2 = wxString_in_helper(obj1);
3237 if (arg2 == NULL) SWIG_fail;
3238 temp2 = true;
3239 }
d55e5bfc
RD
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3242 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3243
3244 wxPyEndAllowThreads(__tstate);
110da5b0 3245 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3248 {
3249 if (temp1)
3250 delete arg1;
3251 }
3252 {
3253 if (temp2)
3254 delete arg2;
3255 }
d55e5bfc
RD
3256 return resultobj;
3257 fail:
093d3ff1
RD
3258 {
3259 if (temp1)
3260 delete arg1;
3261 }
3262 {
3263 if (temp2)
3264 delete arg2;
3265 }
d55e5bfc
RD
3266 return NULL;
3267}
3268
3269
093d3ff1 3270static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3271 PyObject *resultobj;
093d3ff1
RD
3272 wxString *arg1 = 0 ;
3273 int arg2 ;
3274 bool temp1 = false ;
3275 PyObject * obj0 = 0 ;
3276 PyObject * obj1 = 0 ;
d55e5bfc 3277 char *kwnames[] = {
093d3ff1 3278 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3279 };
3280
093d3ff1
RD
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3282 {
3283 arg1 = wxString_in_helper(obj0);
3284 if (arg1 == NULL) SWIG_fail;
3285 temp1 = true;
3286 }
3287 {
3288 arg2 = (int)(SWIG_As_int(obj1));
3289 if (SWIG_arg_fail(2)) SWIG_fail;
3290 }
d55e5bfc
RD
3291 {
3292 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3293 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3294
3295 wxPyEndAllowThreads(__tstate);
3296 if (PyErr_Occurred()) SWIG_fail;
3297 }
093d3ff1 3298 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3299 {
093d3ff1
RD
3300 if (temp1)
3301 delete arg1;
d55e5bfc
RD
3302 }
3303 return resultobj;
3304 fail:
093d3ff1
RD
3305 {
3306 if (temp1)
3307 delete arg1;
3308 }
d55e5bfc
RD
3309 return NULL;
3310}
3311
3312
093d3ff1 3313static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3314 PyObject *resultobj;
093d3ff1 3315 wxString *arg1 = 0 ;
d55e5bfc 3316 wxString result;
093d3ff1
RD
3317 bool temp1 = false ;
3318 PyObject * obj0 = 0 ;
d55e5bfc 3319 char *kwnames[] = {
093d3ff1 3320 (char *) "name", NULL
d55e5bfc
RD
3321 };
3322
093d3ff1
RD
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3324 {
3325 arg1 = wxString_in_helper(obj0);
3326 if (arg1 == NULL) SWIG_fail;
3327 temp1 = true;
3328 }
d55e5bfc
RD
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3331 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 {
3337#if wxUSE_UNICODE
3338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3339#else
3340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3341#endif
3342 }
093d3ff1
RD
3343 {
3344 if (temp1)
3345 delete arg1;
3346 }
d55e5bfc
RD
3347 return resultobj;
3348 fail:
093d3ff1
RD
3349 {
3350 if (temp1)
3351 delete arg1;
3352 }
d55e5bfc
RD
3353 return NULL;
3354}
3355
3356
093d3ff1 3357static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3358 PyObject *resultobj;
093d3ff1
RD
3359 wxString *arg1 = 0 ;
3360 int result;
ae8162c8 3361 bool temp1 = false ;
d55e5bfc
RD
3362 PyObject * obj0 = 0 ;
3363 char *kwnames[] = {
093d3ff1 3364 (char *) "name", NULL
d55e5bfc
RD
3365 };
3366
093d3ff1
RD
3367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3368 {
3369 arg1 = wxString_in_helper(obj0);
3370 if (arg1 == NULL) SWIG_fail;
3371 temp1 = true;
d55e5bfc
RD
3372 }
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3375 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
093d3ff1 3381 resultobj = SWIG_From_int((int)(result));
d55e5bfc
RD
3382 }
3383 {
3384 if (temp1)
3385 delete arg1;
3386 }
3387 return resultobj;
3388 fail:
3389 {
3390 if (temp1)
3391 delete arg1;
3392 }
3393 return NULL;
3394}
3395
3396
093d3ff1 3397static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3398 PyObject *resultobj;
093d3ff1
RD
3399 wxString *arg1 = 0 ;
3400 bool result;
3401 bool temp1 = false ;
3402 PyObject * obj0 = 0 ;
d55e5bfc 3403 char *kwnames[] = {
093d3ff1 3404 (char *) "name", NULL
d55e5bfc
RD
3405 };
3406
093d3ff1
RD
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3408 {
3409 arg1 = wxString_in_helper(obj0);
3410 if (arg1 == NULL) SWIG_fail;
3411 temp1 = true;
3412 }
d55e5bfc
RD
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3415 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
093d3ff1
RD
3420 {
3421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3422 }
3423 {
3424 if (temp1)
3425 delete arg1;
3426 }
d55e5bfc
RD
3427 return resultobj;
3428 fail:
093d3ff1
RD
3429 {
3430 if (temp1)
3431 delete arg1;
3432 }
d55e5bfc
RD
3433 return NULL;
3434}
3435
3436
396fb509
RD
3437static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxString *arg1 = 0 ;
3440 bool result;
3441 bool temp1 = false ;
3442 PyObject * obj0 = 0 ;
3443 char *kwnames[] = {
3444 (char *) "name", NULL
3445 };
3446
3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3448 {
3449 arg1 = wxString_in_helper(obj0);
3450 if (arg1 == NULL) SWIG_fail;
3451 temp1 = true;
3452 }
3453 {
3454 PyThreadState* __tstate = wxPyBeginAllowThreads();
3455 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3456
3457 wxPyEndAllowThreads(__tstate);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 {
3461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3462 }
3463 {
3464 if (temp1)
3465 delete arg1;
3466 }
3467 return resultobj;
3468 fail:
3469 {
3470 if (temp1)
3471 delete arg1;
3472 }
3473 return NULL;
3474}
3475
3476
093d3ff1
RD
3477static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3478 PyObject *obj;
3479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3480 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3481 Py_INCREF(obj);
3482 return Py_BuildValue((char *)"");
3483}
3484static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3485 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3486 return 1;
3487}
3488
3489
3490static PyObject *_wrap_FileSelectorPromptStr_get(void) {
3491 PyObject *pyobj;
3492
3493 {
3494#if wxUSE_UNICODE
3495 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3496#else
3497 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3498#endif
3499 }
3500 return pyobj;
3501}
3502
3503
3504static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3505 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3506 return 1;
3507}
3508
3509
3510static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
3511 PyObject *pyobj;
3512
3513 {
3514#if wxUSE_UNICODE
3515 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3516#else
3517 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3518#endif
3519 }
3520 return pyobj;
3521}
3522
3523
3524static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3525 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3526 return 1;
3527}
3528
3529
3530static PyObject *_wrap_DirSelectorPromptStr_get(void) {
3531 PyObject *pyobj;
3532
3533 {
3534#if wxUSE_UNICODE
3535 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3536#else
3537 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3538#endif
3539 }
3540 return pyobj;
3541}
3542
3543
3544static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3545 PyObject *resultobj;
093d3ff1 3546 long result;
d55e5bfc
RD
3547 char *kwnames[] = {
3548 NULL
3549 };
3550
093d3ff1 3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3554 result = (long)wxNewId();
d55e5bfc
RD
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
093d3ff1
RD
3559 {
3560 resultobj = SWIG_From_long((long)(result));
3561 }
d55e5bfc
RD
3562 return resultobj;
3563 fail:
3564 return NULL;
3565}
3566
3567
093d3ff1 3568static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3569 PyObject *resultobj;
093d3ff1
RD
3570 long arg1 ;
3571 PyObject * obj0 = 0 ;
d55e5bfc 3572 char *kwnames[] = {
093d3ff1 3573 (char *) "id", NULL
d55e5bfc
RD
3574 };
3575
093d3ff1
RD
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3577 {
3578 arg1 = (long)(SWIG_As_long(obj0));
3579 if (SWIG_arg_fail(1)) SWIG_fail;
3580 }
d55e5bfc
RD
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3583 wxRegisterId(arg1);
d55e5bfc
RD
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
093d3ff1 3588 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3589 return resultobj;
3590 fail:
3591 return NULL;
3592}
3593
3594
093d3ff1 3595static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3596 PyObject *resultobj;
3597 long result;
3598 char *kwnames[] = {
3599 NULL
3600 };
3601
093d3ff1 3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3605 result = (long)wxGetCurrentId();
d55e5bfc
RD
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
093d3ff1
RD
3610 {
3611 resultobj = SWIG_From_long((long)(result));
3612 }
d55e5bfc
RD
3613 return resultobj;
3614 fail:
3615 return NULL;
3616}
3617
3618
093d3ff1 3619static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3620 PyObject *resultobj;
3621 int arg1 ;
3622 bool result;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
093d3ff1 3625 (char *) "id", NULL
d55e5bfc
RD
3626 };
3627
093d3ff1
RD
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3629 {
3630 arg1 = (int)(SWIG_As_int(obj0));
3631 if (SWIG_arg_fail(1)) SWIG_fail;
3632 }
d55e5bfc
RD
3633 {
3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3635 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3636
3637 wxPyEndAllowThreads(__tstate);
110da5b0 3638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3639 }
3640 {
3641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3642 }
3643 return resultobj;
3644 fail:
3645 return NULL;
3646}
3647
3648
093d3ff1 3649static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3650 PyObject *resultobj;
3651 int arg1 ;
093d3ff1
RD
3652 wxString *arg2 = 0 ;
3653 bool result;
3654 bool temp2 = false ;
d55e5bfc 3655 PyObject * obj0 = 0 ;
093d3ff1 3656 PyObject * obj1 = 0 ;
d55e5bfc 3657 char *kwnames[] = {
093d3ff1 3658 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3659 };
3660
093d3ff1
RD
3661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3662 {
3663 arg1 = (int)(SWIG_As_int(obj0));
3664 if (SWIG_arg_fail(1)) SWIG_fail;
3665 }
3666 {
3667 arg2 = wxString_in_helper(obj1);
3668 if (arg2 == NULL) SWIG_fail;
3669 temp2 = true;
3670 }
d55e5bfc
RD
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3673 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
093d3ff1
RD
3678 {
3679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3680 }
3681 {
3682 if (temp2)
3683 delete arg2;
3684 }
d55e5bfc
RD
3685 return resultobj;
3686 fail:
093d3ff1
RD
3687 {
3688 if (temp2)
3689 delete arg2;
3690 }
d55e5bfc
RD
3691 return NULL;
3692}
3693
3694
093d3ff1 3695static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3696 PyObject *resultobj;
093d3ff1 3697 int arg1 ;
fef4c27a
RD
3698 bool arg2 = (bool) true ;
3699 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3700 wxString result;
d55e5bfc 3701 PyObject * obj0 = 0 ;
fef4c27a
RD
3702 PyObject * obj1 = 0 ;
3703 PyObject * obj2 = 0 ;
d55e5bfc 3704 char *kwnames[] = {
fef4c27a 3705 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3706 };
3707
fef4c27a 3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3709 {
3710 arg1 = (int)(SWIG_As_int(obj0));
3711 if (SWIG_arg_fail(1)) SWIG_fail;
3712 }
fef4c27a
RD
3713 if (obj1) {
3714 {
3715 arg2 = (bool)(SWIG_As_bool(obj1));
3716 if (SWIG_arg_fail(2)) SWIG_fail;
3717 }
3718 }
3719 if (obj2) {
3720 {
3721 wxString* sptr = wxString_in_helper(obj2);
3722 if (sptr == NULL) SWIG_fail;
3723 arg3 = *sptr;
3724 delete sptr;
3725 }
3726 }
d55e5bfc
RD
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3729 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
093d3ff1
RD
3734 {
3735#if wxUSE_UNICODE
3736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3737#else
3738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3739#endif
3740 }
bf26d883
RD
3741 return resultobj;
3742 fail:
3743 return NULL;
3744}
3745
3746
093d3ff1 3747static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883 3748 PyObject *resultobj;
bf26d883 3749 char *kwnames[] = {
093d3ff1 3750 NULL
bf26d883
RD
3751 };
3752
093d3ff1 3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3754 {
093d3ff1 3755 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3757 wxBell();
d55e5bfc
RD
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
3762 Py_INCREF(Py_None); resultobj = Py_None;
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
093d3ff1 3769static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3770 PyObject *resultobj;
d55e5bfc 3771 char *kwnames[] = {
093d3ff1 3772 NULL
d55e5bfc
RD
3773 };
3774
093d3ff1 3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3776 {
093d3ff1 3777 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3779 wxEndBusyCursor();
d55e5bfc
RD
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
093d3ff1 3791static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3792 PyObject *resultobj;
093d3ff1
RD
3793 bool arg1 = (bool) true ;
3794 long result;
d55e5bfc
RD
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
093d3ff1 3797 (char *) "resetTimer", NULL
d55e5bfc
RD
3798 };
3799
093d3ff1
RD
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3801 if (obj0) {
3802 {
3803 arg1 = (bool)(SWIG_As_bool(obj0));
3804 if (SWIG_arg_fail(1)) SWIG_fail;
3805 }
d55e5bfc
RD
3806 }
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3809 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
093d3ff1 3815 resultobj = SWIG_From_long((long)(result));
d55e5bfc
RD
3816 }
3817 return resultobj;
3818 fail:
093d3ff1
RD
3819 return NULL;
3820}
3821
3822
3823static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
3824 PyObject *resultobj;
3825 int *arg1 = (int *) 0 ;
3826 int *arg2 = (int *) 0 ;
3827 int temp1 ;
3828 int res1 = 0 ;
3829 int temp2 ;
3830 int res2 = 0 ;
3831 char *kwnames[] = {
3832 NULL
3833 };
3834
3835 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3836 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
d55e5bfc 3838 {
093d3ff1
RD
3839 if (!wxPyCheckForApp()) SWIG_fail;
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 wxGetMousePosition(arg1,arg2);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3845 }
093d3ff1
RD
3846 Py_INCREF(Py_None); resultobj = Py_None;
3847 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3848 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3849 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3850 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3851 return resultobj;
3852 fail:
d55e5bfc
RD
3853 return NULL;
3854}
3855
3856
093d3ff1 3857static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3858 PyObject *resultobj;
093d3ff1 3859 bool result;
d55e5bfc
RD
3860 char *kwnames[] = {
3861 NULL
3862 };
3863
093d3ff1 3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d55e5bfc
RD
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3867 result = (bool)wxIsBusy();
d55e5bfc
RD
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 {
093d3ff1 3873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
3874 }
3875 return resultobj;
3876 fail:
3877 return NULL;
3878}
3879
3880
093d3ff1 3881static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3882 PyObject *resultobj;
3883 wxString result;
3884 char *kwnames[] = {
3885 NULL
3886 };
3887
093d3ff1 3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
3889 {
3890 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3891 result = wxNow();
d55e5bfc
RD
3892
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897#if wxUSE_UNICODE
3898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3899#else
3900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3901#endif
3902 }
3903 return resultobj;
3904 fail:
3905 return NULL;
3906}
3907
3908
093d3ff1 3909static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3910 PyObject *resultobj;
093d3ff1
RD
3911 wxString const &arg1_defvalue = wxPyEmptyString ;
3912 wxString *arg1 = (wxString *) &arg1_defvalue ;
3913 bool result;
3914 bool temp1 = false ;
3915 PyObject * obj0 = 0 ;
d55e5bfc 3916 char *kwnames[] = {
093d3ff1 3917 (char *) "command", NULL
d55e5bfc
RD
3918 };
3919
093d3ff1
RD
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
3921 if (obj0) {
3922 {
3923 arg1 = wxString_in_helper(obj0);
3924 if (arg1 == NULL) SWIG_fail;
3925 temp1 = true;
3926 }
3927 }
d55e5bfc
RD
3928 {
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3930 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 {
093d3ff1
RD
3936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3937 }
3938 {
3939 if (temp1)
3940 delete arg1;
d55e5bfc
RD
3941 }
3942 return resultobj;
3943 fail:
093d3ff1
RD
3944 {
3945 if (temp1)
3946 delete arg1;
3947 }
d55e5bfc
RD
3948 return NULL;
3949}
3950
3951
093d3ff1 3952static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3953 PyObject *resultobj;
d55e5bfc
RD
3954 char *kwnames[] = {
3955 NULL
3956 };
3957
093d3ff1 3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3961 wxStartTimer();
d55e5bfc
RD
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
093d3ff1
RD
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 return resultobj;
3968 fail:
3969 return NULL;
3970}
3971
3972
3973static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 int *arg1 = (int *) 0 ;
3976 int *arg2 = (int *) 0 ;
3977 int result;
3978 int temp1 ;
3979 int res1 = 0 ;
3980 int temp2 ;
3981 int res2 = 0 ;
3982 char *kwnames[] = {
3983 NULL
3984 };
3985
3986 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3987 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
d55e5bfc 3989 {
093d3ff1
RD
3990 PyThreadState* __tstate = wxPyBeginAllowThreads();
3991 result = (int)wxGetOsVersion(arg1,arg2);
3992
3993 wxPyEndAllowThreads(__tstate);
3994 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3995 }
093d3ff1
RD
3996 {
3997 resultobj = SWIG_From_int((int)(result));
3998 }
3999 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4000 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4001 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4002 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4003 return resultobj;
4004 fail:
4005 return NULL;
4006}
4007
4008
093d3ff1 4009static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4010 PyObject *resultobj;
4011 wxString result;
4012 char *kwnames[] = {
4013 NULL
4014 };
4015
093d3ff1 4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4019 result = wxGetOsDescription();
d55e5bfc
RD
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 {
4025#if wxUSE_UNICODE
4026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4027#else
4028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4029#endif
4030 }
4031 return resultobj;
4032 fail:
4033 return NULL;
4034}
4035
4036
093d3ff1 4037static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4038 PyObject *resultobj;
093d3ff1 4039 long result;
d55e5bfc
RD
4040 char *kwnames[] = {
4041 NULL
4042 };
4043
093d3ff1 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4047 result = (long)wxGetFreeMemory();
d55e5bfc
RD
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 {
093d3ff1 4053 resultobj = SWIG_From_long((long)(result));
d55e5bfc
RD
4054 }
4055 return resultobj;
4056 fail:
4057 return NULL;
4058}
4059
4060
093d3ff1 4061static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4062 PyObject *resultobj;
093d3ff1
RD
4063 wxShutdownFlags arg1 ;
4064 bool result;
d55e5bfc
RD
4065 PyObject * obj0 = 0 ;
4066 char *kwnames[] = {
093d3ff1 4067 (char *) "wFlags", NULL
d55e5bfc
RD
4068 };
4069
093d3ff1
RD
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4071 {
4072 arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
4073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4074 }
4075 {
093d3ff1 4076 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4078 result = (bool)wxShutdown((wxShutdownFlags )arg1);
d55e5bfc
RD
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 {
093d3ff1 4084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4085 }
4086 return resultobj;
4087 fail:
d55e5bfc
RD
4088 return NULL;
4089}
4090
4091
093d3ff1 4092static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4093 PyObject *resultobj;
093d3ff1
RD
4094 int arg1 ;
4095 PyObject * obj0 = 0 ;
d55e5bfc 4096 char *kwnames[] = {
093d3ff1 4097 (char *) "secs", NULL
d55e5bfc
RD
4098 };
4099
093d3ff1
RD
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4101 {
4102 arg1 = (int)(SWIG_As_int(obj0));
4103 if (SWIG_arg_fail(1)) SWIG_fail;
4104 }
d55e5bfc
RD
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4107 wxSleep(arg1);
d55e5bfc
RD
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
093d3ff1 4112 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4113 return resultobj;
4114 fail:
4115 return NULL;
4116}
4117
4118
093d3ff1 4119static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4120 PyObject *resultobj;
093d3ff1
RD
4121 unsigned long arg1 ;
4122 PyObject * obj0 = 0 ;
d55e5bfc 4123 char *kwnames[] = {
093d3ff1 4124 (char *) "milliseconds", NULL
d55e5bfc
RD
4125 };
4126
093d3ff1
RD
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4128 {
4129 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4130 if (SWIG_arg_fail(1)) SWIG_fail;
4131 }
d55e5bfc
RD
4132 {
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4134 wxMilliSleep(arg1);
d55e5bfc
RD
4135
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 Py_INCREF(Py_None); resultobj = Py_None;
4140 return resultobj;
4141 fail:
4142 return NULL;
4143}
4144
4145
093d3ff1 4146static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4147 PyObject *resultobj;
093d3ff1 4148 unsigned long arg1 ;
d55e5bfc 4149 PyObject * obj0 = 0 ;
d55e5bfc 4150 char *kwnames[] = {
093d3ff1 4151 (char *) "microseconds", NULL
d55e5bfc
RD
4152 };
4153
093d3ff1
RD
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4155 {
4156 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4161 wxMicroSleep(arg1);
d55e5bfc
RD
4162
4163 wxPyEndAllowThreads(__tstate);
110da5b0 4164 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4165 }
093d3ff1 4166 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4167 return resultobj;
4168 fail:
093d3ff1
RD
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 bool arg1 ;
4176 PyObject * obj0 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "enable", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4182 {
093d3ff1
RD
4183 arg1 = (bool)(SWIG_As_bool(obj0));
4184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4185 }
4186 {
093d3ff1
RD
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 wxEnableTopLevelWindows(arg1);
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4192 }
093d3ff1
RD
4193 Py_INCREF(Py_None); resultobj = Py_None;
4194 return resultobj;
4195 fail:
d55e5bfc
RD
4196 return NULL;
4197}
4198
4199
093d3ff1 4200static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4201 PyObject *resultobj;
4202 wxString *arg1 = 0 ;
d55e5bfc 4203 wxString result;
ae8162c8 4204 bool temp1 = false ;
d55e5bfc 4205 PyObject * obj0 = 0 ;
d55e5bfc 4206 char *kwnames[] = {
093d3ff1 4207 (char *) "in", NULL
d55e5bfc
RD
4208 };
4209
093d3ff1 4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4211 {
4212 arg1 = wxString_in_helper(obj0);
4213 if (arg1 == NULL) SWIG_fail;
ae8162c8 4214 temp1 = true;
d55e5bfc
RD
4215 }
4216 {
d55e5bfc 4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4218 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4219
4220 wxPyEndAllowThreads(__tstate);
110da5b0 4221 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4222 }
4223 {
4224#if wxUSE_UNICODE
4225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4226#else
4227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4228#endif
4229 }
4230 {
4231 if (temp1)
4232 delete arg1;
4233 }
d55e5bfc
RD
4234 return resultobj;
4235 fail:
4236 {
4237 if (temp1)
4238 delete arg1;
4239 }
d55e5bfc
RD
4240 return NULL;
4241}
4242
4243
093d3ff1 4244static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4245 PyObject *resultobj;
d55e5bfc 4246 wxString result;
d55e5bfc 4247 char *kwnames[] = {
093d3ff1 4248 NULL
d55e5bfc
RD
4249 };
4250
093d3ff1 4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4252 {
4253 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4254 result = wxGetEmailAddress();
d55e5bfc
RD
4255
4256 wxPyEndAllowThreads(__tstate);
110da5b0 4257 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4258 }
4259 {
4260#if wxUSE_UNICODE
4261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4262#else
4263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4264#endif
4265 }
d55e5bfc
RD
4266 return resultobj;
4267 fail:
093d3ff1
RD
4268 return NULL;
4269}
4270
4271
4272static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxString result;
4275 char *kwnames[] = {
4276 NULL
4277 };
4278
4279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4280 {
093d3ff1
RD
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 result = wxGetHostName();
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4286 }
4287 {
093d3ff1
RD
4288#if wxUSE_UNICODE
4289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4290#else
4291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4292#endif
d55e5bfc 4293 }
093d3ff1
RD
4294 return resultobj;
4295 fail:
d55e5bfc
RD
4296 return NULL;
4297}
4298
4299
093d3ff1 4300static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4301 PyObject *resultobj;
d55e5bfc 4302 wxString result;
093d3ff1
RD
4303 char *kwnames[] = {
4304 NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = wxGetFullHostName();
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 {
4316#if wxUSE_UNICODE
4317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4318#else
4319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4320#endif
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
4328static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
4329 PyObject *resultobj;
4330 wxString result;
4331 char *kwnames[] = {
4332 NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 result = wxGetUserId();
4339
4340 wxPyEndAllowThreads(__tstate);
4341 if (PyErr_Occurred()) SWIG_fail;
4342 }
4343 {
4344#if wxUSE_UNICODE
4345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4346#else
4347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4348#endif
4349 }
4350 return resultobj;
4351 fail:
4352 return NULL;
4353}
4354
4355
4356static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 wxString result;
4359 char *kwnames[] = {
4360 NULL
4361 };
4362
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = wxGetUserName();
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 {
4372#if wxUSE_UNICODE
4373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4374#else
4375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4376#endif
4377 }
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxString result;
4387 char *kwnames[] = {
4388 NULL
4389 };
4390
4391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 result = wxGetHomeDir();
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 {
4400#if wxUSE_UNICODE
4401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4402#else
4403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4404#endif
4405 }
4406 return resultobj;
4407 fail:
4408 return NULL;
4409}
4410
4411
4412static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxString const &arg1_defvalue = wxPyEmptyString ;
4415 wxString *arg1 = (wxString *) &arg1_defvalue ;
4416 wxString result;
4417 bool temp1 = false ;
d55e5bfc 4418 PyObject * obj0 = 0 ;
d55e5bfc 4419 char *kwnames[] = {
093d3ff1 4420 (char *) "user", NULL
d55e5bfc
RD
4421 };
4422
093d3ff1 4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4424 if (obj0) {
4425 {
4426 arg1 = wxString_in_helper(obj0);
4427 if (arg1 == NULL) SWIG_fail;
ae8162c8 4428 temp1 = true;
d55e5bfc
RD
4429 }
4430 }
d55e5bfc
RD
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4433 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4434
4435 wxPyEndAllowThreads(__tstate);
110da5b0 4436 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4437 }
4438 {
4439#if wxUSE_UNICODE
4440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4441#else
4442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4443#endif
4444 }
4445 {
4446 if (temp1)
4447 delete arg1;
4448 }
d55e5bfc
RD
4449 return resultobj;
4450 fail:
4451 {
4452 if (temp1)
4453 delete arg1;
4454 }
093d3ff1
RD
4455 return NULL;
4456}
4457
4458
4459static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 unsigned long result;
4462 char *kwnames[] = {
4463 NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4467 {
4468 PyThreadState* __tstate = wxPyBeginAllowThreads();
4469 result = (unsigned long)wxGetProcessId();
4470
4471 wxPyEndAllowThreads(__tstate);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
d55e5bfc 4474 {
093d3ff1 4475 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
d55e5bfc 4476 }
093d3ff1
RD
4477 return resultobj;
4478 fail:
d55e5bfc
RD
4479 return NULL;
4480}
4481
4482
093d3ff1 4483static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4484 PyObject *resultobj;
093d3ff1
RD
4485 char *kwnames[] = {
4486 NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 wxTrap();
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 Py_INCREF(Py_None); resultobj = Py_None;
4498 return resultobj;
4499 fail:
4500 return NULL;
4501}
4502
4503
4504static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4507 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4508 wxString const &arg2_defvalue = wxPyEmptyString ;
4509 wxString *arg2 = (wxString *) &arg2_defvalue ;
4510 wxString const &arg3_defvalue = wxPyEmptyString ;
4511 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
4512 wxString const &arg4_defvalue = wxPyEmptyString ;
4513 wxString *arg4 = (wxString *) &arg4_defvalue ;
4514 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4515 wxString *arg5 = (wxString *) &arg5_defvalue ;
4516 int arg6 = (int) 0 ;
4517 wxWindow *arg7 = (wxWindow *) NULL ;
4518 int arg8 = (int) -1 ;
4519 int arg9 = (int) -1 ;
d55e5bfc 4520 wxString result;
ae8162c8
RD
4521 bool temp1 = false ;
4522 bool temp2 = false ;
4523 bool temp3 = false ;
093d3ff1
RD
4524 bool temp4 = false ;
4525 bool temp5 = false ;
d55e5bfc
RD
4526 PyObject * obj0 = 0 ;
4527 PyObject * obj1 = 0 ;
4528 PyObject * obj2 = 0 ;
4529 PyObject * obj3 = 0 ;
4530 PyObject * obj4 = 0 ;
4531 PyObject * obj5 = 0 ;
4532 PyObject * obj6 = 0 ;
093d3ff1
RD
4533 PyObject * obj7 = 0 ;
4534 PyObject * obj8 = 0 ;
d55e5bfc 4535 char *kwnames[] = {
093d3ff1 4536 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4537 };
4538
093d3ff1
RD
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4540 if (obj0) {
4541 {
4542 arg1 = wxString_in_helper(obj0);
4543 if (arg1 == NULL) SWIG_fail;
4544 temp1 = true;
4545 }
d55e5bfc
RD
4546 }
4547 if (obj1) {
4548 {
4549 arg2 = wxString_in_helper(obj1);
4550 if (arg2 == NULL) SWIG_fail;
ae8162c8 4551 temp2 = true;
d55e5bfc
RD
4552 }
4553 }
4554 if (obj2) {
4555 {
4556 arg3 = wxString_in_helper(obj2);
4557 if (arg3 == NULL) SWIG_fail;
ae8162c8 4558 temp3 = true;
d55e5bfc
RD
4559 }
4560 }
4561 if (obj3) {
093d3ff1
RD
4562 {
4563 arg4 = wxString_in_helper(obj3);
4564 if (arg4 == NULL) SWIG_fail;
4565 temp4 = true;
4566 }
d55e5bfc
RD
4567 }
4568 if (obj4) {
093d3ff1
RD
4569 {
4570 arg5 = wxString_in_helper(obj4);
4571 if (arg5 == NULL) SWIG_fail;
4572 temp5 = true;
4573 }
d55e5bfc
RD
4574 }
4575 if (obj5) {
093d3ff1
RD
4576 {
4577 arg6 = (int)(SWIG_As_int(obj5));
4578 if (SWIG_arg_fail(6)) SWIG_fail;
4579 }
d55e5bfc
RD
4580 }
4581 if (obj6) {
093d3ff1
RD
4582 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4583 if (SWIG_arg_fail(7)) SWIG_fail;
4584 }
4585 if (obj7) {
4586 {
4587 arg8 = (int)(SWIG_As_int(obj7));
4588 if (SWIG_arg_fail(8)) SWIG_fail;
4589 }
4590 }
4591 if (obj8) {
4592 {
4593 arg9 = (int)(SWIG_As_int(obj8));
4594 if (SWIG_arg_fail(9)) SWIG_fail;
4595 }
d55e5bfc
RD
4596 }
4597 {
0439c23b 4598 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4600 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4601
4602 wxPyEndAllowThreads(__tstate);
110da5b0 4603 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4604 }
4605 {
4606#if wxUSE_UNICODE
4607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4608#else
4609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4610#endif
4611 }
4612 {
4613 if (temp1)
4614 delete arg1;
4615 }
4616 {
4617 if (temp2)
4618 delete arg2;
4619 }
4620 {
4621 if (temp3)
4622 delete arg3;
4623 }
d55e5bfc 4624 {
093d3ff1
RD
4625 if (temp4)
4626 delete arg4;
4627 }
4628 {
4629 if (temp5)
4630 delete arg5;
4631 }
4632 return resultobj;
4633 fail:
4634 {
4635 if (temp1)
4636 delete arg1;
d55e5bfc
RD
4637 }
4638 {
4639 if (temp2)
4640 delete arg2;
4641 }
4642 {
4643 if (temp3)
4644 delete arg3;
4645 }
093d3ff1
RD
4646 {
4647 if (temp4)
4648 delete arg4;
4649 }
4650 {
4651 if (temp5)
4652 delete arg5;
4653 }
d55e5bfc
RD
4654 return NULL;
4655}
4656
4657
093d3ff1 4658static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4659 PyObject *resultobj;
4660 wxString *arg1 = 0 ;
093d3ff1 4661 wxString *arg2 = 0 ;
d55e5bfc
RD
4662 wxString const &arg3_defvalue = wxPyEmptyString ;
4663 wxString *arg3 = (wxString *) &arg3_defvalue ;
4664 wxWindow *arg4 = (wxWindow *) NULL ;
4665 wxString result;
ae8162c8
RD
4666 bool temp1 = false ;
4667 bool temp2 = false ;
4668 bool temp3 = false ;
d55e5bfc
RD
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 PyObject * obj3 = 0 ;
4673 char *kwnames[] = {
093d3ff1 4674 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4675 };
4676
093d3ff1 4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4678 {
4679 arg1 = wxString_in_helper(obj0);
4680 if (arg1 == NULL) SWIG_fail;
ae8162c8 4681 temp1 = true;
d55e5bfc 4682 }
093d3ff1
RD
4683 {
4684 arg2 = wxString_in_helper(obj1);
4685 if (arg2 == NULL) SWIG_fail;
4686 temp2 = true;
d55e5bfc
RD
4687 }
4688 if (obj2) {
4689 {
4690 arg3 = wxString_in_helper(obj2);
4691 if (arg3 == NULL) SWIG_fail;
ae8162c8 4692 temp3 = true;
d55e5bfc
RD
4693 }
4694 }
4695 if (obj3) {
093d3ff1
RD
4696 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4697 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4698 }
4699 {
0439c23b 4700 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4702 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4703
4704 wxPyEndAllowThreads(__tstate);
110da5b0 4705 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4706 }
4707 {
4708#if wxUSE_UNICODE
4709 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4710#else
4711 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4712#endif
4713 }
4714 {
4715 if (temp1)
4716 delete arg1;
4717 }
4718 {
4719 if (temp2)
4720 delete arg2;
4721 }
4722 {
4723 if (temp3)
4724 delete arg3;
4725 }
4726 return resultobj;
4727 fail:
4728 {
4729 if (temp1)
4730 delete arg1;
4731 }
4732 {
4733 if (temp2)
4734 delete arg2;
4735 }
4736 {
4737 if (temp3)
4738 delete arg3;
4739 }
4740 return NULL;
4741}
4742
4743
093d3ff1 4744static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4745 PyObject *resultobj;
4746 wxString *arg1 = 0 ;
4747 wxString *arg2 = 0 ;
093d3ff1
RD
4748 wxString const &arg3_defvalue = wxPyEmptyString ;
4749 wxString *arg3 = (wxString *) &arg3_defvalue ;
4750 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4751 wxString result;
ae8162c8
RD
4752 bool temp1 = false ;
4753 bool temp2 = false ;
093d3ff1 4754 bool temp3 = false ;
d55e5bfc
RD
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 PyObject * obj2 = 0 ;
4758 PyObject * obj3 = 0 ;
d55e5bfc 4759 char *kwnames[] = {
093d3ff1 4760 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4761 };
4762
093d3ff1 4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4764 {
4765 arg1 = wxString_in_helper(obj0);
4766 if (arg1 == NULL) SWIG_fail;
ae8162c8 4767 temp1 = true;
d55e5bfc
RD
4768 }
4769 {
4770 arg2 = wxString_in_helper(obj1);
4771 if (arg2 == NULL) SWIG_fail;
ae8162c8 4772 temp2 = true;
d55e5bfc 4773 }
093d3ff1
RD
4774 if (obj2) {
4775 {
4776 arg3 = wxString_in_helper(obj2);
4777 if (arg3 == NULL) SWIG_fail;
4778 temp3 = true;
4779 }
d55e5bfc
RD
4780 }
4781 if (obj3) {
093d3ff1
RD
4782 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4783 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4784 }
4785 {
0439c23b 4786 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4788 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4789
4790 wxPyEndAllowThreads(__tstate);
110da5b0 4791 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4792 }
4793 {
4794#if wxUSE_UNICODE
4795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4796#else
4797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4798#endif
4799 }
4800 {
4801 if (temp1)
4802 delete arg1;
4803 }
4804 {
4805 if (temp2)
4806 delete arg2;
4807 }
4808 {
093d3ff1
RD
4809 if (temp3)
4810 delete arg3;
d55e5bfc
RD
4811 }
4812 return resultobj;
4813 fail:
4814 {
4815 if (temp1)
4816 delete arg1;
4817 }
4818 {
4819 if (temp2)
4820 delete arg2;
4821 }
4822 {
093d3ff1
RD
4823 if (temp3)
4824 delete arg3;
d55e5bfc
RD
4825 }
4826 return NULL;
4827}
4828
4829
093d3ff1 4830static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4831 PyObject *resultobj;
093d3ff1
RD
4832 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4833 wxString *arg1 = (wxString *) &arg1_defvalue ;
4834 wxString const &arg2_defvalue = wxPyEmptyString ;
4835 wxString *arg2 = (wxString *) &arg2_defvalue ;
4836 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4839 wxWindow *arg5 = (wxWindow *) NULL ;
093d3ff1 4840 wxString result;
ae8162c8
RD
4841 bool temp1 = false ;
4842 bool temp2 = false ;
093d3ff1 4843 wxPoint temp4 ;
d55e5bfc
RD
4844 PyObject * obj0 = 0 ;
4845 PyObject * obj1 = 0 ;
4846 PyObject * obj2 = 0 ;
4847 PyObject * obj3 = 0 ;
4848 PyObject * obj4 = 0 ;
d55e5bfc 4849 char *kwnames[] = {
093d3ff1 4850 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4851 };
4852
093d3ff1
RD
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4854 if (obj0) {
4855 {
4856 arg1 = wxString_in_helper(obj0);
4857 if (arg1 == NULL) SWIG_fail;
4858 temp1 = true;
4859 }
d55e5bfc 4860 }
093d3ff1
RD
4861 if (obj1) {
4862 {
4863 arg2 = wxString_in_helper(obj1);
4864 if (arg2 == NULL) SWIG_fail;
4865 temp2 = true;
4866 }
d55e5bfc 4867 }
093d3ff1
RD
4868 if (obj2) {
4869 {
4870 arg3 = (long)(SWIG_As_long(obj2));
4871 if (SWIG_arg_fail(3)) SWIG_fail;
4872 }
d55e5bfc
RD
4873 }
4874 if (obj3) {
093d3ff1
RD
4875 {
4876 arg4 = &temp4;
4877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4878 }
d55e5bfc
RD
4879 }
4880 if (obj4) {
093d3ff1
RD
4881 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4882 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
4883 }
4884 {
0439c23b 4885 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4887 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
4888
4889 wxPyEndAllowThreads(__tstate);
110da5b0 4890 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4891 }
093d3ff1
RD
4892 {
4893#if wxUSE_UNICODE
4894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4895#else
4896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4897#endif
4898 }
d55e5bfc
RD
4899 {
4900 if (temp1)
4901 delete arg1;
4902 }
4903 {
4904 if (temp2)
4905 delete arg2;
4906 }
d55e5bfc
RD
4907 return resultobj;
4908 fail:
4909 {
4910 if (temp1)
4911 delete arg1;
4912 }
4913 {
4914 if (temp2)
4915 delete arg2;
4916 }
d55e5bfc
RD
4917 return NULL;
4918}
4919
4920
093d3ff1 4921static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4922 PyObject *resultobj;
4923 wxString *arg1 = 0 ;
4924 wxString const &arg2_defvalue = wxPyEmptyString ;
4925 wxString *arg2 = (wxString *) &arg2_defvalue ;
093d3ff1
RD
4926 wxString const &arg3_defvalue = wxPyEmptyString ;
4927 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4928 wxWindow *arg4 = (wxWindow *) NULL ;
4929 int arg5 = (int) -1 ;
4930 int arg6 = (int) -1 ;
093d3ff1
RD
4931 bool arg7 = (bool) true ;
4932 wxString result;
ae8162c8
RD
4933 bool temp1 = false ;
4934 bool temp2 = false ;
093d3ff1 4935 bool temp3 = false ;
d55e5bfc
RD
4936 PyObject * obj0 = 0 ;
4937 PyObject * obj1 = 0 ;
4938 PyObject * obj2 = 0 ;
4939 PyObject * obj3 = 0 ;
4940 PyObject * obj4 = 0 ;
4941 PyObject * obj5 = 0 ;
093d3ff1 4942 PyObject * obj6 = 0 ;
d55e5bfc 4943 char *kwnames[] = {
093d3ff1 4944 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
4945 };
4946
093d3ff1 4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4948 {
4949 arg1 = wxString_in_helper(obj0);
4950 if (arg1 == NULL) SWIG_fail;
ae8162c8 4951 temp1 = true;
d55e5bfc
RD
4952 }
4953 if (obj1) {
4954 {
4955 arg2 = wxString_in_helper(obj1);
4956 if (arg2 == NULL) SWIG_fail;
ae8162c8 4957 temp2 = true;
d55e5bfc
RD
4958 }
4959 }
4960 if (obj2) {
093d3ff1
RD
4961 {
4962 arg3 = wxString_in_helper(obj2);
4963 if (arg3 == NULL) SWIG_fail;
4964 temp3 = true;
4965 }
d55e5bfc
RD
4966 }
4967 if (obj3) {
093d3ff1
RD
4968 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4969 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4970 }
4971 if (obj4) {
093d3ff1
RD
4972 {
4973 arg5 = (int)(SWIG_As_int(obj4));
4974 if (SWIG_arg_fail(5)) SWIG_fail;
4975 }
d55e5bfc
RD
4976 }
4977 if (obj5) {
093d3ff1
RD
4978 {
4979 arg6 = (int)(SWIG_As_int(obj5));
4980 if (SWIG_arg_fail(6)) SWIG_fail;
4981 }
4982 }
4983 if (obj6) {
4984 {
4985 arg7 = (bool)(SWIG_As_bool(obj6));
4986 if (SWIG_arg_fail(7)) SWIG_fail;
4987 }
d55e5bfc
RD
4988 }
4989 {
0439c23b 4990 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4991 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4992 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
4993
4994 wxPyEndAllowThreads(__tstate);
110da5b0 4995 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4996 }
093d3ff1
RD
4997 {
4998#if wxUSE_UNICODE
4999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5000#else
5001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5002#endif
5003 }
d55e5bfc
RD
5004 {
5005 if (temp1)
5006 delete arg1;
5007 }
5008 {
5009 if (temp2)
5010 delete arg2;
5011 }
093d3ff1
RD
5012 {
5013 if (temp3)
5014 delete arg3;
5015 }
d55e5bfc
RD
5016 return resultobj;
5017 fail:
5018 {
5019 if (temp1)
5020 delete arg1;
5021 }
5022 {
5023 if (temp2)
5024 delete arg2;
5025 }
093d3ff1
RD
5026 {
5027 if (temp3)
5028 delete arg3;
5029 }
d55e5bfc
RD
5030 return NULL;
5031}
5032
5033
093d3ff1 5034static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5035 PyObject *resultobj;
5036 wxString *arg1 = 0 ;
093d3ff1
RD
5037 wxString const &arg2_defvalue = wxPyEmptyString ;
5038 wxString *arg2 = (wxString *) &arg2_defvalue ;
5039 wxString const &arg3_defvalue = wxPyEmptyString ;
5040 wxString *arg3 = (wxString *) &arg3_defvalue ;
5041 wxWindow *arg4 = (wxWindow *) NULL ;
5042 wxString result;
ae8162c8
RD
5043 bool temp1 = false ;
5044 bool temp2 = false ;
5045 bool temp3 = false ;
d55e5bfc
RD
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 PyObject * obj2 = 0 ;
5049 PyObject * obj3 = 0 ;
d55e5bfc 5050 char *kwnames[] = {
093d3ff1 5051 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5052 };
5053
093d3ff1 5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5055 {
5056 arg1 = wxString_in_helper(obj0);
5057 if (arg1 == NULL) SWIG_fail;
ae8162c8 5058 temp1 = true;
d55e5bfc 5059 }
093d3ff1
RD
5060 if (obj1) {
5061 {
5062 arg2 = wxString_in_helper(obj1);
5063 if (arg2 == NULL) SWIG_fail;
5064 temp2 = true;
5065 }
d55e5bfc 5066 }
093d3ff1 5067 if (obj2) {
d55e5bfc 5068 {
093d3ff1
RD
5069 arg3 = wxString_in_helper(obj2);
5070 if (arg3 == NULL) SWIG_fail;
5071 temp3 = true;
d55e5bfc
RD
5072 }
5073 }
093d3ff1
RD
5074 if (obj3) {
5075 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5076 if (SWIG_arg_fail(4)) SWIG_fail;
5077 }
d55e5bfc 5078 {
0439c23b 5079 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5081 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5082
5083 wxPyEndAllowThreads(__tstate);
110da5b0 5084 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5085 }
093d3ff1
RD
5086 {
5087#if wxUSE_UNICODE
5088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5089#else
5090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5091#endif
5092 }
d55e5bfc
RD
5093 {
5094 if (temp1)
5095 delete arg1;
5096 }
5097 {
5098 if (temp2)
5099 delete arg2;
5100 }
5101 {
5102 if (temp3)
5103 delete arg3;
5104 }
5105 return resultobj;
5106 fail:
5107 {
5108 if (temp1)
5109 delete arg1;
5110 }
5111 {
5112 if (temp2)
5113 delete arg2;
5114 }
5115 {
5116 if (temp3)
5117 delete arg3;
5118 }
5119 return NULL;
5120}
5121
5122
093d3ff1 5123static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5124 PyObject *resultobj;
093d3ff1
RD
5125 wxString *arg1 = 0 ;
5126 wxString *arg2 = 0 ;
5127 int arg3 ;
5128 wxString *arg4 = (wxString *) 0 ;
5129 wxWindow *arg5 = (wxWindow *) NULL ;
5130 int arg6 = (int) -1 ;
5131 int arg7 = (int) -1 ;
5132 bool arg8 = (bool) true ;
5133 int arg9 = (int) 150 ;
5134 int arg10 = (int) 200 ;
5135 wxString result;
5136 bool temp1 = false ;
5137 bool temp2 = false ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 PyObject * obj2 = 0 ;
5141 PyObject * obj3 = 0 ;
5142 PyObject * obj4 = 0 ;
5143 PyObject * obj5 = 0 ;
5144 PyObject * obj6 = 0 ;
5145 PyObject * obj7 = 0 ;
5146 PyObject * obj8 = 0 ;
d55e5bfc 5147 char *kwnames[] = {
093d3ff1 5148 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5149 };
5150
093d3ff1
RD
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5152 {
5153 arg1 = wxString_in_helper(obj0);
5154 if (arg1 == NULL) SWIG_fail;
5155 temp1 = true;
5156 }
5157 {
5158 arg2 = wxString_in_helper(obj1);
5159 if (arg2 == NULL) SWIG_fail;
5160 temp2 = true;
5161 }
5162 {
5163 arg3 = PyList_Size(obj2);
5164 arg4 = wxString_LIST_helper(obj2);
5165 if (arg4 == NULL) SWIG_fail;
5166 }
5167 if (obj3) {
5168 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5169 if (SWIG_arg_fail(5)) SWIG_fail;
5170 }
5171 if (obj4) {
5172 {
5173 arg6 = (int)(SWIG_As_int(obj4));
5174 if (SWIG_arg_fail(6)) SWIG_fail;
5175 }
5176 }
5177 if (obj5) {
5178 {
5179 arg7 = (int)(SWIG_As_int(obj5));
5180 if (SWIG_arg_fail(7)) SWIG_fail;
5181 }
5182 }
5183 if (obj6) {
5184 {
5185 arg8 = (bool)(SWIG_As_bool(obj6));
5186 if (SWIG_arg_fail(8)) SWIG_fail;
5187 }
5188 }
5189 if (obj7) {
5190 {
5191 arg9 = (int)(SWIG_As_int(obj7));
5192 if (SWIG_arg_fail(9)) SWIG_fail;
5193 }
5194 }
5195 if (obj8) {
5196 {
5197 arg10 = (int)(SWIG_As_int(obj8));
5198 if (SWIG_arg_fail(10)) SWIG_fail;
5199 }
5200 }
d55e5bfc 5201 {
0439c23b 5202 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5204 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5205
5206 wxPyEndAllowThreads(__tstate);
110da5b0 5207 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5208 }
5209 {
093d3ff1
RD
5210#if wxUSE_UNICODE
5211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5212#else
5213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5214#endif
5215 }
5216 {
5217 if (temp1)
5218 delete arg1;
5219 }
5220 {
5221 if (temp2)
5222 delete arg2;
5223 }
5224 {
5225 if (arg4) delete [] arg4;
d55e5bfc
RD
5226 }
5227 return resultobj;
5228 fail:
093d3ff1
RD
5229 {
5230 if (temp1)
5231 delete arg1;
5232 }
5233 {
5234 if (temp2)
5235 delete arg2;
5236 }
5237 {
5238 if (arg4) delete [] arg4;
5239 }
d55e5bfc
RD
5240 return NULL;
5241}
5242
5243
093d3ff1 5244static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5245 PyObject *resultobj;
093d3ff1
RD
5246 wxString *arg1 = 0 ;
5247 wxString *arg2 = 0 ;
5248 int arg3 ;
5249 wxString *arg4 = (wxString *) 0 ;
5250 wxWindow *arg5 = (wxWindow *) NULL ;
5251 int arg6 = (int) -1 ;
5252 int arg7 = (int) -1 ;
5253 bool arg8 = (bool) true ;
5254 int arg9 = (int) 150 ;
5255 int arg10 = (int) 200 ;
d55e5bfc 5256 int result;
093d3ff1
RD
5257 bool temp1 = false ;
5258 bool temp2 = false ;
5259 PyObject * obj0 = 0 ;
5260 PyObject * obj1 = 0 ;
5261 PyObject * obj2 = 0 ;
5262 PyObject * obj3 = 0 ;
5263 PyObject * obj4 = 0 ;
5264 PyObject * obj5 = 0 ;
5265 PyObject * obj6 = 0 ;
5266 PyObject * obj7 = 0 ;
5267 PyObject * obj8 = 0 ;
d55e5bfc 5268 char *kwnames[] = {
093d3ff1 5269 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5270 };
5271
093d3ff1
RD
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5273 {
5274 arg1 = wxString_in_helper(obj0);
5275 if (arg1 == NULL) SWIG_fail;
5276 temp1 = true;
5277 }
5278 {
5279 arg2 = wxString_in_helper(obj1);
5280 if (arg2 == NULL) SWIG_fail;
5281 temp2 = true;
5282 }
5283 {
5284 arg3 = PyList_Size(obj2);
5285 arg4 = wxString_LIST_helper(obj2);
5286 if (arg4 == NULL) SWIG_fail;
5287 }
5288 if (obj3) {
5289 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5290 if (SWIG_arg_fail(5)) SWIG_fail;
5291 }
5292 if (obj4) {
5293 {
5294 arg6 = (int)(SWIG_As_int(obj4));
5295 if (SWIG_arg_fail(6)) SWIG_fail;
5296 }
5297 }
5298 if (obj5) {
5299 {
5300 arg7 = (int)(SWIG_As_int(obj5));
5301 if (SWIG_arg_fail(7)) SWIG_fail;
5302 }
5303 }
5304 if (obj6) {
5305 {
5306 arg8 = (bool)(SWIG_As_bool(obj6));
5307 if (SWIG_arg_fail(8)) SWIG_fail;
5308 }
5309 }
5310 if (obj7) {
5311 {
5312 arg9 = (int)(SWIG_As_int(obj7));
5313 if (SWIG_arg_fail(9)) SWIG_fail;
5314 }
5315 }
5316 if (obj8) {
5317 {
5318 arg10 = (int)(SWIG_As_int(obj8));
5319 if (SWIG_arg_fail(10)) SWIG_fail;
5320 }
5321 }
d55e5bfc 5322 {
0439c23b 5323 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5325 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5326
5327 wxPyEndAllowThreads(__tstate);
110da5b0 5328 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5329 }
093d3ff1
RD
5330 {
5331 resultobj = SWIG_From_int((int)(result));
5332 }
5333 {
5334 if (temp1)
5335 delete arg1;
5336 }
5337 {
5338 if (temp2)
5339 delete arg2;
5340 }
5341 {
5342 if (arg4) delete [] arg4;
5343 }
d55e5bfc
RD
5344 return resultobj;
5345 fail:
093d3ff1
RD
5346 {
5347 if (temp1)
5348 delete arg1;
5349 }
5350 {
5351 if (temp2)
5352 delete arg2;
5353 }
5354 {
5355 if (arg4) delete [] arg4;
5356 }
d55e5bfc
RD
5357 return NULL;
5358}
5359
5360
093d3ff1 5361static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5362 PyObject *resultobj;
093d3ff1
RD
5363 wxString *arg1 = 0 ;
5364 wxString const &arg2_defvalue = wxPyEmptyString ;
5365 wxString *arg2 = (wxString *) &arg2_defvalue ;
5366 int arg3 = (int) wxOK|wxCENTRE ;
5367 wxWindow *arg4 = (wxWindow *) NULL ;
5368 int arg5 = (int) -1 ;
5369 int arg6 = (int) -1 ;
d55e5bfc 5370 int result;
093d3ff1
RD
5371 bool temp1 = false ;
5372 bool temp2 = false ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 PyObject * obj2 = 0 ;
5376 PyObject * obj3 = 0 ;
5377 PyObject * obj4 = 0 ;
5378 PyObject * obj5 = 0 ;
d55e5bfc 5379 char *kwnames[] = {
093d3ff1 5380 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5381 };
5382
093d3ff1 5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5384 {
093d3ff1
RD
5385 arg1 = wxString_in_helper(obj0);
5386 if (arg1 == NULL) SWIG_fail;
5387 temp1 = true;
5388 }
5389 if (obj1) {
5390 {
5391 arg2 = wxString_in_helper(obj1);
5392 if (arg2 == NULL) SWIG_fail;
5393 temp2 = true;
5394 }
5395 }
5396 if (obj2) {
5397 {
5398 arg3 = (int)(SWIG_As_int(obj2));
5399 if (SWIG_arg_fail(3)) SWIG_fail;
5400 }
5401 }
5402 if (obj3) {
5403 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5404 if (SWIG_arg_fail(4)) SWIG_fail;
5405 }
5406 if (obj4) {
5407 {
5408 arg5 = (int)(SWIG_As_int(obj4));
5409 if (SWIG_arg_fail(5)) SWIG_fail;
5410 }
5411 }
5412 if (obj5) {
5413 {
5414 arg6 = (int)(SWIG_As_int(obj5));
5415 if (SWIG_arg_fail(6)) SWIG_fail;
5416 }
5417 }
5418 {
5419 if (!wxPyCheckForApp()) SWIG_fail;
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
5427 resultobj = SWIG_From_int((int)(result));
5428 }
5429 {
5430 if (temp1)
5431 delete arg1;
5432 }
5433 {
5434 if (temp2)
5435 delete arg2;
5436 }
5437 return resultobj;
5438 fail:
5439 {
5440 if (temp1)
5441 delete arg1;
5442 }
5443 {
5444 if (temp2)
5445 delete arg2;
5446 }
5447 return NULL;
5448}
5449
5450
5451static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxString *arg1 = 0 ;
5454 wxString *arg2 = 0 ;
5455 wxString *arg3 = 0 ;
5456 long arg4 ;
5457 long arg5 = (long) 0 ;
5458 long arg6 = (long) 100 ;
5459 wxWindow *arg7 = (wxWindow *) NULL ;
5460 wxPoint const &arg8_defvalue = wxDefaultPosition ;
5461 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
5462 long result;
5463 bool temp1 = false ;
5464 bool temp2 = false ;
5465 bool temp3 = false ;
5466 wxPoint temp8 ;
5467 PyObject * obj0 = 0 ;
5468 PyObject * obj1 = 0 ;
5469 PyObject * obj2 = 0 ;
5470 PyObject * obj3 = 0 ;
5471 PyObject * obj4 = 0 ;
5472 PyObject * obj5 = 0 ;
5473 PyObject * obj6 = 0 ;
5474 PyObject * obj7 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5480 {
5481 arg1 = wxString_in_helper(obj0);
5482 if (arg1 == NULL) SWIG_fail;
5483 temp1 = true;
5484 }
5485 {
5486 arg2 = wxString_in_helper(obj1);
5487 if (arg2 == NULL) SWIG_fail;
5488 temp2 = true;
5489 }
5490 {
5491 arg3 = wxString_in_helper(obj2);
5492 if (arg3 == NULL) SWIG_fail;
5493 temp3 = true;
5494 }
5495 {
5496 arg4 = (long)(SWIG_As_long(obj3));
5497 if (SWIG_arg_fail(4)) SWIG_fail;
5498 }
5499 if (obj4) {
5500 {
5501 arg5 = (long)(SWIG_As_long(obj4));
5502 if (SWIG_arg_fail(5)) SWIG_fail;
5503 }
5504 }
5505 if (obj5) {
5506 {
5507 arg6 = (long)(SWIG_As_long(obj5));
5508 if (SWIG_arg_fail(6)) SWIG_fail;
5509 }
5510 }
5511 if (obj6) {
5512 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5513 if (SWIG_arg_fail(7)) SWIG_fail;
5514 }
5515 if (obj7) {
5516 {
5517 arg8 = &temp8;
5518 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
5519 }
5520 }
5521 {
5522 if (!wxPyCheckForApp()) SWIG_fail;
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 {
5530 resultobj = SWIG_From_long((long)(result));
5531 }
5532 {
5533 if (temp1)
5534 delete arg1;
5535 }
5536 {
5537 if (temp2)
5538 delete arg2;
5539 }
5540 {
5541 if (temp3)
5542 delete arg3;
5543 }
5544 return resultobj;
5545 fail:
5546 {
5547 if (temp1)
5548 delete arg1;
5549 }
5550 {
5551 if (temp2)
5552 delete arg2;
5553 }
5554 {
5555 if (temp3)
5556 delete arg3;
5557 }
5558 return NULL;
5559}
5560
5561
5562static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 bool result;
5565 char *kwnames[] = {
5566 NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5570 {
5571 if (!wxPyCheckForApp()) SWIG_fail;
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = (bool)wxColourDisplay();
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 {
5579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5580 }
5581 return resultobj;
5582 fail:
5583 return NULL;
5584}
5585
5586
5587static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 int result;
5590 char *kwnames[] = {
5591 NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5595 {
5596 if (!wxPyCheckForApp()) SWIG_fail;
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 result = (int)wxDisplayDepth();
5599
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 {
5604 resultobj = SWIG_From_int((int)(result));
5605 }
5606 return resultobj;
5607 fail:
5608 return NULL;
5609}
5610
5611
5612static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 int result;
5615 char *kwnames[] = {
5616 NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5620 {
5621 if (!wxPyCheckForApp()) SWIG_fail;
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (int)wxGetDisplayDepth();
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 {
5629 resultobj = SWIG_From_int((int)(result));
d55e5bfc 5630 }
d55e5bfc
RD
5631 return resultobj;
5632 fail:
5633 return NULL;
5634}
5635
5636
c32bde28 5637static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5638 PyObject *resultobj;
5639 int *arg1 = (int *) 0 ;
5640 int *arg2 = (int *) 0 ;
5641 int temp1 ;
c32bde28 5642 int res1 = 0 ;
d55e5bfc 5643 int temp2 ;
c32bde28 5644 int res2 = 0 ;
d55e5bfc
RD
5645 char *kwnames[] = {
5646 NULL
5647 };
5648
c32bde28
RD
5649 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5650 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5652 {
0439c23b 5653 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 wxDisplaySize(arg1,arg2);
5656
5657 wxPyEndAllowThreads(__tstate);
110da5b0 5658 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5659 }
5660 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5661 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5662 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5663 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5664 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5665 return resultobj;
5666 fail:
5667 return NULL;
5668}
5669
5670
c32bde28 5671static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5672 PyObject *resultobj;
5673 wxSize result;
5674 char *kwnames[] = {
5675 NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5679 {
0439c23b 5680 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 result = wxGetDisplaySize();
5683
5684 wxPyEndAllowThreads(__tstate);
110da5b0 5685 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5686 }
5687 {
5688 wxSize * resultptr;
093d3ff1 5689 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5691 }
5692 return resultobj;
5693 fail:
5694 return NULL;
5695}
5696
5697
c32bde28 5698static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5699 PyObject *resultobj;
5700 int *arg1 = (int *) 0 ;
5701 int *arg2 = (int *) 0 ;
5702 int temp1 ;
c32bde28 5703 int res1 = 0 ;
d55e5bfc 5704 int temp2 ;
c32bde28 5705 int res2 = 0 ;
d55e5bfc
RD
5706 char *kwnames[] = {
5707 NULL
5708 };
5709
c32bde28
RD
5710 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5711 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5713 {
0439c23b 5714 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 wxDisplaySizeMM(arg1,arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
110da5b0 5719 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5720 }
5721 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5722 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5723 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5724 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5725 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5726 return resultobj;
5727 fail:
5728 return NULL;
5729}
5730
5731
c32bde28 5732static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5733 PyObject *resultobj;
5734 wxSize result;
5735 char *kwnames[] = {
5736 NULL
5737 };
5738
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5740 {
0439c23b 5741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5742 PyThreadState* __tstate = wxPyBeginAllowThreads();
5743 result = wxGetDisplaySizeMM();
5744
5745 wxPyEndAllowThreads(__tstate);
110da5b0 5746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5747 }
5748 {
5749 wxSize * resultptr;
093d3ff1 5750 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5751 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5752 }
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
c32bde28 5759static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5760 PyObject *resultobj;
5761 int *arg1 = (int *) 0 ;
5762 int *arg2 = (int *) 0 ;
5763 int *arg3 = (int *) 0 ;
5764 int *arg4 = (int *) 0 ;
5765 int temp1 ;
c32bde28 5766 int res1 = 0 ;
d55e5bfc 5767 int temp2 ;
c32bde28 5768 int res2 = 0 ;
d55e5bfc 5769 int temp3 ;
c32bde28 5770 int res3 = 0 ;
d55e5bfc 5771 int temp4 ;
c32bde28 5772 int res4 = 0 ;
d55e5bfc
RD
5773 char *kwnames[] = {
5774 NULL
5775 };
5776
c32bde28
RD
5777 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5778 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5779 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5780 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5782 {
0439c23b 5783 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5786
5787 wxPyEndAllowThreads(__tstate);
110da5b0 5788 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5789 }
5790 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5791 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5792 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5793 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5794 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5795 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5796 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5797 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5798 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5799 return resultobj;
5800 fail:
5801 return NULL;
5802}
5803
5804
c32bde28 5805static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5806 PyObject *resultobj;
5807 wxRect result;
5808 char *kwnames[] = {
5809 NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5813 {
0439c23b 5814 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = wxGetClientDisplayRect();
5817
5818 wxPyEndAllowThreads(__tstate);
110da5b0 5819 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5820 }
5821 {
5822 wxRect * resultptr;
093d3ff1 5823 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
5824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5825 }
5826 return resultobj;
5827 fail:
5828 return NULL;
5829}
5830
5831
c32bde28 5832static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5833 PyObject *resultobj;
5834 wxCursor *arg1 = 0 ;
5835 PyObject * obj0 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "cursor", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5841 {
5842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail;
5844 if (arg1 == NULL) {
5845 SWIG_null_ref("wxCursor");
5846 }
5847 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5848 }
5849 {
0439c23b 5850 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 wxSetCursor(*arg1);
5853
5854 wxPyEndAllowThreads(__tstate);
110da5b0 5855 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5856 }
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
c32bde28 5864static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5865 PyObject *resultobj;
5866 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "cursor", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5873 if (obj0) {
093d3ff1
RD
5874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5876 }
5877 {
0439c23b 5878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 wxBeginBusyCursor(arg1);
5881
5882 wxPyEndAllowThreads(__tstate);
110da5b0 5883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5884 }
5885 Py_INCREF(Py_None); resultobj = Py_None;
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
c32bde28 5892static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5893 PyObject *resultobj;
5894 wxWindow *result;
5895 char *kwnames[] = {
5896 NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
5900 {
0439c23b 5901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (wxWindow *)wxGetActiveWindow();
5904
5905 wxPyEndAllowThreads(__tstate);
110da5b0 5906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5907 }
5908 {
412d302d 5909 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5910 }
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
c32bde28 5917static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5918 PyObject *resultobj;
5919 wxPoint *arg1 = 0 ;
5920 wxWindow *result;
5921 wxPoint temp1 ;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "pt", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
5928 {
5929 arg1 = &temp1;
5930 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5931 }
5932 {
0439c23b 5933 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
5936
5937 wxPyEndAllowThreads(__tstate);
110da5b0 5938 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5939 }
5940 {
412d302d 5941 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5942 }
5943 return resultobj;
5944 fail:
5945 return NULL;
5946}
5947
5948
c32bde28 5949static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5950 PyObject *resultobj;
5951 wxPoint *arg1 = 0 ;
5952 wxWindow *result;
5953 wxPoint temp1 ;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "pt", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
5960 {
5961 arg1 = &temp1;
5962 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5963 }
5964 {
0439c23b 5965 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
5968
5969 wxPyEndAllowThreads(__tstate);
110da5b0 5970 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5971 }
5972 {
412d302d 5973 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5974 }
5975 return resultobj;
5976 fail:
5977 return NULL;
5978}
5979
5980
c32bde28 5981static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5982 PyObject *resultobj;
5983 wxWindow *arg1 = (wxWindow *) 0 ;
5984 wxWindow *result;
5985 PyObject * obj0 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "win", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5993 {
0439c23b 5994 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (wxWindow *)wxGetTopLevelParent(arg1);
5997
5998 wxPyEndAllowThreads(__tstate);
110da5b0 5999 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6000 }
6001 {
412d302d 6002 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6003 }
6004 return resultobj;
6005 fail:
6006 return NULL;
6007}
6008
6009
d04418a7
RD
6010static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxString *arg1 = 0 ;
6013 bool result;
6014 bool temp1 = false ;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "url", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
6021 {
6022 arg1 = wxString_in_helper(obj0);
6023 if (arg1 == NULL) SWIG_fail;
6024 temp1 = true;
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 {
6034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6035 }
6036 {
6037 if (temp1)
6038 delete arg1;
6039 }
6040 return resultobj;
6041 fail:
6042 {
6043 if (temp1)
6044 delete arg1;
6045 }
6046 return NULL;
6047}
6048
6049
c32bde28 6050static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 6051 PyObject *resultobj;
093d3ff1 6052 wxKeyCode arg1 ;
d55e5bfc
RD
6053 bool result;
6054 PyObject * obj0 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "key", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
093d3ff1
RD
6060 {
6061 arg1 = (wxKeyCode)(SWIG_As_int(obj0));
6062 if (SWIG_arg_fail(1)) SWIG_fail;
6063 }
d55e5bfc 6064 {
0439c23b 6065 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 result = (bool)wxGetKeyState((wxKeyCode )arg1);
6068
6069 wxPyEndAllowThreads(__tstate);
110da5b0 6070 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6071 }
6072 {
6073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6074 }
6075 return resultobj;
6076 fail:
6077 return NULL;
6078}
6079
6080
c32bde28 6081static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6082 PyObject *resultobj;
6083 char *kwnames[] = {
6084 NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6088 {
0439c23b 6089 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 wxWakeUpMainThread();
6092
6093 wxPyEndAllowThreads(__tstate);
110da5b0 6094 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6095 }
6096 Py_INCREF(Py_None); resultobj = Py_None;
6097 return resultobj;
6098 fail:
6099 return NULL;
6100}
6101
6102
c32bde28 6103static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6104 PyObject *resultobj;
6105 char *kwnames[] = {
6106 NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6110 {
0439c23b 6111 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 wxMutexGuiEnter();
6114
6115 wxPyEndAllowThreads(__tstate);
110da5b0 6116 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
c32bde28 6125static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6126 PyObject *resultobj;
6127 char *kwnames[] = {
6128 NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6132 {
0439c23b 6133 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 wxMutexGuiLeave();
6136
6137 wxPyEndAllowThreads(__tstate);
110da5b0 6138 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6139 }
6140 Py_INCREF(Py_None); resultobj = Py_None;
6141 return resultobj;
6142 fail:
6143 return NULL;
6144}
6145
6146
c32bde28 6147static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6148 PyObject *resultobj;
6149 wxMutexGuiLocker *result;
6150 char *kwnames[] = {
6151 NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6155 {
0439c23b 6156 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6159
6160 wxPyEndAllowThreads(__tstate);
110da5b0 6161 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6162 }
6163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
c32bde28 6170static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6171 PyObject *resultobj;
6172 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 delete arg1;
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 Py_INCREF(Py_None); resultobj = Py_None;
6189 return resultobj;
6190 fail:
6191 return NULL;
6192}
6193
6194
c32bde28 6195static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6196 PyObject *obj;
6197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6198 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6199 Py_INCREF(obj);
6200 return Py_BuildValue((char *)"");
6201}
c32bde28 6202static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6203 PyObject *resultobj;
6204 bool result;
6205 char *kwnames[] = {
6206 NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)wxThread_IsMain();
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6219 }
6220 return resultobj;
6221 fail:
6222 return NULL;
6223}
6224
6225
c32bde28 6226static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6227 PyObject *resultobj;
6228 wxString *arg1 = 0 ;
6229 wxToolTip *result;
ae8162c8 6230 bool temp1 = false ;
d55e5bfc
RD
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "tip", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6237 {
6238 arg1 = wxString_in_helper(obj0);
6239 if (arg1 == NULL) SWIG_fail;
ae8162c8 6240 temp1 = true;
d55e5bfc
RD
6241 }
6242 {
0439c23b 6243 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6246
6247 wxPyEndAllowThreads(__tstate);
110da5b0 6248 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6249 }
6250 {
412d302d 6251 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
6252 }
6253 {
6254 if (temp1)
6255 delete arg1;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp1)
6261 delete arg1;
6262 }
6263 return NULL;
6264}
6265
6266
c32bde28 6267static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6268 PyObject *resultobj;
6269 wxToolTip *arg1 = (wxToolTip *) 0 ;
6270 wxString *arg2 = 0 ;
ae8162c8 6271 bool temp2 = false ;
d55e5bfc
RD
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self",(char *) "tip", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6281 {
6282 arg2 = wxString_in_helper(obj1);
6283 if (arg2 == NULL) SWIG_fail;
ae8162c8 6284 temp2 = true;
d55e5bfc
RD
6285 }
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->SetTip((wxString const &)*arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp2)
6302 delete arg2;
6303 }
6304 return NULL;
6305}
6306
6307
c32bde28 6308static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6309 PyObject *resultobj;
6310 wxToolTip *arg1 = (wxToolTip *) 0 ;
6311 wxString result;
6312 PyObject * obj0 = 0 ;
6313 char *kwnames[] = {
6314 (char *) "self", NULL
6315 };
6316
6317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
6318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (arg1)->GetTip();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 {
6328#if wxUSE_UNICODE
6329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6330#else
6331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6332#endif
6333 }
6334 return resultobj;
6335 fail:
6336 return NULL;
6337}
6338
6339
c32bde28 6340static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6341 PyObject *resultobj;
6342 wxToolTip *arg1 = (wxToolTip *) 0 ;
6343 wxWindow *result;
6344 PyObject * obj0 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 result = (wxWindow *)(arg1)->GetWindow();
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
412d302d 6360 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6361 }
6362 return resultobj;
6363 fail:
6364 return NULL;
6365}
6366
6367
c32bde28 6368static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6369 PyObject *resultobj;
6370 bool arg1 ;
6371 PyObject * obj0 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "flag", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1
RD
6377 {
6378 arg1 = (bool)(SWIG_As_bool(obj0));
6379 if (SWIG_arg_fail(1)) SWIG_fail;
6380 }
d55e5bfc
RD
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 wxToolTip::Enable(arg1);
6384
6385 wxPyEndAllowThreads(__tstate);
6386 if (PyErr_Occurred()) SWIG_fail;
6387 }
6388 Py_INCREF(Py_None); resultobj = Py_None;
6389 return resultobj;
6390 fail:
6391 return NULL;
6392}
6393
6394
c32bde28 6395static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6396 PyObject *resultobj;
6397 long arg1 ;
6398 PyObject * obj0 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "milliseconds", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1
RD
6404 {
6405 arg1 = (long)(SWIG_As_long(obj0));
6406 if (SWIG_arg_fail(1)) SWIG_fail;
6407 }
d55e5bfc
RD
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 wxToolTip::SetDelay(arg1);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 Py_INCREF(Py_None); resultobj = Py_None;
6416 return resultobj;
6417 fail:
6418 return NULL;
6419}
6420
6421
c32bde28 6422static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6423 PyObject *obj;
6424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6425 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
6426 Py_INCREF(obj);
6427 return Py_BuildValue((char *)"");
6428}
c32bde28 6429static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6430 PyObject *resultobj;
6431 wxWindow *arg1 = (wxWindow *) 0 ;
6432 wxSize *arg2 = 0 ;
6433 wxCaret *result;
6434 wxSize temp2 ;
6435 PyObject * obj0 = 0 ;
6436 PyObject * obj1 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "window",(char *) "size", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6444 {
6445 arg2 = &temp2;
6446 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6447 }
6448 {
0439c23b 6449 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
110da5b0 6454 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6455 }
6456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
091fdbfa 6463static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6464 PyObject *resultobj;
6465 wxCaret *arg1 = (wxCaret *) 0 ;
6466 PyObject * obj0 = 0 ;
6467 char *kwnames[] = {
6468 (char *) "self", NULL
6469 };
6470
091fdbfa 6471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
6472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6476 wxCaret_Destroy(arg1);
d55e5bfc
RD
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 Py_INCREF(Py_None); resultobj = Py_None;
6482 return resultobj;
6483 fail:
6484 return NULL;
6485}
6486
6487
c32bde28 6488static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6489 PyObject *resultobj;
6490 wxCaret *arg1 = (wxCaret *) 0 ;
6491 bool result;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
6498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (bool)(arg1)->IsOk();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 {
6508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6509 }
6510 return resultobj;
6511 fail:
6512 return NULL;
6513}
6514
6515
c32bde28 6516static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6517 PyObject *resultobj;
6518 wxCaret *arg1 = (wxCaret *) 0 ;
6519 bool result;
6520 PyObject * obj0 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
6526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 result = (bool)(arg1)->IsVisible();
6531
6532 wxPyEndAllowThreads(__tstate);
6533 if (PyErr_Occurred()) SWIG_fail;
6534 }
6535 {
6536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6537 }
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
c32bde28 6544static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6545 PyObject *resultobj;
6546 wxCaret *arg1 = (wxCaret *) 0 ;
6547 wxPoint result;
6548 PyObject * obj0 = 0 ;
6549 char *kwnames[] = {
6550 (char *) "self", NULL
6551 };
6552
6553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
6554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6555 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 result = (arg1)->GetPosition();
6559
6560 wxPyEndAllowThreads(__tstate);
6561 if (PyErr_Occurred()) SWIG_fail;
6562 }
6563 {
6564 wxPoint * resultptr;
093d3ff1 6565 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
6566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6567 }
6568 return resultobj;
6569 fail:
6570 return NULL;
6571}
6572
6573
c32bde28 6574static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6575 PyObject *resultobj;
6576 wxCaret *arg1 = (wxCaret *) 0 ;
6577 int *arg2 = (int *) 0 ;
6578 int *arg3 = (int *) 0 ;
6579 int temp2 ;
c32bde28 6580 int res2 = 0 ;
d55e5bfc 6581 int temp3 ;
c32bde28 6582 int res3 = 0 ;
d55e5bfc
RD
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self", NULL
6586 };
6587
c32bde28
RD
6588 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6589 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 (arg1)->GetPosition(arg2,arg3);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6601 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6602 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6603 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6604 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6605 return resultobj;
6606 fail:
6607 return NULL;
6608}
6609
6610
c32bde28 6611static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6612 PyObject *resultobj;
6613 wxCaret *arg1 = (wxCaret *) 0 ;
6614 wxSize result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
6621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (arg1)->GetSize();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 wxSize * resultptr;
093d3ff1 6632 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
6633 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
6634 }
6635 return resultobj;
6636 fail:
6637 return NULL;
6638}
6639
6640
c32bde28 6641static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6642 PyObject *resultobj;
6643 wxCaret *arg1 = (wxCaret *) 0 ;
6644 int *arg2 = (int *) 0 ;
6645 int *arg3 = (int *) 0 ;
6646 int temp2 ;
c32bde28 6647 int res2 = 0 ;
d55e5bfc 6648 int temp3 ;
c32bde28 6649 int res3 = 0 ;
d55e5bfc
RD
6650 PyObject * obj0 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self", NULL
6653 };
6654
c32bde28
RD
6655 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6656 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 (arg1)->GetSize(arg2,arg3);
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6668 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6669 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6670 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6671 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6672 return resultobj;
6673 fail:
6674 return NULL;
6675}
6676
6677
c32bde28 6678static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6679 PyObject *resultobj;
6680 wxCaret *arg1 = (wxCaret *) 0 ;
6681 wxWindow *result;
6682 PyObject * obj0 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self", NULL
6685 };
6686
6687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = (wxWindow *)(arg1)->GetWindow();
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
412d302d 6698 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6699 }
6700 return resultobj;
6701 fail:
6702 return NULL;
6703}
6704
6705
c32bde28 6706static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6707 PyObject *resultobj;
6708 wxCaret *arg1 = (wxCaret *) 0 ;
6709 int arg2 ;
6710 int arg3 ;
6711 PyObject * obj0 = 0 ;
6712 PyObject * obj1 = 0 ;
6713 PyObject * obj2 = 0 ;
6714 char *kwnames[] = {
6715 (char *) "self",(char *) "x",(char *) "y", NULL
6716 };
6717
6718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6720 if (SWIG_arg_fail(1)) SWIG_fail;
6721 {
6722 arg2 = (int)(SWIG_As_int(obj1));
6723 if (SWIG_arg_fail(2)) SWIG_fail;
6724 }
6725 {
6726 arg3 = (int)(SWIG_As_int(obj2));
6727 if (SWIG_arg_fail(3)) SWIG_fail;
6728 }
d55e5bfc
RD
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->Move(arg2,arg3);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 Py_INCREF(Py_None); resultobj = Py_None;
6737 return resultobj;
6738 fail:
6739 return NULL;
6740}
6741
6742
c32bde28 6743static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6744 PyObject *resultobj;
6745 wxCaret *arg1 = (wxCaret *) 0 ;
6746 wxPoint *arg2 = 0 ;
6747 wxPoint temp2 ;
6748 PyObject * obj0 = 0 ;
6749 PyObject * obj1 = 0 ;
6750 char *kwnames[] = {
6751 (char *) "self",(char *) "pt", NULL
6752 };
6753
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6757 {
6758 arg2 = &temp2;
6759 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6760 }
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 (arg1)->Move((wxPoint const &)*arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 Py_INCREF(Py_None); resultobj = Py_None;
6769 return resultobj;
6770 fail:
6771 return NULL;
6772}
6773
6774
c32bde28 6775static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6776 PyObject *resultobj;
6777 wxCaret *arg1 = (wxCaret *) 0 ;
6778 int arg2 ;
6779 int arg3 ;
6780 PyObject * obj0 = 0 ;
6781 PyObject * obj1 = 0 ;
6782 PyObject * obj2 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "width",(char *) "height", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail;
6790 {
6791 arg2 = (int)(SWIG_As_int(obj1));
6792 if (SWIG_arg_fail(2)) SWIG_fail;
6793 }
6794 {
6795 arg3 = (int)(SWIG_As_int(obj2));
6796 if (SWIG_arg_fail(3)) SWIG_fail;
6797 }
d55e5bfc
RD
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->SetSize(arg2,arg3);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 return resultobj;
6807 fail:
6808 return NULL;
6809}
6810
6811
c32bde28 6812static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6813 PyObject *resultobj;
6814 wxCaret *arg1 = (wxCaret *) 0 ;
6815 wxSize *arg2 = 0 ;
6816 wxSize temp2 ;
6817 PyObject * obj0 = 0 ;
6818 PyObject * obj1 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self",(char *) "size", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6826 {
6827 arg2 = &temp2;
6828 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6829 }
6830 {
6831 PyThreadState* __tstate = wxPyBeginAllowThreads();
6832 (arg1)->SetSize((wxSize const &)*arg2);
6833
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 Py_INCREF(Py_None); resultobj = Py_None;
6838 return resultobj;
6839 fail:
6840 return NULL;
6841}
6842
6843
c32bde28 6844static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6845 PyObject *resultobj;
6846 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 6847 int arg2 = (int) true ;
d55e5bfc
RD
6848 PyObject * obj0 = 0 ;
6849 PyObject * obj1 = 0 ;
6850 char *kwnames[] = {
6851 (char *) "self",(char *) "show", NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6857 if (obj1) {
093d3ff1
RD
6858 {
6859 arg2 = (int)(SWIG_As_int(obj1));
6860 if (SWIG_arg_fail(2)) SWIG_fail;
6861 }
d55e5bfc
RD
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->Show(arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
c32bde28 6877static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6878 PyObject *resultobj;
6879 wxCaret *arg1 = (wxCaret *) 0 ;
6880 PyObject * obj0 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->Hide();
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 return resultobj;
6897 fail:
6898 return NULL;
6899}
6900
6901
c32bde28 6902static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6903 PyObject *resultobj;
6904 int result;
6905 char *kwnames[] = {
6906 NULL
6907 };
6908
6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6912 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
093d3ff1
RD
6917 {
6918 resultobj = SWIG_From_int((int)(result));
6919 }
d55e5bfc
RD
6920 return resultobj;
6921 fail:
6922 return NULL;
6923}
6924
6925
c32bde28 6926static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6927 PyObject *resultobj;
6928 int arg1 ;
6929 PyObject * obj0 = 0 ;
6930 char *kwnames[] = {
6931 (char *) "milliseconds", NULL
6932 };
6933
6934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
6935 {
6936 arg1 = (int)(SWIG_As_int(obj0));
6937 if (SWIG_arg_fail(1)) SWIG_fail;
6938 }
d55e5bfc
RD
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6941 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
6942
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 Py_INCREF(Py_None); resultobj = Py_None;
6947 return resultobj;
6948 fail:
6949 return NULL;
6950}
6951
6952
091fdbfa
RD
6953static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
6954 PyObject *obj;
6955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6956 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
6957 Py_INCREF(obj);
6958 return Py_BuildValue((char *)"");
6959}
c32bde28 6960static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6961 PyObject *resultobj;
6962 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
6963 wxBusyCursor *result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "cursor", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
6970 if (obj0) {
093d3ff1
RD
6971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6973 }
6974 {
0439c23b 6975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 result = (wxBusyCursor *)new wxBusyCursor(arg1);
6978
6979 wxPyEndAllowThreads(__tstate);
110da5b0 6980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6981 }
6982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
6983 return resultobj;
6984 fail:
6985 return NULL;
6986}
6987
6988
c32bde28 6989static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6990 PyObject *resultobj;
6991 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
6999 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 delete arg1;
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 Py_INCREF(Py_None); resultobj = Py_None;
7008 return resultobj;
7009 fail:
7010 return NULL;
7011}
7012
7013
c32bde28 7014static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7015 PyObject *obj;
7016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7017 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
7018 Py_INCREF(obj);
7019 return Py_BuildValue((char *)"");
7020}
c32bde28 7021static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7022 PyObject *resultobj;
7023 wxWindow *arg1 = (wxWindow *) NULL ;
7024 wxWindowDisabler *result;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "winToSkip", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
7031 if (obj0) {
093d3ff1
RD
7032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7033 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7034 }
7035 {
0439c23b 7036 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
7039
7040 wxPyEndAllowThreads(__tstate);
110da5b0 7041 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7042 }
7043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
7044 return resultobj;
7045 fail:
7046 return NULL;
7047}
7048
7049
c32bde28 7050static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7051 PyObject *resultobj;
7052 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
7053 PyObject * obj0 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
7059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
7060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 delete arg1;
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 Py_INCREF(Py_None); resultobj = Py_None;
7069 return resultobj;
7070 fail:
7071 return NULL;
7072}
7073
7074
c32bde28 7075static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7076 PyObject *obj;
7077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7078 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7079 Py_INCREF(obj);
7080 return Py_BuildValue((char *)"");
7081}
c32bde28 7082static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7083 PyObject *resultobj;
7084 wxString *arg1 = 0 ;
7085 wxBusyInfo *result;
ae8162c8 7086 bool temp1 = false ;
d55e5bfc
RD
7087 PyObject * obj0 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "message", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7093 {
7094 arg1 = wxString_in_helper(obj0);
7095 if (arg1 == NULL) SWIG_fail;
ae8162c8 7096 temp1 = true;
d55e5bfc
RD
7097 }
7098 {
0439c23b 7099 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7102
7103 wxPyEndAllowThreads(__tstate);
110da5b0 7104 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7105 }
7106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7107 {
7108 if (temp1)
7109 delete arg1;
7110 }
7111 return resultobj;
7112 fail:
7113 {
7114 if (temp1)
7115 delete arg1;
7116 }
7117 return NULL;
7118}
7119
7120
c32bde28 7121static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7122 PyObject *resultobj;
7123 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7124 PyObject * obj0 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 delete arg1;
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 Py_INCREF(Py_None); resultobj = Py_None;
7140 return resultobj;
7141 fail:
7142 return NULL;
7143}
7144
7145
c32bde28 7146static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7147 PyObject *obj;
7148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7149 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7150 Py_INCREF(obj);
7151 return Py_BuildValue((char *)"");
7152}
c32bde28 7153static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7154 PyObject *resultobj;
7155 wxStopWatch *result;
7156 char *kwnames[] = {
7157 NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 result = (wxStopWatch *)new wxStopWatch();
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7169 return resultobj;
7170 fail:
7171 return NULL;
7172}
7173
7174
c32bde28 7175static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7176 PyObject *resultobj;
7177 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7178 long arg2 = (long) 0 ;
7179 PyObject * obj0 = 0 ;
7180 PyObject * obj1 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "t0", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7188 if (obj1) {
093d3ff1
RD
7189 {
7190 arg2 = (long)(SWIG_As_long(obj1));
7191 if (SWIG_arg_fail(2)) SWIG_fail;
7192 }
d55e5bfc
RD
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 (arg1)->Start(arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 Py_INCREF(Py_None); resultobj = Py_None;
7202 return resultobj;
7203 fail:
7204 return NULL;
7205}
7206
7207
c32bde28 7208static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7209 PyObject *resultobj;
7210 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7211 PyObject * obj0 = 0 ;
7212 char *kwnames[] = {
7213 (char *) "self", NULL
7214 };
7215
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
7217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->Pause();
7222
7223 wxPyEndAllowThreads(__tstate);
7224 if (PyErr_Occurred()) SWIG_fail;
7225 }
7226 Py_INCREF(Py_None); resultobj = Py_None;
7227 return resultobj;
7228 fail:
7229 return NULL;
7230}
7231
7232
c32bde28 7233static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7234 PyObject *resultobj;
7235 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7236 PyObject * obj0 = 0 ;
7237 char *kwnames[] = {
7238 (char *) "self", NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
7242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 (arg1)->Resume();
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 Py_INCREF(Py_None); resultobj = Py_None;
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
c32bde28 7258static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7259 PyObject *resultobj;
7260 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7261 long result;
7262 PyObject * obj0 = 0 ;
7263 char *kwnames[] = {
7264 (char *) "self", NULL
7265 };
7266
7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
7268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = (long)((wxStopWatch const *)arg1)->Time();
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
093d3ff1
RD
7277 {
7278 resultobj = SWIG_From_long((long)(result));
7279 }
d55e5bfc
RD
7280 return resultobj;
7281 fail:
7282 return NULL;
7283}
7284
7285
c32bde28 7286static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7287 PyObject *obj;
7288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7289 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
7290 Py_INCREF(obj);
7291 return Py_BuildValue((char *)"");
7292}
c32bde28 7293static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7294 PyObject *resultobj;
7295 int arg1 = (int) 9 ;
4cf4100f 7296 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
7297 wxFileHistory *result;
7298 PyObject * obj0 = 0 ;
4cf4100f 7299 PyObject * obj1 = 0 ;
d55e5bfc 7300 char *kwnames[] = {
4cf4100f 7301 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
7302 };
7303
4cf4100f 7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 7305 if (obj0) {
093d3ff1
RD
7306 {
7307 arg1 = (int)(SWIG_As_int(obj0));
7308 if (SWIG_arg_fail(1)) SWIG_fail;
7309 }
d55e5bfc 7310 }
4cf4100f 7311 if (obj1) {
093d3ff1
RD
7312 {
7313 arg2 = (int)(SWIG_As_int(obj1));
7314 if (SWIG_arg_fail(2)) SWIG_fail;
7315 }
4cf4100f 7316 }
d55e5bfc
RD
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 7319 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
c32bde28 7331static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7332 PyObject *resultobj;
7333 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7334 PyObject * obj0 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
7340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 delete arg1;
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
c32bde28 7356static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7357 PyObject *resultobj;
7358 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7359 wxString *arg2 = 0 ;
ae8162c8 7360 bool temp2 = false ;
d55e5bfc
RD
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "file", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7370 {
7371 arg2 = wxString_in_helper(obj1);
7372 if (arg2 == NULL) SWIG_fail;
ae8162c8 7373 temp2 = true;
d55e5bfc
RD
7374 }
7375 {
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 (arg1)->AddFileToHistory((wxString const &)*arg2);
7378
7379 wxPyEndAllowThreads(__tstate);
7380 if (PyErr_Occurred()) SWIG_fail;
7381 }
7382 Py_INCREF(Py_None); resultobj = Py_None;
7383 {
7384 if (temp2)
7385 delete arg2;
7386 }
7387 return resultobj;
7388 fail:
7389 {
7390 if (temp2)
7391 delete arg2;
7392 }
7393 return NULL;
7394}
7395
7396
c32bde28 7397static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7398 PyObject *resultobj;
7399 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7400 int arg2 ;
7401 PyObject * obj0 = 0 ;
7402 PyObject * obj1 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "i", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail;
7410 {
7411 arg2 = (int)(SWIG_As_int(obj1));
7412 if (SWIG_arg_fail(2)) SWIG_fail;
7413 }
d55e5bfc
RD
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 (arg1)->RemoveFileFromHistory(arg2);
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 Py_INCREF(Py_None); resultobj = Py_None;
7422 return resultobj;
7423 fail:
7424 return NULL;
7425}
7426
7427
c32bde28 7428static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7429 PyObject *resultobj;
7430 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7431 int result;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
7438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
093d3ff1
RD
7447 {
7448 resultobj = SWIG_From_int((int)(result));
7449 }
d55e5bfc
RD
7450 return resultobj;
7451 fail:
7452 return NULL;
7453}
7454
7455
c32bde28 7456static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7457 PyObject *resultobj;
7458 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7459 wxMenu *arg2 = (wxMenu *) 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self",(char *) "menu", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7468 if (SWIG_arg_fail(1)) SWIG_fail;
7469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->UseMenu(arg2);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 return resultobj;
7480 fail:
7481 return NULL;
7482}
7483
7484
c32bde28 7485static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7486 PyObject *resultobj;
7487 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7488 wxMenu *arg2 = (wxMenu *) 0 ;
7489 PyObject * obj0 = 0 ;
7490 PyObject * obj1 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self",(char *) "menu", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7497 if (SWIG_arg_fail(1)) SWIG_fail;
7498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7499 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->RemoveMenu(arg2);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 return resultobj;
7509 fail:
7510 return NULL;
7511}
7512
7513
c32bde28 7514static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7515 PyObject *resultobj;
7516 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7517 wxConfigBase *arg2 = 0 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char *kwnames[] = {
7521 (char *) "self",(char *) "config", NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7526 if (SWIG_arg_fail(1)) SWIG_fail;
7527 {
7528 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7529 if (SWIG_arg_fail(2)) SWIG_fail;
7530 if (arg2 == NULL) {
7531 SWIG_null_ref("wxConfigBase");
7532 }
7533 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7534 }
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 (arg1)->Load(*arg2);
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 Py_INCREF(Py_None); resultobj = Py_None;
7543 return resultobj;
7544 fail:
7545 return NULL;
7546}
7547
7548
c32bde28 7549static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7550 PyObject *resultobj;
7551 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7552 wxConfigBase *arg2 = 0 ;
7553 PyObject * obj0 = 0 ;
7554 PyObject * obj1 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "self",(char *) "config", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7561 if (SWIG_arg_fail(1)) SWIG_fail;
7562 {
7563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7564 if (SWIG_arg_fail(2)) SWIG_fail;
7565 if (arg2 == NULL) {
7566 SWIG_null_ref("wxConfigBase");
7567 }
7568 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 (arg1)->Save(*arg2);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 Py_INCREF(Py_None); resultobj = Py_None;
7578 return resultobj;
7579 fail:
7580 return NULL;
7581}
7582
7583
c32bde28 7584static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7585 PyObject *resultobj;
7586 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7587 PyObject * obj0 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
7593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7595 {
7596 PyThreadState* __tstate = wxPyBeginAllowThreads();
7597 (arg1)->AddFilesToMenu();
7598
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 Py_INCREF(Py_None); resultobj = Py_None;
7603 return resultobj;
7604 fail:
7605 return NULL;
7606}
7607
7608
c32bde28 7609static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7610 PyObject *resultobj;
7611 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7612 wxMenu *arg2 = (wxMenu *) 0 ;
7613 PyObject * obj0 = 0 ;
7614 PyObject * obj1 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self",(char *) "menu", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail;
7622 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7623 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->AddFilesToMenu(arg2);
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 Py_INCREF(Py_None); resultobj = Py_None;
7632 return resultobj;
7633 fail:
7634 return NULL;
7635}
7636
7637
c32bde28 7638static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7639 PyObject *resultobj;
7640 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7641 int arg2 ;
7642 wxString result;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "self",(char *) "i", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7651 if (SWIG_arg_fail(1)) SWIG_fail;
7652 {
7653 arg2 = (int)(SWIG_As_int(obj1));
7654 if (SWIG_arg_fail(2)) SWIG_fail;
7655 }
d55e5bfc
RD
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 {
7664#if wxUSE_UNICODE
7665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7666#else
7667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7668#endif
7669 }
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
c32bde28 7676static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7677 PyObject *resultobj;
7678 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7679 int result;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (int)((wxFileHistory const *)arg1)->GetCount();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
093d3ff1
RD
7695 {
7696 resultobj = SWIG_From_int((int)(result));
7697 }
d55e5bfc
RD
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
c32bde28 7704static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7705 PyObject *obj;
7706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7707 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
7708 Py_INCREF(obj);
7709 return Py_BuildValue((char *)"");
7710}
c32bde28 7711static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7712 PyObject *resultobj;
7713 wxString *arg1 = 0 ;
7714 wxString const &arg2_defvalue = wxPyEmptyString ;
7715 wxString *arg2 = (wxString *) &arg2_defvalue ;
7716 wxSingleInstanceChecker *result;
ae8162c8
RD
7717 bool temp1 = false ;
7718 bool temp2 = false ;
d55e5bfc
RD
7719 PyObject * obj0 = 0 ;
7720 PyObject * obj1 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "name",(char *) "path", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
7726 {
7727 arg1 = wxString_in_helper(obj0);
7728 if (arg1 == NULL) SWIG_fail;
ae8162c8 7729 temp1 = true;
d55e5bfc
RD
7730 }
7731 if (obj1) {
7732 {
7733 arg2 = wxString_in_helper(obj1);
7734 if (arg2 == NULL) SWIG_fail;
ae8162c8 7735 temp2 = true;
d55e5bfc
RD
7736 }
7737 }
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7746 {
7747 if (temp1)
7748 delete arg1;
7749 }
7750 {
7751 if (temp2)
7752 delete arg2;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp1)
7758 delete arg1;
7759 }
7760 {
7761 if (temp2)
7762 delete arg2;
7763 }
7764 return NULL;
7765}
7766
7767
c32bde28 7768static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7769 PyObject *resultobj;
7770 wxSingleInstanceChecker *result;
7771 char *kwnames[] = {
7772 NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7784 return resultobj;
7785 fail:
7786 return NULL;
7787}
7788
7789
c32bde28 7790static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7791 PyObject *resultobj;
7792 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
7799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 delete arg1;
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
c32bde28 7815static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7816 PyObject *resultobj;
7817 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7818 wxString *arg2 = 0 ;
7819 wxString const &arg3_defvalue = wxPyEmptyString ;
7820 wxString *arg3 = (wxString *) &arg3_defvalue ;
7821 bool result;
ae8162c8
RD
7822 bool temp2 = false ;
7823 bool temp3 = false ;
d55e5bfc
RD
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 PyObject * obj2 = 0 ;
7827 char *kwnames[] = {
7828 (char *) "self",(char *) "name",(char *) "path", NULL
7829 };
7830
7831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7833 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7834 {
7835 arg2 = wxString_in_helper(obj1);
7836 if (arg2 == NULL) SWIG_fail;
ae8162c8 7837 temp2 = true;
d55e5bfc
RD
7838 }
7839 if (obj2) {
7840 {
7841 arg3 = wxString_in_helper(obj2);
7842 if (arg3 == NULL) SWIG_fail;
ae8162c8 7843 temp3 = true;
d55e5bfc
RD
7844 }
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 {
7854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7855 }
7856 {
7857 if (temp2)
7858 delete arg2;
7859 }
7860 {
7861 if (temp3)
7862 delete arg3;
7863 }
7864 return resultobj;
7865 fail:
7866 {
7867 if (temp2)
7868 delete arg2;
7869 }
7870 {
7871 if (temp3)
7872 delete arg3;
7873 }
7874 return NULL;
7875}
7876
7877
c32bde28 7878static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7879 PyObject *resultobj;
7880 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7881 bool result;
7882 PyObject * obj0 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
7888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7899 }
7900 return resultobj;
7901 fail:
7902 return NULL;
7903}
7904
7905
c32bde28 7906static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7907 PyObject *obj;
7908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7909 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
7910 Py_INCREF(obj);
7911 return Py_BuildValue((char *)"");
7912}
68350608
RD
7913static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7914 PyObject *resultobj;
7915 wxWindow *arg1 = (wxWindow *) 0 ;
7916 wxDC *arg2 = 0 ;
7917 bool result;
7918 PyObject * obj0 = 0 ;
7919 PyObject * obj1 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "window",(char *) "dc", NULL
7922 };
7923
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
7925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7926 if (SWIG_arg_fail(1)) SWIG_fail;
7927 {
7928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7929 if (SWIG_arg_fail(2)) SWIG_fail;
7930 if (arg2 == NULL) {
7931 SWIG_null_ref("wxDC");
7932 }
7933 if (SWIG_arg_fail(2)) SWIG_fail;
7934 }
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
c32bde28 7951static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7952 PyObject *resultobj;
7953 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
7960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 delete arg1;
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 Py_INCREF(Py_None); resultobj = Py_None;
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
c32bde28 7976static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7977 PyObject *resultobj;
7978 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7979 wxString result;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 result = (arg1)->GetTip();
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 {
7996#if wxUSE_UNICODE
7997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7998#else
7999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8000#endif
8001 }
8002 return resultobj;
8003 fail:
8004 return NULL;
8005}
8006
8007
c32bde28 8008static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8009 PyObject *resultobj;
8010 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8011 size_t result;
8012 PyObject * obj0 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "self", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (size_t)(arg1)->GetCurrentTip();
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
093d3ff1
RD
8027 {
8028 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
8029 }
d55e5bfc
RD
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
c32bde28 8036static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8037 PyObject *resultobj;
8038 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8039 wxString *arg2 = 0 ;
8040 wxString result;
ae8162c8 8041 bool temp2 = false ;
d55e5bfc
RD
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "tip", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8051 {
8052 arg2 = wxString_in_helper(obj1);
8053 if (arg2 == NULL) SWIG_fail;
ae8162c8 8054 temp2 = true;
d55e5bfc
RD
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 result = (arg1)->PreprocessTip((wxString const &)*arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 {
8064#if wxUSE_UNICODE
8065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8066#else
8067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8068#endif
8069 }
8070 {
8071 if (temp2)
8072 delete arg2;
8073 }
8074 return resultobj;
8075 fail:
8076 {
8077 if (temp2)
8078 delete arg2;
8079 }
8080 return NULL;
8081}
8082
8083
c32bde28 8084static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8085 PyObject *obj;
8086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8087 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8088 Py_INCREF(obj);
8089 return Py_BuildValue((char *)"");
8090}
c32bde28 8091static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8092 PyObject *resultobj;
8093 size_t arg1 ;
8094 wxPyTipProvider *result;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "currentTip", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8101 {
8102 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
8103 if (SWIG_arg_fail(1)) SWIG_fail;
8104 }
d55e5bfc
RD
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8113 return resultobj;
8114 fail:
8115 return NULL;
8116}
8117
8118
c32bde28 8119static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8120 PyObject *resultobj;
8121 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8122 PyObject *arg2 = (PyObject *) 0 ;
8123 PyObject *arg3 = (PyObject *) 0 ;
8124 PyObject * obj0 = 0 ;
8125 PyObject * obj1 = 0 ;
8126 PyObject * obj2 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self",(char *) "self",(char *) "_class", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8134 arg2 = obj1;
8135 arg3 = obj2;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 (arg1)->_setCallbackInfo(arg2,arg3);
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
c32bde28 8150static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8151 PyObject *obj;
8152 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8153 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8154 Py_INCREF(obj);
8155 return Py_BuildValue((char *)"");
8156}
c32bde28 8157static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8158 PyObject *resultobj;
8159 wxWindow *arg1 = (wxWindow *) 0 ;
8160 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8161 bool arg3 = (bool) true ;
d55e5bfc
RD
8162 bool result;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 PyObject * obj2 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8172 if (SWIG_arg_fail(1)) SWIG_fail;
8173 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8174 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8175 if (obj2) {
093d3ff1
RD
8176 {
8177 arg3 = (bool)(SWIG_As_bool(obj2));
8178 if (SWIG_arg_fail(3)) SWIG_fail;
8179 }
d55e5bfc
RD
8180 }
8181 {
0439c23b 8182 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (bool)wxShowTip(arg1,arg2,arg3);
8185
8186 wxPyEndAllowThreads(__tstate);
110da5b0 8187 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8188 }
8189 {
8190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8191 }
8192 return resultobj;
8193 fail:
8194 return NULL;
8195}
8196
8197
c32bde28 8198static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8199 PyObject *resultobj;
8200 wxString *arg1 = 0 ;
8201 size_t arg2 ;
8202 wxTipProvider *result;
ae8162c8 8203 bool temp1 = false ;
d55e5bfc
RD
8204 PyObject * obj0 = 0 ;
8205 PyObject * obj1 = 0 ;
8206 char *kwnames[] = {
8207 (char *) "filename",(char *) "currentTip", NULL
8208 };
8209
8210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
8211 {
8212 arg1 = wxString_in_helper(obj0);
8213 if (arg1 == NULL) SWIG_fail;
ae8162c8 8214 temp1 = true;
d55e5bfc 8215 }
093d3ff1
RD
8216 {
8217 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
8218 if (SWIG_arg_fail(2)) SWIG_fail;
8219 }
d55e5bfc 8220 {
0439c23b 8221 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
8224
8225 wxPyEndAllowThreads(__tstate);
110da5b0 8226 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8227 }
8228 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
8229 {
8230 if (temp1)
8231 delete arg1;
8232 }
8233 return resultobj;
8234 fail:
8235 {
8236 if (temp1)
8237 delete arg1;
8238 }
8239 return NULL;
8240}
8241
8242
c32bde28 8243static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8244 PyObject *resultobj;
8245 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8246 int arg2 = (int) -1 ;
8247 wxPyTimer *result;
8248 PyObject * obj0 = 0 ;
8249 PyObject * obj1 = 0 ;
8250 char *kwnames[] = {
8251 (char *) "owner",(char *) "id", NULL
8252 };
8253
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
8255 if (obj0) {
093d3ff1
RD
8256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8258 }
8259 if (obj1) {
093d3ff1
RD
8260 {
8261 arg2 = (int)(SWIG_As_int(obj1));
8262 if (SWIG_arg_fail(2)) SWIG_fail;
8263 }
d55e5bfc
RD
8264 }
8265 {
0439c23b 8266 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
110da5b0 8271 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8272 }
8273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
8274 return resultobj;
8275 fail:
8276 return NULL;
8277}
8278
8279
c32bde28 8280static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8281 PyObject *resultobj;
8282 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 delete arg1;
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 Py_INCREF(Py_None); resultobj = Py_None;
8299 return resultobj;
8300 fail:
8301 return NULL;
8302}
8303
8304
c32bde28 8305static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8306 PyObject *resultobj;
8307 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8308 PyObject *arg2 = (PyObject *) 0 ;
8309 PyObject *arg3 = (PyObject *) 0 ;
8310 int arg4 = (int) 1 ;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 PyObject * obj2 = 0 ;
8314 PyObject * obj3 = 0 ;
8315 char *kwnames[] = {
8316 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8317 };
8318
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8322 arg2 = obj1;
8323 arg3 = obj2;
8324 if (obj3) {
093d3ff1
RD
8325 {
8326 arg4 = (int)(SWIG_As_int(obj3));
8327 if (SWIG_arg_fail(4)) SWIG_fail;
8328 }
d55e5bfc
RD
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 Py_INCREF(Py_None); resultobj = Py_None;
8338 return resultobj;
8339 fail:
8340 return NULL;
8341}
8342
8343
c32bde28 8344static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8345 PyObject *resultobj;
8346 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8347 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
8348 int arg3 = (int) -1 ;
8349 PyObject * obj0 = 0 ;
8350 PyObject * obj1 = 0 ;
8351 PyObject * obj2 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self",(char *) "owner",(char *) "id", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8358 if (SWIG_arg_fail(1)) SWIG_fail;
8359 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8360 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8361 if (obj2) {
093d3ff1
RD
8362 {
8363 arg3 = (int)(SWIG_As_int(obj2));
8364 if (SWIG_arg_fail(3)) SWIG_fail;
8365 }
d55e5bfc
RD
8366 }
8367 {
8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
8369 (arg1)->SetOwner(arg2,arg3);
8370
8371 wxPyEndAllowThreads(__tstate);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 Py_INCREF(Py_None); resultobj = Py_None;
8375 return resultobj;
8376 fail:
8377 return NULL;
8378}
8379
8380
c32bde28 8381static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
8382 PyObject *resultobj;
8383 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8384 wxEvtHandler *result;
8385 PyObject * obj0 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "self", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxEvtHandler *)(arg1)->GetOwner();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 {
412d302d 8401 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
8402 }
8403 return resultobj;
8404 fail:
8405 return NULL;
8406}
8407
8408
c32bde28 8409static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8410 PyObject *resultobj;
8411 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8412 int arg2 = (int) -1 ;
ae8162c8 8413 bool arg3 = (bool) false ;
d55e5bfc
RD
8414 bool result;
8415 PyObject * obj0 = 0 ;
8416 PyObject * obj1 = 0 ;
8417 PyObject * obj2 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8425 if (obj1) {
093d3ff1
RD
8426 {
8427 arg2 = (int)(SWIG_As_int(obj1));
8428 if (SWIG_arg_fail(2)) SWIG_fail;
8429 }
d55e5bfc
RD
8430 }
8431 if (obj2) {
093d3ff1
RD
8432 {
8433 arg3 = (bool)(SWIG_As_bool(obj2));
8434 if (SWIG_arg_fail(3)) SWIG_fail;
8435 }
d55e5bfc
RD
8436 }
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (bool)(arg1)->Start(arg2,arg3);
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 {
8445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8446 }
8447 return resultobj;
8448 fail:
8449 return NULL;
8450}
8451
8452
c32bde28 8453static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8454 PyObject *resultobj;
8455 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
8462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 (arg1)->Stop();
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475}
8476
8477
c32bde28 8478static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8479 PyObject *resultobj;
8480 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8481 bool result;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 {
8498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8499 }
8500 return resultobj;
8501 fail:
8502 return NULL;
8503}
8504
8505
c32bde28 8506static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8507 PyObject *resultobj;
8508 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8509 int result;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8517 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (int)((wxPyTimer const *)arg1)->GetInterval();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
093d3ff1
RD
8525 {
8526 resultobj = SWIG_From_int((int)(result));
8527 }
d55e5bfc
RD
8528 return resultobj;
8529 fail:
8530 return NULL;
8531}
8532
8533
c32bde28 8534static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8535 PyObject *resultobj;
8536 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8537 bool result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
8544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
8549
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) SWIG_fail;
8552 }
8553 {
8554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559}
8560
8561
c32bde28 8562static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8563 PyObject *resultobj;
8564 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8565 int result;
8566 PyObject * obj0 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
8572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)((wxPyTimer const *)arg1)->GetId();
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
093d3ff1
RD
8581 {
8582 resultobj = SWIG_From_int((int)(result));
8583 }
d55e5bfc
RD
8584 return resultobj;
8585 fail:
8586 return NULL;
8587}
8588
8589
c32bde28 8590static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8591 PyObject *obj;
8592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
8594 Py_INCREF(obj);
8595 return Py_BuildValue((char *)"");
8596}
c32bde28 8597static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8598 PyObject *resultobj;
8599 int arg1 = (int) 0 ;
8600 int arg2 = (int) 0 ;
8601 wxTimerEvent *result;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "timerid",(char *) "interval", NULL
8606 };
8607
8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
8609 if (obj0) {
093d3ff1
RD
8610 {
8611 arg1 = (int)(SWIG_As_int(obj0));
8612 if (SWIG_arg_fail(1)) SWIG_fail;
8613 }
d55e5bfc
RD
8614 }
8615 if (obj1) {
093d3ff1
RD
8616 {
8617 arg2 = (int)(SWIG_As_int(obj1));
8618 if (SWIG_arg_fail(2)) SWIG_fail;
8619 }
d55e5bfc
RD
8620 }
8621 {
8622 PyThreadState* __tstate = wxPyBeginAllowThreads();
8623 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
8624
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
8629 return resultobj;
8630 fail:
8631 return NULL;
8632}
8633
8634
c32bde28 8635static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8636 PyObject *resultobj;
8637 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
8638 int result;
8639 PyObject * obj0 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
8646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
093d3ff1
RD
8654 {
8655 resultobj = SWIG_From_int((int)(result));
8656 }
d55e5bfc
RD
8657 return resultobj;
8658 fail:
8659 return NULL;
8660}
8661
8662
c32bde28 8663static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8664 PyObject *obj;
8665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8666 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
8667 Py_INCREF(obj);
8668 return Py_BuildValue((char *)"");
8669}
c32bde28 8670static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
8671 PyObject *resultobj;
8672 wxTimer *arg1 = 0 ;
8673 wxTimerRunner *result;
8674 PyObject * obj0 = 0 ;
8675
8676 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
8677 {
8678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8679 if (SWIG_arg_fail(1)) SWIG_fail;
8680 if (arg1 == NULL) {
8681 SWIG_null_ref("wxTimer");
8682 }
8683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8684 }
8685 {
0439c23b 8686 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
8689
8690 wxPyEndAllowThreads(__tstate);
110da5b0 8691 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8692 }
8693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
c32bde28 8700static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
8701 PyObject *resultobj;
8702 wxTimer *arg1 = 0 ;
8703 int arg2 ;
ae8162c8 8704 bool arg3 = (bool) false ;
d55e5bfc
RD
8705 wxTimerRunner *result;
8706 PyObject * obj0 = 0 ;
8707 PyObject * obj1 = 0 ;
8708 PyObject * obj2 = 0 ;
8709
8710 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8711 {
8712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail;
8714 if (arg1 == NULL) {
8715 SWIG_null_ref("wxTimer");
8716 }
8717 if (SWIG_arg_fail(1)) SWIG_fail;
8718 }
8719 {
8720 arg2 = (int)(SWIG_As_int(obj1));
8721 if (SWIG_arg_fail(2)) SWIG_fail;
8722 }
d55e5bfc 8723 if (obj2) {
093d3ff1
RD
8724 {
8725 arg3 = (bool)(SWIG_As_bool(obj2));
8726 if (SWIG_arg_fail(3)) SWIG_fail;
8727 }
d55e5bfc
RD
8728 }
8729 {
0439c23b 8730 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
8733
8734 wxPyEndAllowThreads(__tstate);
110da5b0 8735 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8736 }
8737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8738 return resultobj;
8739 fail:
8740 return NULL;
8741}
8742
8743
8744static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
8745 int argc;
8746 PyObject *argv[4];
8747 int ii;
8748
8749 argc = PyObject_Length(args);
8750 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8751 argv[ii] = PyTuple_GetItem(args,ii);
8752 }
8753 if (argc == 1) {
8754 int _v;
8755 {
093d3ff1 8756 void *ptr = 0;
d55e5bfc
RD
8757 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8758 _v = 0;
8759 PyErr_Clear();
8760 } else {
093d3ff1 8761 _v = (ptr != 0);
d55e5bfc
RD
8762 }
8763 }
8764 if (_v) {
8765 return _wrap_new_TimerRunner__SWIG_0(self,args);
8766 }
8767 }
8768 if ((argc >= 2) && (argc <= 3)) {
8769 int _v;
8770 {
093d3ff1 8771 void *ptr = 0;
d55e5bfc
RD
8772 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8773 _v = 0;
8774 PyErr_Clear();
8775 } else {
093d3ff1 8776 _v = (ptr != 0);
d55e5bfc
RD
8777 }
8778 }
8779 if (_v) {
c32bde28 8780 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
8781 if (_v) {
8782 if (argc <= 2) {
8783 return _wrap_new_TimerRunner__SWIG_1(self,args);
8784 }
c32bde28 8785 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
8786 if (_v) {
8787 return _wrap_new_TimerRunner__SWIG_1(self,args);
8788 }
8789 }
8790 }
8791 }
8792
093d3ff1 8793 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
8794 return NULL;
8795}
8796
8797
c32bde28 8798static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8799 PyObject *resultobj;
8800 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 delete arg1;
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 return resultobj;
8818 fail:
8819 return NULL;
8820}
8821
8822
c32bde28 8823static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8824 PyObject *resultobj;
8825 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8826 int arg2 ;
ae8162c8 8827 bool arg3 = (bool) false ;
d55e5bfc
RD
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 PyObject * obj2 = 0 ;
8831 char *kwnames[] = {
8832 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8833 };
8834
8835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail;
8838 {
8839 arg2 = (int)(SWIG_As_int(obj1));
8840 if (SWIG_arg_fail(2)) SWIG_fail;
8841 }
d55e5bfc 8842 if (obj2) {
093d3ff1
RD
8843 {
8844 arg3 = (bool)(SWIG_As_bool(obj2));
8845 if (SWIG_arg_fail(3)) SWIG_fail;
8846 }
d55e5bfc
RD
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->Start(arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859}
8860
8861
c32bde28 8862static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8863 PyObject *obj;
8864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8865 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
8866 Py_INCREF(obj);
8867 return Py_BuildValue((char *)"");
8868}
c32bde28 8869static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8870 PyObject *resultobj;
8871 wxLog *result;
8872 char *kwnames[] = {
8873 NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 result = (wxLog *)new wxLog();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
8885 return resultobj;
8886 fail:
8887 return NULL;
8888}
8889
8890
c32bde28 8891static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8892 PyObject *resultobj;
8893 bool result;
8894 char *kwnames[] = {
8895 NULL
8896 };
8897
8898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 result = (bool)wxLog::IsEnabled();
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 {
8907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8908 }
8909 return resultobj;
8910 fail:
8911 return NULL;
8912}
8913
8914
c32bde28 8915static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8916 PyObject *resultobj;
ae8162c8 8917 bool arg1 = (bool) true ;
d55e5bfc
RD
8918 bool result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "doIt", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
8925 if (obj0) {
093d3ff1
RD
8926 {
8927 arg1 = (bool)(SWIG_As_bool(obj0));
8928 if (SWIG_arg_fail(1)) SWIG_fail;
8929 }
d55e5bfc
RD
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (bool)wxLog::EnableLogging(arg1);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 {
8939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8940 }
8941 return resultobj;
8942 fail:
8943 return NULL;
8944}
8945
8946
c32bde28 8947static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8948 PyObject *resultobj;
8949 wxLogLevel arg1 ;
8950 wxChar *arg2 = (wxChar *) 0 ;
8951 time_t arg3 ;
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "level",(char *) "szString",(char *) "t", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8960 {
8961 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
8962 if (SWIG_arg_fail(1)) SWIG_fail;
8963 }
8964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
8965 if (SWIG_arg_fail(2)) SWIG_fail;
8966 {
8967 arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
8968 if (SWIG_arg_fail(3)) SWIG_fail;
8969 }
d55e5bfc
RD
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 return resultobj;
8979 fail:
8980 return NULL;
8981}
8982
8983
c32bde28 8984static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8985 PyObject *resultobj;
8986 wxLog *arg1 = (wxLog *) 0 ;
8987 PyObject * obj0 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
8993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->Flush();
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006}
9007
9008
c32bde28 9009static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9010 PyObject *resultobj;
9011 char *kwnames[] = {
9012 NULL
9013 };
9014
9015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 wxLog::FlushActive();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 Py_INCREF(Py_None); resultobj = Py_None;
9024 return resultobj;
9025 fail:
9026 return NULL;
9027}
9028
9029
c32bde28 9030static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9031 PyObject *resultobj;
9032 wxLog *result;
9033 char *kwnames[] = {
9034 NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
9038 {
9039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9040 result = (wxLog *)wxLog::GetActiveTarget();
9041
9042 wxPyEndAllowThreads(__tstate);
9043 if (PyErr_Occurred()) SWIG_fail;
9044 }
9045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
c32bde28 9052static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9053 PyObject *resultobj;
9054 wxLog *arg1 = (wxLog *) 0 ;
9055 wxLog *result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "pLogger", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
9062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (wxLog *)wxLog::SetActiveTarget(arg1);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9072 return resultobj;
9073 fail:
9074 return NULL;
9075}
9076
9077
c32bde28 9078static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9079 PyObject *resultobj;
9080 char *kwnames[] = {
9081 NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 wxLog::Suspend();
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096}
9097
9098
c32bde28 9099static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9100 PyObject *resultobj;
9101 char *kwnames[] = {
9102 NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 wxLog::Resume();
9109
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 Py_INCREF(Py_None); resultobj = Py_None;
9114 return resultobj;
9115 fail:
9116 return NULL;
9117}
9118
9119
c32bde28 9120static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 9121 PyObject *resultobj;
ae8162c8 9122 bool arg1 = (bool) true ;
d55e5bfc
RD
9123 PyObject * obj0 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "bVerbose", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9129 if (obj0) {
093d3ff1
RD
9130 {
9131 arg1 = (bool)(SWIG_As_bool(obj0));
9132 if (SWIG_arg_fail(1)) SWIG_fail;
9133 }
d55e5bfc
RD
9134 }
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 wxLog::SetVerbose(arg1);
9138
9139 wxPyEndAllowThreads(__tstate);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 Py_INCREF(Py_None); resultobj = Py_None;
9143 return resultobj;
9144 fail:
9145 return NULL;
9146}
9147
9148
c32bde28 9149static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9150 PyObject *resultobj;
9151 wxLogLevel arg1 ;
9152 PyObject * obj0 = 0 ;
9153 char *kwnames[] = {
9154 (char *) "logLevel", NULL
9155 };
9156
9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
9158 {
9159 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9160 if (SWIG_arg_fail(1)) SWIG_fail;
9161 }
d55e5bfc
RD
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 wxLog::SetLogLevel(arg1);
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 Py_INCREF(Py_None); resultobj = Py_None;
9170 return resultobj;
9171 fail:
9172 return NULL;
9173}
9174
9175
c32bde28 9176static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9177 PyObject *resultobj;
9178 char *kwnames[] = {
9179 NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 wxLog::DontCreateOnDemand();
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 Py_INCREF(Py_None); resultobj = Py_None;
9191 return resultobj;
9192 fail:
9193 return NULL;
9194}
9195
9196
c32bde28 9197static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9198 PyObject *resultobj;
9199 wxTraceMask arg1 ;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "ulMask", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9206 {
9207 arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
9208 if (SWIG_arg_fail(1)) SWIG_fail;
9209 }
d55e5bfc
RD
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 wxLog::SetTraceMask(arg1);
9213
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 Py_INCREF(Py_None); resultobj = Py_None;
9218 return resultobj;
9219 fail:
9220 return NULL;
9221}
9222
9223
c32bde28 9224static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9225 PyObject *resultobj;
9226 wxString *arg1 = 0 ;
ae8162c8 9227 bool temp1 = false ;
d55e5bfc
RD
9228 PyObject * obj0 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "str", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
9234 {
9235 arg1 = wxString_in_helper(obj0);
9236 if (arg1 == NULL) SWIG_fail;
ae8162c8 9237 temp1 = true;
d55e5bfc
RD
9238 }
9239 {
9240 PyThreadState* __tstate = wxPyBeginAllowThreads();
9241 wxLog::AddTraceMask((wxString const &)*arg1);
9242
9243 wxPyEndAllowThreads(__tstate);
9244 if (PyErr_Occurred()) SWIG_fail;
9245 }
9246 Py_INCREF(Py_None); resultobj = Py_None;
9247 {
9248 if (temp1)
9249 delete arg1;
9250 }
9251 return resultobj;
9252 fail:
9253 {
9254 if (temp1)
9255 delete arg1;
9256 }
9257 return NULL;
9258}
9259
9260
c32bde28 9261static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9262 PyObject *resultobj;
9263 wxString *arg1 = 0 ;
ae8162c8 9264 bool temp1 = false ;
d55e5bfc
RD
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "str", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
9271 {
9272 arg1 = wxString_in_helper(obj0);
9273 if (arg1 == NULL) SWIG_fail;
ae8162c8 9274 temp1 = true;
d55e5bfc
RD
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 wxLog::RemoveTraceMask((wxString const &)*arg1);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 {
9285 if (temp1)
9286 delete arg1;
9287 }
9288 return resultobj;
9289 fail:
9290 {
9291 if (temp1)
9292 delete arg1;
9293 }
9294 return NULL;
9295}
9296
9297
c32bde28 9298static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9299 PyObject *resultobj;
9300 char *kwnames[] = {
9301 NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
9305 {
9306 PyThreadState* __tstate = wxPyBeginAllowThreads();
9307 wxLog::ClearTraceMasks();
9308
9309 wxPyEndAllowThreads(__tstate);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 Py_INCREF(Py_None); resultobj = Py_None;
9313 return resultobj;
9314 fail:
9315 return NULL;
9316}
9317
9318
c32bde28 9319static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9320 PyObject *resultobj;
9321 wxArrayString *result;
9322 char *kwnames[] = {
9323 NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 {
9330 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
9331 result = (wxArrayString *) &_result_ref;
9332 }
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
9337 {
9338 resultobj = wxArrayString2PyList_helper(*result);
9339 }
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
c32bde28 9346static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9347 PyObject *resultobj;
9348 wxChar *arg1 = (wxChar *) 0 ;
9349 PyObject * obj0 = 0 ;
9350 char *kwnames[] = {
9351 (char *) "ts", NULL
9352 };
9353
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
9355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 wxLog::SetTimestamp((wxChar const *)arg1);
9360
9361 wxPyEndAllowThreads(__tstate);
9362 if (PyErr_Occurred()) SWIG_fail;
9363 }
9364 Py_INCREF(Py_None); resultobj = Py_None;
9365 return resultobj;
9366 fail:
9367 return NULL;
9368}
9369
9370
c32bde28 9371static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9372 PyObject *resultobj;
9373 bool result;
9374 char *kwnames[] = {
9375 NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (bool)wxLog::GetVerbose();
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 {
9387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9388 }
9389 return resultobj;
9390 fail:
9391 return NULL;
9392}
9393
9394
c32bde28 9395static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9396 PyObject *resultobj;
9397 wxTraceMask result;
9398 char *kwnames[] = {
9399 NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (wxTraceMask)wxLog::GetTraceMask();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
093d3ff1
RD
9410 {
9411 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9412 }
d55e5bfc
RD
9413 return resultobj;
9414 fail:
9415 return NULL;
9416}
9417
9418
c32bde28 9419static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9420 PyObject *resultobj;
9421 wxChar *arg1 = (wxChar *) 0 ;
9422 bool result;
9423 PyObject * obj0 = 0 ;
9424 char *kwnames[] = {
9425 (char *) "mask", NULL
9426 };
9427
9428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9431 {
9432 PyThreadState* __tstate = wxPyBeginAllowThreads();
9433 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
9434
9435 wxPyEndAllowThreads(__tstate);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 }
9438 {
9439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9440 }
9441 return resultobj;
9442 fail:
9443 return NULL;
9444}
9445
9446
c32bde28 9447static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9448 PyObject *resultobj;
9449 wxLogLevel result;
9450 char *kwnames[] = {
9451 NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (wxLogLevel)wxLog::GetLogLevel();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
093d3ff1
RD
9462 {
9463 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9464 }
d55e5bfc
RD
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
c32bde28 9471static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9472 PyObject *resultobj;
9473 wxChar *result;
9474 char *kwnames[] = {
9475 NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (wxChar *)wxLog::GetTimestamp();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
c32bde28 9493static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9494 PyObject *resultobj;
9495 wxString result;
9496 char *kwnames[] = {
9497 NULL
9498 };
9499
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 result = Log_TimeStamp();
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 {
9509#if wxUSE_UNICODE
9510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9511#else
9512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9513#endif
9514 }
9515 return resultobj;
9516 fail:
9517 return NULL;
9518}
9519
9520
c32bde28 9521static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9522 PyObject *resultobj;
9523 wxLog *arg1 = (wxLog *) 0 ;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
9530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 wxLog_Destroy(arg1);
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 Py_INCREF(Py_None); resultobj = Py_None;
9540 return resultobj;
9541 fail:
9542 return NULL;
9543}
9544
9545
c32bde28 9546static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9547 PyObject *obj;
9548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9549 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
9550 Py_INCREF(obj);
9551 return Py_BuildValue((char *)"");
9552}
c32bde28 9553static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9554 PyObject *resultobj;
9555 wxLogStderr *result;
9556 char *kwnames[] = {
9557 NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (wxLogStderr *)new wxLogStderr();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
9569 return resultobj;
9570 fail:
9571 return NULL;
9572}
9573
9574
c32bde28 9575static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9576 PyObject *obj;
9577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9578 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
9579 Py_INCREF(obj);
9580 return Py_BuildValue((char *)"");
9581}
c32bde28 9582static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9583 PyObject *resultobj;
9584 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9585 wxLogTextCtrl *result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "pTextCtrl", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
9592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
c32bde28 9608static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9609 PyObject *obj;
9610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9611 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
9612 Py_INCREF(obj);
9613 return Py_BuildValue((char *)"");
9614}
c32bde28 9615static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9616 PyObject *resultobj;
9617 wxLogGui *result;
9618 char *kwnames[] = {
9619 NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (wxLogGui *)new wxLogGui();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
9631 return resultobj;
9632 fail:
9633 return NULL;
9634}
9635
9636
c32bde28 9637static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9638 PyObject *obj;
9639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9640 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
9641 Py_INCREF(obj);
9642 return Py_BuildValue((char *)"");
9643}
c32bde28 9644static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9645 PyObject *resultobj;
9646 wxFrame *arg1 = (wxFrame *) 0 ;
9647 wxString *arg2 = 0 ;
ae8162c8
RD
9648 bool arg3 = (bool) true ;
9649 bool arg4 = (bool) true ;
d55e5bfc 9650 wxLogWindow *result;
ae8162c8 9651 bool temp2 = false ;
d55e5bfc
RD
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 PyObject * obj2 = 0 ;
9655 PyObject * obj3 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
9662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9663 {
9664 arg2 = wxString_in_helper(obj1);
9665 if (arg2 == NULL) SWIG_fail;
ae8162c8 9666 temp2 = true;
d55e5bfc
RD
9667 }
9668 if (obj2) {
093d3ff1
RD
9669 {
9670 arg3 = (bool)(SWIG_As_bool(obj2));
9671 if (SWIG_arg_fail(3)) SWIG_fail;
9672 }
d55e5bfc
RD
9673 }
9674 if (obj3) {
093d3ff1
RD
9675 {
9676 arg4 = (bool)(SWIG_As_bool(obj3));
9677 if (SWIG_arg_fail(4)) SWIG_fail;
9678 }
d55e5bfc
RD
9679 }
9680 {
9681 PyThreadState* __tstate = wxPyBeginAllowThreads();
9682 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9683
9684 wxPyEndAllowThreads(__tstate);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
9688 {
9689 if (temp2)
9690 delete arg2;
9691 }
9692 return resultobj;
9693 fail:
9694 {
9695 if (temp2)
9696 delete arg2;
9697 }
9698 return NULL;
9699}
9700
9701
c32bde28 9702static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9703 PyObject *resultobj;
9704 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 9705 bool arg2 = (bool) true ;
d55e5bfc
RD
9706 PyObject * obj0 = 0 ;
9707 PyObject * obj1 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self",(char *) "bShow", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9715 if (obj1) {
093d3ff1
RD
9716 {
9717 arg2 = (bool)(SWIG_As_bool(obj1));
9718 if (SWIG_arg_fail(2)) SWIG_fail;
9719 }
d55e5bfc
RD
9720 }
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 (arg1)->Show(arg2);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 Py_INCREF(Py_None); resultobj = Py_None;
9729 return resultobj;
9730 fail:
9731 return NULL;
9732}
9733
9734
c32bde28 9735static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9736 PyObject *resultobj;
9737 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9738 wxFrame *result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
9745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
412d302d 9755 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
9756 }
9757 return resultobj;
9758 fail:
9759 return NULL;
9760}
9761
9762
c32bde28 9763static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9764 PyObject *resultobj;
9765 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9766 wxLog *result;
9767 PyObject * obj0 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
c32bde28 9789static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9790 PyObject *resultobj;
9791 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9792 bool result;
9793 PyObject * obj0 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814}
9815
9816
c32bde28 9817static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9818 PyObject *resultobj;
9819 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9820 bool arg2 ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self",(char *) "bDoPass", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9829 if (SWIG_arg_fail(1)) SWIG_fail;
9830 {
9831 arg2 = (bool)(SWIG_As_bool(obj1));
9832 if (SWIG_arg_fail(2)) SWIG_fail;
9833 }
d55e5bfc
RD
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 (arg1)->PassMessages(arg2);
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 Py_INCREF(Py_None); resultobj = Py_None;
9842 return resultobj;
9843 fail:
9844 return NULL;
9845}
9846
9847
c32bde28 9848static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9849 PyObject *obj;
9850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9851 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
9852 Py_INCREF(obj);
9853 return Py_BuildValue((char *)"");
9854}
c32bde28 9855static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9856 PyObject *resultobj;
9857 wxLog *arg1 = (wxLog *) 0 ;
9858 wxLogChain *result;
9859 PyObject * obj0 = 0 ;
9860 char *kwnames[] = {
9861 (char *) "logger", NULL
9862 };
9863
9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
9865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (wxLogChain *)new wxLogChain(arg1);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
9875 return resultobj;
9876 fail:
9877 return NULL;
9878}
9879
9880
c32bde28 9881static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9882 PyObject *resultobj;
9883 wxLogChain *arg1 = (wxLogChain *) 0 ;
9884 wxLog *arg2 = (wxLog *) 0 ;
9885 PyObject * obj0 = 0 ;
9886 PyObject * obj1 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self",(char *) "logger", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail;
9894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9895 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 (arg1)->SetLog(arg2);
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 Py_INCREF(Py_None); resultobj = Py_None;
9904 return resultobj;
9905 fail:
9906 return NULL;
9907}
9908
9909
c32bde28 9910static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9911 PyObject *resultobj;
9912 wxLogChain *arg1 = (wxLogChain *) 0 ;
9913 bool arg2 ;
9914 PyObject * obj0 = 0 ;
9915 PyObject * obj1 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self",(char *) "bDoPass", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9922 if (SWIG_arg_fail(1)) SWIG_fail;
9923 {
9924 arg2 = (bool)(SWIG_As_bool(obj1));
9925 if (SWIG_arg_fail(2)) SWIG_fail;
9926 }
d55e5bfc
RD
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 (arg1)->PassMessages(arg2);
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 Py_INCREF(Py_None); resultobj = Py_None;
9935 return resultobj;
9936 fail:
9937 return NULL;
9938}
9939
9940
c32bde28 9941static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9942 PyObject *resultobj;
9943 wxLogChain *arg1 = (wxLogChain *) 0 ;
9944 bool result;
9945 PyObject * obj0 = 0 ;
9946 char *kwnames[] = {
9947 (char *) "self", NULL
9948 };
9949
9950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (bool)(arg1)->IsPassingMessages();
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 {
9961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966}
9967
9968
c32bde28 9969static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9970 PyObject *resultobj;
9971 wxLogChain *arg1 = (wxLogChain *) 0 ;
9972 wxLog *result;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (wxLog *)(arg1)->GetOldLog();
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9989 return resultobj;
9990 fail:
9991 return NULL;
9992}
9993
9994
c32bde28 9995static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9996 PyObject *obj;
9997 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9998 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
9999 Py_INCREF(obj);
10000 return Py_BuildValue((char *)"");
10001}
c32bde28 10002static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10003 PyObject *resultobj;
10004 unsigned long result;
10005 char *kwnames[] = {
10006 NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (unsigned long)wxSysErrorCode();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
093d3ff1
RD
10017 {
10018 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10019 }
d55e5bfc
RD
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
c32bde28 10026static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10027 PyObject *resultobj;
10028 unsigned long arg1 = (unsigned long) 0 ;
10029 wxString result;
10030 PyObject * obj0 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "nErrCode", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10036 if (obj0) {
093d3ff1
RD
10037 {
10038 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10039 if (SWIG_arg_fail(1)) SWIG_fail;
10040 }
d55e5bfc
RD
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 result = wxSysErrorMsg(arg1);
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 {
10050#if wxUSE_UNICODE
10051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10052#else
10053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10054#endif
10055 }
10056 return resultobj;
10057 fail:
10058 return NULL;
10059}
10060
10061
c32bde28 10062static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10063 PyObject *resultobj;
10064 wxString *arg1 = 0 ;
ae8162c8 10065 bool temp1 = false ;
d55e5bfc
RD
10066 PyObject * obj0 = 0 ;
10067 char *kwnames[] = {
10068 (char *) "msg", NULL
10069 };
10070
10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
10072 {
10073 arg1 = wxString_in_helper(obj0);
10074 if (arg1 == NULL) SWIG_fail;
ae8162c8 10075 temp1 = true;
d55e5bfc
RD
10076 }
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10079 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 Py_INCREF(Py_None); resultobj = Py_None;
10085 {
10086 if (temp1)
10087 delete arg1;
10088 }
10089 return resultobj;
10090 fail:
10091 {
10092 if (temp1)
10093 delete arg1;
10094 }
10095 return NULL;
10096}
10097
10098
c32bde28 10099static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10100 PyObject *resultobj;
10101 wxString *arg1 = 0 ;
ae8162c8 10102 bool temp1 = false ;
d55e5bfc
RD
10103 PyObject * obj0 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "msg", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
10109 {
10110 arg1 = wxString_in_helper(obj0);
10111 if (arg1 == NULL) SWIG_fail;
ae8162c8 10112 temp1 = true;
d55e5bfc
RD
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10116 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 Py_INCREF(Py_None); resultobj = Py_None;
10122 {
10123 if (temp1)
10124 delete arg1;
10125 }
10126 return resultobj;
10127 fail:
10128 {
10129 if (temp1)
10130 delete arg1;
10131 }
10132 return NULL;
10133}
10134
10135
c32bde28 10136static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10137 PyObject *resultobj;
10138 wxString *arg1 = 0 ;
ae8162c8 10139 bool temp1 = false ;
d55e5bfc
RD
10140 PyObject * obj0 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "msg", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
10146 {
10147 arg1 = wxString_in_helper(obj0);
10148 if (arg1 == NULL) SWIG_fail;
ae8162c8 10149 temp1 = true;
d55e5bfc
RD
10150 }
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10153 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 Py_INCREF(Py_None); resultobj = Py_None;
10159 {
10160 if (temp1)
10161 delete arg1;
10162 }
10163 return resultobj;
10164 fail:
10165 {
10166 if (temp1)
10167 delete arg1;
10168 }
10169 return NULL;
10170}
10171
10172
c32bde28 10173static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10174 PyObject *resultobj;
10175 wxString *arg1 = 0 ;
ae8162c8 10176 bool temp1 = false ;
d55e5bfc
RD
10177 PyObject * obj0 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "msg", NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
10183 {
10184 arg1 = wxString_in_helper(obj0);
10185 if (arg1 == NULL) SWIG_fail;
ae8162c8 10186 temp1 = true;
d55e5bfc
RD
10187 }
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10190 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
10191
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 Py_INCREF(Py_None); resultobj = Py_None;
10196 {
10197 if (temp1)
10198 delete arg1;
10199 }
10200 return resultobj;
10201 fail:
10202 {
10203 if (temp1)
10204 delete arg1;
10205 }
10206 return NULL;
10207}
10208
10209
c32bde28 10210static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10211 PyObject *resultobj;
10212 wxString *arg1 = 0 ;
ae8162c8 10213 bool temp1 = false ;
d55e5bfc
RD
10214 PyObject * obj0 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "msg", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
10220 {
10221 arg1 = wxString_in_helper(obj0);
10222 if (arg1 == NULL) SWIG_fail;
ae8162c8 10223 temp1 = true;
d55e5bfc
RD
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10227 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 Py_INCREF(Py_None); resultobj = Py_None;
10233 {
10234 if (temp1)
10235 delete arg1;
10236 }
10237 return resultobj;
10238 fail:
10239 {
10240 if (temp1)
10241 delete arg1;
10242 }
10243 return NULL;
10244}
10245
10246
c32bde28 10247static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10248 PyObject *resultobj;
10249 wxString *arg1 = 0 ;
ae8162c8 10250 bool temp1 = false ;
d55e5bfc
RD
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "msg", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
10257 {
10258 arg1 = wxString_in_helper(obj0);
10259 if (arg1 == NULL) SWIG_fail;
ae8162c8 10260 temp1 = true;
d55e5bfc
RD
10261 }
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10264 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
10265
10266 wxPyEndAllowThreads(__tstate);
10267 if (PyErr_Occurred()) SWIG_fail;
10268 }
10269 Py_INCREF(Py_None); resultobj = Py_None;
10270 {
10271 if (temp1)
10272 delete arg1;
10273 }
10274 return resultobj;
10275 fail:
10276 {
10277 if (temp1)
10278 delete arg1;
10279 }
10280 return NULL;
10281}
10282
10283
c32bde28 10284static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10285 PyObject *resultobj;
10286 wxString *arg1 = 0 ;
ae8162c8 10287 bool temp1 = false ;
d55e5bfc
RD
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "msg", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
10294 {
10295 arg1 = wxString_in_helper(obj0);
10296 if (arg1 == NULL) SWIG_fail;
ae8162c8 10297 temp1 = true;
d55e5bfc
RD
10298 }
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10301 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 Py_INCREF(Py_None); resultobj = Py_None;
10307 {
10308 if (temp1)
10309 delete arg1;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp1)
10315 delete arg1;
10316 }
10317 return NULL;
10318}
10319
10320
c32bde28 10321static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10322 PyObject *resultobj;
10323 wxString *arg1 = 0 ;
ae8162c8 10324 bool temp1 = false ;
d55e5bfc
RD
10325 PyObject * obj0 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "msg", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
10331 {
10332 arg1 = wxString_in_helper(obj0);
10333 if (arg1 == NULL) SWIG_fail;
ae8162c8 10334 temp1 = true;
d55e5bfc
RD
10335 }
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10338 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 {
10345 if (temp1)
10346 delete arg1;
10347 }
10348 return resultobj;
10349 fail:
10350 {
10351 if (temp1)
10352 delete arg1;
10353 }
10354 return NULL;
10355}
10356
10357
c32bde28 10358static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10359 PyObject *resultobj;
10360 wxFrame *arg1 = (wxFrame *) 0 ;
10361 wxString *arg2 = 0 ;
ae8162c8 10362 bool temp2 = false ;
d55e5bfc
RD
10363 PyObject * obj0 = 0 ;
10364 PyObject * obj1 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "pFrame",(char *) "msg", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10372 {
10373 arg2 = wxString_in_helper(obj1);
10374 if (arg2 == NULL) SWIG_fail;
ae8162c8 10375 temp2 = true;
d55e5bfc
RD
10376 }
10377 {
10378 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10379 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10380
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 Py_INCREF(Py_None); resultobj = Py_None;
10385 {
10386 if (temp2)
10387 delete arg2;
10388 }
10389 return resultobj;
10390 fail:
10391 {
10392 if (temp2)
10393 delete arg2;
10394 }
10395 return NULL;
10396}
10397
10398
c32bde28 10399static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10400 PyObject *resultobj;
10401 wxString *arg1 = 0 ;
ae8162c8 10402 bool temp1 = false ;
d55e5bfc
RD
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "msg", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
10409 {
10410 arg1 = wxString_in_helper(obj0);
10411 if (arg1 == NULL) SWIG_fail;
ae8162c8 10412 temp1 = true;
d55e5bfc
RD
10413 }
10414 {
10415 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10416 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
10417
10418 wxPyEndAllowThreads(__tstate);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 Py_INCREF(Py_None); resultobj = Py_None;
10422 {
10423 if (temp1)
10424 delete arg1;
10425 }
10426 return resultobj;
10427 fail:
10428 {
10429 if (temp1)
10430 delete arg1;
10431 }
10432 return NULL;
10433}
10434
10435
f78cc896
RD
10436static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 unsigned long arg1 ;
10439 wxString *arg2 = 0 ;
10440 bool temp2 = false ;
10441 PyObject * obj0 = 0 ;
10442 PyObject * obj1 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "level",(char *) "msg", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10448 {
10449 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10450 if (SWIG_arg_fail(1)) SWIG_fail;
10451 }
f78cc896
RD
10452 {
10453 arg2 = wxString_in_helper(obj1);
10454 if (arg2 == NULL) SWIG_fail;
10455 temp2 = true;
10456 }
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 wxPyLogGeneric(arg1,(wxString const &)*arg2);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 {
10466 if (temp2)
10467 delete arg2;
10468 }
10469 return resultobj;
10470 fail:
10471 {
10472 if (temp2)
10473 delete arg2;
10474 }
10475 return NULL;
10476}
10477
10478
c32bde28 10479static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
10480 PyObject *resultobj;
10481 unsigned long arg1 ;
10482 wxString *arg2 = 0 ;
ae8162c8 10483 bool temp2 = false ;
d55e5bfc
RD
10484 PyObject * obj0 = 0 ;
10485 PyObject * obj1 = 0 ;
10486
10487 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1
RD
10488 {
10489 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10490 if (SWIG_arg_fail(1)) SWIG_fail;
10491 }
d55e5bfc
RD
10492 {
10493 arg2 = wxString_in_helper(obj1);
10494 if (arg2 == NULL) SWIG_fail;
ae8162c8 10495 temp2 = true;
d55e5bfc
RD
10496 }
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10499 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10500
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 Py_INCREF(Py_None); resultobj = Py_None;
10505 {
10506 if (temp2)
10507 delete arg2;
10508 }
10509 return resultobj;
10510 fail:
10511 {
10512 if (temp2)
10513 delete arg2;
10514 }
10515 return NULL;
10516}
10517
10518
c32bde28 10519static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
10520 PyObject *resultobj;
10521 wxString *arg1 = 0 ;
10522 wxString *arg2 = 0 ;
ae8162c8
RD
10523 bool temp1 = false ;
10524 bool temp2 = false ;
d55e5bfc
RD
10525 PyObject * obj0 = 0 ;
10526 PyObject * obj1 = 0 ;
10527
10528 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
10529 {
10530 arg1 = wxString_in_helper(obj0);
10531 if (arg1 == NULL) SWIG_fail;
ae8162c8 10532 temp1 = true;
d55e5bfc
RD
10533 }
10534 {
10535 arg2 = wxString_in_helper(obj1);
10536 if (arg2 == NULL) SWIG_fail;
ae8162c8 10537 temp2 = true;
d55e5bfc
RD
10538 }
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10541 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
10542
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 Py_INCREF(Py_None); resultobj = Py_None;
10547 {
10548 if (temp1)
10549 delete arg1;
10550 }
10551 {
10552 if (temp2)
10553 delete arg2;
10554 }
10555 return resultobj;
10556 fail:
10557 {
10558 if (temp1)
10559 delete arg1;
10560 }
10561 {
10562 if (temp2)
10563 delete arg2;
10564 }
10565 return NULL;
10566}
10567
10568
10569static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
10570 int argc;
10571 PyObject *argv[3];
10572 int ii;
10573
10574 argc = PyObject_Length(args);
10575 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
10576 argv[ii] = PyTuple_GetItem(args,ii);
10577 }
10578 if (argc == 2) {
10579 int _v;
10580 {
10581 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
10582 }
10583 if (_v) {
10584 {
10585 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10586 }
10587 if (_v) {
10588 return _wrap_LogTrace__SWIG_1(self,args);
10589 }
10590 }
10591 }
10592 if (argc == 2) {
10593 int _v;
c32bde28 10594 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
10595 if (_v) {
10596 {
10597 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10598 }
10599 if (_v) {
10600 return _wrap_LogTrace__SWIG_0(self,args);
10601 }
10602 }
10603 }
10604
093d3ff1 10605 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
10606 return NULL;
10607}
10608
10609
c32bde28 10610static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10611 PyObject *resultobj;
10612 wxString *arg1 = 0 ;
10613 wxString *arg2 = 0 ;
ae8162c8
RD
10614 bool temp1 = false ;
10615 bool temp2 = false ;
d55e5bfc
RD
10616 PyObject * obj0 = 0 ;
10617 PyObject * obj1 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "title",(char *) "text", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
10623 {
10624 arg1 = wxString_in_helper(obj0);
10625 if (arg1 == NULL) SWIG_fail;
ae8162c8 10626 temp1 = true;
d55e5bfc
RD
10627 }
10628 {
10629 arg2 = wxString_in_helper(obj1);
10630 if (arg2 == NULL) SWIG_fail;
ae8162c8 10631 temp2 = true;
d55e5bfc
RD
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 Py_INCREF(Py_None); resultobj = Py_None;
10641 {
10642 if (temp1)
10643 delete arg1;
10644 }
10645 {
10646 if (temp2)
10647 delete arg2;
10648 }
10649 return resultobj;
10650 fail:
10651 {
10652 if (temp1)
10653 delete arg1;
10654 }
10655 {
10656 if (temp2)
10657 delete arg2;
10658 }
10659 return NULL;
10660}
10661
10662
c32bde28 10663static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10664 PyObject *resultobj;
10665 wxLogNull *result;
10666 char *kwnames[] = {
10667 NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
10671 {
10672 PyThreadState* __tstate = wxPyBeginAllowThreads();
10673 result = (wxLogNull *)new wxLogNull();
10674
10675 wxPyEndAllowThreads(__tstate);
10676 if (PyErr_Occurred()) SWIG_fail;
10677 }
10678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
10679 return resultobj;
10680 fail:
10681 return NULL;
10682}
10683
10684
c32bde28 10685static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10686 PyObject *resultobj;
10687 wxLogNull *arg1 = (wxLogNull *) 0 ;
10688 PyObject * obj0 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
10694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
10695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10696 {
10697 PyThreadState* __tstate = wxPyBeginAllowThreads();
10698 delete arg1;
10699
10700 wxPyEndAllowThreads(__tstate);
10701 if (PyErr_Occurred()) SWIG_fail;
10702 }
10703 Py_INCREF(Py_None); resultobj = Py_None;
10704 return resultobj;
10705 fail:
10706 return NULL;
10707}
10708
10709
c32bde28 10710static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10711 PyObject *obj;
10712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10713 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
10714 Py_INCREF(obj);
10715 return Py_BuildValue((char *)"");
10716}
c32bde28 10717static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10718 PyObject *resultobj;
10719 wxPyLog *result;
10720 char *kwnames[] = {
10721 NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 result = (wxPyLog *)new wxPyLog();
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
10733 return resultobj;
10734 fail:
10735 return NULL;
10736}
10737
10738
c32bde28 10739static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10740 PyObject *resultobj;
10741 wxPyLog *arg1 = (wxPyLog *) 0 ;
10742 PyObject *arg2 = (PyObject *) 0 ;
10743 PyObject *arg3 = (PyObject *) 0 ;
10744 PyObject * obj0 = 0 ;
10745 PyObject * obj1 = 0 ;
10746 PyObject * obj2 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self",(char *) "self",(char *) "_class", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
10753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10754 arg2 = obj1;
10755 arg3 = obj2;
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 (arg1)->_setCallbackInfo(arg2,arg3);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 Py_INCREF(Py_None); resultobj = Py_None;
10764 return resultobj;
10765 fail:
10766 return NULL;
10767}
10768
10769
c32bde28 10770static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10771 PyObject *obj;
10772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10773 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
10774 Py_INCREF(obj);
10775 return Py_BuildValue((char *)"");
10776}
c32bde28 10777static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10778 PyObject *resultobj;
10779 int arg1 ;
093d3ff1 10780 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70 10781 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 10782 wxKillError result;
d55e5bfc
RD
10783 PyObject * obj0 = 0 ;
10784 PyObject * obj1 = 0 ;
c9c2cf70 10785 PyObject * obj2 = 0 ;
d55e5bfc 10786 char *kwnames[] = {
c9c2cf70 10787 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
10788 };
10789
c9c2cf70 10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10791 {
10792 arg1 = (int)(SWIG_As_int(obj0));
10793 if (SWIG_arg_fail(1)) SWIG_fail;
10794 }
d55e5bfc 10795 if (obj1) {
093d3ff1
RD
10796 {
10797 arg2 = (wxSignal)(SWIG_As_int(obj1));
10798 if (SWIG_arg_fail(2)) SWIG_fail;
10799 }
d55e5bfc 10800 }
c9c2cf70 10801 if (obj2) {
093d3ff1
RD
10802 {
10803 arg3 = (int)(SWIG_As_int(obj2));
10804 if (SWIG_arg_fail(3)) SWIG_fail;
10805 }
c9c2cf70 10806 }
d55e5bfc
RD
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10809 result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
d55e5bfc
RD
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
093d3ff1 10814 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10815 return resultobj;
10816 fail:
10817 return NULL;
10818}
10819
10820
c32bde28 10821static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10822 PyObject *resultobj;
10823 int arg1 ;
10824 bool result;
10825 PyObject * obj0 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "pid", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1
RD
10831 {
10832 arg1 = (int)(SWIG_As_int(obj0));
10833 if (SWIG_arg_fail(1)) SWIG_fail;
10834 }
d55e5bfc
RD
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 result = (bool)wxPyProcess::Exists(arg1);
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 {
10843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10844 }
10845 return resultobj;
10846 fail:
10847 return NULL;
10848}
10849
10850
c32bde28 10851static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10852 PyObject *resultobj;
10853 wxString *arg1 = 0 ;
10854 int arg2 = (int) wxEXEC_ASYNC ;
10855 wxPyProcess *result;
ae8162c8 10856 bool temp1 = false ;
d55e5bfc
RD
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 char *kwnames[] = {
10860 (char *) "cmd",(char *) "flags", NULL
10861 };
10862
10863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
10864 {
10865 arg1 = wxString_in_helper(obj0);
10866 if (arg1 == NULL) SWIG_fail;
ae8162c8 10867 temp1 = true;
d55e5bfc
RD
10868 }
10869 if (obj1) {
093d3ff1
RD
10870 {
10871 arg2 = (int)(SWIG_As_int(obj1));
10872 if (SWIG_arg_fail(2)) SWIG_fail;
10873 }
d55e5bfc
RD
10874 }
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
10883 {
10884 if (temp1)
10885 delete arg1;
10886 }
10887 return resultobj;
10888 fail:
10889 {
10890 if (temp1)
10891 delete arg1;
10892 }
10893 return NULL;
10894}
10895
10896
c32bde28 10897static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10898 PyObject *resultobj;
10899 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
10900 int arg2 = (int) -1 ;
10901 wxPyProcess *result;
10902 PyObject * obj0 = 0 ;
10903 PyObject * obj1 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "parent",(char *) "id", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
10909 if (obj0) {
093d3ff1
RD
10910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10912 }
10913 if (obj1) {
093d3ff1
RD
10914 {
10915 arg2 = (int)(SWIG_As_int(obj1));
10916 if (SWIG_arg_fail(2)) SWIG_fail;
10917 }
d55e5bfc
RD
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
10927 return resultobj;
10928 fail:
10929 return NULL;
10930}
10931
10932
c32bde28 10933static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10934 PyObject *resultobj;
10935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10936 PyObject *arg2 = (PyObject *) 0 ;
10937 PyObject *arg3 = (PyObject *) 0 ;
10938 PyObject * obj0 = 0 ;
10939 PyObject * obj1 = 0 ;
10940 PyObject * obj2 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "self",(char *) "self",(char *) "_class", NULL
10943 };
10944
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10948 arg2 = obj1;
10949 arg3 = obj2;
10950 {
10951 PyThreadState* __tstate = wxPyBeginAllowThreads();
10952 (arg1)->_setCallbackInfo(arg2,arg3);
10953
10954 wxPyEndAllowThreads(__tstate);
10955 if (PyErr_Occurred()) SWIG_fail;
10956 }
10957 Py_INCREF(Py_None); resultobj = Py_None;
10958 return resultobj;
10959 fail:
10960 return NULL;
10961}
10962
10963
c32bde28 10964static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10965 PyObject *resultobj;
10966 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10967 int arg2 ;
10968 int arg3 ;
10969 PyObject * obj0 = 0 ;
10970 PyObject * obj1 = 0 ;
10971 PyObject * obj2 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self",(char *) "pid",(char *) "status", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10978 if (SWIG_arg_fail(1)) SWIG_fail;
10979 {
10980 arg2 = (int)(SWIG_As_int(obj1));
10981 if (SWIG_arg_fail(2)) SWIG_fail;
10982 }
10983 {
10984 arg3 = (int)(SWIG_As_int(obj2));
10985 if (SWIG_arg_fail(3)) SWIG_fail;
10986 }
d55e5bfc
RD
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->base_OnTerminate(arg2,arg3);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 Py_INCREF(Py_None); resultobj = Py_None;
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
c32bde28 11001static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11002 PyObject *resultobj;
11003 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11004 PyObject * obj0 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
11010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 (arg1)->Redirect();
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 Py_INCREF(Py_None); resultobj = Py_None;
11020 return resultobj;
11021 fail:
11022 return NULL;
11023}
11024
11025
c32bde28 11026static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11027 PyObject *resultobj;
11028 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11029 bool result;
11030 PyObject * obj0 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
11036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11038 {
11039 PyThreadState* __tstate = wxPyBeginAllowThreads();
11040 result = (bool)(arg1)->IsRedirected();
11041
11042 wxPyEndAllowThreads(__tstate);
11043 if (PyErr_Occurred()) SWIG_fail;
11044 }
11045 {
11046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11047 }
11048 return resultobj;
11049 fail:
11050 return NULL;
11051}
11052
11053
c32bde28 11054static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11055 PyObject *resultobj;
11056 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11057 PyObject * obj0 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "self", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
11063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11065 {
11066 PyThreadState* __tstate = wxPyBeginAllowThreads();
11067 (arg1)->Detach();
11068
11069 wxPyEndAllowThreads(__tstate);
11070 if (PyErr_Occurred()) SWIG_fail;
11071 }
11072 Py_INCREF(Py_None); resultobj = Py_None;
11073 return resultobj;
11074 fail:
11075 return NULL;
11076}
11077
11078
c32bde28 11079static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11080 PyObject *resultobj;
11081 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11082 wxInputStream *result;
11083 PyObject * obj0 = 0 ;
11084 char *kwnames[] = {
11085 (char *) "self", NULL
11086 };
11087
11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = (wxInputStream *)(arg1)->GetInputStream();
11094
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 {
11099 wxPyInputStream * _ptr = NULL;
11100
11101 if (result) {
11102 _ptr = new wxPyInputStream(result);
11103 }
fc71d09b 11104 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11105 }
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
c32bde28 11112static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11113 PyObject *resultobj;
11114 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11115 wxInputStream *result;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (wxInputStream *)(arg1)->GetErrorStream();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 wxPyInputStream * _ptr = NULL;
11133
11134 if (result) {
11135 _ptr = new wxPyInputStream(result);
11136 }
fc71d09b 11137 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11138 }
11139 return resultobj;
11140 fail:
11141 return NULL;
11142}
11143
11144
c32bde28 11145static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11146 PyObject *resultobj;
11147 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11148 wxOutputStream *result;
11149 PyObject * obj0 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (wxOutputStream *)(arg1)->GetOutputStream();
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
11165 return resultobj;
11166 fail:
11167 return NULL;
11168}
11169
11170
c32bde28 11171static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11172 PyObject *resultobj;
11173 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11174 PyObject * obj0 = 0 ;
11175 char *kwnames[] = {
11176 (char *) "self", NULL
11177 };
11178
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
11180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11181 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 (arg1)->CloseOutput();
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 Py_INCREF(Py_None); resultobj = Py_None;
11190 return resultobj;
11191 fail:
11192 return NULL;
11193}
11194
11195
c32bde28 11196static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11197 PyObject *resultobj;
11198 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11199 bool result;
11200 PyObject * obj0 = 0 ;
11201 char *kwnames[] = {
11202 (char *) "self", NULL
11203 };
11204
11205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
11206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
11211
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 {
11216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11217 }
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
c32bde28 11224static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11225 PyObject *resultobj;
11226 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11227 bool result;
11228 PyObject * obj0 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11236 {
11237 PyThreadState* __tstate = wxPyBeginAllowThreads();
11238 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
11239
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11245 }
11246 return resultobj;
11247 fail:
11248 return NULL;
11249}
11250
11251
c32bde28 11252static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11253 PyObject *resultobj;
11254 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11255 bool result;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 {
11272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11273 }
11274 return resultobj;
11275 fail:
11276 return NULL;
11277}
11278
11279
c32bde28 11280static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11281 PyObject *obj;
11282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11283 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
11284 Py_INCREF(obj);
11285 return Py_BuildValue((char *)"");
11286}
c32bde28 11287static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11288 PyObject *resultobj;
11289 int arg1 = (int) 0 ;
11290 int arg2 = (int) 0 ;
11291 int arg3 = (int) 0 ;
11292 wxProcessEvent *result;
11293 PyObject * obj0 = 0 ;
11294 PyObject * obj1 = 0 ;
11295 PyObject * obj2 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
11301 if (obj0) {
093d3ff1
RD
11302 {
11303 arg1 = (int)(SWIG_As_int(obj0));
11304 if (SWIG_arg_fail(1)) SWIG_fail;
11305 }
d55e5bfc
RD
11306 }
11307 if (obj1) {
093d3ff1
RD
11308 {
11309 arg2 = (int)(SWIG_As_int(obj1));
11310 if (SWIG_arg_fail(2)) SWIG_fail;
11311 }
d55e5bfc
RD
11312 }
11313 if (obj2) {
093d3ff1
RD
11314 {
11315 arg3 = (int)(SWIG_As_int(obj2));
11316 if (SWIG_arg_fail(3)) SWIG_fail;
11317 }
d55e5bfc
RD
11318 }
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
c32bde28 11333static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11334 PyObject *resultobj;
11335 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11336 int result;
11337 PyObject * obj0 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
11343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (int)(arg1)->GetPid();
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
093d3ff1
RD
11352 {
11353 resultobj = SWIG_From_int((int)(result));
11354 }
d55e5bfc
RD
11355 return resultobj;
11356 fail:
11357 return NULL;
11358}
11359
11360
c32bde28 11361static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11362 PyObject *resultobj;
11363 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11364 int result;
11365 PyObject * obj0 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
11371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (int)(arg1)->GetExitCode();
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
093d3ff1
RD
11380 {
11381 resultobj = SWIG_From_int((int)(result));
11382 }
d55e5bfc
RD
11383 return resultobj;
11384 fail:
11385 return NULL;
11386}
11387
11388
c32bde28 11389static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11390 PyObject *resultobj;
11391 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11392 int arg2 ;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self",(char *) "m_pid", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11401 if (SWIG_arg_fail(1)) SWIG_fail;
11402 {
11403 arg2 = (int)(SWIG_As_int(obj1));
11404 if (SWIG_arg_fail(2)) SWIG_fail;
11405 }
d55e5bfc
RD
11406 if (arg1) (arg1)->m_pid = arg2;
11407
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
c32bde28 11415static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11416 PyObject *resultobj;
11417 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11418 int result;
11419 PyObject * obj0 = 0 ;
11420 char *kwnames[] = {
11421 (char *) "self", NULL
11422 };
11423
11424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11427 result = (int) ((arg1)->m_pid);
11428
093d3ff1
RD
11429 {
11430 resultobj = SWIG_From_int((int)(result));
11431 }
d55e5bfc
RD
11432 return resultobj;
11433 fail:
11434 return NULL;
11435}
11436
11437
c32bde28 11438static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11439 PyObject *resultobj;
11440 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11441 int arg2 ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self",(char *) "m_exitcode", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11450 if (SWIG_arg_fail(1)) SWIG_fail;
11451 {
11452 arg2 = (int)(SWIG_As_int(obj1));
11453 if (SWIG_arg_fail(2)) SWIG_fail;
11454 }
d55e5bfc
RD
11455 if (arg1) (arg1)->m_exitcode = arg2;
11456
11457 Py_INCREF(Py_None); resultobj = Py_None;
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
c32bde28 11464static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11465 PyObject *resultobj;
11466 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11467 int result;
11468 PyObject * obj0 = 0 ;
11469 char *kwnames[] = {
11470 (char *) "self", NULL
11471 };
11472
11473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11476 result = (int) ((arg1)->m_exitcode);
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 * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11488 PyObject *obj;
11489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11490 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
11491 Py_INCREF(obj);
11492 return Py_BuildValue((char *)"");
11493}
c32bde28 11494static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11495 PyObject *resultobj;
11496 wxString *arg1 = 0 ;
11497 int arg2 = (int) wxEXEC_ASYNC ;
11498 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
11499 long result;
ae8162c8 11500 bool temp1 = false ;
d55e5bfc
RD
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
11504 char *kwnames[] = {
11505 (char *) "command",(char *) "flags",(char *) "process", NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
11509 {
11510 arg1 = wxString_in_helper(obj0);
11511 if (arg1 == NULL) SWIG_fail;
ae8162c8 11512 temp1 = true;
d55e5bfc
RD
11513 }
11514 if (obj1) {
093d3ff1
RD
11515 {
11516 arg2 = (int)(SWIG_As_int(obj1));
11517 if (SWIG_arg_fail(2)) SWIG_fail;
11518 }
d55e5bfc
RD
11519 }
11520 if (obj2) {
093d3ff1
RD
11521 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11522 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
11523 }
11524 {
0439c23b 11525 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
11528
11529 wxPyEndAllowThreads(__tstate);
110da5b0 11530 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11531 }
093d3ff1
RD
11532 {
11533 resultobj = SWIG_From_long((long)(result));
11534 }
d55e5bfc
RD
11535 {
11536 if (temp1)
11537 delete arg1;
11538 }
11539 return resultobj;
11540 fail:
11541 {
11542 if (temp1)
11543 delete arg1;
11544 }
11545 return NULL;
11546}
11547
11548
c9c2cf70
RD
11549static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
11550 PyObject *resultobj;
11551 long arg1 ;
093d3ff1 11552 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70
RD
11553 wxKillError *arg3 = (wxKillError *) 0 ;
11554 int arg4 = (int) wxKILL_NOCHILDREN ;
11555 int result;
11556 wxKillError temp3 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 PyObject * obj2 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11562 };
11563
11564 {
11565 arg3 = &temp3;
11566 }
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11568 {
11569 arg1 = (long)(SWIG_As_long(obj0));
11570 if (SWIG_arg_fail(1)) SWIG_fail;
11571 }
c9c2cf70 11572 if (obj1) {
093d3ff1
RD
11573 {
11574 arg2 = (wxSignal)(SWIG_As_int(obj1));
11575 if (SWIG_arg_fail(2)) SWIG_fail;
11576 }
c9c2cf70
RD
11577 }
11578 if (obj2) {
093d3ff1
RD
11579 {
11580 arg4 = (int)(SWIG_As_int(obj2));
11581 if (SWIG_arg_fail(4)) SWIG_fail;
11582 }
c9c2cf70
RD
11583 }
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
093d3ff1
RD
11591 {
11592 resultobj = SWIG_From_int((int)(result));
11593 }
c9c2cf70
RD
11594 {
11595 PyObject* o;
11596 o = PyInt_FromLong((long) (*arg3));
11597 resultobj = t_output_helper(resultobj, o);
11598 }
11599 return resultobj;
11600 fail:
11601 return NULL;
11602}
11603
11604
c32bde28 11605static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11606 PyObject *resultobj;
11607 int arg1 = (int) wxJOYSTICK1 ;
11608 wxJoystick *result;
11609 PyObject * obj0 = 0 ;
11610 char *kwnames[] = {
11611 (char *) "joystick", NULL
11612 };
11613
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
11615 if (obj0) {
093d3ff1
RD
11616 {
11617 arg1 = (int)(SWIG_As_int(obj0));
11618 if (SWIG_arg_fail(1)) SWIG_fail;
11619 }
d55e5bfc
RD
11620 }
11621 {
0439c23b 11622 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 result = (wxJoystick *)new wxJoystick(arg1);
11625
11626 wxPyEndAllowThreads(__tstate);
110da5b0 11627 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11628 }
11629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
11630 return resultobj;
11631 fail:
11632 return NULL;
11633}
11634
11635
c32bde28 11636static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11637 PyObject *resultobj;
11638 wxJoystick *arg1 = (wxJoystick *) 0 ;
11639 PyObject * obj0 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
11645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 delete arg1;
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 Py_INCREF(Py_None); resultobj = Py_None;
11655 return resultobj;
11656 fail:
11657 return NULL;
11658}
11659
11660
c32bde28 11661static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11662 PyObject *resultobj;
11663 wxJoystick *arg1 = (wxJoystick *) 0 ;
11664 wxPoint result;
11665 PyObject * obj0 = 0 ;
11666 char *kwnames[] = {
11667 (char *) "self", NULL
11668 };
11669
11670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11673 {
11674 PyThreadState* __tstate = wxPyBeginAllowThreads();
11675 result = (arg1)->GetPosition();
11676
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 {
11681 wxPoint * resultptr;
093d3ff1 11682 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
11683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11684 }
11685 return resultobj;
11686 fail:
11687 return NULL;
11688}
11689
11690
c32bde28 11691static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11692 PyObject *resultobj;
11693 wxJoystick *arg1 = (wxJoystick *) 0 ;
11694 int result;
11695 PyObject * obj0 = 0 ;
11696 char *kwnames[] = {
11697 (char *) "self", NULL
11698 };
11699
11700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 result = (int)(arg1)->GetZPosition();
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
093d3ff1
RD
11710 {
11711 resultobj = SWIG_From_int((int)(result));
11712 }
d55e5bfc
RD
11713 return resultobj;
11714 fail:
11715 return NULL;
11716}
11717
11718
c32bde28 11719static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11720 PyObject *resultobj;
11721 wxJoystick *arg1 = (wxJoystick *) 0 ;
11722 int result;
11723 PyObject * obj0 = 0 ;
11724 char *kwnames[] = {
11725 (char *) "self", NULL
11726 };
11727
11728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
11729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 result = (int)(arg1)->GetButtonState();
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
093d3ff1
RD
11738 {
11739 resultobj = SWIG_From_int((int)(result));
11740 }
d55e5bfc
RD
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
c32bde28 11747static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11748 PyObject *resultobj;
11749 wxJoystick *arg1 = (wxJoystick *) 0 ;
11750 int result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11759 {
11760 PyThreadState* __tstate = wxPyBeginAllowThreads();
11761 result = (int)(arg1)->GetPOVPosition();
11762
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
093d3ff1
RD
11766 {
11767 resultobj = SWIG_From_int((int)(result));
11768 }
d55e5bfc
RD
11769 return resultobj;
11770 fail:
11771 return NULL;
11772}
11773
11774
c32bde28 11775static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11776 PyObject *resultobj;
11777 wxJoystick *arg1 = (wxJoystick *) 0 ;
11778 int result;
11779 PyObject * obj0 = 0 ;
11780 char *kwnames[] = {
11781 (char *) "self", NULL
11782 };
11783
11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = (int)(arg1)->GetPOVCTSPosition();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
093d3ff1
RD
11794 {
11795 resultobj = SWIG_From_int((int)(result));
11796 }
d55e5bfc
RD
11797 return resultobj;
11798 fail:
11799 return NULL;
11800}
11801
11802
c32bde28 11803static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11804 PyObject *resultobj;
11805 wxJoystick *arg1 = (wxJoystick *) 0 ;
11806 int result;
11807 PyObject * obj0 = 0 ;
11808 char *kwnames[] = {
11809 (char *) "self", NULL
11810 };
11811
11812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 result = (int)(arg1)->GetRudderPosition();
11818
11819 wxPyEndAllowThreads(__tstate);
11820 if (PyErr_Occurred()) SWIG_fail;
11821 }
093d3ff1
RD
11822 {
11823 resultobj = SWIG_From_int((int)(result));
11824 }
d55e5bfc
RD
11825 return resultobj;
11826 fail:
11827 return NULL;
11828}
11829
11830
c32bde28 11831static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11832 PyObject *resultobj;
11833 wxJoystick *arg1 = (wxJoystick *) 0 ;
11834 int result;
11835 PyObject * obj0 = 0 ;
11836 char *kwnames[] = {
11837 (char *) "self", NULL
11838 };
11839
11840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (int)(arg1)->GetUPosition();
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
093d3ff1
RD
11850 {
11851 resultobj = SWIG_From_int((int)(result));
11852 }
d55e5bfc
RD
11853 return resultobj;
11854 fail:
11855 return NULL;
11856}
11857
11858
c32bde28 11859static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11860 PyObject *resultobj;
11861 wxJoystick *arg1 = (wxJoystick *) 0 ;
11862 int result;
11863 PyObject * obj0 = 0 ;
11864 char *kwnames[] = {
11865 (char *) "self", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (int)(arg1)->GetVPosition();
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
093d3ff1
RD
11878 {
11879 resultobj = SWIG_From_int((int)(result));
11880 }
d55e5bfc
RD
11881 return resultobj;
11882 fail:
11883 return NULL;
11884}
11885
11886
c32bde28 11887static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11888 PyObject *resultobj;
11889 wxJoystick *arg1 = (wxJoystick *) 0 ;
11890 int result;
11891 PyObject * obj0 = 0 ;
11892 char *kwnames[] = {
11893 (char *) "self", NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
11897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = (int)(arg1)->GetMovementThreshold();
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
093d3ff1
RD
11906 {
11907 resultobj = SWIG_From_int((int)(result));
11908 }
d55e5bfc
RD
11909 return resultobj;
11910 fail:
11911 return NULL;
11912}
11913
11914
c32bde28 11915static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11916 PyObject *resultobj;
11917 wxJoystick *arg1 = (wxJoystick *) 0 ;
11918 int arg2 ;
11919 PyObject * obj0 = 0 ;
11920 PyObject * obj1 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self",(char *) "threshold", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11927 if (SWIG_arg_fail(1)) SWIG_fail;
11928 {
11929 arg2 = (int)(SWIG_As_int(obj1));
11930 if (SWIG_arg_fail(2)) SWIG_fail;
11931 }
d55e5bfc
RD
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 (arg1)->SetMovementThreshold(arg2);
11935
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
11939 Py_INCREF(Py_None); resultobj = Py_None;
11940 return resultobj;
11941 fail:
11942 return NULL;
11943}
11944
11945
c32bde28 11946static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11947 PyObject *resultobj;
11948 wxJoystick *arg1 = (wxJoystick *) 0 ;
11949 bool result;
11950 PyObject * obj0 = 0 ;
11951 char *kwnames[] = {
11952 (char *) "self", NULL
11953 };
11954
11955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
11956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11958 {
11959 PyThreadState* __tstate = wxPyBeginAllowThreads();
11960 result = (bool)(arg1)->IsOk();
11961
11962 wxPyEndAllowThreads(__tstate);
11963 if (PyErr_Occurred()) SWIG_fail;
11964 }
11965 {
11966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11967 }
11968 return resultobj;
11969 fail:
11970 return NULL;
11971}
11972
11973
c32bde28 11974static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11975 PyObject *resultobj;
11976 wxJoystick *arg1 = (wxJoystick *) 0 ;
11977 int result;
11978 PyObject * obj0 = 0 ;
11979 char *kwnames[] = {
11980 (char *) "self", NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
11984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (int)(arg1)->GetNumberJoysticks();
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
093d3ff1
RD
11993 {
11994 resultobj = SWIG_From_int((int)(result));
11995 }
d55e5bfc
RD
11996 return resultobj;
11997 fail:
11998 return NULL;
11999}
12000
12001
c32bde28 12002static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12003 PyObject *resultobj;
12004 wxJoystick *arg1 = (wxJoystick *) 0 ;
12005 int result;
12006 PyObject * obj0 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12013 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = (int)(arg1)->GetManufacturerId();
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
093d3ff1
RD
12021 {
12022 resultobj = SWIG_From_int((int)(result));
12023 }
d55e5bfc
RD
12024 return resultobj;
12025 fail:
12026 return NULL;
12027}
12028
12029
c32bde28 12030static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12031 PyObject *resultobj;
12032 wxJoystick *arg1 = (wxJoystick *) 0 ;
12033 int result;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12041 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = (int)(arg1)->GetProductId();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
093d3ff1
RD
12049 {
12050 resultobj = SWIG_From_int((int)(result));
12051 }
d55e5bfc
RD
12052 return resultobj;
12053 fail:
12054 return NULL;
12055}
12056
12057
c32bde28 12058static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12059 PyObject *resultobj;
12060 wxJoystick *arg1 = (wxJoystick *) 0 ;
12061 wxString result;
12062 PyObject * obj0 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
12068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12069 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (arg1)->GetProductName();
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 {
12078#if wxUSE_UNICODE
12079 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12080#else
12081 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12082#endif
12083 }
12084 return resultobj;
12085 fail:
12086 return NULL;
12087}
12088
12089
c32bde28 12090static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12091 PyObject *resultobj;
12092 wxJoystick *arg1 = (wxJoystick *) 0 ;
12093 int result;
12094 PyObject * obj0 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 result = (int)(arg1)->GetXMin();
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) SWIG_fail;
12108 }
093d3ff1
RD
12109 {
12110 resultobj = SWIG_From_int((int)(result));
12111 }
d55e5bfc
RD
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
c32bde28 12118static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12119 PyObject *resultobj;
12120 wxJoystick *arg1 = (wxJoystick *) 0 ;
12121 int result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (int)(arg1)->GetYMin();
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
093d3ff1
RD
12137 {
12138 resultobj = SWIG_From_int((int)(result));
12139 }
d55e5bfc
RD
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
c32bde28 12146static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12147 PyObject *resultobj;
12148 wxJoystick *arg1 = (wxJoystick *) 0 ;
12149 int result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)(arg1)->GetZMin();
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
093d3ff1
RD
12165 {
12166 resultobj = SWIG_From_int((int)(result));
12167 }
d55e5bfc
RD
12168 return resultobj;
12169 fail:
12170 return NULL;
12171}
12172
12173
c32bde28 12174static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12175 PyObject *resultobj;
12176 wxJoystick *arg1 = (wxJoystick *) 0 ;
12177 int result;
12178 PyObject * obj0 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 result = (int)(arg1)->GetXMax();
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
093d3ff1
RD
12193 {
12194 resultobj = SWIG_From_int((int)(result));
12195 }
d55e5bfc
RD
12196 return resultobj;
12197 fail:
12198 return NULL;
12199}
12200
12201
c32bde28 12202static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12203 PyObject *resultobj;
12204 wxJoystick *arg1 = (wxJoystick *) 0 ;
12205 int result;
12206 PyObject * obj0 = 0 ;
12207 char *kwnames[] = {
12208 (char *) "self", NULL
12209 };
12210
12211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (int)(arg1)->GetYMax();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
093d3ff1
RD
12221 {
12222 resultobj = SWIG_From_int((int)(result));
12223 }
d55e5bfc
RD
12224 return resultobj;
12225 fail:
12226 return NULL;
12227}
12228
12229
c32bde28 12230static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12231 PyObject *resultobj;
12232 wxJoystick *arg1 = (wxJoystick *) 0 ;
12233 int result;
12234 PyObject * obj0 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12242 {
12243 PyThreadState* __tstate = wxPyBeginAllowThreads();
12244 result = (int)(arg1)->GetZMax();
12245
12246 wxPyEndAllowThreads(__tstate);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
093d3ff1
RD
12249 {
12250 resultobj = SWIG_From_int((int)(result));
12251 }
d55e5bfc
RD
12252 return resultobj;
12253 fail:
12254 return NULL;
12255}
12256
12257
c32bde28 12258static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12259 PyObject *resultobj;
12260 wxJoystick *arg1 = (wxJoystick *) 0 ;
12261 int result;
12262 PyObject * obj0 = 0 ;
12263 char *kwnames[] = {
12264 (char *) "self", NULL
12265 };
12266
12267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (int)(arg1)->GetNumberButtons();
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
093d3ff1
RD
12277 {
12278 resultobj = SWIG_From_int((int)(result));
12279 }
d55e5bfc
RD
12280 return resultobj;
12281 fail:
12282 return NULL;
12283}
12284
12285
c32bde28 12286static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12287 PyObject *resultobj;
12288 wxJoystick *arg1 = (wxJoystick *) 0 ;
12289 int result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (int)(arg1)->GetNumberAxes();
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
093d3ff1
RD
12305 {
12306 resultobj = SWIG_From_int((int)(result));
12307 }
d55e5bfc
RD
12308 return resultobj;
12309 fail:
12310 return NULL;
12311}
12312
12313
c32bde28 12314static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12315 PyObject *resultobj;
12316 wxJoystick *arg1 = (wxJoystick *) 0 ;
12317 int result;
12318 PyObject * obj0 = 0 ;
12319 char *kwnames[] = {
12320 (char *) "self", NULL
12321 };
12322
12323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = (int)(arg1)->GetMaxButtons();
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
093d3ff1
RD
12333 {
12334 resultobj = SWIG_From_int((int)(result));
12335 }
d55e5bfc
RD
12336 return resultobj;
12337 fail:
12338 return NULL;
12339}
12340
12341
c32bde28 12342static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12343 PyObject *resultobj;
12344 wxJoystick *arg1 = (wxJoystick *) 0 ;
12345 int result;
12346 PyObject * obj0 = 0 ;
12347 char *kwnames[] = {
12348 (char *) "self", NULL
12349 };
12350
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (int)(arg1)->GetMaxAxes();
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
093d3ff1
RD
12361 {
12362 resultobj = SWIG_From_int((int)(result));
12363 }
d55e5bfc
RD
12364 return resultobj;
12365 fail:
12366 return NULL;
12367}
12368
12369
c32bde28 12370static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12371 PyObject *resultobj;
12372 wxJoystick *arg1 = (wxJoystick *) 0 ;
12373 int result;
12374 PyObject * obj0 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (int)(arg1)->GetPollingMin();
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
093d3ff1
RD
12389 {
12390 resultobj = SWIG_From_int((int)(result));
12391 }
d55e5bfc
RD
12392 return resultobj;
12393 fail:
12394 return NULL;
12395}
12396
12397
c32bde28 12398static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12399 PyObject *resultobj;
12400 wxJoystick *arg1 = (wxJoystick *) 0 ;
12401 int result;
12402 PyObject * obj0 = 0 ;
12403 char *kwnames[] = {
12404 (char *) "self", NULL
12405 };
12406
12407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = (int)(arg1)->GetPollingMax();
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
093d3ff1
RD
12417 {
12418 resultobj = SWIG_From_int((int)(result));
12419 }
d55e5bfc
RD
12420 return resultobj;
12421 fail:
12422 return NULL;
12423}
12424
12425
c32bde28 12426static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12427 PyObject *resultobj;
12428 wxJoystick *arg1 = (wxJoystick *) 0 ;
12429 int result;
12430 PyObject * obj0 = 0 ;
12431 char *kwnames[] = {
12432 (char *) "self", NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12438 {
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 result = (int)(arg1)->GetRudderMin();
12441
12442 wxPyEndAllowThreads(__tstate);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
093d3ff1
RD
12445 {
12446 resultobj = SWIG_From_int((int)(result));
12447 }
d55e5bfc
RD
12448 return resultobj;
12449 fail:
12450 return NULL;
12451}
12452
12453
c32bde28 12454static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12455 PyObject *resultobj;
12456 wxJoystick *arg1 = (wxJoystick *) 0 ;
12457 int result;
12458 PyObject * obj0 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12466 {
12467 PyThreadState* __tstate = wxPyBeginAllowThreads();
12468 result = (int)(arg1)->GetRudderMax();
12469
12470 wxPyEndAllowThreads(__tstate);
12471 if (PyErr_Occurred()) SWIG_fail;
12472 }
093d3ff1
RD
12473 {
12474 resultobj = SWIG_From_int((int)(result));
12475 }
d55e5bfc
RD
12476 return resultobj;
12477 fail:
12478 return NULL;
12479}
12480
12481
c32bde28 12482static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12483 PyObject *resultobj;
12484 wxJoystick *arg1 = (wxJoystick *) 0 ;
12485 int result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (int)(arg1)->GetUMin();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
093d3ff1
RD
12501 {
12502 resultobj = SWIG_From_int((int)(result));
12503 }
d55e5bfc
RD
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
c32bde28 12510static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12511 PyObject *resultobj;
12512 wxJoystick *arg1 = (wxJoystick *) 0 ;
12513 int result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (int)(arg1)->GetUMax();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
093d3ff1
RD
12529 {
12530 resultobj = SWIG_From_int((int)(result));
12531 }
d55e5bfc
RD
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
c32bde28 12538static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12539 PyObject *resultobj;
12540 wxJoystick *arg1 = (wxJoystick *) 0 ;
12541 int result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (int)(arg1)->GetVMin();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
093d3ff1
RD
12557 {
12558 resultobj = SWIG_From_int((int)(result));
12559 }
d55e5bfc
RD
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
c32bde28 12566static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12567 PyObject *resultobj;
12568 wxJoystick *arg1 = (wxJoystick *) 0 ;
12569 int result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (int)(arg1)->GetVMax();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
093d3ff1
RD
12585 {
12586 resultobj = SWIG_From_int((int)(result));
12587 }
d55e5bfc
RD
12588 return resultobj;
12589 fail:
12590 return NULL;
12591}
12592
12593
c32bde28 12594static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12595 PyObject *resultobj;
12596 wxJoystick *arg1 = (wxJoystick *) 0 ;
12597 bool result;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
12604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = (bool)(arg1)->HasRudder();
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 {
12614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12615 }
12616 return resultobj;
12617 fail:
12618 return NULL;
12619}
12620
12621
c32bde28 12622static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12623 PyObject *resultobj;
12624 wxJoystick *arg1 = (wxJoystick *) 0 ;
12625 bool result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
12632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (bool)(arg1)->HasZ();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
c32bde28 12650static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12651 PyObject *resultobj;
12652 wxJoystick *arg1 = (wxJoystick *) 0 ;
12653 bool result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
12660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (bool)(arg1)->HasU();
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 {
12670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12671 }
12672 return resultobj;
12673 fail:
12674 return NULL;
12675}
12676
12677
c32bde28 12678static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12679 PyObject *resultobj;
12680 wxJoystick *arg1 = (wxJoystick *) 0 ;
12681 bool result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 result = (bool)(arg1)->HasV();
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 {
12698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12699 }
12700 return resultobj;
12701 fail:
12702 return NULL;
12703}
12704
12705
c32bde28 12706static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12707 PyObject *resultobj;
12708 wxJoystick *arg1 = (wxJoystick *) 0 ;
12709 bool result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (bool)(arg1)->HasPOV();
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 {
12726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12727 }
12728 return resultobj;
12729 fail:
12730 return NULL;
12731}
12732
12733
c32bde28 12734static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12735 PyObject *resultobj;
12736 wxJoystick *arg1 = (wxJoystick *) 0 ;
12737 bool result;
12738 PyObject * obj0 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
12744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (bool)(arg1)->HasPOV4Dir();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 {
12754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12755 }
12756 return resultobj;
12757 fail:
12758 return NULL;
12759}
12760
12761
c32bde28 12762static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12763 PyObject *resultobj;
12764 wxJoystick *arg1 = (wxJoystick *) 0 ;
12765 bool result;
12766 PyObject * obj0 = 0 ;
12767 char *kwnames[] = {
12768 (char *) "self", NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
12772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (bool)(arg1)->HasPOVCTS();
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 {
12782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12783 }
12784 return resultobj;
12785 fail:
12786 return NULL;
12787}
12788
12789
c32bde28 12790static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12791 PyObject *resultobj;
12792 wxJoystick *arg1 = (wxJoystick *) 0 ;
12793 wxWindow *arg2 = (wxWindow *) 0 ;
12794 int arg3 = (int) 0 ;
12795 bool result;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
12806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12807 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12808 if (obj2) {
093d3ff1
RD
12809 {
12810 arg3 = (int)(SWIG_As_int(obj2));
12811 if (SWIG_arg_fail(3)) SWIG_fail;
12812 }
d55e5bfc
RD
12813 }
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 result = (bool)(arg1)->SetCapture(arg2,arg3);
12817
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12823 }
12824 return resultobj;
12825 fail:
12826 return NULL;
12827}
12828
12829
c32bde28 12830static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12831 PyObject *resultobj;
12832 wxJoystick *arg1 = (wxJoystick *) 0 ;
12833 bool result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
12840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (bool)(arg1)->ReleaseCapture();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12851 }
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
c32bde28 12858static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12859 PyObject *obj;
12860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12861 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
12862 Py_INCREF(obj);
12863 return Py_BuildValue((char *)"");
12864}
c32bde28 12865static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12866 PyObject *resultobj;
12867 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12868 int arg2 = (int) 0 ;
12869 int arg3 = (int) wxJOYSTICK1 ;
12870 int arg4 = (int) 0 ;
12871 wxJoystickEvent *result;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 PyObject * obj2 = 0 ;
12875 PyObject * obj3 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12881 if (obj0) {
093d3ff1
RD
12882 {
12883 arg1 = (wxEventType)(SWIG_As_int(obj0));
12884 if (SWIG_arg_fail(1)) SWIG_fail;
12885 }
d55e5bfc
RD
12886 }
12887 if (obj1) {
093d3ff1
RD
12888 {
12889 arg2 = (int)(SWIG_As_int(obj1));
12890 if (SWIG_arg_fail(2)) SWIG_fail;
12891 }
d55e5bfc
RD
12892 }
12893 if (obj2) {
093d3ff1
RD
12894 {
12895 arg3 = (int)(SWIG_As_int(obj2));
12896 if (SWIG_arg_fail(3)) SWIG_fail;
12897 }
d55e5bfc
RD
12898 }
12899 if (obj3) {
093d3ff1
RD
12900 {
12901 arg4 = (int)(SWIG_As_int(obj3));
12902 if (SWIG_arg_fail(4)) SWIG_fail;
12903 }
d55e5bfc
RD
12904 }
12905 {
12906 PyThreadState* __tstate = wxPyBeginAllowThreads();
12907 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
12908
12909 wxPyEndAllowThreads(__tstate);
12910 if (PyErr_Occurred()) SWIG_fail;
12911 }
12912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
12913 return resultobj;
12914 fail:
12915 return NULL;
12916}
12917
12918
c32bde28 12919static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12920 PyObject *resultobj;
12921 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12922 wxPoint result;
12923 PyObject * obj0 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 result = ((wxJoystickEvent const *)arg1)->GetPosition();
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
12938 {
12939 wxPoint * resultptr;
093d3ff1 12940 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12942 }
12943 return resultobj;
12944 fail:
12945 return NULL;
12946}
12947
12948
c32bde28 12949static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12950 PyObject *resultobj;
12951 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12952 int result;
12953 PyObject * obj0 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12961 {
12962 PyThreadState* __tstate = wxPyBeginAllowThreads();
12963 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
12964
12965 wxPyEndAllowThreads(__tstate);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 }
093d3ff1
RD
12968 {
12969 resultobj = SWIG_From_int((int)(result));
12970 }
d55e5bfc
RD
12971 return resultobj;
12972 fail:
12973 return NULL;
12974}
12975
12976
c32bde28 12977static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12978 PyObject *resultobj;
12979 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12980 int result;
12981 PyObject * obj0 = 0 ;
12982 char *kwnames[] = {
12983 (char *) "self", NULL
12984 };
12985
12986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
12987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12989 {
12990 PyThreadState* __tstate = wxPyBeginAllowThreads();
12991 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
12992
12993 wxPyEndAllowThreads(__tstate);
12994 if (PyErr_Occurred()) SWIG_fail;
12995 }
093d3ff1
RD
12996 {
12997 resultobj = SWIG_From_int((int)(result));
12998 }
d55e5bfc
RD
12999 return resultobj;
13000 fail:
13001 return NULL;
13002}
13003
13004
c32bde28 13005static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13006 PyObject *resultobj;
13007 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13008 int result;
13009 PyObject * obj0 = 0 ;
13010 char *kwnames[] = {
13011 (char *) "self", NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
13015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13020
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
093d3ff1
RD
13024 {
13025 resultobj = SWIG_From_int((int)(result));
13026 }
d55e5bfc
RD
13027 return resultobj;
13028 fail:
13029 return NULL;
13030}
13031
13032
c32bde28 13033static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13034 PyObject *resultobj;
13035 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13036 int result;
13037 PyObject * obj0 = 0 ;
13038 char *kwnames[] = {
13039 (char *) "self", NULL
13040 };
13041
13042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
13043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
093d3ff1
RD
13052 {
13053 resultobj = SWIG_From_int((int)(result));
13054 }
d55e5bfc
RD
13055 return resultobj;
13056 fail:
13057 return NULL;
13058}
13059
13060
c32bde28 13061static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13062 PyObject *resultobj;
13063 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13064 int arg2 ;
13065 PyObject * obj0 = 0 ;
13066 PyObject * obj1 = 0 ;
13067 char *kwnames[] = {
13068 (char *) "self",(char *) "stick", NULL
13069 };
13070
13071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13073 if (SWIG_arg_fail(1)) SWIG_fail;
13074 {
13075 arg2 = (int)(SWIG_As_int(obj1));
13076 if (SWIG_arg_fail(2)) SWIG_fail;
13077 }
d55e5bfc
RD
13078 {
13079 PyThreadState* __tstate = wxPyBeginAllowThreads();
13080 (arg1)->SetJoystick(arg2);
13081
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 Py_INCREF(Py_None); resultobj = Py_None;
13086 return resultobj;
13087 fail:
13088 return NULL;
13089}
13090
13091
c32bde28 13092static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13093 PyObject *resultobj;
13094 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13095 int arg2 ;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self",(char *) "state", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13104 if (SWIG_arg_fail(1)) SWIG_fail;
13105 {
13106 arg2 = (int)(SWIG_As_int(obj1));
13107 if (SWIG_arg_fail(2)) SWIG_fail;
13108 }
d55e5bfc
RD
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 (arg1)->SetButtonState(arg2);
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 Py_INCREF(Py_None); resultobj = Py_None;
13117 return resultobj;
13118 fail:
13119 return NULL;
13120}
13121
13122
c32bde28 13123static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13124 PyObject *resultobj;
13125 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13126 int arg2 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "self",(char *) "change", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail;
13136 {
13137 arg2 = (int)(SWIG_As_int(obj1));
13138 if (SWIG_arg_fail(2)) SWIG_fail;
13139 }
d55e5bfc
RD
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->SetButtonChange(arg2);
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 return resultobj;
13149 fail:
13150 return NULL;
13151}
13152
13153
c32bde28 13154static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13155 PyObject *resultobj;
13156 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13157 wxPoint *arg2 = 0 ;
13158 wxPoint temp2 ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self",(char *) "pos", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13168 {
13169 arg2 = &temp2;
13170 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13171 }
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->SetPosition((wxPoint const &)*arg2);
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183}
13184
13185
c32bde28 13186static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13187 PyObject *resultobj;
13188 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13189 int arg2 ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self",(char *) "zPos", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail;
13199 {
13200 arg2 = (int)(SWIG_As_int(obj1));
13201 if (SWIG_arg_fail(2)) SWIG_fail;
13202 }
d55e5bfc
RD
13203 {
13204 PyThreadState* __tstate = wxPyBeginAllowThreads();
13205 (arg1)->SetZPosition(arg2);
13206
13207 wxPyEndAllowThreads(__tstate);
13208 if (PyErr_Occurred()) SWIG_fail;
13209 }
13210 Py_INCREF(Py_None); resultobj = Py_None;
13211 return resultobj;
13212 fail:
13213 return NULL;
13214}
13215
13216
c32bde28 13217static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13218 PyObject *resultobj;
13219 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13220 bool result;
13221 PyObject * obj0 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
13227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13229 {
13230 PyThreadState* __tstate = wxPyBeginAllowThreads();
13231 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
13232
13233 wxPyEndAllowThreads(__tstate);
13234 if (PyErr_Occurred()) SWIG_fail;
13235 }
13236 {
13237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13238 }
13239 return resultobj;
13240 fail:
13241 return NULL;
13242}
13243
13244
c32bde28 13245static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13246 PyObject *resultobj;
13247 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13248 bool result;
13249 PyObject * obj0 = 0 ;
13250 char *kwnames[] = {
13251 (char *) "self", NULL
13252 };
13253
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 {
13265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13266 }
13267 return resultobj;
13268 fail:
13269 return NULL;
13270}
13271
13272
c32bde28 13273static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13274 PyObject *resultobj;
13275 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13276 bool result;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13294 }
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
c32bde28 13301static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13302 PyObject *resultobj;
13303 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13304 int arg2 = (int) wxJOY_BUTTON_ANY ;
13305 bool result;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "but", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13315 if (obj1) {
093d3ff1
RD
13316 {
13317 arg2 = (int)(SWIG_As_int(obj1));
13318 if (SWIG_arg_fail(2)) SWIG_fail;
13319 }
d55e5bfc
RD
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 {
13329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13330 }
13331 return resultobj;
13332 fail:
13333 return NULL;
13334}
13335
13336
c32bde28 13337static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13338 PyObject *resultobj;
13339 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13340 int arg2 = (int) wxJOY_BUTTON_ANY ;
13341 bool result;
13342 PyObject * obj0 = 0 ;
13343 PyObject * obj1 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "but", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13351 if (obj1) {
093d3ff1
RD
13352 {
13353 arg2 = (int)(SWIG_As_int(obj1));
13354 if (SWIG_arg_fail(2)) SWIG_fail;
13355 }
d55e5bfc
RD
13356 }
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 {
13365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13366 }
13367 return resultobj;
13368 fail:
13369 return NULL;
13370}
13371
13372
c32bde28 13373static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13374 PyObject *resultobj;
13375 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13376 int arg2 = (int) wxJOY_BUTTON_ANY ;
13377 bool result;
13378 PyObject * obj0 = 0 ;
13379 PyObject * obj1 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self",(char *) "but", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13387 if (obj1) {
093d3ff1
RD
13388 {
13389 arg2 = (int)(SWIG_As_int(obj1));
13390 if (SWIG_arg_fail(2)) SWIG_fail;
13391 }
d55e5bfc
RD
13392 }
13393 {
13394 PyThreadState* __tstate = wxPyBeginAllowThreads();
13395 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
13396
13397 wxPyEndAllowThreads(__tstate);
13398 if (PyErr_Occurred()) SWIG_fail;
13399 }
13400 {
13401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13402 }
13403 return resultobj;
13404 fail:
13405 return NULL;
13406}
13407
13408
c32bde28 13409static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13410 PyObject *obj;
13411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13412 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
13413 Py_INCREF(obj);
13414 return Py_BuildValue((char *)"");
13415}
c32bde28 13416static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13417 PyObject *resultobj;
b1f29bf7
RD
13418 wxString const &arg1_defvalue = wxPyEmptyString ;
13419 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 13420 wxSound *result;
ae8162c8 13421 bool temp1 = false ;
d55e5bfc 13422 PyObject * obj0 = 0 ;
b1f29bf7
RD
13423 char *kwnames[] = {
13424 (char *) "fileName", NULL
13425 };
d55e5bfc 13426
b1f29bf7
RD
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
13428 if (obj0) {
13429 {
13430 arg1 = wxString_in_helper(obj0);
13431 if (arg1 == NULL) SWIG_fail;
ae8162c8 13432 temp1 = true;
b1f29bf7 13433 }
d55e5bfc
RD
13434 }
13435 {
0439c23b 13436 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13438 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
13439
13440 wxPyEndAllowThreads(__tstate);
110da5b0 13441 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13442 }
13443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13444 {
13445 if (temp1)
13446 delete arg1;
13447 }
13448 return resultobj;
13449 fail:
13450 {
13451 if (temp1)
13452 delete arg1;
13453 }
13454 return NULL;
13455}
13456
13457
c32bde28 13458static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13459 PyObject *resultobj;
b1f29bf7 13460 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
13461 wxSound *result;
13462 PyObject * obj0 = 0 ;
b1f29bf7
RD
13463 char *kwnames[] = {
13464 (char *) "data", NULL
13465 };
d55e5bfc 13466
b1f29bf7
RD
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
13468 arg1 = obj0;
d55e5bfc 13469 {
0439c23b 13470 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13471 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13472 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
13473
13474 wxPyEndAllowThreads(__tstate);
110da5b0 13475 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13476 }
13477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
c32bde28 13484static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13485 PyObject *resultobj;
13486 wxSound *arg1 = (wxSound *) 0 ;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
13493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 delete arg1;
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 Py_INCREF(Py_None); resultobj = Py_None;
13503 return resultobj;
13504 fail:
13505 return NULL;
13506}
13507
13508
c32bde28 13509static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13510 PyObject *resultobj;
13511 wxSound *arg1 = (wxSound *) 0 ;
13512 wxString *arg2 = 0 ;
d55e5bfc 13513 bool result;
ae8162c8 13514 bool temp2 = false ;
d55e5bfc
RD
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
b1f29bf7
RD
13517 char *kwnames[] = {
13518 (char *) "self",(char *) "fileName", NULL
13519 };
d55e5bfc 13520
b1f29bf7 13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13524 {
13525 arg2 = wxString_in_helper(obj1);
13526 if (arg2 == NULL) SWIG_fail;
ae8162c8 13527 temp2 = true;
d55e5bfc 13528 }
d55e5bfc
RD
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13531 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 {
13537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13538 }
13539 {
13540 if (temp2)
13541 delete arg2;
13542 }
13543 return resultobj;
13544 fail:
13545 {
13546 if (temp2)
13547 delete arg2;
13548 }
13549 return NULL;
13550}
13551
13552
c32bde28 13553static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13554 PyObject *resultobj;
13555 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 13556 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
13557 bool result;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
b1f29bf7
RD
13560 char *kwnames[] = {
13561 (char *) "self",(char *) "data", NULL
13562 };
d55e5bfc 13563
b1f29bf7 13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail;
b1f29bf7 13567 arg2 = obj1;
d55e5bfc
RD
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13570 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
13575 {
13576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13577 }
13578 return resultobj;
13579 fail:
13580 return NULL;
13581}
13582
13583
c32bde28 13584static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13585 PyObject *resultobj;
13586 wxSound *arg1 = (wxSound *) 0 ;
13587 bool result;
13588 PyObject * obj0 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "self", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 result = (bool)(arg1)->IsOk();
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
13603 {
13604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13605 }
13606 return resultobj;
13607 fail:
13608 return NULL;
13609}
13610
13611
c32bde28 13612static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13613 PyObject *resultobj;
13614 wxSound *arg1 = (wxSound *) 0 ;
13615 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13616 bool result;
13617 PyObject * obj0 = 0 ;
13618 PyObject * obj1 = 0 ;
b1f29bf7
RD
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "flags", NULL
13621 };
d55e5bfc 13622
b1f29bf7 13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13626 if (obj1) {
093d3ff1
RD
13627 {
13628 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13629 if (SWIG_arg_fail(2)) SWIG_fail;
13630 }
d55e5bfc
RD
13631 }
13632 {
0439c23b 13633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13634 PyThreadState* __tstate = wxPyBeginAllowThreads();
13635 result = (bool)((wxSound const *)arg1)->Play(arg2);
13636
13637 wxPyEndAllowThreads(__tstate);
110da5b0 13638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13639 }
13640 {
13641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13642 }
13643 return resultobj;
13644 fail:
13645 return NULL;
13646}
13647
13648
c32bde28 13649static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13650 PyObject *resultobj;
13651 wxString *arg1 = 0 ;
13652 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13653 bool result;
ae8162c8 13654 bool temp1 = false ;
d55e5bfc
RD
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
b1f29bf7
RD
13657 char *kwnames[] = {
13658 (char *) "filename",(char *) "flags", NULL
13659 };
d55e5bfc 13660
b1f29bf7 13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
13662 {
13663 arg1 = wxString_in_helper(obj0);
13664 if (arg1 == NULL) SWIG_fail;
ae8162c8 13665 temp1 = true;
d55e5bfc
RD
13666 }
13667 if (obj1) {
093d3ff1
RD
13668 {
13669 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13670 if (SWIG_arg_fail(2)) SWIG_fail;
13671 }
d55e5bfc
RD
13672 }
13673 {
0439c23b 13674 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
13677
13678 wxPyEndAllowThreads(__tstate);
110da5b0 13679 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13680 }
13681 {
13682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13683 }
13684 {
13685 if (temp1)
13686 delete arg1;
13687 }
13688 return resultobj;
13689 fail:
13690 {
13691 if (temp1)
13692 delete arg1;
13693 }
13694 return NULL;
13695}
13696
13697
c32bde28 13698static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13699 PyObject *resultobj;
13700 char *kwnames[] = {
13701 NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
13705 {
0439c23b 13706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 wxSound::Stop();
13709
13710 wxPyEndAllowThreads(__tstate);
110da5b0 13711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13712 }
13713 Py_INCREF(Py_None); resultobj = Py_None;
13714 return resultobj;
13715 fail:
13716 return NULL;
13717}
13718
13719
c32bde28 13720static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13721 PyObject *obj;
13722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13723 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
13724 Py_INCREF(obj);
13725 return Py_BuildValue((char *)"");
13726}
c32bde28 13727static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13728 PyObject *resultobj;
13729 wxString *arg1 = 0 ;
13730 wxString *arg2 = 0 ;
13731 wxString *arg3 = 0 ;
13732 wxString *arg4 = 0 ;
13733 wxFileTypeInfo *result;
ae8162c8
RD
13734 bool temp1 = false ;
13735 bool temp2 = false ;
13736 bool temp3 = false ;
13737 bool temp4 = false ;
d55e5bfc
RD
13738 PyObject * obj0 = 0 ;
13739 PyObject * obj1 = 0 ;
13740 PyObject * obj2 = 0 ;
13741 PyObject * obj3 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13747 {
13748 arg1 = wxString_in_helper(obj0);
13749 if (arg1 == NULL) SWIG_fail;
ae8162c8 13750 temp1 = true;
d55e5bfc
RD
13751 }
13752 {
13753 arg2 = wxString_in_helper(obj1);
13754 if (arg2 == NULL) SWIG_fail;
ae8162c8 13755 temp2 = true;
d55e5bfc
RD
13756 }
13757 {
13758 arg3 = wxString_in_helper(obj2);
13759 if (arg3 == NULL) SWIG_fail;
ae8162c8 13760 temp3 = true;
d55e5bfc
RD
13761 }
13762 {
13763 arg4 = wxString_in_helper(obj3);
13764 if (arg4 == NULL) SWIG_fail;
ae8162c8 13765 temp4 = true;
d55e5bfc
RD
13766 }
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13775 {
13776 if (temp1)
13777 delete arg1;
13778 }
13779 {
13780 if (temp2)
13781 delete arg2;
13782 }
13783 {
13784 if (temp3)
13785 delete arg3;
13786 }
13787 {
13788 if (temp4)
13789 delete arg4;
13790 }
13791 return resultobj;
13792 fail:
13793 {
13794 if (temp1)
13795 delete arg1;
13796 }
13797 {
13798 if (temp2)
13799 delete arg2;
13800 }
13801 {
13802 if (temp3)
13803 delete arg3;
13804 }
13805 {
13806 if (temp4)
13807 delete arg4;
13808 }
13809 return NULL;
13810}
13811
13812
c32bde28 13813static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13814 PyObject *resultobj;
13815 wxArrayString *arg1 = 0 ;
13816 wxFileTypeInfo *result;
ae8162c8 13817 bool temp1 = false ;
d55e5bfc
RD
13818 PyObject * obj0 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "sArray", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
13824 {
13825 if (! PySequence_Check(obj0)) {
13826 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13827 SWIG_fail;
13828 }
13829 arg1 = new wxArrayString;
ae8162c8 13830 temp1 = true;
d55e5bfc
RD
13831 int i, len=PySequence_Length(obj0);
13832 for (i=0; i<len; i++) {
13833 PyObject* item = PySequence_GetItem(obj0, i);
13834#if wxUSE_UNICODE
13835 PyObject* str = PyObject_Unicode(item);
13836#else
13837 PyObject* str = PyObject_Str(item);
13838#endif
13839 if (PyErr_Occurred()) SWIG_fail;
13840 arg1->Add(Py2wxString(str));
13841 Py_DECREF(item);
13842 Py_DECREF(str);
13843 }
13844 }
13845 {
13846 PyThreadState* __tstate = wxPyBeginAllowThreads();
13847 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
13848
13849 wxPyEndAllowThreads(__tstate);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 }
13852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13853 {
13854 if (temp1) delete arg1;
13855 }
13856 return resultobj;
13857 fail:
13858 {
13859 if (temp1) delete arg1;
13860 }
13861 return NULL;
13862}
13863
13864
c32bde28 13865static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13866 PyObject *resultobj;
13867 wxFileTypeInfo *result;
13868 char *kwnames[] = {
13869 NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
13873 {
13874 PyThreadState* __tstate = wxPyBeginAllowThreads();
13875 result = (wxFileTypeInfo *)new wxFileTypeInfo();
13876
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13881 return resultobj;
13882 fail:
13883 return NULL;
13884}
13885
13886
c32bde28 13887static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13888 PyObject *resultobj;
13889 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13890 bool result;
13891 PyObject * obj0 = 0 ;
13892 char *kwnames[] = {
13893 (char *) "self", NULL
13894 };
13895
13896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
13897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 {
13907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13908 }
13909 return resultobj;
13910 fail:
13911 return NULL;
13912}
13913
13914
c32bde28 13915static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13916 PyObject *resultobj;
13917 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13918 wxString *arg2 = 0 ;
13919 int arg3 = (int) 0 ;
ae8162c8 13920 bool temp2 = false ;
d55e5bfc
RD
13921 PyObject * obj0 = 0 ;
13922 PyObject * obj1 = 0 ;
13923 PyObject * obj2 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13931 {
13932 arg2 = wxString_in_helper(obj1);
13933 if (arg2 == NULL) SWIG_fail;
ae8162c8 13934 temp2 = true;
d55e5bfc
RD
13935 }
13936 if (obj2) {
093d3ff1
RD
13937 {
13938 arg3 = (int)(SWIG_As_int(obj2));
13939 if (SWIG_arg_fail(3)) SWIG_fail;
13940 }
d55e5bfc
RD
13941 }
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 (arg1)->SetIcon((wxString const &)*arg2,arg3);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 Py_INCREF(Py_None); resultobj = Py_None;
13950 {
13951 if (temp2)
13952 delete arg2;
13953 }
13954 return resultobj;
13955 fail:
13956 {
13957 if (temp2)
13958 delete arg2;
13959 }
13960 return NULL;
13961}
13962
13963
c32bde28 13964static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13965 PyObject *resultobj;
13966 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13967 wxString *arg2 = 0 ;
ae8162c8 13968 bool temp2 = false ;
d55e5bfc
RD
13969 PyObject * obj0 = 0 ;
13970 PyObject * obj1 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self",(char *) "shortDesc", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13978 {
13979 arg2 = wxString_in_helper(obj1);
13980 if (arg2 == NULL) SWIG_fail;
ae8162c8 13981 temp2 = true;
d55e5bfc
RD
13982 }
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 (arg1)->SetShortDesc((wxString const &)*arg2);
13986
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 Py_INCREF(Py_None); resultobj = Py_None;
13991 {
13992 if (temp2)
13993 delete arg2;
13994 }
13995 return resultobj;
13996 fail:
13997 {
13998 if (temp2)
13999 delete arg2;
14000 }
14001 return NULL;
14002}
14003
14004
c32bde28 14005static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14006 PyObject *resultobj;
14007 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14008 wxString *result;
14009 PyObject * obj0 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 {
14020 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14021 result = (wxString *) &_result_ref;
14022 }
14023
14024 wxPyEndAllowThreads(__tstate);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 {
14028#if wxUSE_UNICODE
14029 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14030#else
14031 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14032#endif
14033 }
14034 return resultobj;
14035 fail:
14036 return NULL;
14037}
14038
14039
c32bde28 14040static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14041 PyObject *resultobj;
14042 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14043 wxString *result;
14044 PyObject * obj0 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 {
14055 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14056 result = (wxString *) &_result_ref;
14057 }
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 {
14063#if wxUSE_UNICODE
14064 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14065#else
14066 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14067#endif
14068 }
14069 return resultobj;
14070 fail:
14071 return NULL;
14072}
14073
14074
c32bde28 14075static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14076 PyObject *resultobj;
14077 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14078 wxString *result;
14079 PyObject * obj0 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "self", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 {
14090 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
14091 result = (wxString *) &_result_ref;
14092 }
14093
14094 wxPyEndAllowThreads(__tstate);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 {
14098#if wxUSE_UNICODE
14099 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14100#else
14101 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14102#endif
14103 }
14104 return resultobj;
14105 fail:
14106 return NULL;
14107}
14108
14109
c32bde28 14110static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14111 PyObject *resultobj;
14112 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14113 wxString *result;
14114 PyObject * obj0 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
14120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 {
14125 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
14126 result = (wxString *) &_result_ref;
14127 }
14128
14129 wxPyEndAllowThreads(__tstate);
14130 if (PyErr_Occurred()) SWIG_fail;
14131 }
14132 {
14133#if wxUSE_UNICODE
14134 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14135#else
14136 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14137#endif
14138 }
14139 return resultobj;
14140 fail:
14141 return NULL;
14142}
14143
14144
c32bde28 14145static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14146 PyObject *resultobj;
14147 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14148 wxString *result;
14149 PyObject * obj0 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self", NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 {
14160 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
14161 result = (wxString *) &_result_ref;
14162 }
14163
14164 wxPyEndAllowThreads(__tstate);
14165 if (PyErr_Occurred()) SWIG_fail;
14166 }
14167 {
14168#if wxUSE_UNICODE
14169 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14170#else
14171 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14172#endif
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177}
14178
14179
c32bde28 14180static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14181 PyObject *resultobj;
14182 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14183 wxArrayString *result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 {
14195 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
14196 result = (wxArrayString *) &_result_ref;
14197 }
14198
14199 wxPyEndAllowThreads(__tstate);
14200 if (PyErr_Occurred()) SWIG_fail;
14201 }
14202 {
14203 resultobj = wxArrayString2PyList_helper(*result);
14204 }
14205 return resultobj;
14206 fail:
14207 return NULL;
14208}
14209
14210
c32bde28 14211static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14212 PyObject *resultobj;
14213 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14214 int result;
14215 PyObject * obj0 = 0 ;
14216 char *kwnames[] = {
14217 (char *) "self", NULL
14218 };
14219
14220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14223 {
14224 PyThreadState* __tstate = wxPyBeginAllowThreads();
14225 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
14226
14227 wxPyEndAllowThreads(__tstate);
14228 if (PyErr_Occurred()) SWIG_fail;
14229 }
093d3ff1
RD
14230 {
14231 resultobj = SWIG_From_int((int)(result));
14232 }
d55e5bfc
RD
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
c32bde28 14239static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14240 PyObject *resultobj;
14241 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14242 wxString *result;
14243 PyObject * obj0 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
14249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14251 {
14252 PyThreadState* __tstate = wxPyBeginAllowThreads();
14253 {
14254 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
14255 result = (wxString *) &_result_ref;
14256 }
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 {
14262#if wxUSE_UNICODE
14263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14264#else
14265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14266#endif
14267 }
14268 return resultobj;
14269 fail:
14270 return NULL;
14271}
14272
14273
c32bde28 14274static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14275 PyObject *resultobj;
14276 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14277 int result;
14278 PyObject * obj0 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14286 {
14287 PyThreadState* __tstate = wxPyBeginAllowThreads();
14288 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
14289
14290 wxPyEndAllowThreads(__tstate);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
093d3ff1
RD
14293 {
14294 resultobj = SWIG_From_int((int)(result));
14295 }
d55e5bfc
RD
14296 return resultobj;
14297 fail:
14298 return NULL;
14299}
14300
14301
c32bde28 14302static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14303 PyObject *obj;
14304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14305 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
14306 Py_INCREF(obj);
14307 return Py_BuildValue((char *)"");
14308}
c32bde28 14309static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14310 PyObject *resultobj;
14311 wxFileTypeInfo *arg1 = 0 ;
14312 wxFileType *result;
14313 PyObject * obj0 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "ftInfo", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14319 {
14320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14321 if (SWIG_arg_fail(1)) SWIG_fail;
14322 if (arg1 == NULL) {
14323 SWIG_null_ref("wxFileTypeInfo");
14324 }
14325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14326 }
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
14330
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
14335 return resultobj;
14336 fail:
14337 return NULL;
14338}
14339
14340
c32bde28 14341static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14342 PyObject *resultobj;
14343 wxFileType *arg1 = (wxFileType *) 0 ;
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 delete arg1;
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363}
14364
14365
c32bde28 14366static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14367 PyObject *resultobj;
14368 wxFileType *arg1 = (wxFileType *) 0 ;
14369 PyObject *result;
14370 PyObject * obj0 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (PyObject *)wxFileType_GetMimeType(arg1);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 resultobj = result;
14386 return resultobj;
14387 fail:
14388 return NULL;
14389}
14390
14391
c32bde28 14392static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14393 PyObject *resultobj;
14394 wxFileType *arg1 = (wxFileType *) 0 ;
14395 PyObject *result;
14396 PyObject * obj0 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
14402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = result;
14412 return resultobj;
14413 fail:
14414 return NULL;
14415}
14416
14417
c32bde28 14418static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14419 PyObject *resultobj;
14420 wxFileType *arg1 = (wxFileType *) 0 ;
14421 PyObject *result;
14422 PyObject * obj0 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "self", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = (PyObject *)wxFileType_GetExtensions(arg1);
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 resultobj = result;
14438 return resultobj;
14439 fail:
14440 return NULL;
14441}
14442
14443
c32bde28 14444static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14445 PyObject *resultobj;
14446 wxFileType *arg1 = (wxFileType *) 0 ;
14447 wxIcon *result;
14448 PyObject * obj0 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
14454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (wxIcon *)wxFileType_GetIcon(arg1);
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
14464 return resultobj;
14465 fail:
14466 return NULL;
14467}
14468
14469
c32bde28 14470static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14471 PyObject *resultobj;
14472 wxFileType *arg1 = (wxFileType *) 0 ;
14473 PyObject *result;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
14480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (PyObject *)wxFileType_GetIconInfo(arg1);
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 resultobj = result;
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
c32bde28 14496static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14497 PyObject *resultobj;
14498 wxFileType *arg1 = (wxFileType *) 0 ;
14499 PyObject *result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (PyObject *)wxFileType_GetDescription(arg1);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = result;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
c32bde28 14522static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14523 PyObject *resultobj;
14524 wxFileType *arg1 = (wxFileType *) 0 ;
14525 wxString *arg2 = 0 ;
14526 wxString const &arg3_defvalue = wxPyEmptyString ;
14527 wxString *arg3 = (wxString *) &arg3_defvalue ;
14528 PyObject *result;
ae8162c8
RD
14529 bool temp2 = false ;
14530 bool temp3 = false ;
d55e5bfc
RD
14531 PyObject * obj0 = 0 ;
14532 PyObject * obj1 = 0 ;
14533 PyObject * obj2 = 0 ;
14534 char *kwnames[] = {
14535 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14536 };
14537
14538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14541 {
14542 arg2 = wxString_in_helper(obj1);
14543 if (arg2 == NULL) SWIG_fail;
ae8162c8 14544 temp2 = true;
d55e5bfc
RD
14545 }
14546 if (obj2) {
14547 {
14548 arg3 = wxString_in_helper(obj2);
14549 if (arg3 == NULL) SWIG_fail;
ae8162c8 14550 temp3 = true;
d55e5bfc
RD
14551 }
14552 }
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14556
14557 wxPyEndAllowThreads(__tstate);
14558 if (PyErr_Occurred()) SWIG_fail;
14559 }
14560 resultobj = result;
14561 {
14562 if (temp2)
14563 delete arg2;
14564 }
14565 {
14566 if (temp3)
14567 delete arg3;
14568 }
14569 return resultobj;
14570 fail:
14571 {
14572 if (temp2)
14573 delete arg2;
14574 }
14575 {
14576 if (temp3)
14577 delete arg3;
14578 }
14579 return NULL;
14580}
14581
14582
c32bde28 14583static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14584 PyObject *resultobj;
14585 wxFileType *arg1 = (wxFileType *) 0 ;
14586 wxString *arg2 = 0 ;
14587 wxString const &arg3_defvalue = wxPyEmptyString ;
14588 wxString *arg3 = (wxString *) &arg3_defvalue ;
14589 PyObject *result;
ae8162c8
RD
14590 bool temp2 = false ;
14591 bool temp3 = false ;
d55e5bfc
RD
14592 PyObject * obj0 = 0 ;
14593 PyObject * obj1 = 0 ;
14594 PyObject * obj2 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14602 {
14603 arg2 = wxString_in_helper(obj1);
14604 if (arg2 == NULL) SWIG_fail;
ae8162c8 14605 temp2 = true;
d55e5bfc
RD
14606 }
14607 if (obj2) {
14608 {
14609 arg3 = wxString_in_helper(obj2);
14610 if (arg3 == NULL) SWIG_fail;
ae8162c8 14611 temp3 = true;
d55e5bfc
RD
14612 }
14613 }
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = result;
14622 {
14623 if (temp2)
14624 delete arg2;
14625 }
14626 {
14627 if (temp3)
14628 delete arg3;
14629 }
14630 return resultobj;
14631 fail:
14632 {
14633 if (temp2)
14634 delete arg2;
14635 }
14636 {
14637 if (temp3)
14638 delete arg3;
14639 }
14640 return NULL;
14641}
14642
14643
c32bde28 14644static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14645 PyObject *resultobj;
14646 wxFileType *arg1 = (wxFileType *) 0 ;
14647 wxString *arg2 = 0 ;
14648 wxString const &arg3_defvalue = wxPyEmptyString ;
14649 wxString *arg3 = (wxString *) &arg3_defvalue ;
14650 PyObject *result;
ae8162c8
RD
14651 bool temp2 = false ;
14652 bool temp3 = false ;
d55e5bfc
RD
14653 PyObject * obj0 = 0 ;
14654 PyObject * obj1 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 char *kwnames[] = {
14657 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14658 };
14659
14660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14663 {
14664 arg2 = wxString_in_helper(obj1);
14665 if (arg2 == NULL) SWIG_fail;
ae8162c8 14666 temp2 = true;
d55e5bfc
RD
14667 }
14668 if (obj2) {
14669 {
14670 arg3 = wxString_in_helper(obj2);
14671 if (arg3 == NULL) SWIG_fail;
ae8162c8 14672 temp3 = true;
d55e5bfc
RD
14673 }
14674 }
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 resultobj = result;
14683 {
14684 if (temp2)
14685 delete arg2;
14686 }
14687 {
14688 if (temp3)
14689 delete arg3;
14690 }
14691 return resultobj;
14692 fail:
14693 {
14694 if (temp2)
14695 delete arg2;
14696 }
14697 {
14698 if (temp3)
14699 delete arg3;
14700 }
14701 return NULL;
14702}
14703
14704
c32bde28 14705static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14706 PyObject *resultobj;
14707 wxFileType *arg1 = (wxFileType *) 0 ;
14708 wxString *arg2 = 0 ;
14709 wxString *arg3 = 0 ;
ae8162c8 14710 bool arg4 = (bool) true ;
d55e5bfc 14711 bool result;
ae8162c8
RD
14712 bool temp2 = false ;
14713 bool temp3 = false ;
d55e5bfc
RD
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj1 = 0 ;
14716 PyObject * obj2 = 0 ;
14717 PyObject * obj3 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14724 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14725 {
14726 arg2 = wxString_in_helper(obj1);
14727 if (arg2 == NULL) SWIG_fail;
ae8162c8 14728 temp2 = true;
d55e5bfc
RD
14729 }
14730 {
14731 arg3 = wxString_in_helper(obj2);
14732 if (arg3 == NULL) SWIG_fail;
ae8162c8 14733 temp3 = true;
d55e5bfc
RD
14734 }
14735 if (obj3) {
093d3ff1
RD
14736 {
14737 arg4 = (bool)(SWIG_As_bool(obj3));
14738 if (SWIG_arg_fail(4)) SWIG_fail;
14739 }
d55e5bfc
RD
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 {
14752 if (temp2)
14753 delete arg2;
14754 }
14755 {
14756 if (temp3)
14757 delete arg3;
14758 }
14759 return resultobj;
14760 fail:
14761 {
14762 if (temp2)
14763 delete arg2;
14764 }
14765 {
14766 if (temp3)
14767 delete arg3;
14768 }
14769 return NULL;
14770}
14771
14772
c32bde28 14773static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14774 PyObject *resultobj;
14775 wxFileType *arg1 = (wxFileType *) 0 ;
14776 wxString const &arg2_defvalue = wxPyEmptyString ;
14777 wxString *arg2 = (wxString *) &arg2_defvalue ;
14778 int arg3 = (int) 0 ;
14779 bool result;
ae8162c8 14780 bool temp2 = false ;
d55e5bfc
RD
14781 PyObject * obj0 = 0 ;
14782 PyObject * obj1 = 0 ;
14783 PyObject * obj2 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self",(char *) "cmd",(char *) "index", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14791 if (obj1) {
14792 {
14793 arg2 = wxString_in_helper(obj1);
14794 if (arg2 == NULL) SWIG_fail;
ae8162c8 14795 temp2 = true;
d55e5bfc
RD
14796 }
14797 }
14798 if (obj2) {
093d3ff1
RD
14799 {
14800 arg3 = (int)(SWIG_As_int(obj2));
14801 if (SWIG_arg_fail(3)) SWIG_fail;
14802 }
d55e5bfc
RD
14803 }
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 {
14812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14813 }
14814 {
14815 if (temp2)
14816 delete arg2;
14817 }
14818 return resultobj;
14819 fail:
14820 {
14821 if (temp2)
14822 delete arg2;
14823 }
14824 return NULL;
14825}
14826
14827
c32bde28 14828static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14829 PyObject *resultobj;
14830 wxFileType *arg1 = (wxFileType *) 0 ;
14831 bool result;
14832 PyObject * obj0 = 0 ;
14833 char *kwnames[] = {
14834 (char *) "self", NULL
14835 };
14836
14837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
14838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14839 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14840 {
14841 PyThreadState* __tstate = wxPyBeginAllowThreads();
14842 result = (bool)(arg1)->Unassociate();
14843
14844 wxPyEndAllowThreads(__tstate);
14845 if (PyErr_Occurred()) SWIG_fail;
14846 }
14847 {
14848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14849 }
14850 return resultobj;
14851 fail:
14852 return NULL;
14853}
14854
14855
c32bde28 14856static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14857 PyObject *resultobj;
14858 wxString *arg1 = 0 ;
14859 wxString *arg2 = 0 ;
14860 wxString const &arg3_defvalue = wxPyEmptyString ;
14861 wxString *arg3 = (wxString *) &arg3_defvalue ;
14862 wxString result;
ae8162c8
RD
14863 bool temp1 = false ;
14864 bool temp2 = false ;
14865 bool temp3 = false ;
d55e5bfc
RD
14866 PyObject * obj0 = 0 ;
14867 PyObject * obj1 = 0 ;
14868 PyObject * obj2 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14874 {
14875 arg1 = wxString_in_helper(obj0);
14876 if (arg1 == NULL) SWIG_fail;
ae8162c8 14877 temp1 = true;
d55e5bfc
RD
14878 }
14879 {
14880 arg2 = wxString_in_helper(obj1);
14881 if (arg2 == NULL) SWIG_fail;
ae8162c8 14882 temp2 = true;
d55e5bfc
RD
14883 }
14884 if (obj2) {
14885 {
14886 arg3 = wxString_in_helper(obj2);
14887 if (arg3 == NULL) SWIG_fail;
ae8162c8 14888 temp3 = true;
d55e5bfc
RD
14889 }
14890 }
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 {
14899#if wxUSE_UNICODE
14900 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14901#else
14902 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14903#endif
14904 }
14905 {
14906 if (temp1)
14907 delete arg1;
14908 }
14909 {
14910 if (temp2)
14911 delete arg2;
14912 }
14913 {
14914 if (temp3)
14915 delete arg3;
14916 }
14917 return resultobj;
14918 fail:
14919 {
14920 if (temp1)
14921 delete arg1;
14922 }
14923 {
14924 if (temp2)
14925 delete arg2;
14926 }
14927 {
14928 if (temp3)
14929 delete arg3;
14930 }
14931 return NULL;
14932}
14933
14934
c32bde28 14935static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14936 PyObject *obj;
14937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14938 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
14939 Py_INCREF(obj);
14940 return Py_BuildValue((char *)"");
14941}
c32bde28 14942static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
14943 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
14944 return 1;
14945}
14946
14947
093d3ff1 14948static PyObject *_wrap_TheMimeTypesManager_get(void) {
d55e5bfc
RD
14949 PyObject *pyobj;
14950
14951 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
14952 return pyobj;
14953}
14954
14955
c32bde28 14956static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14957 PyObject *resultobj;
14958 wxString *arg1 = 0 ;
14959 wxString *arg2 = 0 ;
14960 bool result;
ae8162c8
RD
14961 bool temp1 = false ;
14962 bool temp2 = false ;
d55e5bfc
RD
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "mimeType",(char *) "wildcard", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
14970 {
14971 arg1 = wxString_in_helper(obj0);
14972 if (arg1 == NULL) SWIG_fail;
ae8162c8 14973 temp1 = true;
d55e5bfc
RD
14974 }
14975 {
14976 arg2 = wxString_in_helper(obj1);
14977 if (arg2 == NULL) SWIG_fail;
ae8162c8 14978 temp2 = true;
d55e5bfc
RD
14979 }
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 {
14988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14989 }
14990 {
14991 if (temp1)
14992 delete arg1;
14993 }
14994 {
14995 if (temp2)
14996 delete arg2;
14997 }
14998 return resultobj;
14999 fail:
15000 {
15001 if (temp1)
15002 delete arg1;
15003 }
15004 {
15005 if (temp2)
15006 delete arg2;
15007 }
15008 return NULL;
15009}
15010
15011
c32bde28 15012static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15013 PyObject *resultobj;
15014 wxMimeTypesManager *result;
15015 char *kwnames[] = {
15016 NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
15028 return resultobj;
15029 fail:
15030 return NULL;
15031}
15032
15033
c32bde28 15034static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15035 PyObject *resultobj;
15036 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15037 int arg2 = (int) wxMAILCAP_ALL ;
15038 wxString const &arg3_defvalue = wxPyEmptyString ;
15039 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 15040 bool temp3 = false ;
d55e5bfc
RD
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 PyObject * obj2 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15051 if (obj1) {
093d3ff1
RD
15052 {
15053 arg2 = (int)(SWIG_As_int(obj1));
15054 if (SWIG_arg_fail(2)) SWIG_fail;
15055 }
d55e5bfc
RD
15056 }
15057 if (obj2) {
15058 {
15059 arg3 = wxString_in_helper(obj2);
15060 if (arg3 == NULL) SWIG_fail;
ae8162c8 15061 temp3 = true;
d55e5bfc
RD
15062 }
15063 }
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 (arg1)->Initialize(arg2,(wxString const &)*arg3);
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 Py_INCREF(Py_None); resultobj = Py_None;
15072 {
15073 if (temp3)
15074 delete arg3;
15075 }
15076 return resultobj;
15077 fail:
15078 {
15079 if (temp3)
15080 delete arg3;
15081 }
15082 return NULL;
15083}
15084
15085
c32bde28 15086static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15087 PyObject *resultobj;
15088 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 (arg1)->ClearData();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 Py_INCREF(Py_None); resultobj = Py_None;
15105 return resultobj;
15106 fail:
15107 return NULL;
15108}
15109
15110
c32bde28 15111static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15112 PyObject *resultobj;
15113 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15114 wxString *arg2 = 0 ;
15115 wxFileType *result;
ae8162c8 15116 bool temp2 = false ;
d55e5bfc
RD
15117 PyObject * obj0 = 0 ;
15118 PyObject * obj1 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self",(char *) "ext", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15126 {
15127 arg2 = wxString_in_helper(obj1);
15128 if (arg2 == NULL) SWIG_fail;
ae8162c8 15129 temp2 = true;
d55e5bfc
RD
15130 }
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15139 {
15140 if (temp2)
15141 delete arg2;
15142 }
15143 return resultobj;
15144 fail:
15145 {
15146 if (temp2)
15147 delete arg2;
15148 }
15149 return NULL;
15150}
15151
15152
c32bde28 15153static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15154 PyObject *resultobj;
15155 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15156 wxString *arg2 = 0 ;
15157 wxFileType *result;
ae8162c8 15158 bool temp2 = false ;
d55e5bfc
RD
15159 PyObject * obj0 = 0 ;
15160 PyObject * obj1 = 0 ;
15161 char *kwnames[] = {
15162 (char *) "self",(char *) "mimeType", NULL
15163 };
15164
15165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15168 {
15169 arg2 = wxString_in_helper(obj1);
15170 if (arg2 == NULL) SWIG_fail;
ae8162c8 15171 temp2 = true;
d55e5bfc
RD
15172 }
15173 {
15174 PyThreadState* __tstate = wxPyBeginAllowThreads();
15175 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
15176
15177 wxPyEndAllowThreads(__tstate);
15178 if (PyErr_Occurred()) SWIG_fail;
15179 }
15180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15181 {
15182 if (temp2)
15183 delete arg2;
15184 }
15185 return resultobj;
15186 fail:
15187 {
15188 if (temp2)
15189 delete arg2;
15190 }
15191 return NULL;
15192}
15193
15194
c32bde28 15195static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15196 PyObject *resultobj;
15197 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15198 wxString *arg2 = 0 ;
ae8162c8 15199 bool arg3 = (bool) false ;
d55e5bfc 15200 bool result;
ae8162c8 15201 bool temp2 = false ;
d55e5bfc
RD
15202 PyObject * obj0 = 0 ;
15203 PyObject * obj1 = 0 ;
15204 PyObject * obj2 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15212 {
15213 arg2 = wxString_in_helper(obj1);
15214 if (arg2 == NULL) SWIG_fail;
ae8162c8 15215 temp2 = true;
d55e5bfc
RD
15216 }
15217 if (obj2) {
093d3ff1
RD
15218 {
15219 arg3 = (bool)(SWIG_As_bool(obj2));
15220 if (SWIG_arg_fail(3)) SWIG_fail;
15221 }
d55e5bfc
RD
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15232 }
15233 {
15234 if (temp2)
15235 delete arg2;
15236 }
15237 return resultobj;
15238 fail:
15239 {
15240 if (temp2)
15241 delete arg2;
15242 }
15243 return NULL;
15244}
15245
15246
c32bde28 15247static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15248 PyObject *resultobj;
15249 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15250 wxString *arg2 = 0 ;
15251 bool result;
ae8162c8 15252 bool temp2 = false ;
d55e5bfc
RD
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self",(char *) "filename", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15262 {
15263 arg2 = wxString_in_helper(obj1);
15264 if (arg2 == NULL) SWIG_fail;
ae8162c8 15265 temp2 = true;
d55e5bfc
RD
15266 }
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 {
15275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15276 }
15277 {
15278 if (temp2)
15279 delete arg2;
15280 }
15281 return resultobj;
15282 fail:
15283 {
15284 if (temp2)
15285 delete arg2;
15286 }
15287 return NULL;
15288}
15289
15290
c32bde28 15291static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15292 PyObject *resultobj;
15293 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15294 PyObject *result;
15295 PyObject * obj0 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 resultobj = result;
15311 return resultobj;
15312 fail:
15313 return NULL;
15314}
15315
15316
c32bde28 15317static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15318 PyObject *resultobj;
15319 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15320 wxFileTypeInfo *arg2 = 0 ;
15321 PyObject * obj0 = 0 ;
15322 PyObject * obj1 = 0 ;
15323 char *kwnames[] = {
15324 (char *) "self",(char *) "ft", NULL
15325 };
15326
15327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15329 if (SWIG_arg_fail(1)) SWIG_fail;
15330 {
15331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15332 if (SWIG_arg_fail(2)) SWIG_fail;
15333 if (arg2 == NULL) {
15334 SWIG_null_ref("wxFileTypeInfo");
15335 }
15336 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15337 }
15338 {
15339 PyThreadState* __tstate = wxPyBeginAllowThreads();
15340 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
15341
15342 wxPyEndAllowThreads(__tstate);
15343 if (PyErr_Occurred()) SWIG_fail;
15344 }
15345 Py_INCREF(Py_None); resultobj = Py_None;
15346 return resultobj;
15347 fail:
15348 return NULL;
15349}
15350
15351
c32bde28 15352static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15353 PyObject *resultobj;
15354 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15355 wxFileTypeInfo *arg2 = 0 ;
15356 wxFileType *result;
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self",(char *) "ftInfo", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15365 if (SWIG_arg_fail(1)) SWIG_fail;
15366 {
15367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15368 if (SWIG_arg_fail(2)) SWIG_fail;
15369 if (arg2 == NULL) {
15370 SWIG_null_ref("wxFileTypeInfo");
15371 }
15372 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15373 }
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15382 return resultobj;
15383 fail:
15384 return NULL;
15385}
15386
15387
c32bde28 15388static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15389 PyObject *resultobj;
15390 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15391 wxFileType *arg2 = (wxFileType *) 0 ;
15392 bool result;
15393 PyObject * obj0 = 0 ;
15394 PyObject * obj1 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self",(char *) "ft", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
15402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15403 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 result = (bool)(arg1)->Unassociate(arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 {
15412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
c32bde28 15420static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15421 PyObject *resultobj;
15422 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15423 PyObject * obj0 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
15429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 delete arg1;
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 Py_INCREF(Py_None); resultobj = Py_None;
15439 return resultobj;
15440 fail:
15441 return NULL;
15442}
15443
15444
c32bde28 15445static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15446 PyObject *obj;
15447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15448 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
15449 Py_INCREF(obj);
15450 return Py_BuildValue((char *)"");
15451}
c32bde28 15452static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
15453 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
15454 return 1;
15455}
15456
15457
093d3ff1 15458static PyObject *_wrap_ART_TOOLBAR_get(void) {
d55e5bfc
RD
15459 PyObject *pyobj;
15460
15461 {
15462#if wxUSE_UNICODE
15463 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15464#else
15465 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15466#endif
15467 }
15468 return pyobj;
15469}
15470
15471
c32bde28 15472static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
15473 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
15474 return 1;
15475}
15476
15477
093d3ff1 15478static PyObject *_wrap_ART_MENU_get(void) {
d55e5bfc
RD
15479 PyObject *pyobj;
15480
15481 {
15482#if wxUSE_UNICODE
15483 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15484#else
15485 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15486#endif
15487 }
15488 return pyobj;
15489}
15490
15491
c32bde28 15492static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
15493 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
15494 return 1;
15495}
15496
15497
093d3ff1 15498static PyObject *_wrap_ART_FRAME_ICON_get(void) {
d55e5bfc
RD
15499 PyObject *pyobj;
15500
15501 {
15502#if wxUSE_UNICODE
15503 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15504#else
15505 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15506#endif
15507 }
15508 return pyobj;
15509}
15510
15511
c32bde28 15512static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
15513 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
15514 return 1;
15515}
15516
15517
093d3ff1 15518static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
d55e5bfc
RD
15519 PyObject *pyobj;
15520
15521 {
15522#if wxUSE_UNICODE
15523 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15524#else
15525 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15526#endif
15527 }
15528 return pyobj;
15529}
15530
15531
c32bde28 15532static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
15533 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
15534 return 1;
15535}
15536
15537
093d3ff1 15538static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
d55e5bfc
RD
15539 PyObject *pyobj;
15540
15541 {
15542#if wxUSE_UNICODE
15543 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15544#else
15545 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15546#endif
15547 }
15548 return pyobj;
15549}
15550
15551
c32bde28 15552static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
15553 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
15554 return 1;
15555}
15556
15557
093d3ff1 15558static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
d55e5bfc
RD
15559 PyObject *pyobj;
15560
15561 {
15562#if wxUSE_UNICODE
15563 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15564#else
15565 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15566#endif
15567 }
15568 return pyobj;
15569}
15570
15571
c32bde28 15572static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
15573 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
15574 return 1;
15575}
15576
15577
093d3ff1 15578static PyObject *_wrap_ART_BUTTON_get(void) {
4cf4100f
RD
15579 PyObject *pyobj;
15580
15581 {
15582#if wxUSE_UNICODE
15583 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15584#else
15585 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15586#endif
15587 }
15588 return pyobj;
15589}
15590
15591
c32bde28 15592static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
15593 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
15594 return 1;
15595}
15596
15597
093d3ff1 15598static PyObject *_wrap_ART_OTHER_get(void) {
d55e5bfc
RD
15599 PyObject *pyobj;
15600
15601 {
15602#if wxUSE_UNICODE
15603 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15604#else
15605 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15606#endif
15607 }
15608 return pyobj;
15609}
15610
15611
c32bde28 15612static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15613 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
15614 return 1;
15615}
15616
15617
093d3ff1 15618static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
d55e5bfc
RD
15619 PyObject *pyobj;
15620
15621 {
15622#if wxUSE_UNICODE
15623 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15624#else
15625 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15626#endif
15627 }
15628 return pyobj;
15629}
15630
15631
c32bde28 15632static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15633 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
15634 return 1;
15635}
15636
15637
093d3ff1 15638static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
d55e5bfc
RD
15639 PyObject *pyobj;
15640
15641 {
15642#if wxUSE_UNICODE
15643 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15644#else
15645 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15646#endif
15647 }
15648 return pyobj;
15649}
15650
15651
c32bde28 15652static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
15653 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
15654 return 1;
15655}
15656
15657
093d3ff1 15658static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
d55e5bfc
RD
15659 PyObject *pyobj;
15660
15661 {
15662#if wxUSE_UNICODE
15663 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15664#else
15665 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15666#endif
15667 }
15668 return pyobj;
15669}
15670
15671
c32bde28 15672static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
15673 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
15674 return 1;
15675}
15676
15677
093d3ff1 15678static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
d55e5bfc
RD
15679 PyObject *pyobj;
15680
15681 {
15682#if wxUSE_UNICODE
15683 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15684#else
15685 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15686#endif
15687 }
15688 return pyobj;
15689}
15690
15691
c32bde28 15692static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
15693 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
15694 return 1;
15695}
15696
15697
093d3ff1 15698static PyObject *_wrap_ART_HELP_BOOK_get(void) {
d55e5bfc
RD
15699 PyObject *pyobj;
15700
15701 {
15702#if wxUSE_UNICODE
15703 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15704#else
15705 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15706#endif
15707 }
15708 return pyobj;
15709}
15710
15711
c32bde28 15712static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
15713 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
15714 return 1;
15715}
15716
15717
093d3ff1 15718static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
d55e5bfc
RD
15719 PyObject *pyobj;
15720
15721 {
15722#if wxUSE_UNICODE
15723 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15724#else
15725 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15726#endif
15727 }
15728 return pyobj;
15729}
15730
15731
c32bde28 15732static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
15733 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
15734 return 1;
15735}
15736
15737
093d3ff1 15738static PyObject *_wrap_ART_HELP_PAGE_get(void) {
d55e5bfc
RD
15739 PyObject *pyobj;
15740
15741 {
15742#if wxUSE_UNICODE
15743 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15744#else
15745 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15746#endif
15747 }
15748 return pyobj;
15749}
15750
15751
c32bde28 15752static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
15753 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
15754 return 1;
15755}
15756
15757
093d3ff1 15758static PyObject *_wrap_ART_GO_BACK_get(void) {
d55e5bfc
RD
15759 PyObject *pyobj;
15760
15761 {
15762#if wxUSE_UNICODE
15763 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15764#else
15765 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15766#endif
15767 }
15768 return pyobj;
15769}
15770
15771
c32bde28 15772static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
15773 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
15774 return 1;
15775}
15776
15777
093d3ff1 15778static PyObject *_wrap_ART_GO_FORWARD_get(void) {
d55e5bfc
RD
15779 PyObject *pyobj;
15780
15781 {
15782#if wxUSE_UNICODE
15783 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15784#else
15785 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15786#endif
15787 }
15788 return pyobj;
15789}
15790
15791
c32bde28 15792static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
15793 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
15794 return 1;
15795}
15796
15797
093d3ff1 15798static PyObject *_wrap_ART_GO_UP_get(void) {
d55e5bfc
RD
15799 PyObject *pyobj;
15800
15801 {
15802#if wxUSE_UNICODE
15803 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15804#else
15805 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15806#endif
15807 }
15808 return pyobj;
15809}
15810
15811
c32bde28 15812static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
15813 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
15814 return 1;
15815}
15816
15817
093d3ff1 15818static PyObject *_wrap_ART_GO_DOWN_get(void) {
d55e5bfc
RD
15819 PyObject *pyobj;
15820
15821 {
15822#if wxUSE_UNICODE
15823 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15824#else
15825 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15826#endif
15827 }
15828 return pyobj;
15829}
15830
15831
c32bde28 15832static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
15833 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
15834 return 1;
15835}
15836
15837
093d3ff1 15838static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
d55e5bfc
RD
15839 PyObject *pyobj;
15840
15841 {
15842#if wxUSE_UNICODE
15843 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15844#else
15845 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15846#endif
15847 }
15848 return pyobj;
15849}
15850
15851
c32bde28 15852static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
15853 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
15854 return 1;
15855}
15856
15857
093d3ff1 15858static PyObject *_wrap_ART_GO_HOME_get(void) {
d55e5bfc
RD
15859 PyObject *pyobj;
15860
15861 {
15862#if wxUSE_UNICODE
15863 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15864#else
15865 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15866#endif
15867 }
15868 return pyobj;
15869}
15870
15871
c32bde28 15872static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
15873 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
15874 return 1;
15875}
15876
15877
093d3ff1 15878static PyObject *_wrap_ART_FILE_OPEN_get(void) {
d55e5bfc
RD
15879 PyObject *pyobj;
15880
15881 {
15882#if wxUSE_UNICODE
15883 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15884#else
15885 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15886#endif
15887 }
15888 return pyobj;
15889}
15890
15891
68350608
RD
15892static int _wrap_ART_FILE_SAVE_set(PyObject *) {
15893 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
15894 return 1;
15895}
15896
15897
15898static PyObject *_wrap_ART_FILE_SAVE_get(void) {
15899 PyObject *pyobj;
15900
15901 {
15902#if wxUSE_UNICODE
15903 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15904#else
15905 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15906#endif
15907 }
15908 return pyobj;
15909}
15910
15911
15912static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
15913 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
15914 return 1;
15915}
15916
15917
15918static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
15919 PyObject *pyobj;
15920
15921 {
15922#if wxUSE_UNICODE
15923 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15924#else
15925 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15926#endif
15927 }
15928 return pyobj;
15929}
15930
15931
c32bde28 15932static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
15933 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
15934 return 1;
15935}
15936
15937
093d3ff1 15938static PyObject *_wrap_ART_PRINT_get(void) {
d55e5bfc
RD
15939 PyObject *pyobj;
15940
15941 {
15942#if wxUSE_UNICODE
15943 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15944#else
15945 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15946#endif
15947 }
15948 return pyobj;
15949}
15950
15951
c32bde28 15952static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
15953 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
15954 return 1;
15955}
15956
15957
093d3ff1 15958static PyObject *_wrap_ART_HELP_get(void) {
d55e5bfc
RD
15959 PyObject *pyobj;
15960
15961 {
15962#if wxUSE_UNICODE
15963 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15964#else
15965 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15966#endif
15967 }
15968 return pyobj;
15969}
15970
15971
c32bde28 15972static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
15973 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
15974 return 1;
15975}
15976
15977
093d3ff1 15978static PyObject *_wrap_ART_TIP_get(void) {
d55e5bfc
RD
15979 PyObject *pyobj;
15980
15981 {
15982#if wxUSE_UNICODE
15983 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15984#else
15985 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15986#endif
15987 }
15988 return pyobj;
15989}
15990
15991
c32bde28 15992static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
15993 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
15994 return 1;
15995}
15996
15997
093d3ff1 15998static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
d55e5bfc
RD
15999 PyObject *pyobj;
16000
16001 {
16002#if wxUSE_UNICODE
16003 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16004#else
16005 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16006#endif
16007 }
16008 return pyobj;
16009}
16010
16011
c32bde28 16012static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
16013 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16014 return 1;
16015}
16016
16017
093d3ff1 16018static PyObject *_wrap_ART_LIST_VIEW_get(void) {
d55e5bfc
RD
16019 PyObject *pyobj;
16020
16021 {
16022#if wxUSE_UNICODE
16023 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16024#else
16025 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16026#endif
16027 }
16028 return pyobj;
16029}
16030
16031
c32bde28 16032static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
16033 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16034 return 1;
16035}
16036
16037
093d3ff1 16038static PyObject *_wrap_ART_NEW_DIR_get(void) {
d55e5bfc
RD
16039 PyObject *pyobj;
16040
16041 {
16042#if wxUSE_UNICODE
16043 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16044#else
16045 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16046#endif
16047 }
16048 return pyobj;
16049}
16050
16051
f78cc896
RD
16052static int _wrap_ART_HARDDISK_set(PyObject *) {
16053 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16054 return 1;
16055}
16056
16057
093d3ff1 16058static PyObject *_wrap_ART_HARDDISK_get(void) {
f78cc896
RD
16059 PyObject *pyobj;
16060
16061 {
16062#if wxUSE_UNICODE
16063 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16064#else
16065 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16066#endif
16067 }
16068 return pyobj;
16069}
16070
16071
16072static int _wrap_ART_FLOPPY_set(PyObject *) {
16073 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
16074 return 1;
16075}
16076
16077
093d3ff1 16078static PyObject *_wrap_ART_FLOPPY_get(void) {
f78cc896
RD
16079 PyObject *pyobj;
16080
16081 {
16082#if wxUSE_UNICODE
16083 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16084#else
16085 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16086#endif
16087 }
16088 return pyobj;
16089}
16090
16091
16092static int _wrap_ART_CDROM_set(PyObject *) {
16093 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
16094 return 1;
16095}
16096
16097
093d3ff1 16098static PyObject *_wrap_ART_CDROM_get(void) {
f78cc896
RD
16099 PyObject *pyobj;
16100
16101 {
16102#if wxUSE_UNICODE
16103 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16104#else
16105 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16106#endif
16107 }
16108 return pyobj;
16109}
16110
16111
16112static int _wrap_ART_REMOVABLE_set(PyObject *) {
16113 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
16114 return 1;
16115}
16116
16117
093d3ff1 16118static PyObject *_wrap_ART_REMOVABLE_get(void) {
f78cc896
RD
16119 PyObject *pyobj;
16120
16121 {
16122#if wxUSE_UNICODE
16123 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16124#else
16125 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16126#endif
16127 }
16128 return pyobj;
16129}
16130
16131
c32bde28 16132static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
16133 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
16134 return 1;
16135}
16136
16137
093d3ff1 16138static PyObject *_wrap_ART_FOLDER_get(void) {
d55e5bfc
RD
16139 PyObject *pyobj;
16140
16141 {
16142#if wxUSE_UNICODE
16143 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16144#else
16145 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16146#endif
16147 }
16148 return pyobj;
16149}
16150
16151
f78cc896
RD
16152static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
16153 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
16154 return 1;
16155}
16156
16157
093d3ff1 16158static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
f78cc896
RD
16159 PyObject *pyobj;
16160
16161 {
16162#if wxUSE_UNICODE
16163 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16164#else
16165 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16166#endif
16167 }
16168 return pyobj;
16169}
16170
16171
c32bde28 16172static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
16173 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
16174 return 1;
16175}
16176
16177
093d3ff1 16178static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
d55e5bfc
RD
16179 PyObject *pyobj;
16180
16181 {
16182#if wxUSE_UNICODE
16183 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16184#else
16185 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16186#endif
16187 }
16188 return pyobj;
16189}
16190
16191
c32bde28 16192static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
16193 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
16194 return 1;
16195}
16196
16197
093d3ff1 16198static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
d55e5bfc
RD
16199 PyObject *pyobj;
16200
16201 {
16202#if wxUSE_UNICODE
16203 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16204#else
16205 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16206#endif
16207 }
16208 return pyobj;
16209}
16210
16211
c32bde28 16212static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
16213 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
16214 return 1;
16215}
16216
16217
093d3ff1 16218static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
d55e5bfc
RD
16219 PyObject *pyobj;
16220
16221 {
16222#if wxUSE_UNICODE
16223 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16224#else
16225 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16226#endif
16227 }
16228 return pyobj;
16229}
16230
16231
c32bde28 16232static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
16233 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
16234 return 1;
16235}
16236
16237
093d3ff1 16238static PyObject *_wrap_ART_TICK_MARK_get(void) {
d55e5bfc
RD
16239 PyObject *pyobj;
16240
16241 {
16242#if wxUSE_UNICODE
16243 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16244#else
16245 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16246#endif
16247 }
16248 return pyobj;
16249}
16250
16251
c32bde28 16252static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
16253 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
16254 return 1;
16255}
16256
16257
093d3ff1 16258static PyObject *_wrap_ART_CROSS_MARK_get(void) {
d55e5bfc
RD
16259 PyObject *pyobj;
16260
16261 {
16262#if wxUSE_UNICODE
16263 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16264#else
16265 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16266#endif
16267 }
16268 return pyobj;
16269}
16270
16271
c32bde28 16272static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
16273 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
16274 return 1;
16275}
16276
16277
093d3ff1 16278static PyObject *_wrap_ART_ERROR_get(void) {
d55e5bfc
RD
16279 PyObject *pyobj;
16280
16281 {
16282#if wxUSE_UNICODE
16283 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16284#else
16285 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16286#endif
16287 }
16288 return pyobj;
16289}
16290
16291
c32bde28 16292static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
16293 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
16294 return 1;
16295}
16296
16297
093d3ff1 16298static PyObject *_wrap_ART_QUESTION_get(void) {
d55e5bfc
RD
16299 PyObject *pyobj;
16300
16301 {
16302#if wxUSE_UNICODE
16303 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16304#else
16305 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16306#endif
16307 }
16308 return pyobj;
16309}
16310
16311
c32bde28 16312static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
16313 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
16314 return 1;
16315}
16316
16317
093d3ff1 16318static PyObject *_wrap_ART_WARNING_get(void) {
d55e5bfc
RD
16319 PyObject *pyobj;
16320
16321 {
16322#if wxUSE_UNICODE
16323 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16324#else
16325 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16326#endif
16327 }
16328 return pyobj;
16329}
16330
16331
c32bde28 16332static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
16333 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
16334 return 1;
16335}
16336
16337
093d3ff1 16338static PyObject *_wrap_ART_INFORMATION_get(void) {
d55e5bfc
RD
16339 PyObject *pyobj;
16340
16341 {
16342#if wxUSE_UNICODE
16343 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16344#else
16345 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16346#endif
16347 }
16348 return pyobj;
16349}
16350
16351
c32bde28 16352static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
16353 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
16354 return 1;
16355}
16356
16357
093d3ff1 16358static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
d55e5bfc
RD
16359 PyObject *pyobj;
16360
16361 {
16362#if wxUSE_UNICODE
16363 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16364#else
16365 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16366#endif
16367 }
16368 return pyobj;
16369}
16370
16371
68350608
RD
16372static int _wrap_ART_COPY_set(PyObject *) {
16373 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
16374 return 1;
16375}
16376
16377
16378static PyObject *_wrap_ART_COPY_get(void) {
16379 PyObject *pyobj;
16380
16381 {
16382#if wxUSE_UNICODE
16383 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16384#else
16385 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16386#endif
16387 }
16388 return pyobj;
16389}
16390
16391
16392static int _wrap_ART_CUT_set(PyObject *) {
16393 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
16394 return 1;
16395}
16396
16397
16398static PyObject *_wrap_ART_CUT_get(void) {
16399 PyObject *pyobj;
16400
16401 {
16402#if wxUSE_UNICODE
16403 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16404#else
16405 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16406#endif
16407 }
16408 return pyobj;
16409}
16410
16411
16412static int _wrap_ART_PASTE_set(PyObject *) {
16413 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
16414 return 1;
16415}
16416
16417
16418static PyObject *_wrap_ART_PASTE_get(void) {
16419 PyObject *pyobj;
16420
16421 {
16422#if wxUSE_UNICODE
16423 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16424#else
16425 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16426#endif
16427 }
16428 return pyobj;
16429}
16430
16431
16432static int _wrap_ART_DELETE_set(PyObject *) {
16433 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
16434 return 1;
16435}
16436
16437
16438static PyObject *_wrap_ART_DELETE_get(void) {
16439 PyObject *pyobj;
16440
16441 {
16442#if wxUSE_UNICODE
16443 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16444#else
16445 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16446#endif
16447 }
16448 return pyobj;
16449}
16450
16451
16452static int _wrap_ART_UNDO_set(PyObject *) {
16453 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
16454 return 1;
16455}
16456
16457
16458static PyObject *_wrap_ART_UNDO_get(void) {
16459 PyObject *pyobj;
16460
16461 {
16462#if wxUSE_UNICODE
16463 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16464#else
16465 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16466#endif
16467 }
16468 return pyobj;
16469}
16470
16471
16472static int _wrap_ART_REDO_set(PyObject *) {
16473 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
16474 return 1;
16475}
16476
16477
16478static PyObject *_wrap_ART_REDO_get(void) {
16479 PyObject *pyobj;
16480
16481 {
16482#if wxUSE_UNICODE
16483 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16484#else
16485 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16486#endif
16487 }
16488 return pyobj;
16489}
16490
16491
16492static int _wrap_ART_QUIT_set(PyObject *) {
16493 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
16494 return 1;
16495}
16496
16497
16498static PyObject *_wrap_ART_QUIT_get(void) {
16499 PyObject *pyobj;
16500
16501 {
16502#if wxUSE_UNICODE
16503 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16504#else
16505 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16506#endif
16507 }
16508 return pyobj;
16509}
16510
16511
16512static int _wrap_ART_FIND_set(PyObject *) {
16513 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
16514 return 1;
16515}
16516
16517
16518static PyObject *_wrap_ART_FIND_get(void) {
16519 PyObject *pyobj;
16520
16521 {
16522#if wxUSE_UNICODE
16523 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16524#else
16525 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16526#endif
16527 }
16528 return pyobj;
16529}
16530
16531
16532static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
16533 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
16534 return 1;
16535}
16536
16537
16538static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
16539 PyObject *pyobj;
16540
16541 {
16542#if wxUSE_UNICODE
16543 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16544#else
16545 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16546#endif
16547 }
16548 return pyobj;
16549}
16550
16551
c32bde28 16552static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16553 PyObject *resultobj;
16554 wxPyArtProvider *result;
16555 char *kwnames[] = {
16556 NULL
16557 };
16558
16559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
16560 {
0439c23b 16561 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (wxPyArtProvider *)new wxPyArtProvider();
16564
16565 wxPyEndAllowThreads(__tstate);
110da5b0 16566 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16567 }
16568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
16569 return resultobj;
16570 fail:
16571 return NULL;
16572}
16573
16574
c32bde28 16575static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16576 PyObject *resultobj;
16577 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16578 PyObject *arg2 = (PyObject *) 0 ;
16579 PyObject *arg3 = (PyObject *) 0 ;
16580 PyObject * obj0 = 0 ;
16581 PyObject * obj1 = 0 ;
16582 PyObject * obj2 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self",(char *) "self",(char *) "_class", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16590 arg2 = obj1;
16591 arg3 = obj2;
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 (arg1)->_setCallbackInfo(arg2,arg3);
16595
16596 wxPyEndAllowThreads(__tstate);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 Py_INCREF(Py_None); resultobj = Py_None;
16600 return resultobj;
16601 fail:
16602 return NULL;
16603}
16604
16605
c32bde28 16606static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16607 PyObject *resultobj;
16608 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16609 PyObject * obj0 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "provider", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 wxPyArtProvider::PushProvider(arg1);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 Py_INCREF(Py_None); resultobj = Py_None;
16625 return resultobj;
16626 fail:
16627 return NULL;
16628}
16629
16630
c32bde28 16631static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16632 PyObject *resultobj;
16633 bool result;
16634 char *kwnames[] = {
16635 NULL
16636 };
16637
16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (bool)wxPyArtProvider::PopProvider();
16642
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 {
16647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16648 }
16649 return resultobj;
16650 fail:
16651 return NULL;
16652}
16653
16654
c32bde28 16655static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16656 PyObject *resultobj;
16657 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16658 bool result;
16659 PyObject * obj0 = 0 ;
16660 char *kwnames[] = {
16661 (char *) "provider", NULL
16662 };
16663
16664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 {
16675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16676 }
16677 return resultobj;
16678 fail:
16679 return NULL;
16680}
16681
16682
c32bde28 16683static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16684 PyObject *resultobj;
16685 wxString *arg1 = 0 ;
16686 wxString const &arg2_defvalue = wxPyART_OTHER ;
16687 wxString *arg2 = (wxString *) &arg2_defvalue ;
16688 wxSize const &arg3_defvalue = wxDefaultSize ;
16689 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16690 wxBitmap result;
ae8162c8
RD
16691 bool temp1 = false ;
16692 bool temp2 = false ;
d55e5bfc
RD
16693 wxSize temp3 ;
16694 PyObject * obj0 = 0 ;
16695 PyObject * obj1 = 0 ;
16696 PyObject * obj2 = 0 ;
16697 char *kwnames[] = {
16698 (char *) "id",(char *) "client",(char *) "size", NULL
16699 };
16700
16701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
16702 {
16703 arg1 = wxString_in_helper(obj0);
16704 if (arg1 == NULL) SWIG_fail;
ae8162c8 16705 temp1 = true;
d55e5bfc
RD
16706 }
16707 if (obj1) {
16708 {
16709 arg2 = wxString_in_helper(obj1);
16710 if (arg2 == NULL) SWIG_fail;
ae8162c8 16711 temp2 = true;
d55e5bfc
RD
16712 }
16713 }
16714 if (obj2) {
16715 {
16716 arg3 = &temp3;
16717 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16718 }
16719 }
16720 {
0439c23b 16721 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16724
16725 wxPyEndAllowThreads(__tstate);
110da5b0 16726 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16727 }
16728 {
16729 wxBitmap * resultptr;
093d3ff1 16730 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
16731 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16732 }
16733 {
16734 if (temp1)
16735 delete arg1;
16736 }
16737 {
16738 if (temp2)
16739 delete arg2;
16740 }
16741 return resultobj;
16742 fail:
16743 {
16744 if (temp1)
16745 delete arg1;
16746 }
16747 {
16748 if (temp2)
16749 delete arg2;
16750 }
16751 return NULL;
16752}
16753
16754
c32bde28 16755static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16756 PyObject *resultobj;
16757 wxString *arg1 = 0 ;
16758 wxString const &arg2_defvalue = wxPyART_OTHER ;
16759 wxString *arg2 = (wxString *) &arg2_defvalue ;
16760 wxSize const &arg3_defvalue = wxDefaultSize ;
16761 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16762 wxIcon result;
ae8162c8
RD
16763 bool temp1 = false ;
16764 bool temp2 = false ;
d55e5bfc
RD
16765 wxSize temp3 ;
16766 PyObject * obj0 = 0 ;
16767 PyObject * obj1 = 0 ;
16768 PyObject * obj2 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "id",(char *) "client",(char *) "size", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
16774 {
16775 arg1 = wxString_in_helper(obj0);
16776 if (arg1 == NULL) SWIG_fail;
ae8162c8 16777 temp1 = true;
d55e5bfc
RD
16778 }
16779 if (obj1) {
16780 {
16781 arg2 = wxString_in_helper(obj1);
16782 if (arg2 == NULL) SWIG_fail;
ae8162c8 16783 temp2 = true;
d55e5bfc
RD
16784 }
16785 }
16786 if (obj2) {
16787 {
16788 arg3 = &temp3;
16789 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16790 }
16791 }
16792 {
0439c23b 16793 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16796
16797 wxPyEndAllowThreads(__tstate);
110da5b0 16798 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16799 }
16800 {
16801 wxIcon * resultptr;
093d3ff1 16802 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
16803 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
16804 }
16805 {
16806 if (temp1)
16807 delete arg1;
16808 }
16809 {
16810 if (temp2)
16811 delete arg2;
16812 }
16813 return resultobj;
16814 fail:
16815 {
16816 if (temp1)
16817 delete arg1;
16818 }
16819 {
16820 if (temp2)
16821 delete arg2;
16822 }
16823 return NULL;
16824}
16825
16826
0c549c5f 16827static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
9c874b48
RD
16828 PyObject *resultobj;
16829 wxString *arg1 = 0 ;
16830 bool arg2 = (bool) false ;
16831 wxSize result;
16832 bool temp1 = false ;
16833 PyObject * obj0 = 0 ;
16834 PyObject * obj1 = 0 ;
16835 char *kwnames[] = {
16836 (char *) "client",(char *) "platform_dependent", NULL
16837 };
16838
0c549c5f 16839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
16840 {
16841 arg1 = wxString_in_helper(obj0);
16842 if (arg1 == NULL) SWIG_fail;
16843 temp1 = true;
16844 }
16845 if (obj1) {
16846 {
16847 arg2 = (bool)(SWIG_As_bool(obj1));
16848 if (SWIG_arg_fail(2)) SWIG_fail;
16849 }
16850 }
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
0c549c5f 16853 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 {
16859 wxSize * resultptr;
16860 resultptr = new wxSize((wxSize &)(result));
16861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16862 }
16863 {
16864 if (temp1)
16865 delete arg1;
16866 }
16867 return resultobj;
16868 fail:
16869 {
16870 if (temp1)
16871 delete arg1;
16872 }
16873 return NULL;
16874}
16875
16876
c32bde28 16877static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16878 PyObject *resultobj;
16879 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
16886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 wxPyArtProvider_Destroy(arg1);
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
16895 Py_INCREF(Py_None); resultobj = Py_None;
16896 return resultobj;
16897 fail:
16898 return NULL;
16899}
16900
16901
c32bde28 16902static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16903 PyObject *obj;
16904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16905 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
16906 Py_INCREF(obj);
16907 return Py_BuildValue((char *)"");
16908}
c32bde28 16909static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16910 PyObject *resultobj;
16911 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
16918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 delete arg1;
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 Py_INCREF(Py_None); resultobj = Py_None;
16928 return resultobj;
16929 fail:
16930 return NULL;
16931}
16932
16933
c32bde28 16934static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16935 PyObject *resultobj;
16936 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16937 wxConfigBase *result;
16938 PyObject * obj0 = 0 ;
16939 char *kwnames[] = {
16940 (char *) "config", NULL
16941 };
16942
16943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 16944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 16945 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 result = (wxConfigBase *)wxConfigBase::Set(arg1);
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16954 return resultobj;
16955 fail:
16956 return NULL;
16957}
16958
16959
c32bde28 16960static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16961 PyObject *resultobj;
ae8162c8 16962 bool arg1 = (bool) true ;
d55e5bfc
RD
16963 wxConfigBase *result;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "createOnDemand", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
16970 if (obj0) {
093d3ff1
RD
16971 {
16972 arg1 = (bool)(SWIG_As_bool(obj0));
16973 if (SWIG_arg_fail(1)) SWIG_fail;
16974 }
d55e5bfc
RD
16975 }
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (wxConfigBase *)wxConfigBase::Get(arg1);
16979
16980 wxPyEndAllowThreads(__tstate);
16981 if (PyErr_Occurred()) SWIG_fail;
16982 }
16983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16984 return resultobj;
16985 fail:
16986 return NULL;
16987}
16988
16989
c32bde28 16990static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16991 PyObject *resultobj;
16992 wxConfigBase *result;
16993 char *kwnames[] = {
16994 NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 result = (wxConfigBase *)wxConfigBase::Create();
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17006 return resultobj;
17007 fail:
17008 return NULL;
17009}
17010
17011
c32bde28 17012static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17013 PyObject *resultobj;
17014 char *kwnames[] = {
17015 NULL
17016 };
17017
17018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17019 {
17020 PyThreadState* __tstate = wxPyBeginAllowThreads();
17021 wxConfigBase::DontCreateOnDemand();
17022
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
17026 Py_INCREF(Py_None); resultobj = Py_None;
17027 return resultobj;
17028 fail:
17029 return NULL;
17030}
17031
17032
c32bde28 17033static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17034 PyObject *resultobj;
17035 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17036 wxString *arg2 = 0 ;
ae8162c8 17037 bool temp2 = false ;
d55e5bfc
RD
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self",(char *) "path", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17047 {
17048 arg2 = wxString_in_helper(obj1);
17049 if (arg2 == NULL) SWIG_fail;
ae8162c8 17050 temp2 = true;
d55e5bfc
RD
17051 }
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->SetPath((wxString const &)*arg2);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 {
17061 if (temp2)
17062 delete arg2;
17063 }
17064 return resultobj;
17065 fail:
17066 {
17067 if (temp2)
17068 delete arg2;
17069 }
17070 return NULL;
17071}
17072
17073
c32bde28 17074static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17075 PyObject *resultobj;
17076 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17077 wxString *result;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
17084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 {
17089 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
17090 result = (wxString *) &_result_ref;
17091 }
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
17096 {
17097#if wxUSE_UNICODE
17098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17099#else
17100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17101#endif
17102 }
17103 return resultobj;
17104 fail:
17105 return NULL;
17106}
17107
17108
c32bde28 17109static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17110 PyObject *resultobj;
17111 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17112 PyObject *result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
17119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = result;
17129 return resultobj;
17130 fail:
17131 return NULL;
17132}
17133
17134
c32bde28 17135static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17136 PyObject *resultobj;
17137 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17138 long arg2 ;
17139 PyObject *result;
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self",(char *) "index", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail;
17149 {
17150 arg2 = (long)(SWIG_As_long(obj1));
17151 if (SWIG_arg_fail(2)) SWIG_fail;
17152 }
d55e5bfc
RD
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 resultobj = result;
17161 return resultobj;
17162 fail:
17163 return NULL;
17164}
17165
17166
c32bde28 17167static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17168 PyObject *resultobj;
17169 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17170 PyObject *result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
17177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17179 {
17180 PyThreadState* __tstate = wxPyBeginAllowThreads();
17181 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 resultobj = result;
17187 return resultobj;
17188 fail:
17189 return NULL;
17190}
17191
17192
c32bde28 17193static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17194 PyObject *resultobj;
17195 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17196 long arg2 ;
17197 PyObject *result;
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 char *kwnames[] = {
17201 (char *) "self",(char *) "index", NULL
17202 };
17203
17204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17206 if (SWIG_arg_fail(1)) SWIG_fail;
17207 {
17208 arg2 = (long)(SWIG_As_long(obj1));
17209 if (SWIG_arg_fail(2)) SWIG_fail;
17210 }
d55e5bfc
RD
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = result;
17219 return resultobj;
17220 fail:
17221 return NULL;
17222}
17223
17224
c32bde28 17225static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17226 PyObject *resultobj;
17227 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17228 bool arg2 = (bool) false ;
d55e5bfc
RD
17229 size_t result;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "recursive", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17239 if (obj1) {
093d3ff1
RD
17240 {
17241 arg2 = (bool)(SWIG_As_bool(obj1));
17242 if (SWIG_arg_fail(2)) SWIG_fail;
17243 }
d55e5bfc
RD
17244 }
17245 {
17246 PyThreadState* __tstate = wxPyBeginAllowThreads();
17247 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
17248
17249 wxPyEndAllowThreads(__tstate);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
093d3ff1
RD
17252 {
17253 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17254 }
d55e5bfc
RD
17255 return resultobj;
17256 fail:
17257 return NULL;
17258}
17259
17260
c32bde28 17261static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17262 PyObject *resultobj;
17263 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17264 bool arg2 = (bool) false ;
d55e5bfc
RD
17265 size_t result;
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self",(char *) "recursive", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17275 if (obj1) {
093d3ff1
RD
17276 {
17277 arg2 = (bool)(SWIG_As_bool(obj1));
17278 if (SWIG_arg_fail(2)) SWIG_fail;
17279 }
d55e5bfc
RD
17280 }
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
093d3ff1
RD
17288 {
17289 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17290 }
d55e5bfc
RD
17291 return resultobj;
17292 fail:
17293 return NULL;
17294}
17295
17296
c32bde28 17297static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17298 PyObject *resultobj;
17299 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17300 wxString *arg2 = 0 ;
17301 bool result;
ae8162c8 17302 bool temp2 = false ;
d55e5bfc
RD
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj1 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self",(char *) "name", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17312 {
17313 arg2 = wxString_in_helper(obj1);
17314 if (arg2 == NULL) SWIG_fail;
ae8162c8 17315 temp2 = true;
d55e5bfc
RD
17316 }
17317 {
17318 PyThreadState* __tstate = wxPyBeginAllowThreads();
17319 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
17320
17321 wxPyEndAllowThreads(__tstate);
17322 if (PyErr_Occurred()) SWIG_fail;
17323 }
17324 {
17325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17326 }
17327 {
17328 if (temp2)
17329 delete arg2;
17330 }
17331 return resultobj;
17332 fail:
17333 {
17334 if (temp2)
17335 delete arg2;
17336 }
17337 return NULL;
17338}
17339
17340
c32bde28 17341static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17342 PyObject *resultobj;
17343 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17344 wxString *arg2 = 0 ;
17345 bool result;
ae8162c8 17346 bool temp2 = false ;
d55e5bfc
RD
17347 PyObject * obj0 = 0 ;
17348 PyObject * obj1 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "self",(char *) "name", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17356 {
17357 arg2 = wxString_in_helper(obj1);
17358 if (arg2 == NULL) SWIG_fail;
ae8162c8 17359 temp2 = true;
d55e5bfc
RD
17360 }
17361 {
17362 PyThreadState* __tstate = wxPyBeginAllowThreads();
17363 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
17364
17365 wxPyEndAllowThreads(__tstate);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 {
17369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17370 }
17371 {
17372 if (temp2)
17373 delete arg2;
17374 }
17375 return resultobj;
17376 fail:
17377 {
17378 if (temp2)
17379 delete arg2;
17380 }
17381 return NULL;
17382}
17383
17384
c32bde28 17385static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17386 PyObject *resultobj;
17387 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17388 wxString *arg2 = 0 ;
17389 bool result;
ae8162c8 17390 bool temp2 = false ;
d55e5bfc
RD
17391 PyObject * obj0 = 0 ;
17392 PyObject * obj1 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self",(char *) "name", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17400 {
17401 arg2 = wxString_in_helper(obj1);
17402 if (arg2 == NULL) SWIG_fail;
ae8162c8 17403 temp2 = true;
d55e5bfc
RD
17404 }
17405 {
17406 PyThreadState* __tstate = wxPyBeginAllowThreads();
17407 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
17408
17409 wxPyEndAllowThreads(__tstate);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17414 }
17415 {
17416 if (temp2)
17417 delete arg2;
17418 }
17419 return resultobj;
17420 fail:
17421 {
17422 if (temp2)
17423 delete arg2;
17424 }
17425 return NULL;
17426}
17427
17428
c32bde28 17429static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17430 PyObject *resultobj;
17431 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17432 wxString *arg2 = 0 ;
093d3ff1 17433 wxConfigBase::EntryType result;
ae8162c8 17434 bool temp2 = false ;
d55e5bfc
RD
17435 PyObject * obj0 = 0 ;
17436 PyObject * obj1 = 0 ;
17437 char *kwnames[] = {
17438 (char *) "self",(char *) "name", NULL
17439 };
17440
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17444 {
17445 arg2 = wxString_in_helper(obj1);
17446 if (arg2 == NULL) SWIG_fail;
ae8162c8 17447 temp2 = true;
d55e5bfc
RD
17448 }
17449 {
17450 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17451 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
17452
17453 wxPyEndAllowThreads(__tstate);
17454 if (PyErr_Occurred()) SWIG_fail;
17455 }
093d3ff1 17456 resultobj = SWIG_From_int((result));
d55e5bfc
RD
17457 {
17458 if (temp2)
17459 delete arg2;
17460 }
17461 return resultobj;
17462 fail:
17463 {
17464 if (temp2)
17465 delete arg2;
17466 }
17467 return NULL;
17468}
17469
17470
c32bde28 17471static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17472 PyObject *resultobj;
17473 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17474 wxString *arg2 = 0 ;
17475 wxString const &arg3_defvalue = wxPyEmptyString ;
17476 wxString *arg3 = (wxString *) &arg3_defvalue ;
17477 wxString result;
ae8162c8
RD
17478 bool temp2 = false ;
17479 bool temp3 = false ;
d55e5bfc
RD
17480 PyObject * obj0 = 0 ;
17481 PyObject * obj1 = 0 ;
17482 PyObject * obj2 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17490 {
17491 arg2 = wxString_in_helper(obj1);
17492 if (arg2 == NULL) SWIG_fail;
ae8162c8 17493 temp2 = true;
d55e5bfc
RD
17494 }
17495 if (obj2) {
17496 {
17497 arg3 = wxString_in_helper(obj2);
17498 if (arg3 == NULL) SWIG_fail;
ae8162c8 17499 temp3 = true;
d55e5bfc
RD
17500 }
17501 }
17502 {
17503 PyThreadState* __tstate = wxPyBeginAllowThreads();
17504 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
17505
17506 wxPyEndAllowThreads(__tstate);
17507 if (PyErr_Occurred()) SWIG_fail;
17508 }
17509 {
17510#if wxUSE_UNICODE
17511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17512#else
17513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17514#endif
17515 }
17516 {
17517 if (temp2)
17518 delete arg2;
17519 }
17520 {
17521 if (temp3)
17522 delete arg3;
17523 }
17524 return resultobj;
17525 fail:
17526 {
17527 if (temp2)
17528 delete arg2;
17529 }
17530 {
17531 if (temp3)
17532 delete arg3;
17533 }
17534 return NULL;
17535}
17536
17537
c32bde28 17538static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17539 PyObject *resultobj;
17540 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17541 wxString *arg2 = 0 ;
17542 long arg3 = (long) 0 ;
17543 long result;
ae8162c8 17544 bool temp2 = false ;
d55e5bfc
RD
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 PyObject * obj2 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17554 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17555 {
17556 arg2 = wxString_in_helper(obj1);
17557 if (arg2 == NULL) SWIG_fail;
ae8162c8 17558 temp2 = true;
d55e5bfc
RD
17559 }
17560 if (obj2) {
093d3ff1
RD
17561 {
17562 arg3 = (long)(SWIG_As_long(obj2));
17563 if (SWIG_arg_fail(3)) SWIG_fail;
17564 }
d55e5bfc
RD
17565 }
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
093d3ff1
RD
17573 {
17574 resultobj = SWIG_From_long((long)(result));
17575 }
d55e5bfc
RD
17576 {
17577 if (temp2)
17578 delete arg2;
17579 }
17580 return resultobj;
17581 fail:
17582 {
17583 if (temp2)
17584 delete arg2;
17585 }
17586 return NULL;
17587}
17588
17589
c32bde28 17590static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17591 PyObject *resultobj;
17592 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17593 wxString *arg2 = 0 ;
17594 double arg3 = (double) 0.0 ;
17595 double result;
ae8162c8 17596 bool temp2 = false ;
d55e5bfc
RD
17597 PyObject * obj0 = 0 ;
17598 PyObject * obj1 = 0 ;
17599 PyObject * obj2 = 0 ;
17600 char *kwnames[] = {
17601 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17602 };
17603
17604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17607 {
17608 arg2 = wxString_in_helper(obj1);
17609 if (arg2 == NULL) SWIG_fail;
ae8162c8 17610 temp2 = true;
d55e5bfc
RD
17611 }
17612 if (obj2) {
093d3ff1
RD
17613 {
17614 arg3 = (double)(SWIG_As_double(obj2));
17615 if (SWIG_arg_fail(3)) SWIG_fail;
17616 }
d55e5bfc
RD
17617 }
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
093d3ff1
RD
17625 {
17626 resultobj = SWIG_From_double((double)(result));
17627 }
d55e5bfc
RD
17628 {
17629 if (temp2)
17630 delete arg2;
17631 }
17632 return resultobj;
17633 fail:
17634 {
17635 if (temp2)
17636 delete arg2;
17637 }
17638 return NULL;
17639}
17640
17641
c32bde28 17642static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17643 PyObject *resultobj;
17644 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17645 wxString *arg2 = 0 ;
ae8162c8 17646 bool arg3 = (bool) false ;
d55e5bfc 17647 bool result;
ae8162c8 17648 bool temp2 = false ;
d55e5bfc
RD
17649 PyObject * obj0 = 0 ;
17650 PyObject * obj1 = 0 ;
17651 PyObject * obj2 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17659 {
17660 arg2 = wxString_in_helper(obj1);
17661 if (arg2 == NULL) SWIG_fail;
ae8162c8 17662 temp2 = true;
d55e5bfc
RD
17663 }
17664 if (obj2) {
093d3ff1
RD
17665 {
17666 arg3 = (bool)(SWIG_As_bool(obj2));
17667 if (SWIG_arg_fail(3)) SWIG_fail;
17668 }
d55e5bfc
RD
17669 }
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
17677 {
17678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17679 }
17680 {
17681 if (temp2)
17682 delete arg2;
17683 }
17684 return resultobj;
17685 fail:
17686 {
17687 if (temp2)
17688 delete arg2;
17689 }
17690 return NULL;
17691}
17692
17693
c32bde28 17694static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17695 PyObject *resultobj;
17696 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17697 wxString *arg2 = 0 ;
17698 wxString *arg3 = 0 ;
17699 bool result;
ae8162c8
RD
17700 bool temp2 = false ;
17701 bool temp3 = false ;
d55e5bfc
RD
17702 PyObject * obj0 = 0 ;
17703 PyObject * obj1 = 0 ;
17704 PyObject * obj2 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self",(char *) "key",(char *) "value", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17712 {
17713 arg2 = wxString_in_helper(obj1);
17714 if (arg2 == NULL) SWIG_fail;
ae8162c8 17715 temp2 = true;
d55e5bfc
RD
17716 }
17717 {
17718 arg3 = wxString_in_helper(obj2);
17719 if (arg3 == NULL) SWIG_fail;
ae8162c8 17720 temp3 = true;
d55e5bfc
RD
17721 }
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 {
17730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17731 }
17732 {
17733 if (temp2)
17734 delete arg2;
17735 }
17736 {
17737 if (temp3)
17738 delete arg3;
17739 }
17740 return resultobj;
17741 fail:
17742 {
17743 if (temp2)
17744 delete arg2;
17745 }
17746 {
17747 if (temp3)
17748 delete arg3;
17749 }
17750 return NULL;
17751}
17752
17753
c32bde28 17754static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17755 PyObject *resultobj;
17756 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17757 wxString *arg2 = 0 ;
17758 long arg3 ;
17759 bool result;
ae8162c8 17760 bool temp2 = false ;
d55e5bfc
RD
17761 PyObject * obj0 = 0 ;
17762 PyObject * obj1 = 0 ;
17763 PyObject * obj2 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "key",(char *) "value", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17771 {
17772 arg2 = wxString_in_helper(obj1);
17773 if (arg2 == NULL) SWIG_fail;
ae8162c8 17774 temp2 = true;
d55e5bfc 17775 }
093d3ff1
RD
17776 {
17777 arg3 = (long)(SWIG_As_long(obj2));
17778 if (SWIG_arg_fail(3)) SWIG_fail;
17779 }
d55e5bfc
RD
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 {
17788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17789 }
17790 {
17791 if (temp2)
17792 delete arg2;
17793 }
17794 return resultobj;
17795 fail:
17796 {
17797 if (temp2)
17798 delete arg2;
17799 }
17800 return NULL;
17801}
17802
17803
c32bde28 17804static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17805 PyObject *resultobj;
17806 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17807 wxString *arg2 = 0 ;
17808 double arg3 ;
17809 bool result;
ae8162c8 17810 bool temp2 = false ;
d55e5bfc
RD
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 PyObject * obj2 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "key",(char *) "value", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17821 {
17822 arg2 = wxString_in_helper(obj1);
17823 if (arg2 == NULL) SWIG_fail;
ae8162c8 17824 temp2 = true;
d55e5bfc 17825 }
093d3ff1
RD
17826 {
17827 arg3 = (double)(SWIG_As_double(obj2));
17828 if (SWIG_arg_fail(3)) SWIG_fail;
17829 }
d55e5bfc
RD
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17833
17834 wxPyEndAllowThreads(__tstate);
17835 if (PyErr_Occurred()) SWIG_fail;
17836 }
17837 {
17838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17839 }
17840 {
17841 if (temp2)
17842 delete arg2;
17843 }
17844 return resultobj;
17845 fail:
17846 {
17847 if (temp2)
17848 delete arg2;
17849 }
17850 return NULL;
17851}
17852
17853
c32bde28 17854static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17855 PyObject *resultobj;
17856 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17857 wxString *arg2 = 0 ;
17858 bool arg3 ;
17859 bool result;
ae8162c8 17860 bool temp2 = false ;
d55e5bfc
RD
17861 PyObject * obj0 = 0 ;
17862 PyObject * obj1 = 0 ;
17863 PyObject * obj2 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self",(char *) "key",(char *) "value", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17871 {
17872 arg2 = wxString_in_helper(obj1);
17873 if (arg2 == NULL) SWIG_fail;
ae8162c8 17874 temp2 = true;
d55e5bfc 17875 }
093d3ff1
RD
17876 {
17877 arg3 = (bool)(SWIG_As_bool(obj2));
17878 if (SWIG_arg_fail(3)) SWIG_fail;
17879 }
d55e5bfc
RD
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 {
17888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17889 }
17890 {
17891 if (temp2)
17892 delete arg2;
17893 }
17894 return resultobj;
17895 fail:
17896 {
17897 if (temp2)
17898 delete arg2;
17899 }
17900 return NULL;
17901}
17902
17903
c32bde28 17904static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17905 PyObject *resultobj;
17906 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17907 bool arg2 = (bool) false ;
d55e5bfc
RD
17908 bool result;
17909 PyObject * obj0 = 0 ;
17910 PyObject * obj1 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self",(char *) "currentOnly", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17917 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17918 if (obj1) {
093d3ff1
RD
17919 {
17920 arg2 = (bool)(SWIG_As_bool(obj1));
17921 if (SWIG_arg_fail(2)) SWIG_fail;
17922 }
d55e5bfc
RD
17923 }
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 result = (bool)(arg1)->Flush(arg2);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 {
17932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17933 }
17934 return resultobj;
17935 fail:
17936 return NULL;
17937}
17938
17939
c32bde28 17940static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17941 PyObject *resultobj;
17942 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17943 wxString *arg2 = 0 ;
17944 wxString *arg3 = 0 ;
17945 bool result;
ae8162c8
RD
17946 bool temp2 = false ;
17947 bool temp3 = false ;
d55e5bfc
RD
17948 PyObject * obj0 = 0 ;
17949 PyObject * obj1 = 0 ;
17950 PyObject * obj2 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17958 {
17959 arg2 = wxString_in_helper(obj1);
17960 if (arg2 == NULL) SWIG_fail;
ae8162c8 17961 temp2 = true;
d55e5bfc
RD
17962 }
17963 {
17964 arg3 = wxString_in_helper(obj2);
17965 if (arg3 == NULL) SWIG_fail;
ae8162c8 17966 temp3 = true;
d55e5bfc
RD
17967 }
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 {
17976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17977 }
17978 {
17979 if (temp2)
17980 delete arg2;
17981 }
17982 {
17983 if (temp3)
17984 delete arg3;
17985 }
17986 return resultobj;
17987 fail:
17988 {
17989 if (temp2)
17990 delete arg2;
17991 }
17992 {
17993 if (temp3)
17994 delete arg3;
17995 }
17996 return NULL;
17997}
17998
17999
c32bde28 18000static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18001 PyObject *resultobj;
18002 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18003 wxString *arg2 = 0 ;
18004 wxString *arg3 = 0 ;
18005 bool result;
ae8162c8
RD
18006 bool temp2 = false ;
18007 bool temp3 = false ;
d55e5bfc
RD
18008 PyObject * obj0 = 0 ;
18009 PyObject * obj1 = 0 ;
18010 PyObject * obj2 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18018 {
18019 arg2 = wxString_in_helper(obj1);
18020 if (arg2 == NULL) SWIG_fail;
ae8162c8 18021 temp2 = true;
d55e5bfc
RD
18022 }
18023 {
18024 arg3 = wxString_in_helper(obj2);
18025 if (arg3 == NULL) SWIG_fail;
ae8162c8 18026 temp3 = true;
d55e5bfc
RD
18027 }
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 {
18036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18037 }
18038 {
18039 if (temp2)
18040 delete arg2;
18041 }
18042 {
18043 if (temp3)
18044 delete arg3;
18045 }
18046 return resultobj;
18047 fail:
18048 {
18049 if (temp2)
18050 delete arg2;
18051 }
18052 {
18053 if (temp3)
18054 delete arg3;
18055 }
18056 return NULL;
18057}
18058
18059
c32bde28 18060static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18061 PyObject *resultobj;
18062 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18063 wxString *arg2 = 0 ;
ae8162c8 18064 bool arg3 = (bool) true ;
d55e5bfc 18065 bool result;
ae8162c8 18066 bool temp2 = false ;
d55e5bfc
RD
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 PyObject * obj2 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18077 {
18078 arg2 = wxString_in_helper(obj1);
18079 if (arg2 == NULL) SWIG_fail;
ae8162c8 18080 temp2 = true;
d55e5bfc
RD
18081 }
18082 if (obj2) {
093d3ff1
RD
18083 {
18084 arg3 = (bool)(SWIG_As_bool(obj2));
18085 if (SWIG_arg_fail(3)) SWIG_fail;
18086 }
d55e5bfc
RD
18087 }
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18097 }
18098 {
18099 if (temp2)
18100 delete arg2;
18101 }
18102 return resultobj;
18103 fail:
18104 {
18105 if (temp2)
18106 delete arg2;
18107 }
18108 return NULL;
18109}
18110
18111
c32bde28 18112static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18113 PyObject *resultobj;
18114 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18115 wxString *arg2 = 0 ;
18116 bool result;
ae8162c8 18117 bool temp2 = false ;
d55e5bfc
RD
18118 PyObject * obj0 = 0 ;
18119 PyObject * obj1 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "key", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18127 {
18128 arg2 = wxString_in_helper(obj1);
18129 if (arg2 == NULL) SWIG_fail;
ae8162c8 18130 temp2 = true;
d55e5bfc
RD
18131 }
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 {
18140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18141 }
18142 {
18143 if (temp2)
18144 delete arg2;
18145 }
18146 return resultobj;
18147 fail:
18148 {
18149 if (temp2)
18150 delete arg2;
18151 }
18152 return NULL;
18153}
18154
18155
c32bde28 18156static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18157 PyObject *resultobj;
18158 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18159 bool result;
18160 PyObject * obj0 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
18166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (bool)(arg1)->DeleteAll();
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 {
18176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18177 }
18178 return resultobj;
18179 fail:
18180 return NULL;
18181}
18182
18183
c32bde28 18184static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18185 PyObject *resultobj;
18186 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18187 bool arg2 = (bool) true ;
d55e5bfc
RD
18188 PyObject * obj0 = 0 ;
18189 PyObject * obj1 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "doIt", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18197 if (obj1) {
093d3ff1
RD
18198 {
18199 arg2 = (bool)(SWIG_As_bool(obj1));
18200 if (SWIG_arg_fail(2)) SWIG_fail;
18201 }
d55e5bfc
RD
18202 }
18203 {
18204 PyThreadState* __tstate = wxPyBeginAllowThreads();
18205 (arg1)->SetExpandEnvVars(arg2);
18206
18207 wxPyEndAllowThreads(__tstate);
18208 if (PyErr_Occurred()) SWIG_fail;
18209 }
18210 Py_INCREF(Py_None); resultobj = Py_None;
18211 return resultobj;
18212 fail:
18213 return NULL;
18214}
18215
18216
c32bde28 18217static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18218 PyObject *resultobj;
18219 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18220 bool result;
18221 PyObject * obj0 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
18227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 {
18237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18238 }
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
c32bde28 18245static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18246 PyObject *resultobj;
18247 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18248 bool arg2 = (bool) true ;
d55e5bfc
RD
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self",(char *) "doIt", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18258 if (obj1) {
093d3ff1
RD
18259 {
18260 arg2 = (bool)(SWIG_As_bool(obj1));
18261 if (SWIG_arg_fail(2)) SWIG_fail;
18262 }
d55e5bfc
RD
18263 }
18264 {
18265 PyThreadState* __tstate = wxPyBeginAllowThreads();
18266 (arg1)->SetRecordDefaults(arg2);
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 Py_INCREF(Py_None); resultobj = Py_None;
18272 return resultobj;
18273 fail:
18274 return NULL;
18275}
18276
18277
c32bde28 18278static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18279 PyObject *resultobj;
18280 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18281 bool result;
18282 PyObject * obj0 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
18288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 {
18298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18299 }
18300 return resultobj;
18301 fail:
18302 return NULL;
18303}
18304
18305
c32bde28 18306static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18307 PyObject *resultobj;
18308 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18309 wxString *arg2 = 0 ;
18310 wxString result;
ae8162c8 18311 bool temp2 = false ;
d55e5bfc
RD
18312 PyObject * obj0 = 0 ;
18313 PyObject * obj1 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self",(char *) "str", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18321 {
18322 arg2 = wxString_in_helper(obj1);
18323 if (arg2 == NULL) SWIG_fail;
ae8162c8 18324 temp2 = true;
d55e5bfc
RD
18325 }
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 {
18334#if wxUSE_UNICODE
18335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18336#else
18337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18338#endif
18339 }
18340 {
18341 if (temp2)
18342 delete arg2;
18343 }
18344 return resultobj;
18345 fail:
18346 {
18347 if (temp2)
18348 delete arg2;
18349 }
18350 return NULL;
18351}
18352
18353
c32bde28 18354static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18355 PyObject *resultobj;
18356 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18357 wxString result;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 result = ((wxConfigBase const *)arg1)->GetAppName();
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 {
18374#if wxUSE_UNICODE
18375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18376#else
18377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18378#endif
18379 }
18380 return resultobj;
18381 fail:
18382 return NULL;
18383}
18384
18385
c32bde28 18386static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18387 PyObject *resultobj;
18388 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18389 wxString result;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 result = ((wxConfigBase const *)arg1)->GetVendorName();
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 {
18406#if wxUSE_UNICODE
18407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18408#else
18409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18410#endif
18411 }
18412 return resultobj;
18413 fail:
18414 return NULL;
18415}
18416
18417
c32bde28 18418static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18419 PyObject *resultobj;
18420 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18421 wxString *arg2 = 0 ;
ae8162c8 18422 bool temp2 = false ;
d55e5bfc
RD
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self",(char *) "appName", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18432 {
18433 arg2 = wxString_in_helper(obj1);
18434 if (arg2 == NULL) SWIG_fail;
ae8162c8 18435 temp2 = true;
d55e5bfc
RD
18436 }
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 (arg1)->SetAppName((wxString const &)*arg2);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 Py_INCREF(Py_None); resultobj = Py_None;
18445 {
18446 if (temp2)
18447 delete arg2;
18448 }
18449 return resultobj;
18450 fail:
18451 {
18452 if (temp2)
18453 delete arg2;
18454 }
18455 return NULL;
18456}
18457
18458
c32bde28 18459static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18460 PyObject *resultobj;
18461 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18462 wxString *arg2 = 0 ;
ae8162c8 18463 bool temp2 = false ;
d55e5bfc
RD
18464 PyObject * obj0 = 0 ;
18465 PyObject * obj1 = 0 ;
18466 char *kwnames[] = {
18467 (char *) "self",(char *) "vendorName", NULL
18468 };
18469
18470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18473 {
18474 arg2 = wxString_in_helper(obj1);
18475 if (arg2 == NULL) SWIG_fail;
ae8162c8 18476 temp2 = true;
d55e5bfc
RD
18477 }
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 (arg1)->SetVendorName((wxString const &)*arg2);
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 Py_INCREF(Py_None); resultobj = Py_None;
18486 {
18487 if (temp2)
18488 delete arg2;
18489 }
18490 return resultobj;
18491 fail:
18492 {
18493 if (temp2)
18494 delete arg2;
18495 }
18496 return NULL;
18497}
18498
18499
c32bde28 18500static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18501 PyObject *resultobj;
18502 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18503 long arg2 ;
18504 PyObject * obj0 = 0 ;
18505 PyObject * obj1 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self",(char *) "style", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail;
18513 {
18514 arg2 = (long)(SWIG_As_long(obj1));
18515 if (SWIG_arg_fail(2)) SWIG_fail;
18516 }
d55e5bfc
RD
18517 {
18518 PyThreadState* __tstate = wxPyBeginAllowThreads();
18519 (arg1)->SetStyle(arg2);
18520
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 Py_INCREF(Py_None); resultobj = Py_None;
18525 return resultobj;
18526 fail:
18527 return NULL;
18528}
18529
18530
c32bde28 18531static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18532 PyObject *resultobj;
18533 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18534 long result;
18535 PyObject * obj0 = 0 ;
18536 char *kwnames[] = {
18537 (char *) "self", NULL
18538 };
18539
18540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (long)((wxConfigBase const *)arg1)->GetStyle();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
093d3ff1
RD
18550 {
18551 resultobj = SWIG_From_long((long)(result));
18552 }
d55e5bfc
RD
18553 return resultobj;
18554 fail:
18555 return NULL;
18556}
18557
18558
c32bde28 18559static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18560 PyObject *obj;
18561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18562 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
18563 Py_INCREF(obj);
18564 return Py_BuildValue((char *)"");
18565}
c32bde28 18566static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18567 PyObject *resultobj;
18568 wxString const &arg1_defvalue = wxPyEmptyString ;
18569 wxString *arg1 = (wxString *) &arg1_defvalue ;
18570 wxString const &arg2_defvalue = wxPyEmptyString ;
18571 wxString *arg2 = (wxString *) &arg2_defvalue ;
18572 wxString const &arg3_defvalue = wxPyEmptyString ;
18573 wxString *arg3 = (wxString *) &arg3_defvalue ;
18574 wxString const &arg4_defvalue = wxPyEmptyString ;
18575 wxString *arg4 = (wxString *) &arg4_defvalue ;
18576 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18577 wxConfig *result;
ae8162c8
RD
18578 bool temp1 = false ;
18579 bool temp2 = false ;
18580 bool temp3 = false ;
18581 bool temp4 = false ;
d55e5bfc
RD
18582 PyObject * obj0 = 0 ;
18583 PyObject * obj1 = 0 ;
18584 PyObject * obj2 = 0 ;
18585 PyObject * obj3 = 0 ;
18586 PyObject * obj4 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18592 if (obj0) {
18593 {
18594 arg1 = wxString_in_helper(obj0);
18595 if (arg1 == NULL) SWIG_fail;
ae8162c8 18596 temp1 = true;
d55e5bfc
RD
18597 }
18598 }
18599 if (obj1) {
18600 {
18601 arg2 = wxString_in_helper(obj1);
18602 if (arg2 == NULL) SWIG_fail;
ae8162c8 18603 temp2 = true;
d55e5bfc
RD
18604 }
18605 }
18606 if (obj2) {
18607 {
18608 arg3 = wxString_in_helper(obj2);
18609 if (arg3 == NULL) SWIG_fail;
ae8162c8 18610 temp3 = true;
d55e5bfc
RD
18611 }
18612 }
18613 if (obj3) {
18614 {
18615 arg4 = wxString_in_helper(obj3);
18616 if (arg4 == NULL) SWIG_fail;
ae8162c8 18617 temp4 = true;
d55e5bfc
RD
18618 }
18619 }
18620 if (obj4) {
093d3ff1
RD
18621 {
18622 arg5 = (long)(SWIG_As_long(obj4));
18623 if (SWIG_arg_fail(5)) SWIG_fail;
18624 }
d55e5bfc
RD
18625 }
18626 {
18627 PyThreadState* __tstate = wxPyBeginAllowThreads();
18628 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
18634 {
18635 if (temp1)
18636 delete arg1;
18637 }
18638 {
18639 if (temp2)
18640 delete arg2;
18641 }
18642 {
18643 if (temp3)
18644 delete arg3;
18645 }
18646 {
18647 if (temp4)
18648 delete arg4;
18649 }
18650 return resultobj;
18651 fail:
18652 {
18653 if (temp1)
18654 delete arg1;
18655 }
18656 {
18657 if (temp2)
18658 delete arg2;
18659 }
18660 {
18661 if (temp3)
18662 delete arg3;
18663 }
18664 {
18665 if (temp4)
18666 delete arg4;
18667 }
18668 return NULL;
18669}
18670
18671
c32bde28 18672static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18673 PyObject *resultobj;
18674 wxConfig *arg1 = (wxConfig *) 0 ;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
18681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
18682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 delete arg1;
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694}
18695
18696
c32bde28 18697static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18698 PyObject *obj;
18699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18700 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
18701 Py_INCREF(obj);
18702 return Py_BuildValue((char *)"");
18703}
c32bde28 18704static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18705 PyObject *resultobj;
18706 wxString const &arg1_defvalue = wxPyEmptyString ;
18707 wxString *arg1 = (wxString *) &arg1_defvalue ;
18708 wxString const &arg2_defvalue = wxPyEmptyString ;
18709 wxString *arg2 = (wxString *) &arg2_defvalue ;
18710 wxString const &arg3_defvalue = wxPyEmptyString ;
18711 wxString *arg3 = (wxString *) &arg3_defvalue ;
18712 wxString const &arg4_defvalue = wxPyEmptyString ;
18713 wxString *arg4 = (wxString *) &arg4_defvalue ;
18714 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18715 wxFileConfig *result;
ae8162c8
RD
18716 bool temp1 = false ;
18717 bool temp2 = false ;
18718 bool temp3 = false ;
18719 bool temp4 = false ;
d55e5bfc
RD
18720 PyObject * obj0 = 0 ;
18721 PyObject * obj1 = 0 ;
18722 PyObject * obj2 = 0 ;
18723 PyObject * obj3 = 0 ;
18724 PyObject * obj4 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18730 if (obj0) {
18731 {
18732 arg1 = wxString_in_helper(obj0);
18733 if (arg1 == NULL) SWIG_fail;
ae8162c8 18734 temp1 = true;
d55e5bfc
RD
18735 }
18736 }
18737 if (obj1) {
18738 {
18739 arg2 = wxString_in_helper(obj1);
18740 if (arg2 == NULL) SWIG_fail;
ae8162c8 18741 temp2 = true;
d55e5bfc
RD
18742 }
18743 }
18744 if (obj2) {
18745 {
18746 arg3 = wxString_in_helper(obj2);
18747 if (arg3 == NULL) SWIG_fail;
ae8162c8 18748 temp3 = true;
d55e5bfc
RD
18749 }
18750 }
18751 if (obj3) {
18752 {
18753 arg4 = wxString_in_helper(obj3);
18754 if (arg4 == NULL) SWIG_fail;
ae8162c8 18755 temp4 = true;
d55e5bfc
RD
18756 }
18757 }
18758 if (obj4) {
093d3ff1
RD
18759 {
18760 arg5 = (long)(SWIG_As_long(obj4));
18761 if (SWIG_arg_fail(5)) SWIG_fail;
18762 }
d55e5bfc
RD
18763 }
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
18772 {
18773 if (temp1)
18774 delete arg1;
18775 }
18776 {
18777 if (temp2)
18778 delete arg2;
18779 }
18780 {
18781 if (temp3)
18782 delete arg3;
18783 }
18784 {
18785 if (temp4)
18786 delete arg4;
18787 }
18788 return resultobj;
18789 fail:
18790 {
18791 if (temp1)
18792 delete arg1;
18793 }
18794 {
18795 if (temp2)
18796 delete arg2;
18797 }
18798 {
18799 if (temp3)
18800 delete arg3;
18801 }
18802 {
18803 if (temp4)
18804 delete arg4;
18805 }
18806 return NULL;
18807}
18808
18809
c32bde28 18810static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18811 PyObject *resultobj;
18812 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
18819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
18820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 delete arg1;
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 Py_INCREF(Py_None); resultobj = Py_None;
18829 return resultobj;
18830 fail:
18831 return NULL;
18832}
18833
18834
c32bde28 18835static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18836 PyObject *obj;
18837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18838 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
18839 Py_INCREF(obj);
18840 return Py_BuildValue((char *)"");
18841}
c32bde28 18842static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18843 PyObject *resultobj;
18844 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18845 wxString *arg2 = 0 ;
18846 wxConfigPathChanger *result;
ae8162c8 18847 bool temp2 = false ;
d55e5bfc
RD
18848 PyObject * obj0 = 0 ;
18849 PyObject * obj1 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "config",(char *) "entry", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18857 {
18858 arg2 = wxString_in_helper(obj1);
18859 if (arg2 == NULL) SWIG_fail;
ae8162c8 18860 temp2 = true;
d55e5bfc
RD
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
18870 {
18871 if (temp2)
18872 delete arg2;
18873 }
18874 return resultobj;
18875 fail:
18876 {
18877 if (temp2)
18878 delete arg2;
18879 }
18880 return NULL;
18881}
18882
18883
c32bde28 18884static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18885 PyObject *resultobj;
18886 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
18893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 delete arg1;
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 return resultobj;
18904 fail:
18905 return NULL;
18906}
18907
18908
c32bde28 18909static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18910 PyObject *resultobj;
18911 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18912 wxString *result;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
18919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
18923 {
18924 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
18925 result = (wxString *) &_result_ref;
18926 }
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 {
18932#if wxUSE_UNICODE
18933 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18934#else
18935 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18936#endif
18937 }
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
c32bde28 18944static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18945 PyObject *obj;
18946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18947 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
18948 Py_INCREF(obj);
18949 return Py_BuildValue((char *)"");
18950}
c32bde28 18951static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18952 PyObject *resultobj;
18953 wxString *arg1 = 0 ;
18954 wxString result;
ae8162c8 18955 bool temp1 = false ;
d55e5bfc
RD
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "sz", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
18962 {
18963 arg1 = wxString_in_helper(obj0);
18964 if (arg1 == NULL) SWIG_fail;
ae8162c8 18965 temp1 = true;
d55e5bfc
RD
18966 }
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 result = wxExpandEnvVars((wxString const &)*arg1);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975#if wxUSE_UNICODE
18976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18977#else
18978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18979#endif
18980 }
18981 {
18982 if (temp1)
18983 delete arg1;
18984 }
18985 return resultobj;
18986 fail:
18987 {
18988 if (temp1)
18989 delete arg1;
18990 }
18991 return NULL;
18992}
18993
18994
fef4c27a
RD
18995static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
18996 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
18997 return 1;
18998}
18999
19000
fef4c27a 19001static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
d55e5bfc
RD
19002 PyObject *pyobj;
19003
19004 {
19005#if wxUSE_UNICODE
fef4c27a 19006 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 19007#else
fef4c27a 19008 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
19009#endif
19010 }
19011 return pyobj;
19012}
19013
19014
fef4c27a
RD
19015static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19016 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
19017 return 1;
19018}
19019
19020
fef4c27a 19021static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
d55e5bfc
RD
19022 PyObject *pyobj;
19023
19024 {
19025#if wxUSE_UNICODE
fef4c27a 19026 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 19027#else
fef4c27a 19028 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
19029#endif
19030 }
19031 return pyobj;
19032}
19033
19034
c32bde28 19035static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19036 PyObject *resultobj;
093d3ff1 19037 wxDateTime::Country arg1 ;
d55e5bfc
RD
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "country", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1
RD
19044 {
19045 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19046 if (SWIG_arg_fail(1)) SWIG_fail;
19047 }
d55e5bfc
RD
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 wxDateTime::SetCountry((wxDateTime::Country )arg1);
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 Py_INCREF(Py_None); resultobj = Py_None;
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
c32bde28 19062static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19063 PyObject *resultobj;
093d3ff1 19064 wxDateTime::Country result;
d55e5bfc
RD
19065 char *kwnames[] = {
19066 NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19072 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
093d3ff1 19077 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19078 return resultobj;
19079 fail:
19080 return NULL;
19081}
19082
19083
c32bde28 19084static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19085 PyObject *resultobj;
093d3ff1 19086 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19087 bool result;
19088 PyObject * obj0 = 0 ;
19089 char *kwnames[] = {
19090 (char *) "country", NULL
19091 };
19092
19093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
19094 if (obj0) {
093d3ff1
RD
19095 {
19096 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19097 if (SWIG_arg_fail(1)) SWIG_fail;
19098 }
d55e5bfc
RD
19099 }
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 {
19108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19109 }
19110 return resultobj;
19111 fail:
19112 return NULL;
19113}
19114
19115
c32bde28 19116static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19117 PyObject *resultobj;
093d3ff1 19118 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19119 int result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "cal", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
19126 if (obj0) {
093d3ff1
RD
19127 {
19128 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19129 if (SWIG_arg_fail(1)) SWIG_fail;
19130 }
d55e5bfc
RD
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
093d3ff1
RD
19139 {
19140 resultobj = SWIG_From_int((int)(result));
19141 }
d55e5bfc
RD
19142 return resultobj;
19143 fail:
19144 return NULL;
19145}
19146
19147
c32bde28 19148static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19149 PyObject *resultobj;
19150 int arg1 ;
19151 int result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "year", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1
RD
19158 {
19159 arg1 = (int)(SWIG_As_int(obj0));
19160 if (SWIG_arg_fail(1)) SWIG_fail;
19161 }
d55e5bfc
RD
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = (int)wxDateTime::ConvertYearToBC(arg1);
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
093d3ff1
RD
19169 {
19170 resultobj = SWIG_From_int((int)(result));
19171 }
d55e5bfc
RD
19172 return resultobj;
19173 fail:
19174 return NULL;
19175}
19176
19177
c32bde28 19178static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19179 PyObject *resultobj;
093d3ff1
RD
19180 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19181 wxDateTime::Month result;
d55e5bfc
RD
19182 PyObject * obj0 = 0 ;
19183 char *kwnames[] = {
19184 (char *) "cal", NULL
19185 };
19186
19187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
19188 if (obj0) {
093d3ff1
RD
19189 {
19190 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19191 if (SWIG_arg_fail(1)) SWIG_fail;
19192 }
d55e5bfc
RD
19193 }
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19196 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
d55e5bfc
RD
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
093d3ff1 19201 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
c32bde28 19208static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19209 PyObject *resultobj;
19210 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19211 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19212 bool result;
19213 PyObject * obj0 = 0 ;
19214 PyObject * obj1 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "year",(char *) "cal", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
19220 if (obj0) {
093d3ff1
RD
19221 {
19222 arg1 = (int)(SWIG_As_int(obj0));
19223 if (SWIG_arg_fail(1)) SWIG_fail;
19224 }
d55e5bfc
RD
19225 }
19226 if (obj1) {
093d3ff1
RD
19227 {
19228 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19229 if (SWIG_arg_fail(2)) SWIG_fail;
19230 }
d55e5bfc
RD
19231 }
19232 {
19233 PyThreadState* __tstate = wxPyBeginAllowThreads();
19234 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
19235
19236 wxPyEndAllowThreads(__tstate);
19237 if (PyErr_Occurred()) SWIG_fail;
19238 }
19239 {
19240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245}
19246
19247
c32bde28 19248static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19249 PyObject *resultobj;
19250 int arg1 = (int) wxDateTime::Inv_Year ;
19251 int result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "year", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
19258 if (obj0) {
093d3ff1
RD
19259 {
19260 arg1 = (int)(SWIG_As_int(obj0));
19261 if (SWIG_arg_fail(1)) SWIG_fail;
19262 }
d55e5bfc
RD
19263 }
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = (int)wxDateTime::GetCentury(arg1);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
093d3ff1
RD
19271 {
19272 resultobj = SWIG_From_int((int)(result));
19273 }
d55e5bfc
RD
19274 return resultobj;
19275 fail:
19276 return NULL;
19277}
19278
19279
c32bde28 19280static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19281 PyObject *resultobj;
19282 int arg1 ;
093d3ff1 19283 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19284 int result;
19285 PyObject * obj0 = 0 ;
19286 PyObject * obj1 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "year",(char *) "cal", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19292 {
19293 arg1 = (int)(SWIG_As_int(obj0));
19294 if (SWIG_arg_fail(1)) SWIG_fail;
19295 }
d55e5bfc 19296 if (obj1) {
093d3ff1
RD
19297 {
19298 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19299 if (SWIG_arg_fail(2)) SWIG_fail;
19300 }
d55e5bfc
RD
19301 }
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
093d3ff1
RD
19309 {
19310 resultobj = SWIG_From_int((int)(result));
19311 }
d55e5bfc
RD
19312 return resultobj;
19313 fail:
19314 return NULL;
19315}
19316
19317
c32bde28 19318static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19319 PyObject *resultobj;
093d3ff1 19320 wxDateTime::Month arg1 ;
d55e5bfc 19321 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 19322 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19323 int result;
19324 PyObject * obj0 = 0 ;
19325 PyObject * obj1 = 0 ;
19326 PyObject * obj2 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "month",(char *) "year",(char *) "cal", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19332 {
19333 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19334 if (SWIG_arg_fail(1)) SWIG_fail;
19335 }
d55e5bfc 19336 if (obj1) {
093d3ff1
RD
19337 {
19338 arg2 = (int)(SWIG_As_int(obj1));
19339 if (SWIG_arg_fail(2)) SWIG_fail;
19340 }
d55e5bfc
RD
19341 }
19342 if (obj2) {
093d3ff1
RD
19343 {
19344 arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
19345 if (SWIG_arg_fail(3)) SWIG_fail;
19346 }
d55e5bfc
RD
19347 }
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
093d3ff1
RD
19355 {
19356 resultobj = SWIG_From_int((int)(result));
19357 }
d55e5bfc
RD
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c32bde28 19364static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19365 PyObject *resultobj;
093d3ff1
RD
19366 wxDateTime::Month arg1 ;
19367 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19368 wxString result;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "month",(char *) "flags", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19376 {
19377 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19378 if (SWIG_arg_fail(1)) SWIG_fail;
19379 }
d55e5bfc 19380 if (obj1) {
093d3ff1
RD
19381 {
19382 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19383 if (SWIG_arg_fail(2)) SWIG_fail;
19384 }
d55e5bfc
RD
19385 }
19386 {
19387 PyThreadState* __tstate = wxPyBeginAllowThreads();
19388 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
19389
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 {
19394#if wxUSE_UNICODE
19395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19396#else
19397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19398#endif
19399 }
19400 return resultobj;
19401 fail:
19402 return NULL;
19403}
19404
19405
c32bde28 19406static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19407 PyObject *resultobj;
093d3ff1
RD
19408 wxDateTime::WeekDay arg1 ;
19409 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19410 wxString result;
19411 PyObject * obj0 = 0 ;
19412 PyObject * obj1 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "weekday",(char *) "flags", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19418 {
19419 arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
19420 if (SWIG_arg_fail(1)) SWIG_fail;
19421 }
d55e5bfc 19422 if (obj1) {
093d3ff1
RD
19423 {
19424 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19425 if (SWIG_arg_fail(2)) SWIG_fail;
19426 }
d55e5bfc
RD
19427 }
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 {
19436#if wxUSE_UNICODE
19437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19438#else
19439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19440#endif
19441 }
19442 return resultobj;
19443 fail:
19444 return NULL;
19445}
19446
19447
c32bde28 19448static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19449 PyObject *resultobj;
b9d6a5f3 19450 PyObject *result;
d55e5bfc 19451 char *kwnames[] = {
b9d6a5f3 19452 NULL
d55e5bfc
RD
19453 };
19454
b9d6a5f3 19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
b9d6a5f3 19458 result = (PyObject *)DateTime_GetAmPmStrings();
d55e5bfc
RD
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
b9d6a5f3 19463 resultobj = result;
d55e5bfc
RD
19464 return resultobj;
19465 fail:
d55e5bfc
RD
19466 return NULL;
19467}
19468
19469
c32bde28 19470static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19471 PyObject *resultobj;
19472 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19473 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19474 bool result;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "year",(char *) "country", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
19482 if (obj0) {
093d3ff1
RD
19483 {
19484 arg1 = (int)(SWIG_As_int(obj0));
19485 if (SWIG_arg_fail(1)) SWIG_fail;
19486 }
d55e5bfc
RD
19487 }
19488 if (obj1) {
093d3ff1
RD
19489 {
19490 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19491 if (SWIG_arg_fail(2)) SWIG_fail;
19492 }
d55e5bfc
RD
19493 }
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 {
19502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19503 }
19504 return resultobj;
19505 fail:
19506 return NULL;
19507}
19508
19509
c32bde28 19510static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19511 PyObject *resultobj;
19512 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19513 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19514 wxDateTime result;
19515 PyObject * obj0 = 0 ;
19516 PyObject * obj1 = 0 ;
19517 char *kwnames[] = {
19518 (char *) "year",(char *) "country", NULL
19519 };
19520
19521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
19522 if (obj0) {
093d3ff1
RD
19523 {
19524 arg1 = (int)(SWIG_As_int(obj0));
19525 if (SWIG_arg_fail(1)) SWIG_fail;
19526 }
d55e5bfc
RD
19527 }
19528 if (obj1) {
093d3ff1
RD
19529 {
19530 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19531 if (SWIG_arg_fail(2)) SWIG_fail;
19532 }
d55e5bfc
RD
19533 }
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 {
19542 wxDateTime * resultptr;
093d3ff1 19543 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19545 }
19546 return resultobj;
19547 fail:
19548 return NULL;
19549}
19550
19551
c32bde28 19552static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19553 PyObject *resultobj;
19554 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19555 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19556 wxDateTime result;
19557 PyObject * obj0 = 0 ;
19558 PyObject * obj1 = 0 ;
19559 char *kwnames[] = {
19560 (char *) "year",(char *) "country", NULL
19561 };
19562
19563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
19564 if (obj0) {
093d3ff1
RD
19565 {
19566 arg1 = (int)(SWIG_As_int(obj0));
19567 if (SWIG_arg_fail(1)) SWIG_fail;
19568 }
d55e5bfc
RD
19569 }
19570 if (obj1) {
093d3ff1
RD
19571 {
19572 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19573 if (SWIG_arg_fail(2)) SWIG_fail;
19574 }
d55e5bfc
RD
19575 }
19576 {
19577 PyThreadState* __tstate = wxPyBeginAllowThreads();
19578 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
19579
19580 wxPyEndAllowThreads(__tstate);
19581 if (PyErr_Occurred()) SWIG_fail;
19582 }
19583 {
19584 wxDateTime * resultptr;
093d3ff1 19585 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19587 }
19588 return resultobj;
19589 fail:
19590 return NULL;
19591}
19592
19593
c32bde28 19594static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19595 PyObject *resultobj;
19596 wxDateTime result;
19597 char *kwnames[] = {
19598 NULL
19599 };
19600
19601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 result = wxDateTime::Now();
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 {
19610 wxDateTime * resultptr;
093d3ff1 19611 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19613 }
19614 return resultobj;
19615 fail:
19616 return NULL;
19617}
19618
19619
c32bde28 19620static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19621 PyObject *resultobj;
19622 wxDateTime result;
19623 char *kwnames[] = {
19624 NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 result = wxDateTime::UNow();
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 {
19636 wxDateTime * resultptr;
093d3ff1 19637 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19639 }
19640 return resultobj;
19641 fail:
19642 return NULL;
19643}
19644
19645
c32bde28 19646static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19647 PyObject *resultobj;
19648 wxDateTime result;
19649 char *kwnames[] = {
19650 NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
19654 {
19655 PyThreadState* __tstate = wxPyBeginAllowThreads();
19656 result = wxDateTime::Today();
19657
19658 wxPyEndAllowThreads(__tstate);
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 wxDateTime * resultptr;
093d3ff1 19663 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19664 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19665 }
19666 return resultobj;
19667 fail:
19668 return NULL;
19669}
19670
19671
c32bde28 19672static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19673 PyObject *resultobj;
19674 wxDateTime *result;
19675 char *kwnames[] = {
19676 NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 result = (wxDateTime *)new wxDateTime();
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19688 return resultobj;
19689 fail:
19690 return NULL;
19691}
19692
19693
c32bde28 19694static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19695 PyObject *resultobj;
19696 time_t arg1 ;
19697 wxDateTime *result;
19698 PyObject * obj0 = 0 ;
19699 char *kwnames[] = {
19700 (char *) "timet", NULL
19701 };
19702
19703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1
RD
19704 {
19705 arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
19706 if (SWIG_arg_fail(1)) SWIG_fail;
19707 }
d55e5bfc
RD
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = (wxDateTime *)new wxDateTime(arg1);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19716 return resultobj;
19717 fail:
19718 return NULL;
19719}
19720
19721
c32bde28 19722static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19723 PyObject *resultobj;
19724 double arg1 ;
19725 wxDateTime *result;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "jdn", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
19732 {
19733 arg1 = (double)(SWIG_As_double(obj0));
19734 if (SWIG_arg_fail(1)) SWIG_fail;
19735 }
d55e5bfc
RD
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 result = (wxDateTime *)new wxDateTime(arg1);
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
c32bde28 19750static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19751 PyObject *resultobj;
19752 int arg1 ;
19753 int arg2 = (int) 0 ;
19754 int arg3 = (int) 0 ;
19755 int arg4 = (int) 0 ;
19756 wxDateTime *result;
19757 PyObject * obj0 = 0 ;
19758 PyObject * obj1 = 0 ;
19759 PyObject * obj2 = 0 ;
19760 PyObject * obj3 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
19766 {
19767 arg1 = (int)(SWIG_As_int(obj0));
19768 if (SWIG_arg_fail(1)) SWIG_fail;
19769 }
d55e5bfc 19770 if (obj1) {
093d3ff1
RD
19771 {
19772 arg2 = (int)(SWIG_As_int(obj1));
19773 if (SWIG_arg_fail(2)) SWIG_fail;
19774 }
d55e5bfc
RD
19775 }
19776 if (obj2) {
093d3ff1
RD
19777 {
19778 arg3 = (int)(SWIG_As_int(obj2));
19779 if (SWIG_arg_fail(3)) SWIG_fail;
19780 }
d55e5bfc
RD
19781 }
19782 if (obj3) {
093d3ff1
RD
19783 {
19784 arg4 = (int)(SWIG_As_int(obj3));
19785 if (SWIG_arg_fail(4)) SWIG_fail;
19786 }
d55e5bfc
RD
19787 }
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799}
19800
19801
c32bde28 19802static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19803 PyObject *resultobj;
19804 int arg1 ;
093d3ff1 19805 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
19806 int arg3 = (int) wxDateTime::Inv_Year ;
19807 int arg4 = (int) 0 ;
19808 int arg5 = (int) 0 ;
19809 int arg6 = (int) 0 ;
19810 int arg7 = (int) 0 ;
19811 wxDateTime *result;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 PyObject * obj2 = 0 ;
19815 PyObject * obj3 = 0 ;
19816 PyObject * obj4 = 0 ;
19817 PyObject * obj5 = 0 ;
19818 PyObject * obj6 = 0 ;
19819 char *kwnames[] = {
19820 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19821 };
19822
19823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
19824 {
19825 arg1 = (int)(SWIG_As_int(obj0));
19826 if (SWIG_arg_fail(1)) SWIG_fail;
19827 }
d55e5bfc 19828 if (obj1) {
093d3ff1
RD
19829 {
19830 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
19831 if (SWIG_arg_fail(2)) SWIG_fail;
19832 }
d55e5bfc
RD
19833 }
19834 if (obj2) {
093d3ff1
RD
19835 {
19836 arg3 = (int)(SWIG_As_int(obj2));
19837 if (SWIG_arg_fail(3)) SWIG_fail;
19838 }
d55e5bfc
RD
19839 }
19840 if (obj3) {
093d3ff1
RD
19841 {
19842 arg4 = (int)(SWIG_As_int(obj3));
19843 if (SWIG_arg_fail(4)) SWIG_fail;
19844 }
d55e5bfc
RD
19845 }
19846 if (obj4) {
093d3ff1
RD
19847 {
19848 arg5 = (int)(SWIG_As_int(obj4));
19849 if (SWIG_arg_fail(5)) SWIG_fail;
19850 }
d55e5bfc
RD
19851 }
19852 if (obj5) {
093d3ff1
RD
19853 {
19854 arg6 = (int)(SWIG_As_int(obj5));
19855 if (SWIG_arg_fail(6)) SWIG_fail;
19856 }
d55e5bfc
RD
19857 }
19858 if (obj6) {
093d3ff1
RD
19859 {
19860 arg7 = (int)(SWIG_As_int(obj6));
19861 if (SWIG_arg_fail(7)) SWIG_fail;
19862 }
d55e5bfc
RD
19863 }
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
c32bde28 19878static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19879 PyObject *resultobj;
19880 wxDateTime *arg1 = (wxDateTime *) 0 ;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
19887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 delete arg1;
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 Py_INCREF(Py_None); resultobj = Py_None;
19897 return resultobj;
19898 fail:
19899 return NULL;
19900}
19901
19902
c32bde28 19903static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19904 PyObject *resultobj;
19905 wxDateTime *arg1 = (wxDateTime *) 0 ;
19906 wxDateTime *result;
19907 PyObject * obj0 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
19913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 {
19918 wxDateTime &_result_ref = (arg1)->SetToCurrent();
19919 result = (wxDateTime *) &_result_ref;
19920 }
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19926 return resultobj;
19927 fail:
19928 return NULL;
19929}
19930
19931
c32bde28 19932static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19933 PyObject *resultobj;
19934 wxDateTime *arg1 = (wxDateTime *) 0 ;
19935 time_t arg2 ;
19936 wxDateTime *result;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "timet", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19945 if (SWIG_arg_fail(1)) SWIG_fail;
19946 {
19947 arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
19948 if (SWIG_arg_fail(2)) SWIG_fail;
19949 }
d55e5bfc
RD
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 {
19953 wxDateTime &_result_ref = (arg1)->Set(arg2);
19954 result = (wxDateTime *) &_result_ref;
19955 }
19956
19957 wxPyEndAllowThreads(__tstate);
19958 if (PyErr_Occurred()) SWIG_fail;
19959 }
19960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19961 return resultobj;
19962 fail:
19963 return NULL;
19964}
19965
19966
c32bde28 19967static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19968 PyObject *resultobj;
19969 wxDateTime *arg1 = (wxDateTime *) 0 ;
19970 double arg2 ;
19971 wxDateTime *result;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "jdn", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail;
19981 {
19982 arg2 = (double)(SWIG_As_double(obj1));
19983 if (SWIG_arg_fail(2)) SWIG_fail;
19984 }
d55e5bfc
RD
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 {
19988 wxDateTime &_result_ref = (arg1)->Set(arg2);
19989 result = (wxDateTime *) &_result_ref;
19990 }
19991
19992 wxPyEndAllowThreads(__tstate);
19993 if (PyErr_Occurred()) SWIG_fail;
19994 }
19995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19996 return resultobj;
19997 fail:
19998 return NULL;
19999}
20000
20001
c32bde28 20002static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20003 PyObject *resultobj;
20004 wxDateTime *arg1 = (wxDateTime *) 0 ;
20005 int arg2 ;
20006 int arg3 = (int) 0 ;
20007 int arg4 = (int) 0 ;
20008 int arg5 = (int) 0 ;
20009 wxDateTime *result;
20010 PyObject * obj0 = 0 ;
20011 PyObject * obj1 = 0 ;
20012 PyObject * obj2 = 0 ;
20013 PyObject * obj3 = 0 ;
20014 PyObject * obj4 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20021 if (SWIG_arg_fail(1)) SWIG_fail;
20022 {
20023 arg2 = (int)(SWIG_As_int(obj1));
20024 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 20025 }
093d3ff1
RD
20026 if (obj2) {
20027 {
20028 arg3 = (int)(SWIG_As_int(obj2));
20029 if (SWIG_arg_fail(3)) SWIG_fail;
20030 }
20031 }
20032 if (obj3) {
20033 {
20034 arg4 = (int)(SWIG_As_int(obj3));
20035 if (SWIG_arg_fail(4)) SWIG_fail;
20036 }
d55e5bfc
RD
20037 }
20038 if (obj4) {
093d3ff1
RD
20039 {
20040 arg5 = (int)(SWIG_As_int(obj4));
20041 if (SWIG_arg_fail(5)) SWIG_fail;
20042 }
d55e5bfc
RD
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 {
20047 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
20048 result = (wxDateTime *) &_result_ref;
20049 }
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
20054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20055 return resultobj;
20056 fail:
20057 return NULL;
20058}
20059
20060
c32bde28 20061static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20062 PyObject *resultobj;
20063 wxDateTime *arg1 = (wxDateTime *) 0 ;
20064 int arg2 ;
093d3ff1 20065 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20066 int arg4 = (int) wxDateTime::Inv_Year ;
20067 int arg5 = (int) 0 ;
20068 int arg6 = (int) 0 ;
20069 int arg7 = (int) 0 ;
20070 int arg8 = (int) 0 ;
20071 wxDateTime *result;
20072 PyObject * obj0 = 0 ;
20073 PyObject * obj1 = 0 ;
20074 PyObject * obj2 = 0 ;
20075 PyObject * obj3 = 0 ;
20076 PyObject * obj4 = 0 ;
20077 PyObject * obj5 = 0 ;
20078 PyObject * obj6 = 0 ;
20079 PyObject * obj7 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20086 if (SWIG_arg_fail(1)) SWIG_fail;
20087 {
20088 arg2 = (int)(SWIG_As_int(obj1));
20089 if (SWIG_arg_fail(2)) SWIG_fail;
20090 }
d55e5bfc 20091 if (obj2) {
093d3ff1
RD
20092 {
20093 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20094 if (SWIG_arg_fail(3)) SWIG_fail;
20095 }
d55e5bfc
RD
20096 }
20097 if (obj3) {
093d3ff1
RD
20098 {
20099 arg4 = (int)(SWIG_As_int(obj3));
20100 if (SWIG_arg_fail(4)) SWIG_fail;
20101 }
d55e5bfc
RD
20102 }
20103 if (obj4) {
093d3ff1
RD
20104 {
20105 arg5 = (int)(SWIG_As_int(obj4));
20106 if (SWIG_arg_fail(5)) SWIG_fail;
20107 }
d55e5bfc
RD
20108 }
20109 if (obj5) {
093d3ff1
RD
20110 {
20111 arg6 = (int)(SWIG_As_int(obj5));
20112 if (SWIG_arg_fail(6)) SWIG_fail;
20113 }
d55e5bfc
RD
20114 }
20115 if (obj6) {
093d3ff1
RD
20116 {
20117 arg7 = (int)(SWIG_As_int(obj6));
20118 if (SWIG_arg_fail(7)) SWIG_fail;
20119 }
d55e5bfc
RD
20120 }
20121 if (obj7) {
093d3ff1
RD
20122 {
20123 arg8 = (int)(SWIG_As_int(obj7));
20124 if (SWIG_arg_fail(8)) SWIG_fail;
20125 }
d55e5bfc
RD
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 {
20130 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
20131 result = (wxDateTime *) &_result_ref;
20132 }
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20138 return resultobj;
20139 fail:
20140 return NULL;
20141}
20142
20143
c32bde28 20144static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20145 PyObject *resultobj;
20146 wxDateTime *arg1 = (wxDateTime *) 0 ;
20147 wxDateTime *result;
20148 PyObject * obj0 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 {
20159 wxDateTime &_result_ref = (arg1)->ResetTime();
20160 result = (wxDateTime *) &_result_ref;
20161 }
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20167 return resultobj;
20168 fail:
20169 return NULL;
20170}
20171
20172
c32bde28 20173static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20174 PyObject *resultobj;
20175 wxDateTime *arg1 = (wxDateTime *) 0 ;
20176 int arg2 ;
20177 wxDateTime *result;
20178 PyObject * obj0 = 0 ;
20179 PyObject * obj1 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "year", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20186 if (SWIG_arg_fail(1)) SWIG_fail;
20187 {
20188 arg2 = (int)(SWIG_As_int(obj1));
20189 if (SWIG_arg_fail(2)) SWIG_fail;
20190 }
d55e5bfc
RD
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 {
20194 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
20195 result = (wxDateTime *) &_result_ref;
20196 }
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
c32bde28 20208static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20209 PyObject *resultobj;
20210 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20211 wxDateTime::Month arg2 ;
d55e5bfc
RD
20212 wxDateTime *result;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self",(char *) "month", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20221 if (SWIG_arg_fail(1)) SWIG_fail;
20222 {
20223 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20224 if (SWIG_arg_fail(2)) SWIG_fail;
20225 }
d55e5bfc
RD
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 {
20229 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
20230 result = (wxDateTime *) &_result_ref;
20231 }
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c32bde28 20243static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20244 PyObject *resultobj;
20245 wxDateTime *arg1 = (wxDateTime *) 0 ;
20246 int arg2 ;
20247 wxDateTime *result;
20248 PyObject * obj0 = 0 ;
20249 PyObject * obj1 = 0 ;
20250 char *kwnames[] = {
20251 (char *) "self",(char *) "day", NULL
20252 };
20253
20254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20256 if (SWIG_arg_fail(1)) SWIG_fail;
20257 {
20258 arg2 = (int)(SWIG_As_int(obj1));
20259 if (SWIG_arg_fail(2)) SWIG_fail;
20260 }
d55e5bfc
RD
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 {
20264 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
20265 result = (wxDateTime *) &_result_ref;
20266 }
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20272 return resultobj;
20273 fail:
20274 return NULL;
20275}
20276
20277
c32bde28 20278static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20279 PyObject *resultobj;
20280 wxDateTime *arg1 = (wxDateTime *) 0 ;
20281 int arg2 ;
20282 wxDateTime *result;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self",(char *) "hour", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail;
20292 {
20293 arg2 = (int)(SWIG_As_int(obj1));
20294 if (SWIG_arg_fail(2)) SWIG_fail;
20295 }
d55e5bfc
RD
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 {
20299 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
20300 result = (wxDateTime *) &_result_ref;
20301 }
20302
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20307 return resultobj;
20308 fail:
20309 return NULL;
20310}
20311
20312
c32bde28 20313static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20314 PyObject *resultobj;
20315 wxDateTime *arg1 = (wxDateTime *) 0 ;
20316 int arg2 ;
20317 wxDateTime *result;
20318 PyObject * obj0 = 0 ;
20319 PyObject * obj1 = 0 ;
20320 char *kwnames[] = {
20321 (char *) "self",(char *) "minute", NULL
20322 };
20323
20324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail;
20327 {
20328 arg2 = (int)(SWIG_As_int(obj1));
20329 if (SWIG_arg_fail(2)) SWIG_fail;
20330 }
d55e5bfc
RD
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 {
20334 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
20335 result = (wxDateTime *) &_result_ref;
20336 }
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
c32bde28 20348static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20349 PyObject *resultobj;
20350 wxDateTime *arg1 = (wxDateTime *) 0 ;
20351 int arg2 ;
20352 wxDateTime *result;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "second", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20361 if (SWIG_arg_fail(1)) SWIG_fail;
20362 {
20363 arg2 = (int)(SWIG_As_int(obj1));
20364 if (SWIG_arg_fail(2)) SWIG_fail;
20365 }
d55e5bfc
RD
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 {
20369 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
20370 result = (wxDateTime *) &_result_ref;
20371 }
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20377 return resultobj;
20378 fail:
20379 return NULL;
20380}
20381
20382
c32bde28 20383static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20384 PyObject *resultobj;
20385 wxDateTime *arg1 = (wxDateTime *) 0 ;
20386 int arg2 ;
20387 wxDateTime *result;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self",(char *) "millisecond", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail;
20397 {
20398 arg2 = (int)(SWIG_As_int(obj1));
20399 if (SWIG_arg_fail(2)) SWIG_fail;
20400 }
d55e5bfc
RD
20401 {
20402 PyThreadState* __tstate = wxPyBeginAllowThreads();
20403 {
20404 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
20405 result = (wxDateTime *) &_result_ref;
20406 }
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
c32bde28 20418static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20419 PyObject *resultobj;
20420 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20421 wxDateTime::WeekDay arg2 ;
20422 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20423 wxDateTime *result;
20424 PyObject * obj0 = 0 ;
20425 PyObject * obj1 = 0 ;
20426 PyObject * obj2 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20433 if (SWIG_arg_fail(1)) SWIG_fail;
20434 {
20435 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20436 if (SWIG_arg_fail(2)) SWIG_fail;
20437 }
d55e5bfc 20438 if (obj2) {
093d3ff1
RD
20439 {
20440 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20441 if (SWIG_arg_fail(3)) SWIG_fail;
20442 }
d55e5bfc
RD
20443 }
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 {
20447 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20448 result = (wxDateTime *) &_result_ref;
20449 }
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20455 return resultobj;
20456 fail:
20457 return NULL;
20458}
20459
20460
c32bde28 20461static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20462 PyObject *resultobj;
20463 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20464 wxDateTime::WeekDay arg2 ;
20465 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20466 wxDateTime result;
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 PyObject * obj2 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20476 if (SWIG_arg_fail(1)) SWIG_fail;
20477 {
20478 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20479 if (SWIG_arg_fail(2)) SWIG_fail;
20480 }
d55e5bfc 20481 if (obj2) {
093d3ff1
RD
20482 {
20483 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20484 if (SWIG_arg_fail(3)) SWIG_fail;
20485 }
d55e5bfc
RD
20486 }
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 {
20495 wxDateTime * resultptr;
093d3ff1 20496 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20498 }
20499 return resultobj;
20500 fail:
20501 return NULL;
20502}
20503
20504
c32bde28 20505static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20506 PyObject *resultobj;
20507 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20508 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20509 wxDateTime *result;
20510 PyObject * obj0 = 0 ;
20511 PyObject * obj1 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self",(char *) "weekday", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20518 if (SWIG_arg_fail(1)) SWIG_fail;
20519 {
20520 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20521 if (SWIG_arg_fail(2)) SWIG_fail;
20522 }
d55e5bfc
RD
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 {
20526 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
20527 result = (wxDateTime *) &_result_ref;
20528 }
20529
20530 wxPyEndAllowThreads(__tstate);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20534 return resultobj;
20535 fail:
20536 return NULL;
20537}
20538
20539
c32bde28 20540static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20541 PyObject *resultobj;
20542 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20543 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20544 wxDateTime result;
20545 PyObject * obj0 = 0 ;
20546 PyObject * obj1 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self",(char *) "weekday", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20553 if (SWIG_arg_fail(1)) SWIG_fail;
20554 {
20555 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20556 if (SWIG_arg_fail(2)) SWIG_fail;
20557 }
d55e5bfc
RD
20558 {
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 wxDateTime * resultptr;
093d3ff1 20567 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20569 }
20570 return resultobj;
20571 fail:
20572 return NULL;
20573}
20574
20575
c32bde28 20576static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20577 PyObject *resultobj;
20578 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20579 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20580 wxDateTime *result;
20581 PyObject * obj0 = 0 ;
20582 PyObject * obj1 = 0 ;
20583 char *kwnames[] = {
20584 (char *) "self",(char *) "weekday", NULL
20585 };
20586
20587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20589 if (SWIG_arg_fail(1)) SWIG_fail;
20590 {
20591 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20592 if (SWIG_arg_fail(2)) SWIG_fail;
20593 }
d55e5bfc
RD
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 {
20597 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
20598 result = (wxDateTime *) &_result_ref;
20599 }
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
c32bde28 20611static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20612 PyObject *resultobj;
20613 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20614 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20615 wxDateTime result;
20616 PyObject * obj0 = 0 ;
20617 PyObject * obj1 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self",(char *) "weekday", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail;
20625 {
20626 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20627 if (SWIG_arg_fail(2)) SWIG_fail;
20628 }
d55e5bfc
RD
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 {
20637 wxDateTime * resultptr;
093d3ff1 20638 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20640 }
20641 return resultobj;
20642 fail:
20643 return NULL;
20644}
20645
20646
c32bde28 20647static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20648 PyObject *resultobj;
20649 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20650 wxDateTime::WeekDay arg2 ;
d55e5bfc 20651 int arg3 = (int) 1 ;
093d3ff1 20652 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20653 int arg5 = (int) wxDateTime::Inv_Year ;
20654 bool result;
20655 PyObject * obj0 = 0 ;
20656 PyObject * obj1 = 0 ;
20657 PyObject * obj2 = 0 ;
20658 PyObject * obj3 = 0 ;
20659 PyObject * obj4 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20666 if (SWIG_arg_fail(1)) SWIG_fail;
20667 {
20668 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20669 if (SWIG_arg_fail(2)) SWIG_fail;
20670 }
d55e5bfc 20671 if (obj2) {
093d3ff1
RD
20672 {
20673 arg3 = (int)(SWIG_As_int(obj2));
20674 if (SWIG_arg_fail(3)) SWIG_fail;
20675 }
d55e5bfc
RD
20676 }
20677 if (obj3) {
093d3ff1
RD
20678 {
20679 arg4 = (wxDateTime::Month)(SWIG_As_int(obj3));
20680 if (SWIG_arg_fail(4)) SWIG_fail;
20681 }
d55e5bfc
RD
20682 }
20683 if (obj4) {
093d3ff1
RD
20684 {
20685 arg5 = (int)(SWIG_As_int(obj4));
20686 if (SWIG_arg_fail(5)) SWIG_fail;
20687 }
d55e5bfc
RD
20688 }
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
20692
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 {
20697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20698 }
20699 return resultobj;
20700 fail:
20701 return NULL;
20702}
20703
20704
c32bde28 20705static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20706 PyObject *resultobj;
20707 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20708 wxDateTime::WeekDay arg2 ;
20709 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20710 int arg4 = (int) wxDateTime::Inv_Year ;
20711 bool result;
20712 PyObject * obj0 = 0 ;
20713 PyObject * obj1 = 0 ;
20714 PyObject * obj2 = 0 ;
20715 PyObject * obj3 = 0 ;
20716 char *kwnames[] = {
20717 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20718 };
20719
20720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20722 if (SWIG_arg_fail(1)) SWIG_fail;
20723 {
20724 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20725 if (SWIG_arg_fail(2)) SWIG_fail;
20726 }
d55e5bfc 20727 if (obj2) {
093d3ff1
RD
20728 {
20729 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20730 if (SWIG_arg_fail(3)) SWIG_fail;
20731 }
d55e5bfc
RD
20732 }
20733 if (obj3) {
093d3ff1
RD
20734 {
20735 arg4 = (int)(SWIG_As_int(obj3));
20736 if (SWIG_arg_fail(4)) SWIG_fail;
20737 }
d55e5bfc
RD
20738 }
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 {
20747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20748 }
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
c32bde28 20755static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20756 PyObject *resultobj;
20757 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20758 wxDateTime::WeekDay arg2 ;
20759 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20760 int arg4 = (int) wxDateTime::Inv_Year ;
20761 wxDateTime result;
20762 PyObject * obj0 = 0 ;
20763 PyObject * obj1 = 0 ;
20764 PyObject * obj2 = 0 ;
20765 PyObject * obj3 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail;
20773 {
20774 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20775 if (SWIG_arg_fail(2)) SWIG_fail;
20776 }
d55e5bfc 20777 if (obj2) {
093d3ff1
RD
20778 {
20779 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20780 if (SWIG_arg_fail(3)) SWIG_fail;
20781 }
d55e5bfc
RD
20782 }
20783 if (obj3) {
093d3ff1
RD
20784 {
20785 arg4 = (int)(SWIG_As_int(obj3));
20786 if (SWIG_arg_fail(4)) SWIG_fail;
20787 }
d55e5bfc
RD
20788 }
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 {
20797 wxDateTime * resultptr;
093d3ff1 20798 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20800 }
20801 return resultobj;
20802 fail:
20803 return NULL;
20804}
20805
20806
c32bde28 20807static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20808 PyObject *resultobj;
20809 wxDateTime *arg1 = (wxDateTime *) 0 ;
20810 int arg2 ;
093d3ff1
RD
20811 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20812 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20813 bool result;
20814 PyObject * obj0 = 0 ;
20815 PyObject * obj1 = 0 ;
20816 PyObject * obj2 = 0 ;
20817 PyObject * obj3 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20824 if (SWIG_arg_fail(1)) SWIG_fail;
20825 {
20826 arg2 = (int)(SWIG_As_int(obj1));
20827 if (SWIG_arg_fail(2)) SWIG_fail;
20828 }
d55e5bfc 20829 if (obj2) {
093d3ff1
RD
20830 {
20831 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20832 if (SWIG_arg_fail(3)) SWIG_fail;
20833 }
d55e5bfc
RD
20834 }
20835 if (obj3) {
093d3ff1
RD
20836 {
20837 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20838 if (SWIG_arg_fail(4)) SWIG_fail;
20839 }
d55e5bfc
RD
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 {
20849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20850 }
20851 return resultobj;
20852 fail:
20853 return NULL;
20854}
20855
20856
c32bde28 20857static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20858 PyObject *resultobj;
20859 wxDateTime *arg1 = (wxDateTime *) 0 ;
20860 int arg2 ;
093d3ff1
RD
20861 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20862 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20863 wxDateTime result;
20864 PyObject * obj0 = 0 ;
20865 PyObject * obj1 = 0 ;
20866 PyObject * obj2 = 0 ;
20867 PyObject * obj3 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20874 if (SWIG_arg_fail(1)) SWIG_fail;
20875 {
20876 arg2 = (int)(SWIG_As_int(obj1));
20877 if (SWIG_arg_fail(2)) SWIG_fail;
20878 }
d55e5bfc 20879 if (obj2) {
093d3ff1
RD
20880 {
20881 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20882 if (SWIG_arg_fail(3)) SWIG_fail;
20883 }
d55e5bfc
RD
20884 }
20885 if (obj3) {
093d3ff1
RD
20886 {
20887 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20888 if (SWIG_arg_fail(4)) SWIG_fail;
20889 }
d55e5bfc
RD
20890 }
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 {
20899 wxDateTime * resultptr;
093d3ff1 20900 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20901 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20902 }
20903 return resultobj;
20904 fail:
20905 return NULL;
20906}
20907
20908
7e63a440
RD
20909static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
20910 PyObject *resultobj;
20911 int arg1 ;
20912 int arg2 ;
093d3ff1 20913 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
20914 wxDateTime result;
20915 PyObject * obj0 = 0 ;
20916 PyObject * obj1 = 0 ;
20917 PyObject * obj2 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20923 {
20924 arg1 = (int)(SWIG_As_int(obj0));
20925 if (SWIG_arg_fail(1)) SWIG_fail;
20926 }
20927 {
20928 arg2 = (int)(SWIG_As_int(obj1));
20929 if (SWIG_arg_fail(2)) SWIG_fail;
20930 }
7e63a440 20931 if (obj2) {
093d3ff1
RD
20932 {
20933 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20934 if (SWIG_arg_fail(3)) SWIG_fail;
20935 }
7e63a440
RD
20936 }
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 {
20945 wxDateTime * resultptr;
093d3ff1 20946 resultptr = new wxDateTime((wxDateTime &)(result));
7e63a440
RD
20947 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20948 }
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
c32bde28 20955static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20956 PyObject *resultobj;
20957 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20958 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20959 int arg3 = (int) wxDateTime::Inv_Year ;
20960 wxDateTime *result;
20961 PyObject * obj0 = 0 ;
20962 PyObject * obj1 = 0 ;
20963 PyObject * obj2 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "self",(char *) "month",(char *) "year", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20970 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 20971 if (obj1) {
093d3ff1
RD
20972 {
20973 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20974 if (SWIG_arg_fail(2)) SWIG_fail;
20975 }
d55e5bfc
RD
20976 }
20977 if (obj2) {
093d3ff1
RD
20978 {
20979 arg3 = (int)(SWIG_As_int(obj2));
20980 if (SWIG_arg_fail(3)) SWIG_fail;
20981 }
d55e5bfc
RD
20982 }
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 {
20986 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
20987 result = (wxDateTime *) &_result_ref;
20988 }
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20994 return resultobj;
20995 fail:
20996 return NULL;
20997}
20998
20999
c32bde28 21000static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21001 PyObject *resultobj;
21002 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21003 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21004 int arg3 = (int) wxDateTime::Inv_Year ;
21005 wxDateTime result;
21006 PyObject * obj0 = 0 ;
21007 PyObject * obj1 = 0 ;
21008 PyObject * obj2 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self",(char *) "month",(char *) "year", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21016 if (obj1) {
093d3ff1
RD
21017 {
21018 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
21019 if (SWIG_arg_fail(2)) SWIG_fail;
21020 }
d55e5bfc
RD
21021 }
21022 if (obj2) {
093d3ff1
RD
21023 {
21024 arg3 = (int)(SWIG_As_int(obj2));
21025 if (SWIG_arg_fail(3)) SWIG_fail;
21026 }
d55e5bfc
RD
21027 }
21028 {
21029 PyThreadState* __tstate = wxPyBeginAllowThreads();
21030 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
21031
21032 wxPyEndAllowThreads(__tstate);
21033 if (PyErr_Occurred()) SWIG_fail;
21034 }
21035 {
21036 wxDateTime * resultptr;
093d3ff1 21037 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21038 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21039 }
21040 return resultobj;
21041 fail:
21042 return NULL;
21043}
21044
21045
c32bde28 21046static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21047 PyObject *resultobj;
21048 wxDateTime *arg1 = (wxDateTime *) 0 ;
21049 int arg2 ;
21050 wxDateTime *result;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self",(char *) "yday", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21059 if (SWIG_arg_fail(1)) SWIG_fail;
21060 {
21061 arg2 = (int)(SWIG_As_int(obj1));
21062 if (SWIG_arg_fail(2)) SWIG_fail;
21063 }
d55e5bfc
RD
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 {
21067 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
21068 result = (wxDateTime *) &_result_ref;
21069 }
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
c32bde28 21081static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21082 PyObject *resultobj;
21083 wxDateTime *arg1 = (wxDateTime *) 0 ;
21084 int arg2 ;
21085 wxDateTime result;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "yday", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail;
21095 {
21096 arg2 = (int)(SWIG_As_int(obj1));
21097 if (SWIG_arg_fail(2)) SWIG_fail;
21098 }
d55e5bfc
RD
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (arg1)->GetYearDay(arg2);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107 wxDateTime * resultptr;
093d3ff1 21108 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21110 }
21111 return resultobj;
21112 fail:
21113 return NULL;
21114}
21115
21116
c32bde28 21117static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21118 PyObject *resultobj;
21119 wxDateTime *arg1 = (wxDateTime *) 0 ;
21120 double result;
21121 PyObject * obj0 = 0 ;
21122 char *kwnames[] = {
21123 (char *) "self", NULL
21124 };
21125
21126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (double)(arg1)->GetJulianDayNumber();
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
093d3ff1
RD
21136 {
21137 resultobj = SWIG_From_double((double)(result));
21138 }
d55e5bfc
RD
21139 return resultobj;
21140 fail:
21141 return NULL;
21142}
21143
21144
c32bde28 21145static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21146 PyObject *resultobj;
21147 wxDateTime *arg1 = (wxDateTime *) 0 ;
21148 double result;
21149 PyObject * obj0 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
21155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21157 {
21158 PyThreadState* __tstate = wxPyBeginAllowThreads();
21159 result = (double)(arg1)->GetJDN();
21160
21161 wxPyEndAllowThreads(__tstate);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 }
093d3ff1
RD
21164 {
21165 resultobj = SWIG_From_double((double)(result));
21166 }
d55e5bfc
RD
21167 return resultobj;
21168 fail:
21169 return NULL;
21170}
21171
21172
c32bde28 21173static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21174 PyObject *resultobj;
21175 wxDateTime *arg1 = (wxDateTime *) 0 ;
21176 double result;
21177 PyObject * obj0 = 0 ;
21178 char *kwnames[] = {
21179 (char *) "self", NULL
21180 };
21181
21182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
093d3ff1
RD
21192 {
21193 resultobj = SWIG_From_double((double)(result));
21194 }
d55e5bfc
RD
21195 return resultobj;
21196 fail:
21197 return NULL;
21198}
21199
21200
c32bde28 21201static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21202 PyObject *resultobj;
21203 wxDateTime *arg1 = (wxDateTime *) 0 ;
21204 double result;
21205 PyObject * obj0 = 0 ;
21206 char *kwnames[] = {
21207 (char *) "self", NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
21211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (double)(arg1)->GetMJD();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
093d3ff1
RD
21220 {
21221 resultobj = SWIG_From_double((double)(result));
21222 }
d55e5bfc
RD
21223 return resultobj;
21224 fail:
21225 return NULL;
21226}
21227
21228
c32bde28 21229static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21230 PyObject *resultobj;
21231 wxDateTime *arg1 = (wxDateTime *) 0 ;
21232 double result;
21233 PyObject * obj0 = 0 ;
21234 char *kwnames[] = {
21235 (char *) "self", NULL
21236 };
21237
21238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
21239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21241 {
21242 PyThreadState* __tstate = wxPyBeginAllowThreads();
21243 result = (double)(arg1)->GetRataDie();
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
093d3ff1
RD
21248 {
21249 resultobj = SWIG_From_double((double)(result));
21250 }
d55e5bfc
RD
21251 return resultobj;
21252 fail:
21253 return NULL;
21254}
21255
21256
c32bde28 21257static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21258 PyObject *resultobj;
21259 wxDateTime *arg1 = (wxDateTime *) 0 ;
21260 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21261 bool arg3 = (bool) false ;
d55e5bfc 21262 wxDateTime result;
ae8162c8 21263 bool temp2 = false ;
d55e5bfc
RD
21264 PyObject * obj0 = 0 ;
21265 PyObject * obj1 = 0 ;
21266 PyObject * obj2 = 0 ;
21267 char *kwnames[] = {
21268 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21269 };
21270
21271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21274 {
21275 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21276 temp2 = true;
d55e5bfc
RD
21277 }
21278 if (obj2) {
093d3ff1
RD
21279 {
21280 arg3 = (bool)(SWIG_As_bool(obj2));
21281 if (SWIG_arg_fail(3)) SWIG_fail;
21282 }
d55e5bfc
RD
21283 }
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 wxDateTime * resultptr;
093d3ff1 21293 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21295 }
21296 {
21297 if (temp2) delete arg2;
21298 }
21299 return resultobj;
21300 fail:
21301 {
21302 if (temp2) delete arg2;
21303 }
21304 return NULL;
21305}
21306
21307
c32bde28 21308static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21309 PyObject *resultobj;
21310 wxDateTime *arg1 = (wxDateTime *) 0 ;
21311 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21312 bool arg3 = (bool) false ;
d55e5bfc 21313 wxDateTime *result;
ae8162c8 21314 bool temp2 = false ;
d55e5bfc
RD
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 PyObject * obj2 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21320 };
21321
21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21325 {
21326 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21327 temp2 = true;
d55e5bfc
RD
21328 }
21329 if (obj2) {
093d3ff1
RD
21330 {
21331 arg3 = (bool)(SWIG_As_bool(obj2));
21332 if (SWIG_arg_fail(3)) SWIG_fail;
21333 }
d55e5bfc
RD
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 {
21338 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21339 result = (wxDateTime *) &_result_ref;
21340 }
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21346 {
21347 if (temp2) delete arg2;
21348 }
21349 return resultobj;
21350 fail:
21351 {
21352 if (temp2) delete arg2;
21353 }
21354 return NULL;
21355}
21356
21357
c32bde28 21358static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21359 PyObject *resultobj;
21360 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21361 bool arg2 = (bool) false ;
d55e5bfc
RD
21362 wxDateTime result;
21363 PyObject * obj0 = 0 ;
21364 PyObject * obj1 = 0 ;
21365 char *kwnames[] = {
21366 (char *) "self",(char *) "noDST", NULL
21367 };
21368
21369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21371 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21372 if (obj1) {
093d3ff1
RD
21373 {
21374 arg2 = (bool)(SWIG_As_bool(obj1));
21375 if (SWIG_arg_fail(2)) SWIG_fail;
21376 }
d55e5bfc
RD
21377 }
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 result = (arg1)->ToGMT(arg2);
21381
21382 wxPyEndAllowThreads(__tstate);
21383 if (PyErr_Occurred()) SWIG_fail;
21384 }
21385 {
21386 wxDateTime * resultptr;
093d3ff1 21387 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21389 }
21390 return resultobj;
21391 fail:
21392 return NULL;
21393}
21394
21395
c32bde28 21396static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21397 PyObject *resultobj;
21398 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21399 bool arg2 = (bool) false ;
d55e5bfc
RD
21400 wxDateTime *result;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "noDST", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21410 if (obj1) {
093d3ff1
RD
21411 {
21412 arg2 = (bool)(SWIG_As_bool(obj1));
21413 if (SWIG_arg_fail(2)) SWIG_fail;
21414 }
d55e5bfc
RD
21415 }
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 {
21419 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
21420 result = (wxDateTime *) &_result_ref;
21421 }
21422
21423 wxPyEndAllowThreads(__tstate);
21424 if (PyErr_Occurred()) SWIG_fail;
21425 }
21426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21427 return resultobj;
21428 fail:
21429 return NULL;
21430}
21431
21432
c32bde28 21433static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21434 PyObject *resultobj;
21435 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21436 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
21437 int result;
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "country", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21447 if (obj1) {
093d3ff1
RD
21448 {
21449 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21450 if (SWIG_arg_fail(2)) SWIG_fail;
21451 }
d55e5bfc
RD
21452 }
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
093d3ff1
RD
21460 {
21461 resultobj = SWIG_From_int((int)(result));
21462 }
d55e5bfc
RD
21463 return resultobj;
21464 fail:
21465 return NULL;
21466}
21467
21468
c32bde28 21469static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21470 PyObject *resultobj;
21471 wxDateTime *arg1 = (wxDateTime *) 0 ;
21472 bool result;
21473 PyObject * obj0 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
21479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 result = (bool)((wxDateTime const *)arg1)->IsValid();
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 {
21489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21490 }
21491 return resultobj;
21492 fail:
21493 return NULL;
21494}
21495
21496
c32bde28 21497static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21498 PyObject *resultobj;
21499 wxDateTime *arg1 = (wxDateTime *) 0 ;
21500 time_t result;
21501 PyObject * obj0 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
21507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21509 {
21510 PyThreadState* __tstate = wxPyBeginAllowThreads();
21511 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
21512
21513 wxPyEndAllowThreads(__tstate);
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
093d3ff1
RD
21516 {
21517 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
21518 }
d55e5bfc
RD
21519 return resultobj;
21520 fail:
21521 return NULL;
21522}
21523
21524
c32bde28 21525static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21526 PyObject *resultobj;
21527 wxDateTime *arg1 = (wxDateTime *) 0 ;
21528 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21529 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21530 int result;
ae8162c8 21531 bool temp2 = false ;
d55e5bfc
RD
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 char *kwnames[] = {
21535 (char *) "self",(char *) "tz", NULL
21536 };
21537
21538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21541 if (obj1) {
21542 {
21543 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21544 temp2 = true;
d55e5bfc
RD
21545 }
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
093d3ff1
RD
21554 {
21555 resultobj = SWIG_From_int((int)(result));
21556 }
d55e5bfc
RD
21557 {
21558 if (temp2) delete arg2;
21559 }
21560 return resultobj;
21561 fail:
21562 {
21563 if (temp2) delete arg2;
21564 }
21565 return NULL;
21566}
21567
21568
c32bde28 21569static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21570 PyObject *resultobj;
21571 wxDateTime *arg1 = (wxDateTime *) 0 ;
21572 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21573 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21574 wxDateTime::Month result;
ae8162c8 21575 bool temp2 = false ;
d55e5bfc
RD
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "tz", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21585 if (obj1) {
21586 {
21587 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21588 temp2 = true;
d55e5bfc
RD
21589 }
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21593 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
093d3ff1 21598 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21599 {
21600 if (temp2) delete arg2;
21601 }
21602 return resultobj;
21603 fail:
21604 {
21605 if (temp2) delete arg2;
21606 }
21607 return NULL;
21608}
21609
21610
c32bde28 21611static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21612 PyObject *resultobj;
21613 wxDateTime *arg1 = (wxDateTime *) 0 ;
21614 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21615 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21616 int result;
ae8162c8 21617 bool temp2 = false ;
d55e5bfc
RD
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self",(char *) "tz", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21627 if (obj1) {
21628 {
21629 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21630 temp2 = true;
d55e5bfc
RD
21631 }
21632 }
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
093d3ff1
RD
21640 {
21641 resultobj = SWIG_From_int((int)(result));
21642 }
d55e5bfc
RD
21643 {
21644 if (temp2) delete arg2;
21645 }
21646 return resultobj;
21647 fail:
21648 {
21649 if (temp2) delete arg2;
21650 }
21651 return NULL;
21652}
21653
21654
c32bde28 21655static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21656 PyObject *resultobj;
21657 wxDateTime *arg1 = (wxDateTime *) 0 ;
21658 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21659 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21660 wxDateTime::WeekDay result;
ae8162c8 21661 bool temp2 = false ;
d55e5bfc
RD
21662 PyObject * obj0 = 0 ;
21663 PyObject * obj1 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self",(char *) "tz", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21671 if (obj1) {
21672 {
21673 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21674 temp2 = true;
d55e5bfc
RD
21675 }
21676 }
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21679 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
093d3ff1 21684 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21685 {
21686 if (temp2) delete arg2;
21687 }
21688 return resultobj;
21689 fail:
21690 {
21691 if (temp2) delete arg2;
21692 }
21693 return NULL;
21694}
21695
21696
c32bde28 21697static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21698 PyObject *resultobj;
21699 wxDateTime *arg1 = (wxDateTime *) 0 ;
21700 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21701 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21702 int result;
ae8162c8 21703 bool temp2 = false ;
d55e5bfc
RD
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "tz", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21713 if (obj1) {
21714 {
21715 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21716 temp2 = true;
d55e5bfc
RD
21717 }
21718 }
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
093d3ff1
RD
21726 {
21727 resultobj = SWIG_From_int((int)(result));
21728 }
d55e5bfc
RD
21729 {
21730 if (temp2) delete arg2;
21731 }
21732 return resultobj;
21733 fail:
21734 {
21735 if (temp2) delete arg2;
21736 }
21737 return NULL;
21738}
21739
21740
c32bde28 21741static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21742 PyObject *resultobj;
21743 wxDateTime *arg1 = (wxDateTime *) 0 ;
21744 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21745 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21746 int result;
ae8162c8 21747 bool temp2 = false ;
d55e5bfc
RD
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char *kwnames[] = {
21751 (char *) "self",(char *) "tz", NULL
21752 };
21753
21754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21757 if (obj1) {
21758 {
21759 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21760 temp2 = true;
d55e5bfc
RD
21761 }
21762 }
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
21766
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
093d3ff1
RD
21770 {
21771 resultobj = SWIG_From_int((int)(result));
21772 }
d55e5bfc
RD
21773 {
21774 if (temp2) delete arg2;
21775 }
21776 return resultobj;
21777 fail:
21778 {
21779 if (temp2) delete arg2;
21780 }
21781 return NULL;
21782}
21783
21784
c32bde28 21785static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21786 PyObject *resultobj;
21787 wxDateTime *arg1 = (wxDateTime *) 0 ;
21788 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21789 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21790 int result;
ae8162c8 21791 bool temp2 = false ;
d55e5bfc
RD
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self",(char *) "tz", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21801 if (obj1) {
21802 {
21803 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21804 temp2 = true;
d55e5bfc
RD
21805 }
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
093d3ff1
RD
21814 {
21815 resultobj = SWIG_From_int((int)(result));
21816 }
d55e5bfc
RD
21817 {
21818 if (temp2) delete arg2;
21819 }
21820 return resultobj;
21821 fail:
21822 {
21823 if (temp2) delete arg2;
21824 }
21825 return NULL;
21826}
21827
21828
c32bde28 21829static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21830 PyObject *resultobj;
21831 wxDateTime *arg1 = (wxDateTime *) 0 ;
21832 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21833 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21834 int result;
ae8162c8 21835 bool temp2 = false ;
d55e5bfc
RD
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 char *kwnames[] = {
21839 (char *) "self",(char *) "tz", NULL
21840 };
21841
21842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21845 if (obj1) {
21846 {
21847 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21848 temp2 = true;
d55e5bfc
RD
21849 }
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
093d3ff1
RD
21858 {
21859 resultobj = SWIG_From_int((int)(result));
21860 }
d55e5bfc
RD
21861 {
21862 if (temp2) delete arg2;
21863 }
21864 return resultobj;
21865 fail:
21866 {
21867 if (temp2) delete arg2;
21868 }
21869 return NULL;
21870}
21871
21872
c32bde28 21873static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21874 PyObject *resultobj;
21875 wxDateTime *arg1 = (wxDateTime *) 0 ;
21876 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21877 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21878 int result;
ae8162c8 21879 bool temp2 = false ;
d55e5bfc
RD
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 char *kwnames[] = {
21883 (char *) "self",(char *) "tz", NULL
21884 };
21885
21886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21889 if (obj1) {
21890 {
21891 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21892 temp2 = true;
d55e5bfc
RD
21893 }
21894 }
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
093d3ff1
RD
21902 {
21903 resultobj = SWIG_From_int((int)(result));
21904 }
d55e5bfc
RD
21905 {
21906 if (temp2) delete arg2;
21907 }
21908 return resultobj;
21909 fail:
21910 {
21911 if (temp2) delete arg2;
21912 }
21913 return NULL;
21914}
21915
21916
c32bde28 21917static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21918 PyObject *resultobj;
21919 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21920 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21921 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21922 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21923 int result;
ae8162c8 21924 bool temp3 = false ;
d55e5bfc
RD
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "flags",(char *) "tz", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21935 if (obj1) {
093d3ff1
RD
21936 {
21937 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21938 if (SWIG_arg_fail(2)) SWIG_fail;
21939 }
d55e5bfc
RD
21940 }
21941 if (obj2) {
21942 {
21943 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21944 temp3 = true;
d55e5bfc
RD
21945 }
21946 }
21947 {
21948 PyThreadState* __tstate = wxPyBeginAllowThreads();
21949 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
21950
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
093d3ff1
RD
21954 {
21955 resultobj = SWIG_From_int((int)(result));
21956 }
d55e5bfc
RD
21957 {
21958 if (temp3) delete arg3;
21959 }
21960 return resultobj;
21961 fail:
21962 {
21963 if (temp3) delete arg3;
21964 }
21965 return NULL;
21966}
21967
21968
c32bde28 21969static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21970 PyObject *resultobj;
21971 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21972 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21973 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21974 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21975 int result;
ae8162c8 21976 bool temp3 = false ;
d55e5bfc
RD
21977 PyObject * obj0 = 0 ;
21978 PyObject * obj1 = 0 ;
21979 PyObject * obj2 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self",(char *) "flags",(char *) "tz", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21987 if (obj1) {
093d3ff1
RD
21988 {
21989 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21990 if (SWIG_arg_fail(2)) SWIG_fail;
21991 }
d55e5bfc
RD
21992 }
21993 if (obj2) {
21994 {
21995 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21996 temp3 = true;
d55e5bfc
RD
21997 }
21998 }
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
093d3ff1
RD
22006 {
22007 resultobj = SWIG_From_int((int)(result));
22008 }
d55e5bfc
RD
22009 {
22010 if (temp3) delete arg3;
22011 }
22012 return resultobj;
22013 fail:
22014 {
22015 if (temp3) delete arg3;
22016 }
22017 return NULL;
22018}
22019
22020
c32bde28 22021static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22022 PyObject *resultobj;
22023 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22024 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
22025 bool result;
22026 PyObject * obj0 = 0 ;
22027 PyObject * obj1 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self",(char *) "country", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22035 if (obj1) {
093d3ff1
RD
22036 {
22037 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
22038 if (SWIG_arg_fail(2)) SWIG_fail;
22039 }
d55e5bfc
RD
22040 }
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
c32bde28 22057static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22058 PyObject *resultobj;
22059 wxDateTime *arg1 = (wxDateTime *) 0 ;
22060 wxDateTime *arg2 = 0 ;
22061 bool result;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "datetime", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail;
22071 {
22072 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22073 if (SWIG_arg_fail(2)) SWIG_fail;
22074 if (arg2 == NULL) {
22075 SWIG_null_ref("wxDateTime");
22076 }
22077 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22078 }
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
22082
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 {
22087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22088 }
22089 return resultobj;
22090 fail:
22091 return NULL;
22092}
22093
22094
c32bde28 22095static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22096 PyObject *resultobj;
22097 wxDateTime *arg1 = (wxDateTime *) 0 ;
22098 wxDateTime *arg2 = 0 ;
22099 bool result;
22100 PyObject * obj0 = 0 ;
22101 PyObject * obj1 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "datetime", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail;
22109 {
22110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22111 if (SWIG_arg_fail(2)) SWIG_fail;
22112 if (arg2 == NULL) {
22113 SWIG_null_ref("wxDateTime");
22114 }
22115 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22116 }
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 {
22125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22126 }
22127 return resultobj;
22128 fail:
22129 return NULL;
22130}
22131
22132
c32bde28 22133static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22134 PyObject *resultobj;
22135 wxDateTime *arg1 = (wxDateTime *) 0 ;
22136 wxDateTime *arg2 = 0 ;
22137 bool result;
22138 PyObject * obj0 = 0 ;
22139 PyObject * obj1 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self",(char *) "datetime", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22146 if (SWIG_arg_fail(1)) SWIG_fail;
22147 {
22148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22149 if (SWIG_arg_fail(2)) SWIG_fail;
22150 if (arg2 == NULL) {
22151 SWIG_null_ref("wxDateTime");
22152 }
22153 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22154 }
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 {
22163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22164 }
22165 return resultobj;
22166 fail:
22167 return NULL;
22168}
22169
22170
c32bde28 22171static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22172 PyObject *resultobj;
22173 wxDateTime *arg1 = (wxDateTime *) 0 ;
22174 wxDateTime *arg2 = 0 ;
22175 wxDateTime *arg3 = 0 ;
22176 bool result;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 PyObject * obj2 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self",(char *) "t1",(char *) "t2", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail;
22187 {
22188 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22189 if (SWIG_arg_fail(2)) SWIG_fail;
22190 if (arg2 == NULL) {
22191 SWIG_null_ref("wxDateTime");
22192 }
22193 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22194 }
093d3ff1
RD
22195 {
22196 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22197 if (SWIG_arg_fail(3)) SWIG_fail;
22198 if (arg3 == NULL) {
22199 SWIG_null_ref("wxDateTime");
22200 }
22201 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22202 }
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22206
22207 wxPyEndAllowThreads(__tstate);
22208 if (PyErr_Occurred()) SWIG_fail;
22209 }
22210 {
22211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22212 }
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
c32bde28 22219static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22220 PyObject *resultobj;
22221 wxDateTime *arg1 = (wxDateTime *) 0 ;
22222 wxDateTime *arg2 = 0 ;
22223 wxDateTime *arg3 = 0 ;
22224 bool result;
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 PyObject * obj2 = 0 ;
22228 char *kwnames[] = {
22229 (char *) "self",(char *) "t1",(char *) "t2", NULL
22230 };
22231
22232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail;
22235 {
22236 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22237 if (SWIG_arg_fail(2)) SWIG_fail;
22238 if (arg2 == NULL) {
22239 SWIG_null_ref("wxDateTime");
22240 }
22241 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22242 }
093d3ff1
RD
22243 {
22244 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22245 if (SWIG_arg_fail(3)) SWIG_fail;
22246 if (arg3 == NULL) {
22247 SWIG_null_ref("wxDateTime");
22248 }
22249 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22250 }
22251 {
22252 PyThreadState* __tstate = wxPyBeginAllowThreads();
22253 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22254
22255 wxPyEndAllowThreads(__tstate);
22256 if (PyErr_Occurred()) SWIG_fail;
22257 }
22258 {
22259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22260 }
22261 return resultobj;
22262 fail:
22263 return NULL;
22264}
22265
22266
c32bde28 22267static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22268 PyObject *resultobj;
22269 wxDateTime *arg1 = (wxDateTime *) 0 ;
22270 wxDateTime *arg2 = 0 ;
22271 bool result;
22272 PyObject * obj0 = 0 ;
22273 PyObject * obj1 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "self",(char *) "dt", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22280 if (SWIG_arg_fail(1)) SWIG_fail;
22281 {
22282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22283 if (SWIG_arg_fail(2)) SWIG_fail;
22284 if (arg2 == NULL) {
22285 SWIG_null_ref("wxDateTime");
22286 }
22287 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22288 }
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22298 }
22299 return resultobj;
22300 fail:
22301 return NULL;
22302}
22303
22304
c32bde28 22305static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22306 PyObject *resultobj;
22307 wxDateTime *arg1 = (wxDateTime *) 0 ;
22308 wxDateTime *arg2 = 0 ;
22309 bool result;
22310 PyObject * obj0 = 0 ;
22311 PyObject * obj1 = 0 ;
22312 char *kwnames[] = {
22313 (char *) "self",(char *) "dt", NULL
22314 };
22315
22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail;
22319 {
22320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22321 if (SWIG_arg_fail(2)) SWIG_fail;
22322 if (arg2 == NULL) {
22323 SWIG_null_ref("wxDateTime");
22324 }
22325 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 {
22335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340}
22341
22342
c32bde28 22343static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22344 PyObject *resultobj;
22345 wxDateTime *arg1 = (wxDateTime *) 0 ;
22346 wxDateTime *arg2 = 0 ;
22347 wxTimeSpan *arg3 = 0 ;
22348 bool result;
22349 PyObject * obj0 = 0 ;
22350 PyObject * obj1 = 0 ;
22351 PyObject * obj2 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "dt",(char *) "ts", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22358 if (SWIG_arg_fail(1)) SWIG_fail;
22359 {
22360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22361 if (SWIG_arg_fail(2)) SWIG_fail;
22362 if (arg2 == NULL) {
22363 SWIG_null_ref("wxDateTime");
22364 }
22365 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22366 }
093d3ff1
RD
22367 {
22368 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22369 if (SWIG_arg_fail(3)) SWIG_fail;
22370 if (arg3 == NULL) {
22371 SWIG_null_ref("wxTimeSpan");
22372 }
22373 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22374 }
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
22378
22379 wxPyEndAllowThreads(__tstate);
22380 if (PyErr_Occurred()) SWIG_fail;
22381 }
22382 {
22383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22384 }
22385 return resultobj;
22386 fail:
22387 return NULL;
22388}
22389
22390
c32bde28 22391static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22392 PyObject *resultobj;
22393 wxDateTime *arg1 = (wxDateTime *) 0 ;
22394 wxTimeSpan *arg2 = 0 ;
22395 wxDateTime *result;
22396 PyObject * obj0 = 0 ;
22397 PyObject * obj1 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "self",(char *) "diff", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22404 if (SWIG_arg_fail(1)) SWIG_fail;
22405 {
22406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22407 if (SWIG_arg_fail(2)) SWIG_fail;
22408 if (arg2 == NULL) {
22409 SWIG_null_ref("wxTimeSpan");
22410 }
22411 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22412 }
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 {
22416 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22417 result = (wxDateTime *) &_result_ref;
22418 }
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
c32bde28 22430static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22431 PyObject *resultobj;
22432 wxDateTime *arg1 = (wxDateTime *) 0 ;
22433 wxDateSpan *arg2 = 0 ;
22434 wxDateTime *result;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self",(char *) "diff", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(1)) SWIG_fail;
22444 {
22445 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22446 if (SWIG_arg_fail(2)) SWIG_fail;
22447 if (arg2 == NULL) {
22448 SWIG_null_ref("wxDateSpan");
22449 }
22450 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22451 }
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 {
22455 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22456 result = (wxDateTime *) &_result_ref;
22457 }
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22463 return resultobj;
22464 fail:
22465 return NULL;
22466}
22467
22468
c32bde28 22469static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22470 PyObject *resultobj;
22471 wxDateTime *arg1 = (wxDateTime *) 0 ;
22472 wxTimeSpan *arg2 = 0 ;
22473 wxDateTime *result;
22474 PyObject * obj0 = 0 ;
22475 PyObject * obj1 = 0 ;
22476 char *kwnames[] = {
22477 (char *) "self",(char *) "diff", NULL
22478 };
22479
22480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail;
22483 {
22484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22485 if (SWIG_arg_fail(2)) SWIG_fail;
22486 if (arg2 == NULL) {
22487 SWIG_null_ref("wxTimeSpan");
22488 }
22489 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22490 }
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 {
22494 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22495 result = (wxDateTime *) &_result_ref;
22496 }
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
c32bde28 22508static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22509 PyObject *resultobj;
22510 wxDateTime *arg1 = (wxDateTime *) 0 ;
22511 wxDateSpan *arg2 = 0 ;
22512 wxDateTime *result;
22513 PyObject * obj0 = 0 ;
22514 PyObject * obj1 = 0 ;
22515 char *kwnames[] = {
22516 (char *) "self",(char *) "diff", NULL
22517 };
22518
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail;
22522 {
22523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22524 if (SWIG_arg_fail(2)) SWIG_fail;
22525 if (arg2 == NULL) {
22526 SWIG_null_ref("wxDateSpan");
22527 }
22528 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22529 }
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 {
22533 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22534 result = (wxDateTime *) &_result_ref;
22535 }
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22541 return resultobj;
22542 fail:
22543 return NULL;
22544}
22545
22546
c32bde28 22547static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22548 PyObject *resultobj;
22549 wxDateTime *arg1 = (wxDateTime *) 0 ;
22550 wxDateTime *arg2 = 0 ;
22551 wxTimeSpan result;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self",(char *) "dt", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail;
22561 {
22562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(2)) SWIG_fail;
22564 if (arg2 == NULL) {
22565 SWIG_null_ref("wxDateTime");
22566 }
22567 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 wxTimeSpan * resultptr;
093d3ff1 22578 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
22579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22580 }
22581 return resultobj;
22582 fail:
22583 return NULL;
22584}
22585
22586
c32bde28 22587static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22588 PyObject *resultobj;
22589 wxDateTime *arg1 = (wxDateTime *) 0 ;
22590 wxTimeSpan *arg2 = 0 ;
22591 wxDateTime *result;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594
22595 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22597 if (SWIG_arg_fail(1)) SWIG_fail;
22598 {
22599 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22600 if (SWIG_arg_fail(2)) SWIG_fail;
22601 if (arg2 == NULL) {
22602 SWIG_null_ref("wxTimeSpan");
22603 }
22604 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22605 }
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 {
22609 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22610 result = (wxDateTime *) &_result_ref;
22611 }
22612
22613 wxPyEndAllowThreads(__tstate);
22614 if (PyErr_Occurred()) SWIG_fail;
22615 }
c32bde28 22616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22617 return resultobj;
22618 fail:
22619 return NULL;
22620}
22621
22622
c32bde28 22623static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22624 PyObject *resultobj;
22625 wxDateTime *arg1 = (wxDateTime *) 0 ;
22626 wxDateSpan *arg2 = 0 ;
22627 wxDateTime *result;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630
22631 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22633 if (SWIG_arg_fail(1)) SWIG_fail;
22634 {
22635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22636 if (SWIG_arg_fail(2)) SWIG_fail;
22637 if (arg2 == NULL) {
22638 SWIG_null_ref("wxDateSpan");
22639 }
22640 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22641 }
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 {
22645 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22646 result = (wxDateTime *) &_result_ref;
22647 }
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
c32bde28 22652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22653 return resultobj;
22654 fail:
22655 return NULL;
22656}
22657
22658
22659static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
22660 int argc;
22661 PyObject *argv[3];
22662 int ii;
22663
22664 argc = PyObject_Length(args);
22665 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22666 argv[ii] = PyTuple_GetItem(args,ii);
22667 }
22668 if (argc == 2) {
22669 int _v;
22670 {
22671 void *ptr;
22672 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22673 _v = 0;
22674 PyErr_Clear();
22675 } else {
22676 _v = 1;
22677 }
22678 }
22679 if (_v) {
22680 {
093d3ff1 22681 void *ptr = 0;
d55e5bfc
RD
22682 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22683 _v = 0;
22684 PyErr_Clear();
22685 } else {
093d3ff1 22686 _v = (ptr != 0);
d55e5bfc
RD
22687 }
22688 }
22689 if (_v) {
22690 return _wrap_DateTime___iadd____SWIG_0(self,args);
22691 }
22692 }
22693 }
22694 if (argc == 2) {
22695 int _v;
22696 {
22697 void *ptr;
22698 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22699 _v = 0;
22700 PyErr_Clear();
22701 } else {
22702 _v = 1;
22703 }
22704 }
22705 if (_v) {
22706 {
093d3ff1 22707 void *ptr = 0;
d55e5bfc
RD
22708 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22709 _v = 0;
22710 PyErr_Clear();
22711 } else {
093d3ff1 22712 _v = (ptr != 0);
d55e5bfc
RD
22713 }
22714 }
22715 if (_v) {
22716 return _wrap_DateTime___iadd____SWIG_1(self,args);
22717 }
22718 }
22719 }
22720
093d3ff1 22721 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
22722 return NULL;
22723}
22724
22725
c32bde28 22726static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22727 PyObject *resultobj;
22728 wxDateTime *arg1 = (wxDateTime *) 0 ;
22729 wxTimeSpan *arg2 = 0 ;
22730 wxDateTime *result;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733
22734 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22736 if (SWIG_arg_fail(1)) SWIG_fail;
22737 {
22738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22739 if (SWIG_arg_fail(2)) SWIG_fail;
22740 if (arg2 == NULL) {
22741 SWIG_null_ref("wxTimeSpan");
22742 }
22743 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 {
22748 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22749 result = (wxDateTime *) &_result_ref;
22750 }
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
c32bde28 22755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
c32bde28 22762static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22763 PyObject *resultobj;
22764 wxDateTime *arg1 = (wxDateTime *) 0 ;
22765 wxDateSpan *arg2 = 0 ;
22766 wxDateTime *result;
22767 PyObject * obj0 = 0 ;
22768 PyObject * obj1 = 0 ;
22769
22770 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22773 {
093d3ff1
RD
22774 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22775 if (SWIG_arg_fail(2)) SWIG_fail;
22776 if (arg2 == NULL) {
22777 SWIG_null_ref("wxDateSpan");
22778 }
22779 if (SWIG_arg_fail(2)) SWIG_fail;
22780 }
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
22783 {
22784 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22785 result = (wxDateTime *) &_result_ref;
22786 }
22787
22788 wxPyEndAllowThreads(__tstate);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
c32bde28 22791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22792 return resultobj;
22793 fail:
22794 return NULL;
22795}
22796
22797
22798static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
22799 int argc;
22800 PyObject *argv[3];
22801 int ii;
22802
22803 argc = PyObject_Length(args);
22804 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22805 argv[ii] = PyTuple_GetItem(args,ii);
22806 }
22807 if (argc == 2) {
22808 int _v;
22809 {
22810 void *ptr;
22811 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22812 _v = 0;
22813 PyErr_Clear();
22814 } else {
22815 _v = 1;
22816 }
22817 }
22818 if (_v) {
22819 {
093d3ff1 22820 void *ptr = 0;
d55e5bfc
RD
22821 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22822 _v = 0;
22823 PyErr_Clear();
22824 } else {
093d3ff1 22825 _v = (ptr != 0);
d55e5bfc
RD
22826 }
22827 }
22828 if (_v) {
22829 return _wrap_DateTime___isub____SWIG_0(self,args);
22830 }
22831 }
22832 }
22833 if (argc == 2) {
22834 int _v;
22835 {
22836 void *ptr;
22837 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22838 _v = 0;
22839 PyErr_Clear();
22840 } else {
22841 _v = 1;
22842 }
22843 }
22844 if (_v) {
22845 {
093d3ff1 22846 void *ptr = 0;
d55e5bfc
RD
22847 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22848 _v = 0;
22849 PyErr_Clear();
22850 } else {
093d3ff1 22851 _v = (ptr != 0);
d55e5bfc
RD
22852 }
22853 }
22854 if (_v) {
22855 return _wrap_DateTime___isub____SWIG_1(self,args);
22856 }
22857 }
22858 }
22859
093d3ff1 22860 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
22861 return NULL;
22862}
22863
22864
c32bde28 22865static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22866 PyObject *resultobj;
22867 wxDateTime *arg1 = (wxDateTime *) 0 ;
22868 wxTimeSpan *arg2 = 0 ;
22869 wxDateTime result;
22870 PyObject * obj0 = 0 ;
22871 PyObject * obj1 = 0 ;
22872
22873 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22875 if (SWIG_arg_fail(1)) SWIG_fail;
22876 {
22877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22878 if (SWIG_arg_fail(2)) SWIG_fail;
22879 if (arg2 == NULL) {
22880 SWIG_null_ref("wxTimeSpan");
22881 }
22882 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22883 }
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 {
22892 wxDateTime * resultptr;
093d3ff1 22893 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
22894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22895 }
22896 return resultobj;
22897 fail:
22898 return NULL;
22899}
22900
22901
c32bde28 22902static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22903 PyObject *resultobj;
22904 wxDateTime *arg1 = (wxDateTime *) 0 ;
22905 wxDateSpan *arg2 = 0 ;
22906 wxDateTime result;
22907 PyObject * obj0 = 0 ;
22908 PyObject * obj1 = 0 ;
22909
22910 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22912 if (SWIG_arg_fail(1)) SWIG_fail;
22913 {
22914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22915 if (SWIG_arg_fail(2)) SWIG_fail;
22916 if (arg2 == NULL) {
22917 SWIG_null_ref("wxDateSpan");
22918 }
22919 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22920 }
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 {
22929 wxDateTime * resultptr;
093d3ff1 22930 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
22931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22932 }
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
22939static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
22940 int argc;
22941 PyObject *argv[3];
22942 int ii;
22943
22944 argc = PyObject_Length(args);
22945 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22946 argv[ii] = PyTuple_GetItem(args,ii);
22947 }
22948 if (argc == 2) {
22949 int _v;
22950 {
22951 void *ptr;
22952 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22953 _v = 0;
22954 PyErr_Clear();
22955 } else {
22956 _v = 1;
22957 }
22958 }
22959 if (_v) {
22960 {
093d3ff1 22961 void *ptr = 0;
d55e5bfc
RD
22962 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22963 _v = 0;
22964 PyErr_Clear();
22965 } else {
093d3ff1 22966 _v = (ptr != 0);
d55e5bfc
RD
22967 }
22968 }
22969 if (_v) {
22970 return _wrap_DateTime___add____SWIG_0(self,args);
22971 }
22972 }
22973 }
22974 if (argc == 2) {
22975 int _v;
22976 {
22977 void *ptr;
22978 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22979 _v = 0;
22980 PyErr_Clear();
22981 } else {
22982 _v = 1;
22983 }
22984 }
22985 if (_v) {
22986 {
093d3ff1 22987 void *ptr = 0;
d55e5bfc
RD
22988 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22989 _v = 0;
22990 PyErr_Clear();
22991 } else {
093d3ff1 22992 _v = (ptr != 0);
d55e5bfc
RD
22993 }
22994 }
22995 if (_v) {
22996 return _wrap_DateTime___add____SWIG_1(self,args);
22997 }
22998 }
22999 }
23000
093d3ff1
RD
23001 Py_INCREF(Py_NotImplemented);
23002 return Py_NotImplemented;
d55e5bfc
RD
23003}
23004
23005
c32bde28 23006static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23007 PyObject *resultobj;
23008 wxDateTime *arg1 = (wxDateTime *) 0 ;
23009 wxDateTime *arg2 = 0 ;
23010 wxTimeSpan result;
23011 PyObject * obj0 = 0 ;
23012 PyObject * obj1 = 0 ;
23013
23014 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23016 if (SWIG_arg_fail(1)) SWIG_fail;
23017 {
23018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23019 if (SWIG_arg_fail(2)) SWIG_fail;
23020 if (arg2 == NULL) {
23021 SWIG_null_ref("wxDateTime");
23022 }
23023 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23024 }
23025 {
23026 PyThreadState* __tstate = wxPyBeginAllowThreads();
23027 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
23028
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 {
23033 wxTimeSpan * resultptr;
093d3ff1 23034 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23035 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23036 }
23037 return resultobj;
23038 fail:
23039 return NULL;
23040}
23041
23042
c32bde28 23043static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23044 PyObject *resultobj;
23045 wxDateTime *arg1 = (wxDateTime *) 0 ;
23046 wxTimeSpan *arg2 = 0 ;
23047 wxDateTime result;
23048 PyObject * obj0 = 0 ;
23049 PyObject * obj1 = 0 ;
23050
23051 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23053 if (SWIG_arg_fail(1)) SWIG_fail;
23054 {
23055 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23056 if (SWIG_arg_fail(2)) SWIG_fail;
23057 if (arg2 == NULL) {
23058 SWIG_null_ref("wxTimeSpan");
23059 }
23060 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23061 }
23062 {
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 {
23070 wxDateTime * resultptr;
093d3ff1 23071 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23073 }
23074 return resultobj;
23075 fail:
23076 return NULL;
23077}
23078
23079
c32bde28 23080static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
23081 PyObject *resultobj;
23082 wxDateTime *arg1 = (wxDateTime *) 0 ;
23083 wxDateSpan *arg2 = 0 ;
23084 wxDateTime result;
23085 PyObject * obj0 = 0 ;
23086 PyObject * obj1 = 0 ;
23087
23088 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23090 if (SWIG_arg_fail(1)) SWIG_fail;
23091 {
23092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23093 if (SWIG_arg_fail(2)) SWIG_fail;
23094 if (arg2 == NULL) {
23095 SWIG_null_ref("wxDateSpan");
23096 }
23097 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23098 }
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 {
23107 wxDateTime * resultptr;
093d3ff1 23108 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23110 }
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
23117static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
23118 int argc;
23119 PyObject *argv[3];
23120 int ii;
23121
23122 argc = PyObject_Length(args);
23123 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23124 argv[ii] = PyTuple_GetItem(args,ii);
23125 }
23126 if (argc == 2) {
23127 int _v;
23128 {
23129 void *ptr;
23130 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23131 _v = 0;
23132 PyErr_Clear();
23133 } else {
23134 _v = 1;
23135 }
23136 }
23137 if (_v) {
23138 {
093d3ff1 23139 void *ptr = 0;
d55e5bfc
RD
23140 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23141 _v = 0;
23142 PyErr_Clear();
23143 } else {
093d3ff1 23144 _v = (ptr != 0);
d55e5bfc
RD
23145 }
23146 }
23147 if (_v) {
23148 return _wrap_DateTime___sub____SWIG_0(self,args);
23149 }
23150 }
23151 }
23152 if (argc == 2) {
23153 int _v;
23154 {
23155 void *ptr;
23156 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23157 _v = 0;
23158 PyErr_Clear();
23159 } else {
23160 _v = 1;
23161 }
23162 }
23163 if (_v) {
23164 {
093d3ff1 23165 void *ptr = 0;
d55e5bfc
RD
23166 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23167 _v = 0;
23168 PyErr_Clear();
23169 } else {
093d3ff1 23170 _v = (ptr != 0);
d55e5bfc
RD
23171 }
23172 }
23173 if (_v) {
23174 return _wrap_DateTime___sub____SWIG_1(self,args);
23175 }
23176 }
23177 }
23178 if (argc == 2) {
23179 int _v;
23180 {
23181 void *ptr;
23182 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23183 _v = 0;
23184 PyErr_Clear();
23185 } else {
23186 _v = 1;
23187 }
23188 }
23189 if (_v) {
23190 {
093d3ff1 23191 void *ptr = 0;
d55e5bfc
RD
23192 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23193 _v = 0;
23194 PyErr_Clear();
23195 } else {
093d3ff1 23196 _v = (ptr != 0);
d55e5bfc
RD
23197 }
23198 }
23199 if (_v) {
23200 return _wrap_DateTime___sub____SWIG_2(self,args);
23201 }
23202 }
23203 }
23204
093d3ff1
RD
23205 Py_INCREF(Py_NotImplemented);
23206 return Py_NotImplemented;
d55e5bfc
RD
23207}
23208
23209
fef4c27a 23210static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23211 PyObject *resultobj;
23212 wxDateTime *arg1 = (wxDateTime *) 0 ;
23213 wxDateTime *arg2 = (wxDateTime *) 0 ;
23214 bool result;
23215 PyObject * obj0 = 0 ;
23216 PyObject * obj1 = 0 ;
fef4c27a
RD
23217 char *kwnames[] = {
23218 (char *) "self",(char *) "other", NULL
23219 };
d55e5bfc 23220
fef4c27a 23221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail;
23224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23225 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 {
23234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23235 }
23236 return resultobj;
23237 fail:
23238 return NULL;
23239}
23240
23241
fef4c27a 23242static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23243 PyObject *resultobj;
23244 wxDateTime *arg1 = (wxDateTime *) 0 ;
23245 wxDateTime *arg2 = (wxDateTime *) 0 ;
23246 bool result;
23247 PyObject * obj0 = 0 ;
23248 PyObject * obj1 = 0 ;
fef4c27a
RD
23249 char *kwnames[] = {
23250 (char *) "self",(char *) "other", NULL
23251 };
d55e5bfc 23252
fef4c27a 23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail;
23256 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23257 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 {
23266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23267 }
23268 return resultobj;
23269 fail:
23270 return NULL;
23271}
23272
23273
fef4c27a 23274static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23275 PyObject *resultobj;
23276 wxDateTime *arg1 = (wxDateTime *) 0 ;
23277 wxDateTime *arg2 = (wxDateTime *) 0 ;
23278 bool result;
23279 PyObject * obj0 = 0 ;
23280 PyObject * obj1 = 0 ;
fef4c27a
RD
23281 char *kwnames[] = {
23282 (char *) "self",(char *) "other", NULL
23283 };
d55e5bfc 23284
fef4c27a 23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23287 if (SWIG_arg_fail(1)) SWIG_fail;
23288 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23290 {
23291 PyThreadState* __tstate = wxPyBeginAllowThreads();
23292 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
23293
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 {
23298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303}
23304
23305
fef4c27a 23306static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23307 PyObject *resultobj;
23308 wxDateTime *arg1 = (wxDateTime *) 0 ;
23309 wxDateTime *arg2 = (wxDateTime *) 0 ;
23310 bool result;
23311 PyObject * obj0 = 0 ;
23312 PyObject * obj1 = 0 ;
fef4c27a
RD
23313 char *kwnames[] = {
23314 (char *) "self",(char *) "other", NULL
23315 };
d55e5bfc 23316
fef4c27a 23317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23319 if (SWIG_arg_fail(1)) SWIG_fail;
23320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23321 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
23325
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
23329 {
23330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23331 }
23332 return resultobj;
23333 fail:
23334 return NULL;
23335}
23336
23337
fef4c27a 23338static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23339 PyObject *resultobj;
23340 wxDateTime *arg1 = (wxDateTime *) 0 ;
23341 wxDateTime *arg2 = (wxDateTime *) 0 ;
23342 bool result;
23343 PyObject * obj0 = 0 ;
23344 PyObject * obj1 = 0 ;
fef4c27a
RD
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "other", NULL
23347 };
d55e5bfc 23348
fef4c27a 23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23351 if (SWIG_arg_fail(1)) SWIG_fail;
23352 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23353 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 {
23362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23363 }
23364 return resultobj;
23365 fail:
23366 return NULL;
23367}
23368
23369
fef4c27a 23370static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23371 PyObject *resultobj;
23372 wxDateTime *arg1 = (wxDateTime *) 0 ;
23373 wxDateTime *arg2 = (wxDateTime *) 0 ;
23374 bool result;
23375 PyObject * obj0 = 0 ;
23376 PyObject * obj1 = 0 ;
fef4c27a
RD
23377 char *kwnames[] = {
23378 (char *) "self",(char *) "other", NULL
23379 };
d55e5bfc 23380
fef4c27a 23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23383 if (SWIG_arg_fail(1)) SWIG_fail;
23384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23386 {
23387 PyThreadState* __tstate = wxPyBeginAllowThreads();
23388 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
23389
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 {
23394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23395 }
23396 return resultobj;
23397 fail:
23398 return NULL;
23399}
23400
23401
c32bde28 23402static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23403 PyObject *resultobj;
23404 wxDateTime *arg1 = (wxDateTime *) 0 ;
23405 wxString *arg2 = 0 ;
23406 int result;
ae8162c8 23407 bool temp2 = false ;
d55e5bfc
RD
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "date", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23417 {
23418 arg2 = wxString_in_helper(obj1);
23419 if (arg2 == NULL) SWIG_fail;
ae8162c8 23420 temp2 = true;
d55e5bfc
RD
23421 }
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
093d3ff1
RD
23429 {
23430 resultobj = SWIG_From_int((int)(result));
23431 }
d55e5bfc
RD
23432 {
23433 if (temp2)
23434 delete arg2;
23435 }
23436 return resultobj;
23437 fail:
23438 {
23439 if (temp2)
23440 delete arg2;
23441 }
23442 return NULL;
23443}
23444
23445
c32bde28 23446static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23447 PyObject *resultobj;
23448 wxDateTime *arg1 = (wxDateTime *) 0 ;
23449 wxString *arg2 = 0 ;
fef4c27a 23450 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23451 wxString *arg3 = (wxString *) &arg3_defvalue ;
23452 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
23453 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
23454 int result;
ae8162c8
RD
23455 bool temp2 = false ;
23456 bool temp3 = false ;
d55e5bfc
RD
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 PyObject * obj2 = 0 ;
23460 PyObject * obj3 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
23466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23468 {
23469 arg2 = wxString_in_helper(obj1);
23470 if (arg2 == NULL) SWIG_fail;
ae8162c8 23471 temp2 = true;
d55e5bfc
RD
23472 }
23473 if (obj2) {
23474 {
23475 arg3 = wxString_in_helper(obj2);
23476 if (arg3 == NULL) SWIG_fail;
ae8162c8 23477 temp3 = true;
d55e5bfc
RD
23478 }
23479 }
23480 if (obj3) {
093d3ff1
RD
23481 {
23482 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23483 if (SWIG_arg_fail(4)) SWIG_fail;
23484 if (arg4 == NULL) {
23485 SWIG_null_ref("wxDateTime");
23486 }
23487 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
23488 }
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
093d3ff1
RD
23497 {
23498 resultobj = SWIG_From_int((int)(result));
23499 }
d55e5bfc
RD
23500 {
23501 if (temp2)
23502 delete arg2;
23503 }
23504 {
23505 if (temp3)
23506 delete arg3;
23507 }
23508 return resultobj;
23509 fail:
23510 {
23511 if (temp2)
23512 delete arg2;
23513 }
23514 {
23515 if (temp3)
23516 delete arg3;
23517 }
23518 return NULL;
23519}
23520
23521
c32bde28 23522static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23523 PyObject *resultobj;
23524 wxDateTime *arg1 = (wxDateTime *) 0 ;
23525 wxString *arg2 = 0 ;
23526 int result;
ae8162c8 23527 bool temp2 = false ;
d55e5bfc
RD
23528 PyObject * obj0 = 0 ;
23529 PyObject * obj1 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self",(char *) "datetime", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23536 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23537 {
23538 arg2 = wxString_in_helper(obj1);
23539 if (arg2 == NULL) SWIG_fail;
ae8162c8 23540 temp2 = true;
d55e5bfc
RD
23541 }
23542 {
23543 PyThreadState* __tstate = wxPyBeginAllowThreads();
23544 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
23545
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
093d3ff1
RD
23549 {
23550 resultobj = SWIG_From_int((int)(result));
23551 }
d55e5bfc
RD
23552 {
23553 if (temp2)
23554 delete arg2;
23555 }
23556 return resultobj;
23557 fail:
23558 {
23559 if (temp2)
23560 delete arg2;
23561 }
23562 return NULL;
23563}
23564
23565
c32bde28 23566static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23567 PyObject *resultobj;
23568 wxDateTime *arg1 = (wxDateTime *) 0 ;
23569 wxString *arg2 = 0 ;
23570 int result;
ae8162c8 23571 bool temp2 = false ;
d55e5bfc
RD
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "date", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23581 {
23582 arg2 = wxString_in_helper(obj1);
23583 if (arg2 == NULL) SWIG_fail;
ae8162c8 23584 temp2 = true;
d55e5bfc
RD
23585 }
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
093d3ff1
RD
23593 {
23594 resultobj = SWIG_From_int((int)(result));
23595 }
d55e5bfc
RD
23596 {
23597 if (temp2)
23598 delete arg2;
23599 }
23600 return resultobj;
23601 fail:
23602 {
23603 if (temp2)
23604 delete arg2;
23605 }
23606 return NULL;
23607}
23608
23609
c32bde28 23610static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23611 PyObject *resultobj;
23612 wxDateTime *arg1 = (wxDateTime *) 0 ;
23613 wxString *arg2 = 0 ;
23614 int result;
ae8162c8 23615 bool temp2 = false ;
d55e5bfc
RD
23616 PyObject * obj0 = 0 ;
23617 PyObject * obj1 = 0 ;
23618 char *kwnames[] = {
23619 (char *) "self",(char *) "time", NULL
23620 };
23621
23622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23625 {
23626 arg2 = wxString_in_helper(obj1);
23627 if (arg2 == NULL) SWIG_fail;
ae8162c8 23628 temp2 = true;
d55e5bfc
RD
23629 }
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
093d3ff1
RD
23637 {
23638 resultobj = SWIG_From_int((int)(result));
23639 }
d55e5bfc
RD
23640 {
23641 if (temp2)
23642 delete arg2;
23643 }
23644 return resultobj;
23645 fail:
23646 {
23647 if (temp2)
23648 delete arg2;
23649 }
23650 return NULL;
23651}
23652
23653
c32bde28 23654static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23655 PyObject *resultobj;
23656 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 23657 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23658 wxString *arg2 = (wxString *) &arg2_defvalue ;
23659 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23660 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23661 wxString result;
ae8162c8
RD
23662 bool temp2 = false ;
23663 bool temp3 = false ;
d55e5bfc
RD
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 PyObject * obj2 = 0 ;
23667 char *kwnames[] = {
23668 (char *) "self",(char *) "format",(char *) "tz", NULL
23669 };
23670
23671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23674 if (obj1) {
23675 {
23676 arg2 = wxString_in_helper(obj1);
23677 if (arg2 == NULL) SWIG_fail;
ae8162c8 23678 temp2 = true;
d55e5bfc
RD
23679 }
23680 }
23681 if (obj2) {
23682 {
23683 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23684 temp3 = true;
d55e5bfc
RD
23685 }
23686 }
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
23690
23691 wxPyEndAllowThreads(__tstate);
23692 if (PyErr_Occurred()) SWIG_fail;
23693 }
23694 {
23695#if wxUSE_UNICODE
23696 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23697#else
23698 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23699#endif
23700 }
23701 {
23702 if (temp2)
23703 delete arg2;
23704 }
23705 {
23706 if (temp3) delete arg3;
23707 }
23708 return resultobj;
23709 fail:
23710 {
23711 if (temp2)
23712 delete arg2;
23713 }
23714 {
23715 if (temp3) delete arg3;
23716 }
23717 return NULL;
23718}
23719
23720
c32bde28 23721static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23722 PyObject *resultobj;
23723 wxDateTime *arg1 = (wxDateTime *) 0 ;
23724 wxString result;
23725 PyObject * obj0 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = ((wxDateTime const *)arg1)->FormatDate();
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 {
23741#if wxUSE_UNICODE
23742 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23743#else
23744 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23745#endif
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750}
23751
23752
c32bde28 23753static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23754 PyObject *resultobj;
23755 wxDateTime *arg1 = (wxDateTime *) 0 ;
23756 wxString result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = ((wxDateTime const *)arg1)->FormatTime();
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 {
23773#if wxUSE_UNICODE
23774 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23775#else
23776 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23777#endif
23778 }
23779 return resultobj;
23780 fail:
23781 return NULL;
23782}
23783
23784
c32bde28 23785static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23786 PyObject *resultobj;
23787 wxDateTime *arg1 = (wxDateTime *) 0 ;
23788 wxString result;
23789 PyObject * obj0 = 0 ;
23790 char *kwnames[] = {
23791 (char *) "self", NULL
23792 };
23793
23794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23797 {
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 result = ((wxDateTime const *)arg1)->FormatISODate();
23800
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 {
23805#if wxUSE_UNICODE
23806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23807#else
23808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23809#endif
23810 }
23811 return resultobj;
23812 fail:
23813 return NULL;
23814}
23815
23816
c32bde28 23817static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23818 PyObject *resultobj;
23819 wxDateTime *arg1 = (wxDateTime *) 0 ;
23820 wxString result;
23821 PyObject * obj0 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self", NULL
23824 };
23825
23826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 result = ((wxDateTime const *)arg1)->FormatISOTime();
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 {
23837#if wxUSE_UNICODE
23838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23839#else
23840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23841#endif
23842 }
23843 return resultobj;
23844 fail:
23845 return NULL;
23846}
23847
23848
c32bde28 23849static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23850 PyObject *obj;
23851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23852 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
23853 Py_INCREF(obj);
23854 return Py_BuildValue((char *)"");
23855}
c32bde28 23856static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23857 PyObject *resultobj;
23858 long arg1 ;
23859 wxTimeSpan result;
23860 PyObject * obj0 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "sec", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
23866 {
23867 arg1 = (long)(SWIG_As_long(obj0));
23868 if (SWIG_arg_fail(1)) SWIG_fail;
23869 }
d55e5bfc
RD
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = wxTimeSpan::Seconds(arg1);
23873
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 {
23878 wxTimeSpan * resultptr;
093d3ff1 23879 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23881 }
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
c32bde28 23888static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23889 PyObject *resultobj;
23890 wxTimeSpan result;
23891 char *kwnames[] = {
23892 NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = wxTimeSpan::Second();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 {
23904 wxTimeSpan * resultptr;
093d3ff1 23905 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23906 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23907 }
23908 return resultobj;
23909 fail:
23910 return NULL;
23911}
23912
23913
c32bde28 23914static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23915 PyObject *resultobj;
23916 long arg1 ;
23917 wxTimeSpan result;
23918 PyObject * obj0 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "min", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23924 {
23925 arg1 = (long)(SWIG_As_long(obj0));
23926 if (SWIG_arg_fail(1)) SWIG_fail;
23927 }
d55e5bfc
RD
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 result = wxTimeSpan::Minutes(arg1);
23931
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 {
23936 wxTimeSpan * resultptr;
093d3ff1 23937 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23939 }
23940 return resultobj;
23941 fail:
23942 return NULL;
23943}
23944
23945
c32bde28 23946static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23947 PyObject *resultobj;
23948 wxTimeSpan result;
23949 char *kwnames[] = {
23950 NULL
23951 };
23952
23953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = wxTimeSpan::Minute();
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 wxTimeSpan * resultptr;
093d3ff1 23963 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23965 }
23966 return resultobj;
23967 fail:
23968 return NULL;
23969}
23970
23971
c32bde28 23972static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23973 PyObject *resultobj;
23974 long arg1 ;
23975 wxTimeSpan result;
23976 PyObject * obj0 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "hours", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1
RD
23982 {
23983 arg1 = (long)(SWIG_As_long(obj0));
23984 if (SWIG_arg_fail(1)) SWIG_fail;
23985 }
d55e5bfc
RD
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = wxTimeSpan::Hours(arg1);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 wxTimeSpan * resultptr;
093d3ff1 23995 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23997 }
23998 return resultobj;
23999 fail:
24000 return NULL;
24001}
24002
24003
c32bde28 24004static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24005 PyObject *resultobj;
24006 wxTimeSpan result;
24007 char *kwnames[] = {
24008 NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
24012 {
24013 PyThreadState* __tstate = wxPyBeginAllowThreads();
24014 result = wxTimeSpan::Hour();
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 {
24020 wxTimeSpan * resultptr;
093d3ff1 24021 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24023 }
24024 return resultobj;
24025 fail:
24026 return NULL;
24027}
24028
24029
c32bde28 24030static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24031 PyObject *resultobj;
24032 long arg1 ;
24033 wxTimeSpan result;
24034 PyObject * obj0 = 0 ;
24035 char *kwnames[] = {
24036 (char *) "days", NULL
24037 };
24038
24039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
24040 {
24041 arg1 = (long)(SWIG_As_long(obj0));
24042 if (SWIG_arg_fail(1)) SWIG_fail;
24043 }
d55e5bfc
RD
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 result = wxTimeSpan::Days(arg1);
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 {
24052 wxTimeSpan * resultptr;
093d3ff1 24053 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24055 }
24056 return resultobj;
24057 fail:
24058 return NULL;
24059}
24060
24061
c32bde28 24062static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24063 PyObject *resultobj;
24064 wxTimeSpan result;
24065 char *kwnames[] = {
24066 NULL
24067 };
24068
24069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = wxTimeSpan::Day();
24073
24074 wxPyEndAllowThreads(__tstate);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 {
24078 wxTimeSpan * resultptr;
093d3ff1 24079 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24081 }
24082 return resultobj;
24083 fail:
24084 return NULL;
24085}
24086
24087
c32bde28 24088static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24089 PyObject *resultobj;
24090 long arg1 ;
24091 wxTimeSpan result;
24092 PyObject * obj0 = 0 ;
24093 char *kwnames[] = {
24094 (char *) "days", NULL
24095 };
24096
24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
24098 {
24099 arg1 = (long)(SWIG_As_long(obj0));
24100 if (SWIG_arg_fail(1)) SWIG_fail;
24101 }
d55e5bfc
RD
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 result = wxTimeSpan::Weeks(arg1);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 {
24110 wxTimeSpan * resultptr;
093d3ff1 24111 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24113 }
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
c32bde28 24120static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24121 PyObject *resultobj;
24122 wxTimeSpan result;
24123 char *kwnames[] = {
24124 NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 result = wxTimeSpan::Week();
24131
24132 wxPyEndAllowThreads(__tstate);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 {
24136 wxTimeSpan * resultptr;
093d3ff1 24137 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24138 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24139 }
24140 return resultobj;
24141 fail:
24142 return NULL;
24143}
24144
24145
c32bde28 24146static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24147 PyObject *resultobj;
24148 long arg1 = (long) 0 ;
24149 long arg2 = (long) 0 ;
24150 long arg3 = (long) 0 ;
24151 long arg4 = (long) 0 ;
24152 wxTimeSpan *result;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 PyObject * obj2 = 0 ;
24156 PyObject * obj3 = 0 ;
24157 char *kwnames[] = {
24158 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24162 if (obj0) {
093d3ff1
RD
24163 {
24164 arg1 = (long)(SWIG_As_long(obj0));
24165 if (SWIG_arg_fail(1)) SWIG_fail;
24166 }
d55e5bfc
RD
24167 }
24168 if (obj1) {
093d3ff1
RD
24169 {
24170 arg2 = (long)(SWIG_As_long(obj1));
24171 if (SWIG_arg_fail(2)) SWIG_fail;
24172 }
d55e5bfc
RD
24173 }
24174 if (obj2) {
093d3ff1
RD
24175 {
24176 arg3 = (long)(SWIG_As_long(obj2));
24177 if (SWIG_arg_fail(3)) SWIG_fail;
24178 }
d55e5bfc
RD
24179 }
24180 if (obj3) {
093d3ff1
RD
24181 {
24182 arg4 = (long)(SWIG_As_long(obj3));
24183 if (SWIG_arg_fail(4)) SWIG_fail;
24184 }
d55e5bfc
RD
24185 }
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24194 return resultobj;
24195 fail:
24196 return NULL;
24197}
24198
24199
c32bde28 24200static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24201 PyObject *resultobj;
24202 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24203 PyObject * obj0 = 0 ;
24204 char *kwnames[] = {
24205 (char *) "self", NULL
24206 };
24207
24208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
24209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 delete arg1;
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 Py_INCREF(Py_None); resultobj = Py_None;
24219 return resultobj;
24220 fail:
24221 return NULL;
24222}
24223
24224
c32bde28 24225static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24226 PyObject *resultobj;
24227 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24228 wxTimeSpan *arg2 = 0 ;
24229 wxTimeSpan *result;
24230 PyObject * obj0 = 0 ;
24231 PyObject * obj1 = 0 ;
24232 char *kwnames[] = {
24233 (char *) "self",(char *) "diff", NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24238 if (SWIG_arg_fail(1)) SWIG_fail;
24239 {
24240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24241 if (SWIG_arg_fail(2)) SWIG_fail;
24242 if (arg2 == NULL) {
24243 SWIG_null_ref("wxTimeSpan");
24244 }
24245 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24246 }
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 {
24250 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
24251 result = (wxTimeSpan *) &_result_ref;
24252 }
24253
24254 wxPyEndAllowThreads(__tstate);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 }
24257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
c32bde28 24264static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24265 PyObject *resultobj;
24266 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24267 wxTimeSpan *arg2 = 0 ;
24268 wxTimeSpan *result;
24269 PyObject * obj0 = 0 ;
24270 PyObject * obj1 = 0 ;
24271 char *kwnames[] = {
24272 (char *) "self",(char *) "diff", NULL
24273 };
24274
24275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail;
24278 {
24279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(2)) SWIG_fail;
24281 if (arg2 == NULL) {
24282 SWIG_null_ref("wxTimeSpan");
24283 }
24284 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24285 }
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 {
24289 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
24290 result = (wxTimeSpan *) &_result_ref;
24291 }
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24297 return resultobj;
24298 fail:
24299 return NULL;
24300}
24301
24302
c32bde28 24303static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24304 PyObject *resultobj;
24305 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24306 int arg2 ;
24307 wxTimeSpan *result;
24308 PyObject * obj0 = 0 ;
24309 PyObject * obj1 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self",(char *) "n", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail;
24317 {
24318 arg2 = (int)(SWIG_As_int(obj1));
24319 if (SWIG_arg_fail(2)) SWIG_fail;
24320 }
d55e5bfc
RD
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 {
24324 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
24325 result = (wxTimeSpan *) &_result_ref;
24326 }
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24332 return resultobj;
24333 fail:
24334 return NULL;
24335}
24336
24337
c32bde28 24338static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24339 PyObject *resultobj;
24340 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24341 wxTimeSpan *result;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
24348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24350 {
24351 PyThreadState* __tstate = wxPyBeginAllowThreads();
24352 {
24353 wxTimeSpan &_result_ref = (arg1)->Neg();
24354 result = (wxTimeSpan *) &_result_ref;
24355 }
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24361 return resultobj;
24362 fail:
24363 return NULL;
24364}
24365
24366
c32bde28 24367static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24368 PyObject *resultobj;
24369 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24370 wxTimeSpan result;
24371 PyObject * obj0 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
24377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24379 {
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = ((wxTimeSpan const *)arg1)->Abs();
24382
24383 wxPyEndAllowThreads(__tstate);
24384 if (PyErr_Occurred()) SWIG_fail;
24385 }
24386 {
24387 wxTimeSpan * resultptr;
093d3ff1 24388 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24389 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24390 }
24391 return resultobj;
24392 fail:
24393 return NULL;
24394}
24395
24396
c32bde28 24397static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24398 PyObject *resultobj;
24399 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24400 wxTimeSpan *arg2 = 0 ;
24401 wxTimeSpan *result;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "diff", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24410 if (SWIG_arg_fail(1)) SWIG_fail;
24411 {
24412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24413 if (SWIG_arg_fail(2)) SWIG_fail;
24414 if (arg2 == NULL) {
24415 SWIG_null_ref("wxTimeSpan");
24416 }
24417 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24418 }
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 {
24422 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
24423 result = (wxTimeSpan *) &_result_ref;
24424 }
24425
24426 wxPyEndAllowThreads(__tstate);
24427 if (PyErr_Occurred()) SWIG_fail;
24428 }
c32bde28 24429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24430 return resultobj;
24431 fail:
24432 return NULL;
24433}
24434
24435
c32bde28 24436static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24437 PyObject *resultobj;
24438 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24439 wxTimeSpan *arg2 = 0 ;
24440 wxTimeSpan *result;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self",(char *) "diff", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24449 if (SWIG_arg_fail(1)) SWIG_fail;
24450 {
24451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24452 if (SWIG_arg_fail(2)) SWIG_fail;
24453 if (arg2 == NULL) {
24454 SWIG_null_ref("wxTimeSpan");
24455 }
24456 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 {
24461 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
24462 result = (wxTimeSpan *) &_result_ref;
24463 }
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
c32bde28 24468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24469 return resultobj;
24470 fail:
24471 return NULL;
24472}
24473
24474
c32bde28 24475static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24476 PyObject *resultobj;
24477 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24478 int arg2 ;
24479 wxTimeSpan *result;
24480 PyObject * obj0 = 0 ;
24481 PyObject * obj1 = 0 ;
24482 char *kwnames[] = {
24483 (char *) "self",(char *) "n", NULL
24484 };
24485
24486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24488 if (SWIG_arg_fail(1)) SWIG_fail;
24489 {
24490 arg2 = (int)(SWIG_As_int(obj1));
24491 if (SWIG_arg_fail(2)) SWIG_fail;
24492 }
d55e5bfc
RD
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 {
24496 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
24497 result = (wxTimeSpan *) &_result_ref;
24498 }
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
c32bde28 24503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
c32bde28 24510static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24511 PyObject *resultobj;
24512 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24513 wxTimeSpan *result;
24514 PyObject * obj0 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 {
24525 wxTimeSpan &_result_ref = (arg1)->operator -();
24526 result = (wxTimeSpan *) &_result_ref;
24527 }
24528
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24533 return resultobj;
24534 fail:
24535 return NULL;
24536}
24537
24538
c32bde28 24539static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24540 PyObject *resultobj;
24541 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24542 wxTimeSpan *arg2 = 0 ;
24543 wxTimeSpan result;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "other", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24552 if (SWIG_arg_fail(1)) SWIG_fail;
24553 {
24554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24555 if (SWIG_arg_fail(2)) SWIG_fail;
24556 if (arg2 == NULL) {
24557 SWIG_null_ref("wxTimeSpan");
24558 }
24559 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24560 }
24561 {
24562 PyThreadState* __tstate = wxPyBeginAllowThreads();
24563 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
24564
24565 wxPyEndAllowThreads(__tstate);
24566 if (PyErr_Occurred()) SWIG_fail;
24567 }
24568 {
24569 wxTimeSpan * resultptr;
093d3ff1 24570 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24572 }
24573 return resultobj;
24574 fail:
24575 return NULL;
24576}
24577
24578
c32bde28 24579static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24580 PyObject *resultobj;
24581 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24582 wxTimeSpan *arg2 = 0 ;
24583 wxTimeSpan result;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self",(char *) "other", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail;
24593 {
24594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24595 if (SWIG_arg_fail(2)) SWIG_fail;
24596 if (arg2 == NULL) {
24597 SWIG_null_ref("wxTimeSpan");
24598 }
24599 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24600 }
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 {
24609 wxTimeSpan * resultptr;
093d3ff1 24610 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24612 }
24613 return resultobj;
24614 fail:
24615 return NULL;
24616}
24617
24618
c32bde28 24619static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24620 PyObject *resultobj;
24621 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24622 int arg2 ;
24623 wxTimeSpan result;
24624 PyObject * obj0 = 0 ;
24625 PyObject * obj1 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "n", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24632 if (SWIG_arg_fail(1)) SWIG_fail;
24633 {
24634 arg2 = (int)(SWIG_As_int(obj1));
24635 if (SWIG_arg_fail(2)) SWIG_fail;
24636 }
d55e5bfc
RD
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 result = wxTimeSpan___mul__(arg1,arg2);
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 {
24645 wxTimeSpan * resultptr;
093d3ff1 24646 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24648 }
24649 return resultobj;
24650 fail:
24651 return NULL;
24652}
24653
24654
c32bde28 24655static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24656 PyObject *resultobj;
24657 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24658 int arg2 ;
24659 wxTimeSpan result;
24660 PyObject * obj0 = 0 ;
24661 PyObject * obj1 = 0 ;
24662 char *kwnames[] = {
24663 (char *) "self",(char *) "n", NULL
24664 };
24665
24666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail;
24669 {
24670 arg2 = (int)(SWIG_As_int(obj1));
24671 if (SWIG_arg_fail(2)) SWIG_fail;
24672 }
d55e5bfc
RD
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 result = wxTimeSpan___rmul__(arg1,arg2);
24676
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 {
24681 wxTimeSpan * resultptr;
093d3ff1 24682 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24684 }
24685 return resultobj;
24686 fail:
24687 return NULL;
24688}
24689
24690
c32bde28 24691static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24692 PyObject *resultobj;
24693 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24694 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24695 bool result;
24696 PyObject * obj0 = 0 ;
24697 PyObject * obj1 = 0 ;
24698 char *kwnames[] = {
24699 (char *) "self",(char *) "other", NULL
24700 };
24701
24702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24704 if (SWIG_arg_fail(1)) SWIG_fail;
24705 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24706 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 {
24715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24716 }
24717 return resultobj;
24718 fail:
24719 return NULL;
24720}
24721
24722
c32bde28 24723static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24724 PyObject *resultobj;
24725 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24726 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24727 bool result;
24728 PyObject * obj0 = 0 ;
24729 PyObject * obj1 = 0 ;
24730 char *kwnames[] = {
24731 (char *) "self",(char *) "other", NULL
24732 };
24733
24734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24736 if (SWIG_arg_fail(1)) SWIG_fail;
24737 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 {
24747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24748 }
24749 return resultobj;
24750 fail:
24751 return NULL;
24752}
24753
24754
c32bde28 24755static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24756 PyObject *resultobj;
24757 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24758 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24759 bool result;
24760 PyObject * obj0 = 0 ;
24761 PyObject * obj1 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "other", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail;
24769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24770 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
24778 {
24779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24780 }
24781 return resultobj;
24782 fail:
24783 return NULL;
24784}
24785
24786
c32bde28 24787static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24788 PyObject *resultobj;
24789 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24790 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24791 bool result;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 char *kwnames[] = {
24795 (char *) "self",(char *) "other", NULL
24796 };
24797
24798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail;
24801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24802 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 {
24811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24812 }
24813 return resultobj;
24814 fail:
24815 return NULL;
24816}
24817
24818
c32bde28 24819static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24820 PyObject *resultobj;
24821 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24822 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24823 bool result;
24824 PyObject * obj0 = 0 ;
24825 PyObject * obj1 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self",(char *) "other", NULL
24828 };
24829
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail;
24833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24834 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 {
24843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24844 }
24845 return resultobj;
24846 fail:
24847 return NULL;
24848}
24849
24850
c32bde28 24851static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24852 PyObject *resultobj;
24853 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24854 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24855 bool result;
24856 PyObject * obj0 = 0 ;
24857 PyObject * obj1 = 0 ;
24858 char *kwnames[] = {
24859 (char *) "self",(char *) "other", NULL
24860 };
24861
24862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24864 if (SWIG_arg_fail(1)) SWIG_fail;
24865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24866 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24867 {
24868 PyThreadState* __tstate = wxPyBeginAllowThreads();
24869 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
24870
24871 wxPyEndAllowThreads(__tstate);
24872 if (PyErr_Occurred()) SWIG_fail;
24873 }
24874 {
24875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24876 }
24877 return resultobj;
24878 fail:
24879 return NULL;
24880}
24881
24882
c32bde28 24883static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24884 PyObject *resultobj;
24885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24886 bool result;
24887 PyObject * obj0 = 0 ;
24888 char *kwnames[] = {
24889 (char *) "self", NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
24893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 {
24903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24904 }
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
c32bde28 24911static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24912 PyObject *resultobj;
24913 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24914 bool result;
24915 PyObject * obj0 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
24921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 {
24931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24932 }
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
c32bde28 24939static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24940 PyObject *resultobj;
24941 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24942 bool result;
24943 PyObject * obj0 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
24949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24960 }
24961 return resultobj;
24962 fail:
24963 return NULL;
24964}
24965
24966
c32bde28 24967static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24968 PyObject *resultobj;
24969 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24970 wxTimeSpan *arg2 = 0 ;
24971 bool result;
24972 PyObject * obj0 = 0 ;
24973 PyObject * obj1 = 0 ;
24974 char *kwnames[] = {
24975 (char *) "self",(char *) "ts", NULL
24976 };
24977
24978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail;
24981 {
24982 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24983 if (SWIG_arg_fail(2)) SWIG_fail;
24984 if (arg2 == NULL) {
24985 SWIG_null_ref("wxTimeSpan");
24986 }
24987 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24988 }
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 {
24997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24998 }
24999 return resultobj;
25000 fail:
25001 return NULL;
25002}
25003
25004
c32bde28 25005static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25006 PyObject *resultobj;
25007 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25008 wxTimeSpan *arg2 = 0 ;
25009 bool result;
25010 PyObject * obj0 = 0 ;
25011 PyObject * obj1 = 0 ;
25012 char *kwnames[] = {
25013 (char *) "self",(char *) "ts", NULL
25014 };
25015
25016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25018 if (SWIG_arg_fail(1)) SWIG_fail;
25019 {
25020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25021 if (SWIG_arg_fail(2)) SWIG_fail;
25022 if (arg2 == NULL) {
25023 SWIG_null_ref("wxTimeSpan");
25024 }
25025 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25026 }
25027 {
25028 PyThreadState* __tstate = wxPyBeginAllowThreads();
25029 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
25030
25031 wxPyEndAllowThreads(__tstate);
25032 if (PyErr_Occurred()) SWIG_fail;
25033 }
25034 {
25035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25036 }
25037 return resultobj;
25038 fail:
25039 return NULL;
25040}
25041
25042
c32bde28 25043static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25044 PyObject *resultobj;
25045 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25046 wxTimeSpan *arg2 = 0 ;
25047 bool result;
25048 PyObject * obj0 = 0 ;
25049 PyObject * obj1 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self",(char *) "t", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail;
25057 {
25058 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25059 if (SWIG_arg_fail(2)) SWIG_fail;
25060 if (arg2 == NULL) {
25061 SWIG_null_ref("wxTimeSpan");
25062 }
25063 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25064 }
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 {
25073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25074 }
25075 return resultobj;
25076 fail:
25077 return NULL;
25078}
25079
25080
c32bde28 25081static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25082 PyObject *resultobj;
25083 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25084 int result;
25085 PyObject * obj0 = 0 ;
25086 char *kwnames[] = {
25087 (char *) "self", NULL
25088 };
25089
25090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
093d3ff1
RD
25100 {
25101 resultobj = SWIG_From_int((int)(result));
25102 }
d55e5bfc
RD
25103 return resultobj;
25104 fail:
25105 return NULL;
25106}
25107
25108
c32bde28 25109static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25110 PyObject *resultobj;
25111 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25112 int result;
25113 PyObject * obj0 = 0 ;
25114 char *kwnames[] = {
25115 (char *) "self", NULL
25116 };
25117
25118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 result = (int)((wxTimeSpan const *)arg1)->GetDays();
25124
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
093d3ff1
RD
25128 {
25129 resultobj = SWIG_From_int((int)(result));
25130 }
d55e5bfc
RD
25131 return resultobj;
25132 fail:
25133 return NULL;
25134}
25135
25136
c32bde28 25137static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25138 PyObject *resultobj;
25139 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25140 int result;
25141 PyObject * obj0 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
25147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25148 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (int)((wxTimeSpan const *)arg1)->GetHours();
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
093d3ff1
RD
25156 {
25157 resultobj = SWIG_From_int((int)(result));
25158 }
d55e5bfc
RD
25159 return resultobj;
25160 fail:
25161 return NULL;
25162}
25163
25164
c32bde28 25165static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25166 PyObject *resultobj;
25167 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25168 int result;
25169 PyObject * obj0 = 0 ;
25170 char *kwnames[] = {
25171 (char *) "self", NULL
25172 };
25173
25174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
25175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
093d3ff1
RD
25184 {
25185 resultobj = SWIG_From_int((int)(result));
25186 }
d55e5bfc
RD
25187 return resultobj;
25188 fail:
25189 return NULL;
25190}
25191
25192
c32bde28 25193static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25194 PyObject *resultobj;
25195 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25196 wxLongLong result;
25197 PyObject * obj0 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25205 {
25206 PyThreadState* __tstate = wxPyBeginAllowThreads();
25207 result = ((wxTimeSpan const *)arg1)->GetSeconds();
25208
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 {
25213 PyObject *hi, *lo, *shifter, *shifted;
25214 hi = PyLong_FromLong( (&result)->GetHi() );
25215 lo = PyLong_FromLong( (&result)->GetLo() );
25216 shifter = PyLong_FromLong(32);
25217 shifted = PyNumber_Lshift(hi, shifter);
25218 resultobj = PyNumber_Or(shifted, lo);
25219 Py_DECREF(hi);
25220 Py_DECREF(lo);
25221 Py_DECREF(shifter);
25222 Py_DECREF(shifted);
25223 }
25224 return resultobj;
25225 fail:
25226 return NULL;
25227}
25228
25229
c32bde28 25230static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25231 PyObject *resultobj;
25232 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25233 wxLongLong result;
25234 PyObject * obj0 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
25245
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 {
25250 PyObject *hi, *lo, *shifter, *shifted;
25251 hi = PyLong_FromLong( (&result)->GetHi() );
25252 lo = PyLong_FromLong( (&result)->GetLo() );
25253 shifter = PyLong_FromLong(32);
25254 shifted = PyNumber_Lshift(hi, shifter);
25255 resultobj = PyNumber_Or(shifted, lo);
25256 Py_DECREF(hi);
25257 Py_DECREF(lo);
25258 Py_DECREF(shifter);
25259 Py_DECREF(shifted);
25260 }
25261 return resultobj;
25262 fail:
25263 return NULL;
25264}
25265
25266
c32bde28 25267static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25268 PyObject *resultobj;
25269 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 25270 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
25271 wxString *arg2 = (wxString *) &arg2_defvalue ;
25272 wxString result;
ae8162c8 25273 bool temp2 = false ;
d55e5bfc
RD
25274 PyObject * obj0 = 0 ;
25275 PyObject * obj1 = 0 ;
25276 char *kwnames[] = {
25277 (char *) "self",(char *) "format", NULL
25278 };
25279
25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25283 if (obj1) {
25284 {
25285 arg2 = wxString_in_helper(obj1);
25286 if (arg2 == NULL) SWIG_fail;
ae8162c8 25287 temp2 = true;
d55e5bfc
RD
25288 }
25289 }
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
25297 {
25298#if wxUSE_UNICODE
25299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25300#else
25301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25302#endif
25303 }
25304 {
25305 if (temp2)
25306 delete arg2;
25307 }
25308 return resultobj;
25309 fail:
25310 {
25311 if (temp2)
25312 delete arg2;
25313 }
25314 return NULL;
25315}
25316
25317
c32bde28 25318static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25319 PyObject *obj;
25320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25321 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
25322 Py_INCREF(obj);
25323 return Py_BuildValue((char *)"");
25324}
c32bde28 25325static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25326 PyObject *resultobj;
25327 int arg1 = (int) 0 ;
25328 int arg2 = (int) 0 ;
25329 int arg3 = (int) 0 ;
25330 int arg4 = (int) 0 ;
25331 wxDateSpan *result;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 PyObject * obj2 = 0 ;
25335 PyObject * obj3 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25341 if (obj0) {
093d3ff1
RD
25342 {
25343 arg1 = (int)(SWIG_As_int(obj0));
25344 if (SWIG_arg_fail(1)) SWIG_fail;
25345 }
d55e5bfc
RD
25346 }
25347 if (obj1) {
093d3ff1
RD
25348 {
25349 arg2 = (int)(SWIG_As_int(obj1));
25350 if (SWIG_arg_fail(2)) SWIG_fail;
25351 }
d55e5bfc
RD
25352 }
25353 if (obj2) {
093d3ff1
RD
25354 {
25355 arg3 = (int)(SWIG_As_int(obj2));
25356 if (SWIG_arg_fail(3)) SWIG_fail;
25357 }
d55e5bfc
RD
25358 }
25359 if (obj3) {
093d3ff1
RD
25360 {
25361 arg4 = (int)(SWIG_As_int(obj3));
25362 if (SWIG_arg_fail(4)) SWIG_fail;
25363 }
d55e5bfc
RD
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
25373 return resultobj;
25374 fail:
25375 return NULL;
25376}
25377
25378
c32bde28 25379static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25380 PyObject *resultobj;
25381 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25382 PyObject * obj0 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 delete arg1;
25393
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 Py_INCREF(Py_None); resultobj = Py_None;
25398 return resultobj;
25399 fail:
25400 return NULL;
25401}
25402
25403
c32bde28 25404static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25405 PyObject *resultobj;
25406 int arg1 ;
25407 wxDateSpan result;
25408 PyObject * obj0 = 0 ;
25409 char *kwnames[] = {
25410 (char *) "days", NULL
25411 };
25412
25413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
25414 {
25415 arg1 = (int)(SWIG_As_int(obj0));
25416 if (SWIG_arg_fail(1)) SWIG_fail;
25417 }
d55e5bfc
RD
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = wxDateSpan::Days(arg1);
25421
25422 wxPyEndAllowThreads(__tstate);
25423 if (PyErr_Occurred()) SWIG_fail;
25424 }
25425 {
25426 wxDateSpan * resultptr;
093d3ff1 25427 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25429 }
25430 return resultobj;
25431 fail:
25432 return NULL;
25433}
25434
25435
c32bde28 25436static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25437 PyObject *resultobj;
25438 wxDateSpan result;
25439 char *kwnames[] = {
25440 NULL
25441 };
25442
25443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = wxDateSpan::Day();
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 {
25452 wxDateSpan * resultptr;
093d3ff1 25453 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25455 }
25456 return resultobj;
25457 fail:
25458 return NULL;
25459}
25460
25461
c32bde28 25462static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25463 PyObject *resultobj;
25464 int arg1 ;
25465 wxDateSpan result;
25466 PyObject * obj0 = 0 ;
25467 char *kwnames[] = {
25468 (char *) "weeks", NULL
25469 };
25470
25471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25472 {
25473 arg1 = (int)(SWIG_As_int(obj0));
25474 if (SWIG_arg_fail(1)) SWIG_fail;
25475 }
d55e5bfc
RD
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = wxDateSpan::Weeks(arg1);
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 {
25484 wxDateSpan * resultptr;
093d3ff1 25485 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
c32bde28 25494static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25495 PyObject *resultobj;
25496 wxDateSpan result;
25497 char *kwnames[] = {
25498 NULL
25499 };
25500
25501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 result = wxDateSpan::Week();
25505
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 {
25510 wxDateSpan * resultptr;
093d3ff1 25511 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25513 }
25514 return resultobj;
25515 fail:
25516 return NULL;
25517}
25518
25519
c32bde28 25520static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25521 PyObject *resultobj;
25522 int arg1 ;
25523 wxDateSpan result;
25524 PyObject * obj0 = 0 ;
25525 char *kwnames[] = {
25526 (char *) "mon", NULL
25527 };
25528
25529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1
RD
25530 {
25531 arg1 = (int)(SWIG_As_int(obj0));
25532 if (SWIG_arg_fail(1)) SWIG_fail;
25533 }
d55e5bfc
RD
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = wxDateSpan::Months(arg1);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 {
25542 wxDateSpan * resultptr;
093d3ff1 25543 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25545 }
25546 return resultobj;
25547 fail:
25548 return NULL;
25549}
25550
25551
c32bde28 25552static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25553 PyObject *resultobj;
25554 wxDateSpan result;
25555 char *kwnames[] = {
25556 NULL
25557 };
25558
25559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 result = wxDateSpan::Month();
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 {
25568 wxDateSpan * resultptr;
093d3ff1 25569 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25571 }
25572 return resultobj;
25573 fail:
25574 return NULL;
25575}
25576
25577
c32bde28 25578static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25579 PyObject *resultobj;
25580 int arg1 ;
25581 wxDateSpan result;
25582 PyObject * obj0 = 0 ;
25583 char *kwnames[] = {
25584 (char *) "years", NULL
25585 };
25586
25587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1
RD
25588 {
25589 arg1 = (int)(SWIG_As_int(obj0));
25590 if (SWIG_arg_fail(1)) SWIG_fail;
25591 }
d55e5bfc
RD
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = wxDateSpan::Years(arg1);
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
25599 {
25600 wxDateSpan * resultptr;
093d3ff1 25601 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25603 }
25604 return resultobj;
25605 fail:
25606 return NULL;
25607}
25608
25609
c32bde28 25610static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25611 PyObject *resultobj;
25612 wxDateSpan result;
25613 char *kwnames[] = {
25614 NULL
25615 };
25616
25617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = wxDateSpan::Year();
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 {
25626 wxDateSpan * resultptr;
093d3ff1 25627 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25629 }
25630 return resultobj;
25631 fail:
25632 return NULL;
25633}
25634
25635
c32bde28 25636static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25637 PyObject *resultobj;
25638 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25639 int arg2 ;
25640 wxDateSpan *result;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self",(char *) "n", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail;
25650 {
25651 arg2 = (int)(SWIG_As_int(obj1));
25652 if (SWIG_arg_fail(2)) SWIG_fail;
25653 }
d55e5bfc
RD
25654 {
25655 PyThreadState* __tstate = wxPyBeginAllowThreads();
25656 {
25657 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
25658 result = (wxDateSpan *) &_result_ref;
25659 }
25660
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25665 return resultobj;
25666 fail:
25667 return NULL;
25668}
25669
25670
c32bde28 25671static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25672 PyObject *resultobj;
25673 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25674 int arg2 ;
25675 wxDateSpan *result;
25676 PyObject * obj0 = 0 ;
25677 PyObject * obj1 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self",(char *) "n", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25684 if (SWIG_arg_fail(1)) SWIG_fail;
25685 {
25686 arg2 = (int)(SWIG_As_int(obj1));
25687 if (SWIG_arg_fail(2)) SWIG_fail;
25688 }
d55e5bfc
RD
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 {
25692 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
25693 result = (wxDateSpan *) &_result_ref;
25694 }
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25700 return resultobj;
25701 fail:
25702 return NULL;
25703}
25704
25705
c32bde28 25706static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25707 PyObject *resultobj;
25708 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25709 int arg2 ;
25710 wxDateSpan *result;
25711 PyObject * obj0 = 0 ;
25712 PyObject * obj1 = 0 ;
25713 char *kwnames[] = {
25714 (char *) "self",(char *) "n", NULL
25715 };
25716
25717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25719 if (SWIG_arg_fail(1)) SWIG_fail;
25720 {
25721 arg2 = (int)(SWIG_As_int(obj1));
25722 if (SWIG_arg_fail(2)) SWIG_fail;
25723 }
d55e5bfc
RD
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 {
25727 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
25728 result = (wxDateSpan *) &_result_ref;
25729 }
25730
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25735 return resultobj;
25736 fail:
25737 return NULL;
25738}
25739
25740
c32bde28 25741static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25742 PyObject *resultobj;
25743 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25744 int arg2 ;
25745 wxDateSpan *result;
25746 PyObject * obj0 = 0 ;
25747 PyObject * obj1 = 0 ;
25748 char *kwnames[] = {
25749 (char *) "self",(char *) "n", NULL
25750 };
25751
25752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25754 if (SWIG_arg_fail(1)) SWIG_fail;
25755 {
25756 arg2 = (int)(SWIG_As_int(obj1));
25757 if (SWIG_arg_fail(2)) SWIG_fail;
25758 }
d55e5bfc
RD
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 {
25762 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
25763 result = (wxDateSpan *) &_result_ref;
25764 }
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25770 return resultobj;
25771 fail:
25772 return NULL;
25773}
25774
25775
c32bde28 25776static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25777 PyObject *resultobj;
25778 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25779 int result;
25780 PyObject * obj0 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
25786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25787 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = (int)((wxDateSpan const *)arg1)->GetYears();
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
093d3ff1
RD
25795 {
25796 resultobj = SWIG_From_int((int)(result));
25797 }
d55e5bfc
RD
25798 return resultobj;
25799 fail:
25800 return NULL;
25801}
25802
25803
c32bde28 25804static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25805 PyObject *resultobj;
25806 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25807 int result;
25808 PyObject * obj0 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "self", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
25814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (int)((wxDateSpan const *)arg1)->GetMonths();
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
093d3ff1
RD
25823 {
25824 resultobj = SWIG_From_int((int)(result));
25825 }
d55e5bfc
RD
25826 return resultobj;
25827 fail:
25828 return NULL;
25829}
25830
25831
c32bde28 25832static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25833 PyObject *resultobj;
25834 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25835 int result;
25836 PyObject * obj0 = 0 ;
25837 char *kwnames[] = {
25838 (char *) "self", NULL
25839 };
25840
25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
25847
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
093d3ff1
RD
25851 {
25852 resultobj = SWIG_From_int((int)(result));
25853 }
d55e5bfc
RD
25854 return resultobj;
25855 fail:
25856 return NULL;
25857}
25858
25859
c32bde28 25860static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25861 PyObject *resultobj;
25862 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25863 int result;
25864 PyObject * obj0 = 0 ;
25865 char *kwnames[] = {
25866 (char *) "self", NULL
25867 };
25868
25869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25872 {
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 result = (int)((wxDateSpan const *)arg1)->GetDays();
25875
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
093d3ff1
RD
25879 {
25880 resultobj = SWIG_From_int((int)(result));
25881 }
d55e5bfc
RD
25882 return resultobj;
25883 fail:
25884 return NULL;
25885}
25886
25887
c32bde28 25888static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25889 PyObject *resultobj;
25890 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25891 int result;
25892 PyObject * obj0 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
093d3ff1
RD
25907 {
25908 resultobj = SWIG_From_int((int)(result));
25909 }
d55e5bfc
RD
25910 return resultobj;
25911 fail:
25912 return NULL;
25913}
25914
25915
c32bde28 25916static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25917 PyObject *resultobj;
25918 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25919 wxDateSpan *arg2 = 0 ;
25920 wxDateSpan *result;
25921 PyObject * obj0 = 0 ;
25922 PyObject * obj1 = 0 ;
25923 char *kwnames[] = {
25924 (char *) "self",(char *) "other", NULL
25925 };
25926
25927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25929 if (SWIG_arg_fail(1)) SWIG_fail;
25930 {
25931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25932 if (SWIG_arg_fail(2)) SWIG_fail;
25933 if (arg2 == NULL) {
25934 SWIG_null_ref("wxDateSpan");
25935 }
25936 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25937 }
25938 {
25939 PyThreadState* __tstate = wxPyBeginAllowThreads();
25940 {
25941 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
25942 result = (wxDateSpan *) &_result_ref;
25943 }
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25949 return resultobj;
25950 fail:
25951 return NULL;
25952}
25953
25954
c32bde28 25955static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25956 PyObject *resultobj;
25957 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25958 wxDateSpan *arg2 = 0 ;
25959 wxDateSpan *result;
25960 PyObject * obj0 = 0 ;
25961 PyObject * obj1 = 0 ;
25962 char *kwnames[] = {
25963 (char *) "self",(char *) "other", NULL
25964 };
25965
25966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail;
25969 {
25970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25971 if (SWIG_arg_fail(2)) SWIG_fail;
25972 if (arg2 == NULL) {
25973 SWIG_null_ref("wxDateSpan");
25974 }
25975 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25976 }
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 {
25980 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
25981 result = (wxDateSpan *) &_result_ref;
25982 }
25983
25984 wxPyEndAllowThreads(__tstate);
25985 if (PyErr_Occurred()) SWIG_fail;
25986 }
25987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25988 return resultobj;
25989 fail:
25990 return NULL;
25991}
25992
25993
c32bde28 25994static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25995 PyObject *resultobj;
25996 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25997 wxDateSpan *result;
25998 PyObject * obj0 = 0 ;
25999 char *kwnames[] = {
26000 (char *) "self", NULL
26001 };
26002
26003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
26004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 {
26009 wxDateSpan &_result_ref = (arg1)->Neg();
26010 result = (wxDateSpan *) &_result_ref;
26011 }
26012
26013 wxPyEndAllowThreads(__tstate);
26014 if (PyErr_Occurred()) SWIG_fail;
26015 }
26016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26017 return resultobj;
26018 fail:
26019 return NULL;
26020}
26021
26022
c32bde28 26023static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26024 PyObject *resultobj;
26025 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26026 int arg2 ;
26027 wxDateSpan *result;
26028 PyObject * obj0 = 0 ;
26029 PyObject * obj1 = 0 ;
26030 char *kwnames[] = {
26031 (char *) "self",(char *) "factor", NULL
26032 };
26033
26034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26036 if (SWIG_arg_fail(1)) SWIG_fail;
26037 {
26038 arg2 = (int)(SWIG_As_int(obj1));
26039 if (SWIG_arg_fail(2)) SWIG_fail;
26040 }
d55e5bfc
RD
26041 {
26042 PyThreadState* __tstate = wxPyBeginAllowThreads();
26043 {
26044 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
26045 result = (wxDateSpan *) &_result_ref;
26046 }
26047
26048 wxPyEndAllowThreads(__tstate);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 }
26051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26052 return resultobj;
26053 fail:
26054 return NULL;
26055}
26056
26057
c32bde28 26058static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26059 PyObject *resultobj;
26060 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26061 wxDateSpan *arg2 = 0 ;
26062 wxDateSpan *result;
26063 PyObject * obj0 = 0 ;
26064 PyObject * obj1 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "self",(char *) "other", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26071 if (SWIG_arg_fail(1)) SWIG_fail;
26072 {
26073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26074 if (SWIG_arg_fail(2)) SWIG_fail;
26075 if (arg2 == NULL) {
26076 SWIG_null_ref("wxDateSpan");
26077 }
26078 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 {
26083 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
26084 result = (wxDateSpan *) &_result_ref;
26085 }
26086
26087 wxPyEndAllowThreads(__tstate);
26088 if (PyErr_Occurred()) SWIG_fail;
26089 }
c32bde28 26090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26091 return resultobj;
26092 fail:
26093 return NULL;
26094}
26095
26096
c32bde28 26097static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26098 PyObject *resultobj;
26099 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26100 wxDateSpan *arg2 = 0 ;
26101 wxDateSpan *result;
26102 PyObject * obj0 = 0 ;
26103 PyObject * obj1 = 0 ;
26104 char *kwnames[] = {
26105 (char *) "self",(char *) "other", NULL
26106 };
26107
26108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26110 if (SWIG_arg_fail(1)) SWIG_fail;
26111 {
26112 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26113 if (SWIG_arg_fail(2)) SWIG_fail;
26114 if (arg2 == NULL) {
26115 SWIG_null_ref("wxDateSpan");
26116 }
26117 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26118 }
26119 {
26120 PyThreadState* __tstate = wxPyBeginAllowThreads();
26121 {
26122 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
26123 result = (wxDateSpan *) &_result_ref;
26124 }
26125
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
c32bde28 26129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26130 return resultobj;
26131 fail:
26132 return NULL;
26133}
26134
26135
c32bde28 26136static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26137 PyObject *resultobj;
26138 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26139 wxDateSpan *result;
26140 PyObject * obj0 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
26146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 {
26151 wxDateSpan &_result_ref = (arg1)->operator -();
26152 result = (wxDateSpan *) &_result_ref;
26153 }
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26159 return resultobj;
26160 fail:
26161 return NULL;
26162}
26163
26164
c32bde28 26165static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26166 PyObject *resultobj;
26167 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26168 int arg2 ;
26169 wxDateSpan *result;
26170 PyObject * obj0 = 0 ;
26171 PyObject * obj1 = 0 ;
26172 char *kwnames[] = {
26173 (char *) "self",(char *) "factor", NULL
26174 };
26175
26176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26178 if (SWIG_arg_fail(1)) SWIG_fail;
26179 {
26180 arg2 = (int)(SWIG_As_int(obj1));
26181 if (SWIG_arg_fail(2)) SWIG_fail;
26182 }
d55e5bfc
RD
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 {
26186 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
26187 result = (wxDateSpan *) &_result_ref;
26188 }
26189
26190 wxPyEndAllowThreads(__tstate);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 }
c32bde28 26193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26194 return resultobj;
26195 fail:
26196 return NULL;
26197}
26198
26199
c32bde28 26200static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26201 PyObject *resultobj;
26202 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26203 wxDateSpan *arg2 = 0 ;
26204 wxDateSpan result;
26205 PyObject * obj0 = 0 ;
26206 PyObject * obj1 = 0 ;
26207 char *kwnames[] = {
26208 (char *) "self",(char *) "other", NULL
26209 };
26210
26211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail;
26214 {
26215 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26216 if (SWIG_arg_fail(2)) SWIG_fail;
26217 if (arg2 == NULL) {
26218 SWIG_null_ref("wxDateSpan");
26219 }
26220 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26221 }
26222 {
26223 PyThreadState* __tstate = wxPyBeginAllowThreads();
26224 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
26225
26226 wxPyEndAllowThreads(__tstate);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 }
26229 {
26230 wxDateSpan * resultptr;
093d3ff1 26231 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26232 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26233 }
26234 return resultobj;
26235 fail:
26236 return NULL;
26237}
26238
26239
c32bde28 26240static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26241 PyObject *resultobj;
26242 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26243 wxDateSpan *arg2 = 0 ;
26244 wxDateSpan result;
26245 PyObject * obj0 = 0 ;
26246 PyObject * obj1 = 0 ;
26247 char *kwnames[] = {
26248 (char *) "self",(char *) "other", NULL
26249 };
26250
26251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail;
26254 {
26255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26256 if (SWIG_arg_fail(2)) SWIG_fail;
26257 if (arg2 == NULL) {
26258 SWIG_null_ref("wxDateSpan");
26259 }
26260 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26261 }
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
26265
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 {
26270 wxDateSpan * resultptr;
093d3ff1 26271 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26273 }
26274 return resultobj;
26275 fail:
26276 return NULL;
26277}
26278
26279
c32bde28 26280static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26281 PyObject *resultobj;
26282 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26283 int arg2 ;
26284 wxDateSpan result;
26285 PyObject * obj0 = 0 ;
26286 PyObject * obj1 = 0 ;
26287 char *kwnames[] = {
26288 (char *) "self",(char *) "n", NULL
26289 };
26290
26291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26293 if (SWIG_arg_fail(1)) SWIG_fail;
26294 {
26295 arg2 = (int)(SWIG_As_int(obj1));
26296 if (SWIG_arg_fail(2)) SWIG_fail;
26297 }
d55e5bfc
RD
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 result = wxDateSpan___mul__(arg1,arg2);
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 {
26306 wxDateSpan * resultptr;
093d3ff1 26307 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26309 }
26310 return resultobj;
26311 fail:
26312 return NULL;
26313}
26314
26315
c32bde28 26316static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26317 PyObject *resultobj;
26318 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26319 int arg2 ;
26320 wxDateSpan result;
26321 PyObject * obj0 = 0 ;
26322 PyObject * obj1 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "n", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26329 if (SWIG_arg_fail(1)) SWIG_fail;
26330 {
26331 arg2 = (int)(SWIG_As_int(obj1));
26332 if (SWIG_arg_fail(2)) SWIG_fail;
26333 }
d55e5bfc
RD
26334 {
26335 PyThreadState* __tstate = wxPyBeginAllowThreads();
26336 result = wxDateSpan___rmul__(arg1,arg2);
26337
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 {
26342 wxDateSpan * resultptr;
093d3ff1 26343 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26345 }
26346 return resultobj;
26347 fail:
26348 return NULL;
26349}
26350
26351
c32bde28 26352static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26353 PyObject *resultobj;
26354 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26355 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26356 bool result;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 char *kwnames[] = {
26360 (char *) "self",(char *) "other", NULL
26361 };
26362
26363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26365 if (SWIG_arg_fail(1)) SWIG_fail;
26366 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26367 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26368 {
26369 PyThreadState* __tstate = wxPyBeginAllowThreads();
26370 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
26371
26372 wxPyEndAllowThreads(__tstate);
26373 if (PyErr_Occurred()) SWIG_fail;
26374 }
26375 {
26376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26377 }
26378 return resultobj;
26379 fail:
26380 return NULL;
26381}
26382
26383
c32bde28 26384static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26385 PyObject *resultobj;
26386 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26387 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26388 bool result;
26389 PyObject * obj0 = 0 ;
26390 PyObject * obj1 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self",(char *) "other", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26397 if (SWIG_arg_fail(1)) SWIG_fail;
26398 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26399 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26400 {
26401 PyThreadState* __tstate = wxPyBeginAllowThreads();
26402 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
26403
26404 wxPyEndAllowThreads(__tstate);
26405 if (PyErr_Occurred()) SWIG_fail;
26406 }
26407 {
26408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26409 }
26410 return resultobj;
26411 fail:
26412 return NULL;
26413}
26414
26415
c32bde28 26416static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26417 PyObject *obj;
26418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26419 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
26420 Py_INCREF(obj);
26421 return Py_BuildValue((char *)"");
26422}
c32bde28 26423static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26424 PyObject *resultobj;
26425 long result;
26426 char *kwnames[] = {
26427 NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
26431 {
26432 PyThreadState* __tstate = wxPyBeginAllowThreads();
26433 result = (long)wxGetLocalTime();
26434
26435 wxPyEndAllowThreads(__tstate);
26436 if (PyErr_Occurred()) SWIG_fail;
26437 }
093d3ff1
RD
26438 {
26439 resultobj = SWIG_From_long((long)(result));
26440 }
d55e5bfc
RD
26441 return resultobj;
26442 fail:
26443 return NULL;
26444}
26445
26446
c32bde28 26447static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26448 PyObject *resultobj;
26449 long result;
26450 char *kwnames[] = {
26451 NULL
26452 };
26453
26454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 result = (long)wxGetUTCTime();
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
093d3ff1
RD
26462 {
26463 resultobj = SWIG_From_long((long)(result));
26464 }
d55e5bfc
RD
26465 return resultobj;
26466 fail:
26467 return NULL;
26468}
26469
26470
c32bde28 26471static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26472 PyObject *resultobj;
26473 long result;
26474 char *kwnames[] = {
26475 NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 result = (long)wxGetCurrentTime();
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
093d3ff1
RD
26486 {
26487 resultobj = SWIG_From_long((long)(result));
26488 }
d55e5bfc
RD
26489 return resultobj;
26490 fail:
26491 return NULL;
26492}
26493
26494
c32bde28 26495static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26496 PyObject *resultobj;
26497 wxLongLong result;
26498 char *kwnames[] = {
26499 NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = wxGetLocalTimeMillis();
26506
26507 wxPyEndAllowThreads(__tstate);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
26510 {
26511 PyObject *hi, *lo, *shifter, *shifted;
26512 hi = PyLong_FromLong( (&result)->GetHi() );
26513 lo = PyLong_FromLong( (&result)->GetLo() );
26514 shifter = PyLong_FromLong(32);
26515 shifted = PyNumber_Lshift(hi, shifter);
26516 resultobj = PyNumber_Or(shifted, lo);
26517 Py_DECREF(hi);
26518 Py_DECREF(lo);
26519 Py_DECREF(shifter);
26520 Py_DECREF(shifted);
26521 }
26522 return resultobj;
26523 fail:
26524 return NULL;
26525}
26526
26527
c32bde28 26528static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
26529 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
26530 return 1;
26531}
26532
26533
093d3ff1 26534static PyObject *_wrap_DefaultDateTime_get(void) {
d55e5bfc
RD
26535 PyObject *pyobj;
26536
26537 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
26538 return pyobj;
26539}
26540
26541
c32bde28 26542static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26543 PyObject *resultobj;
093d3ff1 26544 wxDataFormatId arg1 ;
d55e5bfc
RD
26545 wxDataFormat *result;
26546 PyObject * obj0 = 0 ;
26547 char *kwnames[] = {
26548 (char *) "type", NULL
26549 };
26550
26551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26552 {
26553 arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
26554 if (SWIG_arg_fail(1)) SWIG_fail;
26555 }
d55e5bfc
RD
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
26559
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26564 return resultobj;
26565 fail:
26566 return NULL;
26567}
26568
26569
c32bde28 26570static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26571 PyObject *resultobj;
26572 wxString *arg1 = 0 ;
26573 wxDataFormat *result;
ae8162c8 26574 bool temp1 = false ;
d55e5bfc
RD
26575 PyObject * obj0 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "format", NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
26581 {
26582 arg1 = wxString_in_helper(obj0);
26583 if (arg1 == NULL) SWIG_fail;
ae8162c8 26584 temp1 = true;
d55e5bfc
RD
26585 }
26586 {
26587 PyThreadState* __tstate = wxPyBeginAllowThreads();
26588 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
26589
26590 wxPyEndAllowThreads(__tstate);
26591 if (PyErr_Occurred()) SWIG_fail;
26592 }
26593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26594 {
26595 if (temp1)
26596 delete arg1;
26597 }
26598 return resultobj;
26599 fail:
26600 {
26601 if (temp1)
26602 delete arg1;
26603 }
26604 return NULL;
26605}
26606
26607
c32bde28 26608static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26609 PyObject *resultobj;
26610 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26611 PyObject * obj0 = 0 ;
26612 char *kwnames[] = {
26613 (char *) "self", NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 delete arg1;
26622
26623 wxPyEndAllowThreads(__tstate);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 }
26626 Py_INCREF(Py_None); resultobj = Py_None;
26627 return resultobj;
26628 fail:
26629 return NULL;
26630}
26631
26632
c32bde28 26633static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26634 PyObject *resultobj;
26635 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26636 wxDataFormatId arg2 ;
d55e5bfc
RD
26637 bool result;
26638 PyObject * obj0 = 0 ;
26639 PyObject * obj1 = 0 ;
26640
26641 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail;
26644 {
26645 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26646 if (SWIG_arg_fail(2)) SWIG_fail;
26647 }
d55e5bfc
RD
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
26651
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 {
26656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26657 }
26658 return resultobj;
26659 fail:
26660 return NULL;
26661}
26662
26663
c32bde28 26664static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26665 PyObject *resultobj;
26666 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26667 wxDataFormatId arg2 ;
d55e5bfc
RD
26668 bool result;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671
26672 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26674 if (SWIG_arg_fail(1)) SWIG_fail;
26675 {
26676 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26677 if (SWIG_arg_fail(2)) SWIG_fail;
26678 }
d55e5bfc
RD
26679 {
26680 PyThreadState* __tstate = wxPyBeginAllowThreads();
26681 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
26682
26683 wxPyEndAllowThreads(__tstate);
26684 if (PyErr_Occurred()) SWIG_fail;
26685 }
26686 {
26687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26688 }
26689 return resultobj;
26690 fail:
26691 return NULL;
26692}
26693
26694
c32bde28 26695static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26696 PyObject *resultobj;
26697 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26698 wxDataFormat *arg2 = 0 ;
26699 bool result;
26700 PyObject * obj0 = 0 ;
26701 PyObject * obj1 = 0 ;
26702
26703 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26705 if (SWIG_arg_fail(1)) SWIG_fail;
26706 {
26707 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26708 if (SWIG_arg_fail(2)) SWIG_fail;
26709 if (arg2 == NULL) {
26710 SWIG_null_ref("wxDataFormat");
26711 }
26712 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26713 }
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
26721 {
26722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26723 }
26724 return resultobj;
26725 fail:
26726 return NULL;
26727}
26728
26729
26730static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
26731 int argc;
26732 PyObject *argv[3];
26733 int ii;
26734
26735 argc = PyObject_Length(args);
26736 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26737 argv[ii] = PyTuple_GetItem(args,ii);
26738 }
26739 if (argc == 2) {
26740 int _v;
26741 {
26742 void *ptr;
26743 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26744 _v = 0;
26745 PyErr_Clear();
26746 } else {
26747 _v = 1;
26748 }
26749 }
26750 if (_v) {
26751 {
093d3ff1 26752 void *ptr = 0;
d55e5bfc
RD
26753 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26754 _v = 0;
26755 PyErr_Clear();
26756 } else {
093d3ff1 26757 _v = (ptr != 0);
d55e5bfc
RD
26758 }
26759 }
26760 if (_v) {
26761 return _wrap_DataFormat___eq____SWIG_1(self,args);
26762 }
26763 }
26764 }
26765 if (argc == 2) {
26766 int _v;
26767 {
26768 void *ptr;
26769 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26770 _v = 0;
26771 PyErr_Clear();
26772 } else {
26773 _v = 1;
26774 }
26775 }
26776 if (_v) {
c32bde28 26777 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
26778 if (_v) {
26779 return _wrap_DataFormat___eq____SWIG_0(self,args);
26780 }
26781 }
26782 }
26783
093d3ff1
RD
26784 Py_INCREF(Py_NotImplemented);
26785 return Py_NotImplemented;
d55e5bfc
RD
26786}
26787
26788
c32bde28 26789static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26790 PyObject *resultobj;
26791 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26792 wxDataFormat *arg2 = 0 ;
26793 bool result;
26794 PyObject * obj0 = 0 ;
26795 PyObject * obj1 = 0 ;
26796
26797 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail;
26800 {
26801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26802 if (SWIG_arg_fail(2)) SWIG_fail;
26803 if (arg2 == NULL) {
26804 SWIG_null_ref("wxDataFormat");
26805 }
26806 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26807 }
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 {
26816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26817 }
26818 return resultobj;
26819 fail:
26820 return NULL;
26821}
26822
26823
26824static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
26825 int argc;
26826 PyObject *argv[3];
26827 int ii;
26828
26829 argc = PyObject_Length(args);
26830 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26831 argv[ii] = PyTuple_GetItem(args,ii);
26832 }
26833 if (argc == 2) {
26834 int _v;
26835 {
26836 void *ptr;
26837 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26838 _v = 0;
26839 PyErr_Clear();
26840 } else {
26841 _v = 1;
26842 }
26843 }
26844 if (_v) {
26845 {
093d3ff1 26846 void *ptr = 0;
d55e5bfc
RD
26847 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26848 _v = 0;
26849 PyErr_Clear();
26850 } else {
093d3ff1 26851 _v = (ptr != 0);
d55e5bfc
RD
26852 }
26853 }
26854 if (_v) {
26855 return _wrap_DataFormat___ne____SWIG_1(self,args);
26856 }
26857 }
26858 }
26859 if (argc == 2) {
26860 int _v;
26861 {
26862 void *ptr;
26863 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26864 _v = 0;
26865 PyErr_Clear();
26866 } else {
26867 _v = 1;
26868 }
26869 }
26870 if (_v) {
c32bde28 26871 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
26872 if (_v) {
26873 return _wrap_DataFormat___ne____SWIG_0(self,args);
26874 }
26875 }
26876 }
26877
093d3ff1
RD
26878 Py_INCREF(Py_NotImplemented);
26879 return Py_NotImplemented;
d55e5bfc
RD
26880}
26881
26882
c32bde28 26883static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26884 PyObject *resultobj;
26885 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26886 wxDataFormatId arg2 ;
d55e5bfc
RD
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "format", NULL
26891 };
26892
26893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26895 if (SWIG_arg_fail(1)) SWIG_fail;
26896 {
26897 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26898 if (SWIG_arg_fail(2)) SWIG_fail;
26899 }
d55e5bfc
RD
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 (arg1)->SetType((wxDataFormatId )arg2);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 Py_INCREF(Py_None); resultobj = Py_None;
26908 return resultobj;
26909 fail:
26910 return NULL;
26911}
26912
26913
c32bde28 26914static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26915 PyObject *resultobj;
26916 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26917 wxDataFormatId result;
d55e5bfc
RD
26918 PyObject * obj0 = 0 ;
26919 char *kwnames[] = {
26920 (char *) "self", NULL
26921 };
26922
26923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
26924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26926 {
26927 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26928 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
26929
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
093d3ff1 26933 resultobj = SWIG_From_int((result));
d55e5bfc
RD
26934 return resultobj;
26935 fail:
26936 return NULL;
26937}
26938
26939
c32bde28 26940static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26941 PyObject *resultobj;
26942 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26943 wxString result;
26944 PyObject * obj0 = 0 ;
26945 char *kwnames[] = {
26946 (char *) "self", NULL
26947 };
26948
26949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
26950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 result = ((wxDataFormat const *)arg1)->GetId();
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 {
26960#if wxUSE_UNICODE
26961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26962#else
26963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26964#endif
26965 }
26966 return resultobj;
26967 fail:
26968 return NULL;
26969}
26970
26971
c32bde28 26972static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26973 PyObject *resultobj;
26974 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26975 wxString *arg2 = 0 ;
ae8162c8 26976 bool temp2 = false ;
d55e5bfc
RD
26977 PyObject * obj0 = 0 ;
26978 PyObject * obj1 = 0 ;
26979 char *kwnames[] = {
26980 (char *) "self",(char *) "format", NULL
26981 };
26982
26983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26986 {
26987 arg2 = wxString_in_helper(obj1);
26988 if (arg2 == NULL) SWIG_fail;
ae8162c8 26989 temp2 = true;
d55e5bfc
RD
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 (arg1)->SetId((wxString const &)*arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 Py_INCREF(Py_None); resultobj = Py_None;
26999 {
27000 if (temp2)
27001 delete arg2;
27002 }
27003 return resultobj;
27004 fail:
27005 {
27006 if (temp2)
27007 delete arg2;
27008 }
27009 return NULL;
27010}
27011
27012
c32bde28 27013static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27014 PyObject *obj;
27015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27016 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
27017 Py_INCREF(obj);
27018 return Py_BuildValue((char *)"");
27019}
c32bde28 27020static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
27021 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
27022 return 1;
27023}
27024
27025
093d3ff1 27026static PyObject *_wrap_FormatInvalid_get(void) {
d55e5bfc
RD
27027 PyObject *pyobj;
27028
27029 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
27030 return pyobj;
27031}
27032
27033
c32bde28 27034static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27035 PyObject *resultobj;
27036 wxDataObject *arg1 = (wxDataObject *) 0 ;
27037 PyObject * obj0 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
27043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 delete arg1;
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
27052 Py_INCREF(Py_None); resultobj = Py_None;
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
c32bde28 27059static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27060 PyObject *resultobj;
27061 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
27062 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
27063 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
27064 PyObject * obj0 = 0 ;
27065 PyObject * obj1 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self",(char *) "dir", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27073 if (obj1) {
093d3ff1
RD
27074 {
27075 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27076 if (SWIG_arg_fail(2)) SWIG_fail;
27077 }
d55e5bfc
RD
27078 }
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
27082
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 {
27087 wxDataFormat * resultptr;
093d3ff1 27088 resultptr = new wxDataFormat((wxDataFormat &)(result));
d55e5bfc
RD
27089 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
27090 }
27091 return resultobj;
27092 fail:
27093 return NULL;
27094}
27095
27096
c32bde28 27097static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27098 PyObject *resultobj;
27099 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27100 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27101 size_t result;
27102 PyObject * obj0 = 0 ;
27103 PyObject * obj1 = 0 ;
27104 char *kwnames[] = {
27105 (char *) "self",(char *) "dir", NULL
27106 };
27107
27108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27111 if (obj1) {
093d3ff1
RD
27112 {
27113 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27114 if (SWIG_arg_fail(2)) SWIG_fail;
27115 }
d55e5bfc
RD
27116 }
27117 {
27118 PyThreadState* __tstate = wxPyBeginAllowThreads();
27119 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
27120
27121 wxPyEndAllowThreads(__tstate);
27122 if (PyErr_Occurred()) SWIG_fail;
27123 }
093d3ff1
RD
27124 {
27125 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27126 }
d55e5bfc
RD
27127 return resultobj;
27128 fail:
27129 return NULL;
27130}
27131
27132
c32bde28 27133static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27134 PyObject *resultobj;
27135 wxDataObject *arg1 = (wxDataObject *) 0 ;
27136 wxDataFormat *arg2 = 0 ;
093d3ff1 27137 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27138 bool result;
27139 PyObject * obj0 = 0 ;
27140 PyObject * obj1 = 0 ;
27141 PyObject * obj2 = 0 ;
27142 char *kwnames[] = {
27143 (char *) "self",(char *) "format",(char *) "dir", NULL
27144 };
27145
27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27148 if (SWIG_arg_fail(1)) SWIG_fail;
27149 {
27150 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27151 if (SWIG_arg_fail(2)) SWIG_fail;
27152 if (arg2 == NULL) {
27153 SWIG_null_ref("wxDataFormat");
27154 }
27155 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27156 }
27157 if (obj2) {
093d3ff1
RD
27158 {
27159 arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
27160 if (SWIG_arg_fail(3)) SWIG_fail;
27161 }
d55e5bfc
RD
27162 }
27163 {
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
27166
27167 wxPyEndAllowThreads(__tstate);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 }
27170 {
27171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27172 }
27173 return resultobj;
27174 fail:
27175 return NULL;
27176}
27177
27178
c32bde28 27179static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27180 PyObject *resultobj;
27181 wxDataObject *arg1 = (wxDataObject *) 0 ;
27182 wxDataFormat *arg2 = 0 ;
27183 size_t result;
27184 PyObject * obj0 = 0 ;
27185 PyObject * obj1 = 0 ;
27186 char *kwnames[] = {
27187 (char *) "self",(char *) "format", NULL
27188 };
27189
27190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27192 if (SWIG_arg_fail(1)) SWIG_fail;
27193 {
27194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27195 if (SWIG_arg_fail(2)) SWIG_fail;
27196 if (arg2 == NULL) {
27197 SWIG_null_ref("wxDataFormat");
27198 }
27199 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27200 }
27201 {
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
27203 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
27204
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
093d3ff1
RD
27208 {
27209 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27210 }
d55e5bfc
RD
27211 return resultobj;
27212 fail:
27213 return NULL;
27214}
27215
27216
c32bde28 27217static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27218 PyObject *resultobj;
27219 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27220 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
a07a67e6 27221 PyObject *result;
d55e5bfc
RD
27222 PyObject * obj0 = 0 ;
27223 PyObject * obj1 = 0 ;
d55e5bfc 27224 char *kwnames[] = {
a07a67e6 27225 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
27226 };
27227
a07a67e6 27228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6 27231 if (obj1) {
093d3ff1
RD
27232 {
27233 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27234 if (SWIG_arg_fail(2)) SWIG_fail;
27235 }
d55e5bfc
RD
27236 }
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27239 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
a07a67e6 27244 resultobj = result;
d55e5bfc
RD
27245 return resultobj;
27246 fail:
27247 return NULL;
27248}
27249
27250
c32bde28 27251static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27252 PyObject *resultobj;
27253 wxDataObject *arg1 = (wxDataObject *) 0 ;
27254 wxDataFormat *arg2 = 0 ;
a07a67e6 27255 PyObject *result;
d55e5bfc
RD
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
d55e5bfc 27258 char *kwnames[] = {
a07a67e6 27259 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
27260 };
27261
a07a67e6 27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
27265 {
27266 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27267 if (SWIG_arg_fail(2)) SWIG_fail;
27268 if (arg2 == NULL) {
27269 SWIG_null_ref("wxDataFormat");
27270 }
27271 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27272 }
d55e5bfc
RD
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27275 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
a07a67e6 27280 resultobj = result;
d55e5bfc
RD
27281 return resultobj;
27282 fail:
27283 return NULL;
27284}
27285
27286
c32bde28 27287static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27288 PyObject *resultobj;
27289 wxDataObject *arg1 = (wxDataObject *) 0 ;
27290 wxDataFormat *arg2 = 0 ;
a07a67e6 27291 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
27292 bool result;
27293 PyObject * obj0 = 0 ;
27294 PyObject * obj1 = 0 ;
27295 PyObject * obj2 = 0 ;
d55e5bfc 27296 char *kwnames[] = {
a07a67e6 27297 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
27298 };
27299
a07a67e6 27300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27302 if (SWIG_arg_fail(1)) SWIG_fail;
27303 {
27304 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27305 if (SWIG_arg_fail(2)) SWIG_fail;
27306 if (arg2 == NULL) {
27307 SWIG_null_ref("wxDataFormat");
27308 }
27309 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27310 }
a07a67e6 27311 arg3 = obj2;
d55e5bfc
RD
27312 {
27313 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27314 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
27315
27316 wxPyEndAllowThreads(__tstate);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
27319 {
27320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27321 }
27322 return resultobj;
27323 fail:
27324 return NULL;
27325}
27326
27327
c32bde28 27328static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27329 PyObject *obj;
27330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27331 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
27332 Py_INCREF(obj);
27333 return Py_BuildValue((char *)"");
27334}
c32bde28 27335static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27336 PyObject *resultobj;
27337 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27338 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27339 wxDataObjectSimple *result;
27340 PyObject * obj0 = 0 ;
27341 char *kwnames[] = {
27342 (char *) "format", NULL
27343 };
27344
27345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
27346 if (obj0) {
093d3ff1
RD
27347 {
27348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail;
27350 if (arg1 == NULL) {
27351 SWIG_null_ref("wxDataFormat");
27352 }
27353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27354 }
27355 }
27356 {
27357 PyThreadState* __tstate = wxPyBeginAllowThreads();
27358 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
27359
27360 wxPyEndAllowThreads(__tstate);
27361 if (PyErr_Occurred()) SWIG_fail;
27362 }
27363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
27364 return resultobj;
27365 fail:
27366 return NULL;
27367}
27368
27369
c32bde28 27370static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27371 PyObject *resultobj;
27372 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27373 wxDataFormat *result;
27374 PyObject * obj0 = 0 ;
27375 char *kwnames[] = {
27376 (char *) "self", NULL
27377 };
27378
27379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 {
27385 wxDataFormat const &_result_ref = (arg1)->GetFormat();
27386 result = (wxDataFormat *) &_result_ref;
27387 }
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
27393 return resultobj;
27394 fail:
27395 return NULL;
27396}
27397
27398
c32bde28 27399static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27400 PyObject *resultobj;
27401 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27402 wxDataFormat *arg2 = 0 ;
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
27405 char *kwnames[] = {
27406 (char *) "self",(char *) "format", NULL
27407 };
27408
27409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail;
27412 {
27413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27414 if (SWIG_arg_fail(2)) SWIG_fail;
27415 if (arg2 == NULL) {
27416 SWIG_null_ref("wxDataFormat");
27417 }
27418 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27419 }
27420 {
27421 PyThreadState* __tstate = wxPyBeginAllowThreads();
27422 (arg1)->SetFormat((wxDataFormat const &)*arg2);
27423
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 Py_INCREF(Py_None); resultobj = Py_None;
27428 return resultobj;
27429 fail:
27430 return NULL;
27431}
27432
27433
c32bde28 27434static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27435 PyObject *resultobj;
27436 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27437 size_t result;
27438 PyObject * obj0 = 0 ;
27439 char *kwnames[] = {
27440 (char *) "self", NULL
27441 };
27442
27443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
27449
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
093d3ff1
RD
27453 {
27454 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27455 }
a07a67e6
RD
27456 return resultobj;
27457 fail:
27458 return NULL;
27459}
27460
27461
c32bde28 27462static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27463 PyObject *resultobj;
27464 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27465 PyObject *result;
27466 PyObject * obj0 = 0 ;
27467 char *kwnames[] = {
27468 (char *) "self", NULL
27469 };
27470
27471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
27472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27473 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27474 {
27475 PyThreadState* __tstate = wxPyBeginAllowThreads();
27476 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
27477
27478 wxPyEndAllowThreads(__tstate);
27479 if (PyErr_Occurred()) SWIG_fail;
27480 }
27481 resultobj = result;
27482 return resultobj;
27483 fail:
27484 return NULL;
27485}
27486
27487
c32bde28 27488static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27489 PyObject *resultobj;
27490 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27491 PyObject *arg2 = (PyObject *) 0 ;
27492 bool result;
27493 PyObject * obj0 = 0 ;
27494 PyObject * obj1 = 0 ;
27495 char *kwnames[] = {
27496 (char *) "self",(char *) "data", NULL
27497 };
27498
27499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27502 arg2 = obj1;
27503 {
27504 PyThreadState* __tstate = wxPyBeginAllowThreads();
27505 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
27506
27507 wxPyEndAllowThreads(__tstate);
27508 if (PyErr_Occurred()) SWIG_fail;
27509 }
27510 {
27511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27512 }
27513 return resultobj;
27514 fail:
27515 return NULL;
27516}
27517
27518
c32bde28 27519static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27520 PyObject *obj;
27521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27522 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
27523 Py_INCREF(obj);
27524 return Py_BuildValue((char *)"");
27525}
c32bde28 27526static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27527 PyObject *resultobj;
27528 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27529 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27530 wxPyDataObjectSimple *result;
27531 PyObject * obj0 = 0 ;
27532 char *kwnames[] = {
27533 (char *) "format", NULL
27534 };
27535
27536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
27537 if (obj0) {
093d3ff1
RD
27538 {
27539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27540 if (SWIG_arg_fail(1)) SWIG_fail;
27541 if (arg1 == NULL) {
27542 SWIG_null_ref("wxDataFormat");
27543 }
27544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27545 }
27546 }
27547 {
27548 PyThreadState* __tstate = wxPyBeginAllowThreads();
27549 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
27550
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
27555 return resultobj;
27556 fail:
27557 return NULL;
27558}
27559
27560
c32bde28 27561static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27562 PyObject *resultobj;
27563 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
27564 PyObject *arg2 = (PyObject *) 0 ;
27565 PyObject *arg3 = (PyObject *) 0 ;
27566 PyObject * obj0 = 0 ;
27567 PyObject * obj1 = 0 ;
27568 PyObject * obj2 = 0 ;
27569 char *kwnames[] = {
27570 (char *) "self",(char *) "self",(char *) "_class", NULL
27571 };
27572
27573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27576 arg2 = obj1;
27577 arg3 = obj2;
27578 {
27579 PyThreadState* __tstate = wxPyBeginAllowThreads();
27580 (arg1)->_setCallbackInfo(arg2,arg3);
27581
27582 wxPyEndAllowThreads(__tstate);
27583 if (PyErr_Occurred()) SWIG_fail;
27584 }
27585 Py_INCREF(Py_None); resultobj = Py_None;
27586 return resultobj;
27587 fail:
27588 return NULL;
27589}
27590
27591
c32bde28 27592static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27593 PyObject *obj;
27594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27595 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
27596 Py_INCREF(obj);
27597 return Py_BuildValue((char *)"");
27598}
c32bde28 27599static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27600 PyObject *resultobj;
27601 wxDataObjectComposite *result;
27602 char *kwnames[] = {
27603 NULL
27604 };
27605
27606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
27607 {
27608 PyThreadState* __tstate = wxPyBeginAllowThreads();
27609 result = (wxDataObjectComposite *)new wxDataObjectComposite();
27610
27611 wxPyEndAllowThreads(__tstate);
27612 if (PyErr_Occurred()) SWIG_fail;
27613 }
27614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
27615 return resultobj;
27616 fail:
27617 return NULL;
27618}
27619
27620
c32bde28 27621static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27622 PyObject *resultobj;
27623 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
27624 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 27625 bool arg3 = (bool) false ;
d55e5bfc
RD
27626 PyObject * obj0 = 0 ;
27627 PyObject * obj1 = 0 ;
27628 PyObject * obj2 = 0 ;
27629 char *kwnames[] = {
27630 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27631 };
27632
27633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
27635 if (SWIG_arg_fail(1)) SWIG_fail;
27636 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27637 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27638 if (obj2) {
093d3ff1
RD
27639 {
27640 arg3 = (bool)(SWIG_As_bool(obj2));
27641 if (SWIG_arg_fail(3)) SWIG_fail;
27642 }
d55e5bfc
RD
27643 }
27644 {
27645 PyThreadState* __tstate = wxPyBeginAllowThreads();
27646 (arg1)->Add(arg2,arg3);
27647
27648 wxPyEndAllowThreads(__tstate);
27649 if (PyErr_Occurred()) SWIG_fail;
27650 }
27651 Py_INCREF(Py_None); resultobj = Py_None;
27652 return resultobj;
27653 fail:
27654 return NULL;
27655}
27656
27657
c32bde28 27658static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27659 PyObject *obj;
27660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27661 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
27662 Py_INCREF(obj);
27663 return Py_BuildValue((char *)"");
27664}
c32bde28 27665static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27666 PyObject *resultobj;
27667 wxString const &arg1_defvalue = wxPyEmptyString ;
27668 wxString *arg1 = (wxString *) &arg1_defvalue ;
27669 wxTextDataObject *result;
ae8162c8 27670 bool temp1 = false ;
d55e5bfc
RD
27671 PyObject * obj0 = 0 ;
27672 char *kwnames[] = {
27673 (char *) "text", NULL
27674 };
27675
27676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
27677 if (obj0) {
27678 {
27679 arg1 = wxString_in_helper(obj0);
27680 if (arg1 == NULL) SWIG_fail;
ae8162c8 27681 temp1 = true;
d55e5bfc
RD
27682 }
27683 }
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
27686 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
27691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
27692 {
27693 if (temp1)
27694 delete arg1;
27695 }
27696 return resultobj;
27697 fail:
27698 {
27699 if (temp1)
27700 delete arg1;
27701 }
27702 return NULL;
27703}
27704
27705
c32bde28 27706static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27707 PyObject *resultobj;
27708 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27709 size_t result;
27710 PyObject * obj0 = 0 ;
27711 char *kwnames[] = {
27712 (char *) "self", NULL
27713 };
27714
27715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
27716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27718 {
27719 PyThreadState* __tstate = wxPyBeginAllowThreads();
27720 result = (size_t)(arg1)->GetTextLength();
27721
27722 wxPyEndAllowThreads(__tstate);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
093d3ff1
RD
27725 {
27726 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27727 }
d55e5bfc
RD
27728 return resultobj;
27729 fail:
27730 return NULL;
27731}
27732
27733
c32bde28 27734static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27735 PyObject *resultobj;
27736 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27737 wxString result;
27738 PyObject * obj0 = 0 ;
27739 char *kwnames[] = {
27740 (char *) "self", NULL
27741 };
27742
27743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
27744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 result = (arg1)->GetText();
27749
27750 wxPyEndAllowThreads(__tstate);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 }
27753 {
27754#if wxUSE_UNICODE
27755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27756#else
27757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27758#endif
27759 }
27760 return resultobj;
27761 fail:
27762 return NULL;
27763}
27764
27765
c32bde28 27766static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27767 PyObject *resultobj;
27768 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27769 wxString *arg2 = 0 ;
ae8162c8 27770 bool temp2 = false ;
d55e5bfc
RD
27771 PyObject * obj0 = 0 ;
27772 PyObject * obj1 = 0 ;
27773 char *kwnames[] = {
27774 (char *) "self",(char *) "text", NULL
27775 };
27776
27777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27780 {
27781 arg2 = wxString_in_helper(obj1);
27782 if (arg2 == NULL) SWIG_fail;
ae8162c8 27783 temp2 = true;
d55e5bfc
RD
27784 }
27785 {
27786 PyThreadState* __tstate = wxPyBeginAllowThreads();
27787 (arg1)->SetText((wxString const &)*arg2);
27788
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 Py_INCREF(Py_None); resultobj = Py_None;
27793 {
27794 if (temp2)
27795 delete arg2;
27796 }
27797 return resultobj;
27798 fail:
27799 {
27800 if (temp2)
27801 delete arg2;
27802 }
27803 return NULL;
27804}
27805
27806
c32bde28 27807static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27808 PyObject *obj;
27809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27810 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
27811 Py_INCREF(obj);
27812 return Py_BuildValue((char *)"");
27813}
c32bde28 27814static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27815 PyObject *resultobj;
27816 wxString const &arg1_defvalue = wxPyEmptyString ;
27817 wxString *arg1 = (wxString *) &arg1_defvalue ;
27818 wxPyTextDataObject *result;
ae8162c8 27819 bool temp1 = false ;
d55e5bfc
RD
27820 PyObject * obj0 = 0 ;
27821 char *kwnames[] = {
27822 (char *) "text", NULL
27823 };
27824
27825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
27826 if (obj0) {
27827 {
27828 arg1 = wxString_in_helper(obj0);
27829 if (arg1 == NULL) SWIG_fail;
ae8162c8 27830 temp1 = true;
d55e5bfc
RD
27831 }
27832 }
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
27841 {
27842 if (temp1)
27843 delete arg1;
27844 }
27845 return resultobj;
27846 fail:
27847 {
27848 if (temp1)
27849 delete arg1;
27850 }
27851 return NULL;
27852}
27853
27854
c32bde28 27855static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27856 PyObject *resultobj;
27857 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
27858 PyObject *arg2 = (PyObject *) 0 ;
27859 PyObject *arg3 = (PyObject *) 0 ;
27860 PyObject * obj0 = 0 ;
27861 PyObject * obj1 = 0 ;
27862 PyObject * obj2 = 0 ;
27863 char *kwnames[] = {
27864 (char *) "self",(char *) "self",(char *) "_class", NULL
27865 };
27866
27867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27870 arg2 = obj1;
27871 arg3 = obj2;
27872 {
27873 PyThreadState* __tstate = wxPyBeginAllowThreads();
27874 (arg1)->_setCallbackInfo(arg2,arg3);
27875
27876 wxPyEndAllowThreads(__tstate);
27877 if (PyErr_Occurred()) SWIG_fail;
27878 }
27879 Py_INCREF(Py_None); resultobj = Py_None;
27880 return resultobj;
27881 fail:
27882 return NULL;
27883}
27884
27885
c32bde28 27886static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27887 PyObject *obj;
27888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27889 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
27890 Py_INCREF(obj);
27891 return Py_BuildValue((char *)"");
27892}
c32bde28 27893static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27894 PyObject *resultobj;
27895 wxBitmap const &arg1_defvalue = wxNullBitmap ;
27896 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
27897 wxBitmapDataObject *result;
27898 PyObject * obj0 = 0 ;
27899 char *kwnames[] = {
27900 (char *) "bitmap", NULL
27901 };
27902
27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
27904 if (obj0) {
093d3ff1
RD
27905 {
27906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27907 if (SWIG_arg_fail(1)) SWIG_fail;
27908 if (arg1 == NULL) {
27909 SWIG_null_ref("wxBitmap");
27910 }
27911 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27912 }
27913 }
27914 {
27915 PyThreadState* __tstate = wxPyBeginAllowThreads();
27916 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
27917
27918 wxPyEndAllowThreads(__tstate);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
27922 return resultobj;
27923 fail:
27924 return NULL;
27925}
27926
27927
c32bde28 27928static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27929 PyObject *resultobj;
27930 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27931 wxBitmap result;
27932 PyObject * obj0 = 0 ;
27933 char *kwnames[] = {
27934 (char *) "self", NULL
27935 };
27936
27937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
27938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27940 {
27941 PyThreadState* __tstate = wxPyBeginAllowThreads();
27942 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
27943
27944 wxPyEndAllowThreads(__tstate);
27945 if (PyErr_Occurred()) SWIG_fail;
27946 }
27947 {
27948 wxBitmap * resultptr;
093d3ff1 27949 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
27950 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
27951 }
27952 return resultobj;
27953 fail:
27954 return NULL;
27955}
27956
27957
c32bde28 27958static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27959 PyObject *resultobj;
27960 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27961 wxBitmap *arg2 = 0 ;
27962 PyObject * obj0 = 0 ;
27963 PyObject * obj1 = 0 ;
27964 char *kwnames[] = {
27965 (char *) "self",(char *) "bitmap", NULL
27966 };
27967
27968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27970 if (SWIG_arg_fail(1)) SWIG_fail;
27971 {
27972 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27973 if (SWIG_arg_fail(2)) SWIG_fail;
27974 if (arg2 == NULL) {
27975 SWIG_null_ref("wxBitmap");
27976 }
27977 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27978 }
27979 {
27980 PyThreadState* __tstate = wxPyBeginAllowThreads();
27981 (arg1)->SetBitmap((wxBitmap const &)*arg2);
27982
27983 wxPyEndAllowThreads(__tstate);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
27986 Py_INCREF(Py_None); resultobj = Py_None;
27987 return resultobj;
27988 fail:
27989 return NULL;
27990}
27991
27992
c32bde28 27993static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27994 PyObject *obj;
27995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27996 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
27997 Py_INCREF(obj);
27998 return Py_BuildValue((char *)"");
27999}
c32bde28 28000static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28001 PyObject *resultobj;
28002 wxBitmap const &arg1_defvalue = wxNullBitmap ;
28003 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
28004 wxPyBitmapDataObject *result;
28005 PyObject * obj0 = 0 ;
28006 char *kwnames[] = {
28007 (char *) "bitmap", NULL
28008 };
28009
28010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
28011 if (obj0) {
093d3ff1
RD
28012 {
28013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28014 if (SWIG_arg_fail(1)) SWIG_fail;
28015 if (arg1 == NULL) {
28016 SWIG_null_ref("wxBitmap");
28017 }
28018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28019 }
28020 }
28021 {
28022 PyThreadState* __tstate = wxPyBeginAllowThreads();
28023 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
28024
28025 wxPyEndAllowThreads(__tstate);
28026 if (PyErr_Occurred()) SWIG_fail;
28027 }
28028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
28029 return resultobj;
28030 fail:
28031 return NULL;
28032}
28033
28034
c32bde28 28035static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28036 PyObject *resultobj;
28037 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
28038 PyObject *arg2 = (PyObject *) 0 ;
28039 PyObject *arg3 = (PyObject *) 0 ;
28040 PyObject * obj0 = 0 ;
28041 PyObject * obj1 = 0 ;
28042 PyObject * obj2 = 0 ;
28043 char *kwnames[] = {
28044 (char *) "self",(char *) "self",(char *) "_class", NULL
28045 };
28046
28047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28050 arg2 = obj1;
28051 arg3 = obj2;
28052 {
28053 PyThreadState* __tstate = wxPyBeginAllowThreads();
28054 (arg1)->_setCallbackInfo(arg2,arg3);
28055
28056 wxPyEndAllowThreads(__tstate);
28057 if (PyErr_Occurred()) SWIG_fail;
28058 }
28059 Py_INCREF(Py_None); resultobj = Py_None;
28060 return resultobj;
28061 fail:
28062 return NULL;
28063}
28064
28065
c32bde28 28066static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28067 PyObject *obj;
28068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28069 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
28070 Py_INCREF(obj);
28071 return Py_BuildValue((char *)"");
28072}
c32bde28 28073static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28074 PyObject *resultobj;
28075 wxFileDataObject *result;
28076 char *kwnames[] = {
28077 NULL
28078 };
28079
28080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
28081 {
28082 PyThreadState* __tstate = wxPyBeginAllowThreads();
28083 result = (wxFileDataObject *)new wxFileDataObject();
28084
28085 wxPyEndAllowThreads(__tstate);
28086 if (PyErr_Occurred()) SWIG_fail;
28087 }
28088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
28089 return resultobj;
28090 fail:
28091 return NULL;
28092}
28093
28094
c32bde28 28095static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28096 PyObject *resultobj;
28097 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28098 wxArrayString *result;
28099 PyObject * obj0 = 0 ;
28100 char *kwnames[] = {
28101 (char *) "self", NULL
28102 };
28103
28104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
28105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28107 {
28108 PyThreadState* __tstate = wxPyBeginAllowThreads();
28109 {
28110 wxArrayString const &_result_ref = (arg1)->GetFilenames();
28111 result = (wxArrayString *) &_result_ref;
28112 }
28113
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 {
28118 resultobj = wxArrayString2PyList_helper(*result);
28119 }
28120 return resultobj;
28121 fail:
28122 return NULL;
28123}
28124
28125
c32bde28 28126static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28127 PyObject *resultobj;
28128 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28129 wxString *arg2 = 0 ;
ae8162c8 28130 bool temp2 = false ;
d55e5bfc
RD
28131 PyObject * obj0 = 0 ;
28132 PyObject * obj1 = 0 ;
28133 char *kwnames[] = {
28134 (char *) "self",(char *) "filename", NULL
28135 };
28136
28137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28140 {
28141 arg2 = wxString_in_helper(obj1);
28142 if (arg2 == NULL) SWIG_fail;
ae8162c8 28143 temp2 = true;
d55e5bfc
RD
28144 }
28145 {
28146 PyThreadState* __tstate = wxPyBeginAllowThreads();
28147 (arg1)->AddFile((wxString const &)*arg2);
28148
28149 wxPyEndAllowThreads(__tstate);
28150 if (PyErr_Occurred()) SWIG_fail;
28151 }
28152 Py_INCREF(Py_None); resultobj = Py_None;
28153 {
28154 if (temp2)
28155 delete arg2;
28156 }
28157 return resultobj;
28158 fail:
28159 {
28160 if (temp2)
28161 delete arg2;
28162 }
28163 return NULL;
28164}
28165
28166
c32bde28 28167static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28168 PyObject *obj;
28169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28170 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
28171 Py_INCREF(obj);
28172 return Py_BuildValue((char *)"");
28173}
fef4c27a 28174static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc 28175 PyObject *resultobj;
fef4c27a 28176 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
28177 wxCustomDataObject *result;
28178 PyObject * obj0 = 0 ;
d55e5bfc 28179
fef4c27a
RD
28180 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28181 {
28182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28183 if (SWIG_arg_fail(1)) SWIG_fail;
28184 if (arg1 == NULL) {
28185 SWIG_null_ref("wxDataFormat");
d55e5bfc 28186 }
fef4c27a 28187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28188 }
28189 {
28190 PyThreadState* __tstate = wxPyBeginAllowThreads();
28191 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
28192
28193 wxPyEndAllowThreads(__tstate);
28194 if (PyErr_Occurred()) SWIG_fail;
28195 }
28196 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28197 return resultobj;
28198 fail:
28199 return NULL;
28200}
28201
28202
fef4c27a
RD
28203static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
28204 PyObject *resultobj;
28205 wxString *arg1 = 0 ;
28206 wxCustomDataObject *result;
28207 bool temp1 = false ;
28208 PyObject * obj0 = 0 ;
28209
28210 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28211 {
28212 arg1 = wxString_in_helper(obj0);
28213 if (arg1 == NULL) SWIG_fail;
28214 temp1 = true;
28215 }
28216 {
28217 PyThreadState* __tstate = wxPyBeginAllowThreads();
28218 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
28219
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28224 {
28225 if (temp1)
28226 delete arg1;
28227 }
28228 return resultobj;
28229 fail:
28230 {
28231 if (temp1)
28232 delete arg1;
28233 }
28234 return NULL;
28235}
28236
28237
28238static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
28239 PyObject *resultobj;
28240 wxCustomDataObject *result;
28241
28242 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
28243 {
28244 PyThreadState* __tstate = wxPyBeginAllowThreads();
28245 result = (wxCustomDataObject *)new wxCustomDataObject();
28246
28247 wxPyEndAllowThreads(__tstate);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 }
28250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28251 return resultobj;
28252 fail:
28253 return NULL;
28254}
28255
28256
28257static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
28258 int argc;
28259 PyObject *argv[2];
28260 int ii;
28261
28262 argc = PyObject_Length(args);
28263 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
28264 argv[ii] = PyTuple_GetItem(args,ii);
28265 }
28266 if (argc == 0) {
28267 return _wrap_new_CustomDataObject__SWIG_2(self,args);
28268 }
28269 if (argc == 1) {
28270 int _v;
28271 {
28272 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
28273 }
28274 if (_v) {
28275 return _wrap_new_CustomDataObject__SWIG_1(self,args);
28276 }
28277 }
28278 if (argc == 1) {
28279 int _v;
28280 {
28281 void *ptr = 0;
28282 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28283 _v = 0;
28284 PyErr_Clear();
28285 } else {
28286 _v = (ptr != 0);
28287 }
28288 }
28289 if (_v) {
28290 return _wrap_new_CustomDataObject__SWIG_0(self,args);
28291 }
28292 }
28293
28294 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
28295 return NULL;
28296}
28297
28298
c32bde28 28299static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28300 PyObject *resultobj;
28301 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28302 PyObject *arg2 = (PyObject *) 0 ;
28303 bool result;
28304 PyObject * obj0 = 0 ;
28305 PyObject * obj1 = 0 ;
28306 char *kwnames[] = {
28307 (char *) "self",(char *) "data", NULL
28308 };
28309
28310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28313 arg2 = obj1;
28314 {
28315 PyThreadState* __tstate = wxPyBeginAllowThreads();
28316 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
28317
28318 wxPyEndAllowThreads(__tstate);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 {
28322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28323 }
28324 return resultobj;
28325 fail:
28326 return NULL;
28327}
28328
28329
c32bde28 28330static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28331 PyObject *resultobj;
28332 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28333 size_t result;
28334 PyObject * obj0 = 0 ;
28335 char *kwnames[] = {
28336 (char *) "self", NULL
28337 };
28338
28339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28342 {
28343 PyThreadState* __tstate = wxPyBeginAllowThreads();
28344 result = (size_t)(arg1)->GetSize();
28345
28346 wxPyEndAllowThreads(__tstate);
28347 if (PyErr_Occurred()) SWIG_fail;
28348 }
093d3ff1
RD
28349 {
28350 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28351 }
d55e5bfc
RD
28352 return resultobj;
28353 fail:
28354 return NULL;
28355}
28356
28357
c32bde28 28358static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28359 PyObject *resultobj;
28360 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28361 PyObject *result;
28362 PyObject * obj0 = 0 ;
28363 char *kwnames[] = {
28364 (char *) "self", NULL
28365 };
28366
28367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28370 {
28371 PyThreadState* __tstate = wxPyBeginAllowThreads();
28372 result = (PyObject *)wxCustomDataObject_GetData(arg1);
28373
28374 wxPyEndAllowThreads(__tstate);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 resultobj = result;
28378 return resultobj;
28379 fail:
28380 return NULL;
28381}
28382
28383
c32bde28 28384static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28385 PyObject *obj;
28386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28387 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
28388 Py_INCREF(obj);
28389 return Py_BuildValue((char *)"");
28390}
c32bde28 28391static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28392 PyObject *resultobj;
28393 wxURLDataObject *result;
28394 char *kwnames[] = {
28395 NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
28399 {
28400 PyThreadState* __tstate = wxPyBeginAllowThreads();
28401 result = (wxURLDataObject *)new wxURLDataObject();
28402
28403 wxPyEndAllowThreads(__tstate);
28404 if (PyErr_Occurred()) SWIG_fail;
28405 }
28406 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
28407 return resultobj;
28408 fail:
28409 return NULL;
28410}
28411
28412
c32bde28 28413static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28414 PyObject *resultobj;
28415 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28416 wxString result;
28417 PyObject * obj0 = 0 ;
28418 char *kwnames[] = {
28419 (char *) "self", NULL
28420 };
28421
28422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
28423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28425 {
28426 PyThreadState* __tstate = wxPyBeginAllowThreads();
28427 result = (arg1)->GetURL();
28428
28429 wxPyEndAllowThreads(__tstate);
28430 if (PyErr_Occurred()) SWIG_fail;
28431 }
28432 {
28433#if wxUSE_UNICODE
28434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28435#else
28436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28437#endif
28438 }
28439 return resultobj;
28440 fail:
28441 return NULL;
28442}
28443
28444
c32bde28 28445static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28446 PyObject *resultobj;
28447 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28448 wxString *arg2 = 0 ;
ae8162c8 28449 bool temp2 = false ;
d55e5bfc
RD
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 char *kwnames[] = {
28453 (char *) "self",(char *) "url", NULL
28454 };
28455
28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28459 {
28460 arg2 = wxString_in_helper(obj1);
28461 if (arg2 == NULL) SWIG_fail;
ae8162c8 28462 temp2 = true;
d55e5bfc
RD
28463 }
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 (arg1)->SetURL((wxString const &)*arg2);
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
28471 Py_INCREF(Py_None); resultobj = Py_None;
28472 {
28473 if (temp2)
28474 delete arg2;
28475 }
28476 return resultobj;
28477 fail:
28478 {
28479 if (temp2)
28480 delete arg2;
28481 }
28482 return NULL;
28483}
28484
28485
c32bde28 28486static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28487 PyObject *obj;
28488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28489 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
28490 Py_INCREF(obj);
28491 return Py_BuildValue((char *)"");
28492}
c32bde28 28493static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28494 PyObject *resultobj;
28495 wxMetafileDataObject *result;
28496 char *kwnames[] = {
28497 NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
28503 result = (wxMetafileDataObject *)new wxMetafileDataObject();
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
28508 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
28509 return resultobj;
28510 fail:
28511 return NULL;
28512}
28513
28514
c32bde28 28515static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28516 PyObject *resultobj;
28517 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28518 wxMetafile *arg2 = 0 ;
28519 PyObject * obj0 = 0 ;
28520 PyObject * obj1 = 0 ;
28521 char *kwnames[] = {
28522 (char *) "self",(char *) "metafile", NULL
28523 };
28524
28525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28528 {
093d3ff1
RD
28529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
28530 if (SWIG_arg_fail(2)) SWIG_fail;
28531 if (arg2 == NULL) {
28532 SWIG_null_ref("wxMetafile");
28533 }
28534 if (SWIG_arg_fail(2)) SWIG_fail;
28535 }
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
28538 (arg1)->SetMetafile((wxMetafile const &)*arg2);
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 Py_INCREF(Py_None); resultobj = Py_None;
28544 return resultobj;
28545 fail:
28546 return NULL;
28547}
28548
28549
c32bde28 28550static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28551 PyObject *resultobj;
28552 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28553 wxMetafile result;
28554 PyObject * obj0 = 0 ;
28555 char *kwnames[] = {
28556 (char *) "self", NULL
28557 };
28558
28559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
093d3ff1
RD
28560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28562 {
28563 PyThreadState* __tstate = wxPyBeginAllowThreads();
28564 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
28565
28566 wxPyEndAllowThreads(__tstate);
28567 if (PyErr_Occurred()) SWIG_fail;
28568 }
28569 {
28570 wxMetafile * resultptr;
093d3ff1 28571 resultptr = new wxMetafile((wxMetafile &)(result));
d55e5bfc
RD
28572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
28573 }
28574 return resultobj;
28575 fail:
28576 return NULL;
28577}
28578
28579
c32bde28 28580static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28581 PyObject *obj;
28582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28583 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
28584 Py_INCREF(obj);
28585 return Py_BuildValue((char *)"");
28586}
c32bde28 28587static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 28588 PyObject *resultobj;
093d3ff1 28589 wxDragResult arg1 ;
d55e5bfc
RD
28590 bool result;
28591 PyObject * obj0 = 0 ;
28592 char *kwnames[] = {
28593 (char *) "res", NULL
28594 };
28595
28596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28597 {
28598 arg1 = (wxDragResult)(SWIG_As_int(obj0));
28599 if (SWIG_arg_fail(1)) SWIG_fail;
28600 }
d55e5bfc
RD
28601 {
28602 PyThreadState* __tstate = wxPyBeginAllowThreads();
28603 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
28604
28605 wxPyEndAllowThreads(__tstate);
28606 if (PyErr_Occurred()) SWIG_fail;
28607 }
28608 {
28609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28610 }
28611 return resultobj;
28612 fail:
28613 return NULL;
28614}
28615
28616
c32bde28 28617static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28618 PyObject *resultobj;
28619 wxWindow *arg1 = (wxWindow *) 0 ;
28620 wxCursor const &arg2_defvalue = wxNullCursor ;
28621 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28622 wxCursor const &arg3_defvalue = wxNullCursor ;
28623 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
28624 wxCursor const &arg4_defvalue = wxNullCursor ;
28625 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
28626 wxPyDropSource *result;
28627 PyObject * obj0 = 0 ;
28628 PyObject * obj1 = 0 ;
28629 PyObject * obj2 = 0 ;
28630 PyObject * obj3 = 0 ;
28631 char *kwnames[] = {
28632 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28633 };
28634
28635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28638 if (obj1) {
093d3ff1
RD
28639 {
28640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28641 if (SWIG_arg_fail(2)) SWIG_fail;
28642 if (arg2 == NULL) {
28643 SWIG_null_ref("wxCursor");
28644 }
28645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28646 }
28647 }
28648 if (obj2) {
093d3ff1
RD
28649 {
28650 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28651 if (SWIG_arg_fail(3)) SWIG_fail;
28652 if (arg3 == NULL) {
28653 SWIG_null_ref("wxCursor");
28654 }
28655 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28656 }
28657 }
28658 if (obj3) {
093d3ff1
RD
28659 {
28660 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28661 if (SWIG_arg_fail(4)) SWIG_fail;
28662 if (arg4 == NULL) {
28663 SWIG_null_ref("wxCursor");
28664 }
28665 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
28666 }
28667 }
28668 {
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
28671
28672 wxPyEndAllowThreads(__tstate);
28673 if (PyErr_Occurred()) SWIG_fail;
28674 }
28675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
28676 return resultobj;
28677 fail:
28678 return NULL;
28679}
28680
28681
c32bde28 28682static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28683 PyObject *resultobj;
28684 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28685 PyObject *arg2 = (PyObject *) 0 ;
28686 PyObject *arg3 = (PyObject *) 0 ;
28687 int arg4 ;
28688 PyObject * obj0 = 0 ;
28689 PyObject * obj1 = 0 ;
28690 PyObject * obj2 = 0 ;
28691 PyObject * obj3 = 0 ;
28692 char *kwnames[] = {
28693 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28694 };
28695
28696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28699 arg2 = obj1;
28700 arg3 = obj2;
093d3ff1
RD
28701 {
28702 arg4 = (int)(SWIG_As_int(obj3));
28703 if (SWIG_arg_fail(4)) SWIG_fail;
28704 }
d55e5bfc
RD
28705 {
28706 PyThreadState* __tstate = wxPyBeginAllowThreads();
28707 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28708
28709 wxPyEndAllowThreads(__tstate);
28710 if (PyErr_Occurred()) SWIG_fail;
28711 }
28712 Py_INCREF(Py_None); resultobj = Py_None;
28713 return resultobj;
28714 fail:
28715 return NULL;
28716}
28717
28718
c32bde28 28719static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28720 PyObject *resultobj;
28721 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28722 PyObject * obj0 = 0 ;
28723 char *kwnames[] = {
28724 (char *) "self", NULL
28725 };
28726
28727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
28728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28730 {
28731 PyThreadState* __tstate = wxPyBeginAllowThreads();
28732 delete arg1;
28733
28734 wxPyEndAllowThreads(__tstate);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 Py_INCREF(Py_None); resultobj = Py_None;
28738 return resultobj;
28739 fail:
28740 return NULL;
28741}
28742
28743
c32bde28 28744static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28745 PyObject *resultobj;
28746 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28747 wxDataObject *arg2 = 0 ;
28748 PyObject * obj0 = 0 ;
28749 PyObject * obj1 = 0 ;
28750 char *kwnames[] = {
28751 (char *) "self",(char *) "data", NULL
28752 };
28753
28754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail;
28757 {
28758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28759 if (SWIG_arg_fail(2)) SWIG_fail;
28760 if (arg2 == NULL) {
28761 SWIG_null_ref("wxDataObject");
28762 }
28763 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28764 }
28765 {
28766 PyThreadState* __tstate = wxPyBeginAllowThreads();
28767 (arg1)->SetData(*arg2);
28768
28769 wxPyEndAllowThreads(__tstate);
28770 if (PyErr_Occurred()) SWIG_fail;
28771 }
28772 Py_INCREF(Py_None); resultobj = Py_None;
28773 return resultobj;
28774 fail:
28775 return NULL;
28776}
28777
28778
c32bde28 28779static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28780 PyObject *resultobj;
28781 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28782 wxDataObject *result;
28783 PyObject * obj0 = 0 ;
28784 char *kwnames[] = {
28785 (char *) "self", NULL
28786 };
28787
28788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 result = (wxDataObject *)(arg1)->GetDataObject();
28794
28795 wxPyEndAllowThreads(__tstate);
28796 if (PyErr_Occurred()) SWIG_fail;
28797 }
28798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
28799 return resultobj;
28800 fail:
28801 return NULL;
28802}
28803
28804
c32bde28 28805static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28806 PyObject *resultobj;
28807 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28808 wxDragResult arg2 ;
d55e5bfc
RD
28809 wxCursor *arg3 = 0 ;
28810 PyObject * obj0 = 0 ;
28811 PyObject * obj1 = 0 ;
28812 PyObject * obj2 = 0 ;
28813 char *kwnames[] = {
28814 (char *) "self",(char *) "res",(char *) "cursor", NULL
28815 };
28816
28817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28819 if (SWIG_arg_fail(1)) SWIG_fail;
28820 {
28821 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28822 if (SWIG_arg_fail(2)) SWIG_fail;
28823 }
28824 {
28825 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28826 if (SWIG_arg_fail(3)) SWIG_fail;
28827 if (arg3 == NULL) {
28828 SWIG_null_ref("wxCursor");
28829 }
28830 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28831 }
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
28835
28836 wxPyEndAllowThreads(__tstate);
28837 if (PyErr_Occurred()) SWIG_fail;
28838 }
28839 Py_INCREF(Py_None); resultobj = Py_None;
28840 return resultobj;
28841 fail:
28842 return NULL;
28843}
28844
28845
c32bde28 28846static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28847 PyObject *resultobj;
28848 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28849 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 28850 wxDragResult result;
d55e5bfc
RD
28851 PyObject * obj0 = 0 ;
28852 PyObject * obj1 = 0 ;
28853 char *kwnames[] = {
28854 (char *) "self",(char *) "flags", NULL
28855 };
28856
28857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28860 if (obj1) {
093d3ff1
RD
28861 {
28862 arg2 = (int)(SWIG_As_int(obj1));
28863 if (SWIG_arg_fail(2)) SWIG_fail;
28864 }
d55e5bfc
RD
28865 }
28866 {
28867 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28868 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
28869
28870 wxPyEndAllowThreads(__tstate);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 }
093d3ff1 28873 resultobj = SWIG_From_int((result));
d55e5bfc
RD
28874 return resultobj;
28875 fail:
28876 return NULL;
28877}
28878
28879
c32bde28 28880static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28881 PyObject *resultobj;
28882 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28883 wxDragResult arg2 ;
d55e5bfc
RD
28884 bool result;
28885 PyObject * obj0 = 0 ;
28886 PyObject * obj1 = 0 ;
28887 char *kwnames[] = {
28888 (char *) "self",(char *) "effect", NULL
28889 };
28890
28891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28893 if (SWIG_arg_fail(1)) SWIG_fail;
28894 {
28895 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28896 if (SWIG_arg_fail(2)) SWIG_fail;
28897 }
d55e5bfc
RD
28898 {
28899 PyThreadState* __tstate = wxPyBeginAllowThreads();
28900 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
28901
28902 wxPyEndAllowThreads(__tstate);
28903 if (PyErr_Occurred()) SWIG_fail;
28904 }
28905 {
28906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28907 }
28908 return resultobj;
28909 fail:
28910 return NULL;
28911}
28912
28913
c32bde28 28914static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28915 PyObject *obj;
28916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28917 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
28918 Py_INCREF(obj);
28919 return Py_BuildValue((char *)"");
28920}
c32bde28 28921static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28922 PyObject *resultobj;
28923 wxDataObject *arg1 = (wxDataObject *) NULL ;
28924 wxPyDropTarget *result;
28925 PyObject * obj0 = 0 ;
28926 char *kwnames[] = {
28927 (char *) "dataObject", NULL
28928 };
28929
28930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
28931 if (obj0) {
093d3ff1
RD
28932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28934 }
28935 {
28936 PyThreadState* __tstate = wxPyBeginAllowThreads();
28937 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
28938
28939 wxPyEndAllowThreads(__tstate);
28940 if (PyErr_Occurred()) SWIG_fail;
28941 }
28942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
28943 return resultobj;
28944 fail:
28945 return NULL;
28946}
28947
28948
c32bde28 28949static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28950 PyObject *resultobj;
28951 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28952 PyObject *arg2 = (PyObject *) 0 ;
28953 PyObject *arg3 = (PyObject *) 0 ;
28954 PyObject * obj0 = 0 ;
28955 PyObject * obj1 = 0 ;
28956 PyObject * obj2 = 0 ;
28957 char *kwnames[] = {
28958 (char *) "self",(char *) "self",(char *) "_class", NULL
28959 };
28960
28961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28964 arg2 = obj1;
28965 arg3 = obj2;
28966 {
28967 PyThreadState* __tstate = wxPyBeginAllowThreads();
28968 (arg1)->_setCallbackInfo(arg2,arg3);
28969
28970 wxPyEndAllowThreads(__tstate);
28971 if (PyErr_Occurred()) SWIG_fail;
28972 }
28973 Py_INCREF(Py_None); resultobj = Py_None;
28974 return resultobj;
28975 fail:
28976 return NULL;
28977}
28978
28979
c32bde28 28980static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28981 PyObject *resultobj;
28982 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28983 PyObject * obj0 = 0 ;
28984 char *kwnames[] = {
28985 (char *) "self", NULL
28986 };
28987
28988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
28989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28991 {
28992 PyThreadState* __tstate = wxPyBeginAllowThreads();
28993 delete arg1;
28994
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 Py_INCREF(Py_None); resultobj = Py_None;
28999 return resultobj;
29000 fail:
29001 return NULL;
29002}
29003
29004
c32bde28 29005static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29006 PyObject *resultobj;
29007 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29008 wxDataObject *result;
29009 PyObject * obj0 = 0 ;
29010 char *kwnames[] = {
29011 (char *) "self", NULL
29012 };
29013
29014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
29015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 result = (wxDataObject *)(arg1)->GetDataObject();
29020
29021 wxPyEndAllowThreads(__tstate);
29022 if (PyErr_Occurred()) SWIG_fail;
29023 }
29024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
29025 return resultobj;
29026 fail:
29027 return NULL;
29028}
29029
29030
c32bde28 29031static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29032 PyObject *resultobj;
29033 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29034 wxDataObject *arg2 = (wxDataObject *) 0 ;
29035 PyObject * obj0 = 0 ;
29036 PyObject * obj1 = 0 ;
29037 char *kwnames[] = {
29038 (char *) "self",(char *) "dataObject", NULL
29039 };
29040
29041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29043 if (SWIG_arg_fail(1)) SWIG_fail;
29044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29045 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->SetDataObject(arg2);
29049
29050 wxPyEndAllowThreads(__tstate);
29051 if (PyErr_Occurred()) SWIG_fail;
29052 }
29053 Py_INCREF(Py_None); resultobj = Py_None;
29054 return resultobj;
29055 fail:
29056 return NULL;
29057}
29058
29059
c32bde28 29060static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29061 PyObject *resultobj;
29062 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29063 int arg2 ;
29064 int arg3 ;
093d3ff1
RD
29065 wxDragResult arg4 ;
29066 wxDragResult result;
d55e5bfc
RD
29067 PyObject * obj0 = 0 ;
29068 PyObject * obj1 = 0 ;
29069 PyObject * obj2 = 0 ;
29070 PyObject * obj3 = 0 ;
29071 char *kwnames[] = {
29072 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29073 };
29074
29075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail;
29078 {
29079 arg2 = (int)(SWIG_As_int(obj1));
29080 if (SWIG_arg_fail(2)) SWIG_fail;
29081 }
29082 {
29083 arg3 = (int)(SWIG_As_int(obj2));
29084 if (SWIG_arg_fail(3)) SWIG_fail;
29085 }
29086 {
29087 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29088 if (SWIG_arg_fail(4)) SWIG_fail;
29089 }
d55e5bfc
RD
29090 {
29091 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29092 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29093
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
093d3ff1 29097 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29098 return resultobj;
29099 fail:
29100 return NULL;
29101}
29102
29103
c32bde28 29104static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29105 PyObject *resultobj;
29106 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29107 int arg2 ;
29108 int arg3 ;
093d3ff1
RD
29109 wxDragResult arg4 ;
29110 wxDragResult result;
d55e5bfc
RD
29111 PyObject * obj0 = 0 ;
29112 PyObject * obj1 = 0 ;
29113 PyObject * obj2 = 0 ;
29114 PyObject * obj3 = 0 ;
29115 char *kwnames[] = {
29116 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29117 };
29118
29119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29121 if (SWIG_arg_fail(1)) SWIG_fail;
29122 {
29123 arg2 = (int)(SWIG_As_int(obj1));
29124 if (SWIG_arg_fail(2)) SWIG_fail;
29125 }
29126 {
29127 arg3 = (int)(SWIG_As_int(obj2));
29128 if (SWIG_arg_fail(3)) SWIG_fail;
29129 }
29130 {
29131 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29132 if (SWIG_arg_fail(4)) SWIG_fail;
29133 }
d55e5bfc
RD
29134 {
29135 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29136 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29137
29138 wxPyEndAllowThreads(__tstate);
29139 if (PyErr_Occurred()) SWIG_fail;
29140 }
093d3ff1 29141 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29142 return resultobj;
29143 fail:
29144 return NULL;
29145}
29146
29147
c32bde28 29148static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29149 PyObject *resultobj;
29150 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29151 PyObject * obj0 = 0 ;
29152 char *kwnames[] = {
29153 (char *) "self", NULL
29154 };
29155
29156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 (arg1)->base_OnLeave();
29162
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 Py_INCREF(Py_None); resultobj = Py_None;
29167 return resultobj;
29168 fail:
29169 return NULL;
29170}
29171
29172
c32bde28 29173static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29174 PyObject *resultobj;
29175 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29176 int arg2 ;
29177 int arg3 ;
29178 bool result;
29179 PyObject * obj0 = 0 ;
29180 PyObject * obj1 = 0 ;
29181 PyObject * obj2 = 0 ;
29182 char *kwnames[] = {
29183 (char *) "self",(char *) "x",(char *) "y", NULL
29184 };
29185
29186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29188 if (SWIG_arg_fail(1)) SWIG_fail;
29189 {
29190 arg2 = (int)(SWIG_As_int(obj1));
29191 if (SWIG_arg_fail(2)) SWIG_fail;
29192 }
29193 {
29194 arg3 = (int)(SWIG_As_int(obj2));
29195 if (SWIG_arg_fail(3)) SWIG_fail;
29196 }
d55e5bfc
RD
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 {
29205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29206 }
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
c32bde28 29213static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29214 PyObject *resultobj;
29215 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29216 bool result;
29217 PyObject * obj0 = 0 ;
29218 char *kwnames[] = {
29219 (char *) "self", NULL
29220 };
29221
29222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29225 {
29226 PyThreadState* __tstate = wxPyBeginAllowThreads();
29227 result = (bool)(arg1)->GetData();
29228
29229 wxPyEndAllowThreads(__tstate);
29230 if (PyErr_Occurred()) SWIG_fail;
29231 }
29232 {
29233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29234 }
29235 return resultobj;
29236 fail:
29237 return NULL;
29238}
29239
29240
0c549c5f
RD
29241static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29242 PyObject *resultobj;
29243 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29244 wxDragResult arg2 ;
29245 PyObject * obj0 = 0 ;
29246 PyObject * obj1 = 0 ;
29247 char *kwnames[] = {
29248 (char *) "self",(char *) "action", NULL
29249 };
29250
29251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
29252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29253 if (SWIG_arg_fail(1)) SWIG_fail;
29254 {
29255 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29256 if (SWIG_arg_fail(2)) SWIG_fail;
29257 }
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 (arg1)->SetDefaultAction((wxDragResult )arg2);
29261
29262 wxPyEndAllowThreads(__tstate);
29263 if (PyErr_Occurred()) SWIG_fail;
29264 }
29265 Py_INCREF(Py_None); resultobj = Py_None;
29266 return resultobj;
29267 fail:
29268 return NULL;
29269}
29270
29271
29272static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29273 PyObject *resultobj;
29274 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29275 wxDragResult result;
29276 PyObject * obj0 = 0 ;
29277 char *kwnames[] = {
29278 (char *) "self", NULL
29279 };
29280
29281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
29282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29283 if (SWIG_arg_fail(1)) SWIG_fail;
29284 {
29285 PyThreadState* __tstate = wxPyBeginAllowThreads();
29286 result = (wxDragResult)(arg1)->GetDefaultAction();
29287
29288 wxPyEndAllowThreads(__tstate);
29289 if (PyErr_Occurred()) SWIG_fail;
29290 }
29291 resultobj = SWIG_From_int((result));
29292 return resultobj;
29293 fail:
29294 return NULL;
29295}
29296
29297
c32bde28 29298static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29299 PyObject *obj;
29300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29301 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
29302 Py_INCREF(obj);
29303 return Py_BuildValue((char *)"");
29304}
c32bde28 29305static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29306 PyObject *resultobj;
29307 wxPyTextDropTarget *result;
29308 char *kwnames[] = {
29309 NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
29313 {
29314 PyThreadState* __tstate = wxPyBeginAllowThreads();
29315 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
29316
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
29320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
29321 return resultobj;
29322 fail:
29323 return NULL;
29324}
29325
29326
c32bde28 29327static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29328 PyObject *resultobj;
29329 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29330 PyObject *arg2 = (PyObject *) 0 ;
29331 PyObject *arg3 = (PyObject *) 0 ;
29332 PyObject * obj0 = 0 ;
29333 PyObject * obj1 = 0 ;
29334 PyObject * obj2 = 0 ;
29335 char *kwnames[] = {
29336 (char *) "self",(char *) "self",(char *) "_class", NULL
29337 };
29338
29339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29342 arg2 = obj1;
29343 arg3 = obj2;
29344 {
29345 PyThreadState* __tstate = wxPyBeginAllowThreads();
29346 (arg1)->_setCallbackInfo(arg2,arg3);
29347
29348 wxPyEndAllowThreads(__tstate);
29349 if (PyErr_Occurred()) SWIG_fail;
29350 }
29351 Py_INCREF(Py_None); resultobj = Py_None;
29352 return resultobj;
29353 fail:
29354 return NULL;
29355}
29356
29357
c32bde28 29358static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29359 PyObject *resultobj;
29360 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29361 int arg2 ;
29362 int arg3 ;
093d3ff1
RD
29363 wxDragResult arg4 ;
29364 wxDragResult result;
d55e5bfc
RD
29365 PyObject * obj0 = 0 ;
29366 PyObject * obj1 = 0 ;
29367 PyObject * obj2 = 0 ;
29368 PyObject * obj3 = 0 ;
29369 char *kwnames[] = {
29370 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29371 };
29372
29373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail;
29376 {
29377 arg2 = (int)(SWIG_As_int(obj1));
29378 if (SWIG_arg_fail(2)) SWIG_fail;
29379 }
29380 {
29381 arg3 = (int)(SWIG_As_int(obj2));
29382 if (SWIG_arg_fail(3)) SWIG_fail;
29383 }
29384 {
29385 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29386 if (SWIG_arg_fail(4)) SWIG_fail;
29387 }
d55e5bfc
RD
29388 {
29389 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29390 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29391
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
093d3ff1 29395 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29396 return resultobj;
29397 fail:
29398 return NULL;
29399}
29400
29401
c32bde28 29402static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29403 PyObject *resultobj;
29404 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29405 int arg2 ;
29406 int arg3 ;
093d3ff1
RD
29407 wxDragResult arg4 ;
29408 wxDragResult result;
d55e5bfc
RD
29409 PyObject * obj0 = 0 ;
29410 PyObject * obj1 = 0 ;
29411 PyObject * obj2 = 0 ;
29412 PyObject * obj3 = 0 ;
29413 char *kwnames[] = {
29414 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29415 };
29416
29417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29419 if (SWIG_arg_fail(1)) SWIG_fail;
29420 {
29421 arg2 = (int)(SWIG_As_int(obj1));
29422 if (SWIG_arg_fail(2)) SWIG_fail;
29423 }
29424 {
29425 arg3 = (int)(SWIG_As_int(obj2));
29426 if (SWIG_arg_fail(3)) SWIG_fail;
29427 }
29428 {
29429 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29430 if (SWIG_arg_fail(4)) SWIG_fail;
29431 }
d55e5bfc
RD
29432 {
29433 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29434 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29435
29436 wxPyEndAllowThreads(__tstate);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
093d3ff1 29439 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29440 return resultobj;
29441 fail:
29442 return NULL;
29443}
29444
29445
c32bde28 29446static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29447 PyObject *resultobj;
29448 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29449 PyObject * obj0 = 0 ;
29450 char *kwnames[] = {
29451 (char *) "self", NULL
29452 };
29453
29454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29457 {
29458 PyThreadState* __tstate = wxPyBeginAllowThreads();
29459 (arg1)->base_OnLeave();
29460
29461 wxPyEndAllowThreads(__tstate);
29462 if (PyErr_Occurred()) SWIG_fail;
29463 }
29464 Py_INCREF(Py_None); resultobj = Py_None;
29465 return resultobj;
29466 fail:
29467 return NULL;
29468}
29469
29470
c32bde28 29471static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29472 PyObject *resultobj;
29473 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29474 int arg2 ;
29475 int arg3 ;
29476 bool result;
29477 PyObject * obj0 = 0 ;
29478 PyObject * obj1 = 0 ;
29479 PyObject * obj2 = 0 ;
29480 char *kwnames[] = {
29481 (char *) "self",(char *) "x",(char *) "y", NULL
29482 };
29483
29484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29486 if (SWIG_arg_fail(1)) SWIG_fail;
29487 {
29488 arg2 = (int)(SWIG_As_int(obj1));
29489 if (SWIG_arg_fail(2)) SWIG_fail;
29490 }
29491 {
29492 arg3 = (int)(SWIG_As_int(obj2));
29493 if (SWIG_arg_fail(3)) SWIG_fail;
29494 }
d55e5bfc
RD
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29498
29499 wxPyEndAllowThreads(__tstate);
29500 if (PyErr_Occurred()) SWIG_fail;
29501 }
29502 {
29503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29504 }
29505 return resultobj;
29506 fail:
29507 return NULL;
29508}
29509
29510
c32bde28 29511static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29512 PyObject *resultobj;
29513 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29514 int arg2 ;
29515 int arg3 ;
093d3ff1
RD
29516 wxDragResult arg4 ;
29517 wxDragResult result;
d55e5bfc
RD
29518 PyObject * obj0 = 0 ;
29519 PyObject * obj1 = 0 ;
29520 PyObject * obj2 = 0 ;
29521 PyObject * obj3 = 0 ;
29522 char *kwnames[] = {
29523 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29524 };
29525
29526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29528 if (SWIG_arg_fail(1)) SWIG_fail;
29529 {
29530 arg2 = (int)(SWIG_As_int(obj1));
29531 if (SWIG_arg_fail(2)) SWIG_fail;
29532 }
29533 {
29534 arg3 = (int)(SWIG_As_int(obj2));
29535 if (SWIG_arg_fail(3)) SWIG_fail;
29536 }
29537 {
29538 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29539 if (SWIG_arg_fail(4)) SWIG_fail;
29540 }
d55e5bfc
RD
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29543 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29544
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
093d3ff1 29548 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29549 return resultobj;
29550 fail:
29551 return NULL;
29552}
29553
29554
c32bde28 29555static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29556 PyObject *obj;
29557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29558 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
29559 Py_INCREF(obj);
29560 return Py_BuildValue((char *)"");
29561}
c32bde28 29562static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29563 PyObject *resultobj;
29564 wxPyFileDropTarget *result;
29565 char *kwnames[] = {
29566 NULL
29567 };
29568
29569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
29573
29574 wxPyEndAllowThreads(__tstate);
29575 if (PyErr_Occurred()) SWIG_fail;
29576 }
29577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
29578 return resultobj;
29579 fail:
29580 return NULL;
29581}
29582
29583
c32bde28 29584static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29585 PyObject *resultobj;
29586 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29587 PyObject *arg2 = (PyObject *) 0 ;
29588 PyObject *arg3 = (PyObject *) 0 ;
29589 PyObject * obj0 = 0 ;
29590 PyObject * obj1 = 0 ;
29591 PyObject * obj2 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "self",(char *) "self",(char *) "_class", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29599 arg2 = obj1;
29600 arg3 = obj2;
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 (arg1)->_setCallbackInfo(arg2,arg3);
29604
29605 wxPyEndAllowThreads(__tstate);
29606 if (PyErr_Occurred()) SWIG_fail;
29607 }
29608 Py_INCREF(Py_None); resultobj = Py_None;
29609 return resultobj;
29610 fail:
29611 return NULL;
29612}
29613
29614
c32bde28 29615static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29616 PyObject *resultobj;
29617 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29618 int arg2 ;
29619 int arg3 ;
093d3ff1
RD
29620 wxDragResult arg4 ;
29621 wxDragResult result;
d55e5bfc
RD
29622 PyObject * obj0 = 0 ;
29623 PyObject * obj1 = 0 ;
29624 PyObject * obj2 = 0 ;
29625 PyObject * obj3 = 0 ;
29626 char *kwnames[] = {
29627 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29628 };
29629
29630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail;
29633 {
29634 arg2 = (int)(SWIG_As_int(obj1));
29635 if (SWIG_arg_fail(2)) SWIG_fail;
29636 }
29637 {
29638 arg3 = (int)(SWIG_As_int(obj2));
29639 if (SWIG_arg_fail(3)) SWIG_fail;
29640 }
29641 {
29642 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29643 if (SWIG_arg_fail(4)) SWIG_fail;
29644 }
d55e5bfc
RD
29645 {
29646 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29647 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29648
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
093d3ff1 29652 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29653 return resultobj;
29654 fail:
29655 return NULL;
29656}
29657
29658
c32bde28 29659static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29660 PyObject *resultobj;
29661 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29662 int arg2 ;
29663 int arg3 ;
093d3ff1
RD
29664 wxDragResult arg4 ;
29665 wxDragResult result;
d55e5bfc
RD
29666 PyObject * obj0 = 0 ;
29667 PyObject * obj1 = 0 ;
29668 PyObject * obj2 = 0 ;
29669 PyObject * obj3 = 0 ;
29670 char *kwnames[] = {
29671 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29672 };
29673
29674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29676 if (SWIG_arg_fail(1)) SWIG_fail;
29677 {
29678 arg2 = (int)(SWIG_As_int(obj1));
29679 if (SWIG_arg_fail(2)) SWIG_fail;
29680 }
29681 {
29682 arg3 = (int)(SWIG_As_int(obj2));
29683 if (SWIG_arg_fail(3)) SWIG_fail;
29684 }
29685 {
29686 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29687 if (SWIG_arg_fail(4)) SWIG_fail;
29688 }
d55e5bfc
RD
29689 {
29690 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29691 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29692
29693 wxPyEndAllowThreads(__tstate);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 }
093d3ff1 29696 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29697 return resultobj;
29698 fail:
29699 return NULL;
29700}
29701
29702
c32bde28 29703static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29704 PyObject *resultobj;
29705 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29706 PyObject * obj0 = 0 ;
29707 char *kwnames[] = {
29708 (char *) "self", NULL
29709 };
29710
29711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 (arg1)->base_OnLeave();
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 Py_INCREF(Py_None); resultobj = Py_None;
29722 return resultobj;
29723 fail:
29724 return NULL;
29725}
29726
29727
c32bde28 29728static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29729 PyObject *resultobj;
29730 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29731 int arg2 ;
29732 int arg3 ;
29733 bool result;
29734 PyObject * obj0 = 0 ;
29735 PyObject * obj1 = 0 ;
29736 PyObject * obj2 = 0 ;
29737 char *kwnames[] = {
29738 (char *) "self",(char *) "x",(char *) "y", NULL
29739 };
29740
29741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail;
29744 {
29745 arg2 = (int)(SWIG_As_int(obj1));
29746 if (SWIG_arg_fail(2)) SWIG_fail;
29747 }
29748 {
29749 arg3 = (int)(SWIG_As_int(obj2));
29750 if (SWIG_arg_fail(3)) SWIG_fail;
29751 }
d55e5bfc
RD
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29755
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
29759 {
29760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29761 }
29762 return resultobj;
29763 fail:
29764 return NULL;
29765}
29766
29767
c32bde28 29768static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29769 PyObject *resultobj;
29770 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29771 int arg2 ;
29772 int arg3 ;
093d3ff1
RD
29773 wxDragResult arg4 ;
29774 wxDragResult result;
d55e5bfc
RD
29775 PyObject * obj0 = 0 ;
29776 PyObject * obj1 = 0 ;
29777 PyObject * obj2 = 0 ;
29778 PyObject * obj3 = 0 ;
29779 char *kwnames[] = {
29780 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29781 };
29782
29783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29785 if (SWIG_arg_fail(1)) SWIG_fail;
29786 {
29787 arg2 = (int)(SWIG_As_int(obj1));
29788 if (SWIG_arg_fail(2)) SWIG_fail;
29789 }
29790 {
29791 arg3 = (int)(SWIG_As_int(obj2));
29792 if (SWIG_arg_fail(3)) SWIG_fail;
29793 }
29794 {
29795 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29796 if (SWIG_arg_fail(4)) SWIG_fail;
29797 }
d55e5bfc
RD
29798 {
29799 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29800 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29801
29802 wxPyEndAllowThreads(__tstate);
29803 if (PyErr_Occurred()) SWIG_fail;
29804 }
093d3ff1 29805 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29806 return resultobj;
29807 fail:
29808 return NULL;
29809}
29810
29811
c32bde28 29812static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29813 PyObject *obj;
29814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29815 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
29816 Py_INCREF(obj);
29817 return Py_BuildValue((char *)"");
29818}
c32bde28 29819static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29820 PyObject *resultobj;
29821 wxClipboard *result;
29822 char *kwnames[] = {
29823 NULL
29824 };
29825
29826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = (wxClipboard *)new wxClipboard();
29830
29831 wxPyEndAllowThreads(__tstate);
29832 if (PyErr_Occurred()) SWIG_fail;
29833 }
29834 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
29835 return resultobj;
29836 fail:
29837 return NULL;
29838}
29839
29840
c32bde28 29841static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29842 PyObject *resultobj;
29843 wxClipboard *arg1 = (wxClipboard *) 0 ;
29844 PyObject * obj0 = 0 ;
29845 char *kwnames[] = {
29846 (char *) "self", NULL
29847 };
29848
29849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
29850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29852 {
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 delete arg1;
29855
29856 wxPyEndAllowThreads(__tstate);
29857 if (PyErr_Occurred()) SWIG_fail;
29858 }
29859 Py_INCREF(Py_None); resultobj = Py_None;
29860 return resultobj;
29861 fail:
29862 return NULL;
29863}
29864
29865
c32bde28 29866static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29867 PyObject *resultobj;
29868 wxClipboard *arg1 = (wxClipboard *) 0 ;
29869 bool result;
29870 PyObject * obj0 = 0 ;
29871 char *kwnames[] = {
29872 (char *) "self", NULL
29873 };
29874
29875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
29876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 result = (bool)(arg1)->Open();
29881
29882 wxPyEndAllowThreads(__tstate);
29883 if (PyErr_Occurred()) SWIG_fail;
29884 }
29885 {
29886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29887 }
29888 return resultobj;
29889 fail:
29890 return NULL;
29891}
29892
29893
c32bde28 29894static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29895 PyObject *resultobj;
29896 wxClipboard *arg1 = (wxClipboard *) 0 ;
29897 PyObject * obj0 = 0 ;
29898 char *kwnames[] = {
29899 (char *) "self", NULL
29900 };
29901
29902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
29903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29905 {
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 (arg1)->Close();
29908
29909 wxPyEndAllowThreads(__tstate);
29910 if (PyErr_Occurred()) SWIG_fail;
29911 }
29912 Py_INCREF(Py_None); resultobj = Py_None;
29913 return resultobj;
29914 fail:
29915 return NULL;
29916}
29917
29918
c32bde28 29919static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29920 PyObject *resultobj;
29921 wxClipboard *arg1 = (wxClipboard *) 0 ;
29922 bool result;
29923 PyObject * obj0 = 0 ;
29924 char *kwnames[] = {
29925 (char *) "self", NULL
29926 };
29927
29928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
29929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29931 {
29932 PyThreadState* __tstate = wxPyBeginAllowThreads();
29933 result = (bool)((wxClipboard const *)arg1)->IsOpened();
29934
29935 wxPyEndAllowThreads(__tstate);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 }
29938 {
29939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29940 }
29941 return resultobj;
29942 fail:
29943 return NULL;
29944}
29945
29946
c32bde28 29947static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29948 PyObject *resultobj;
29949 wxClipboard *arg1 = (wxClipboard *) 0 ;
29950 wxDataObject *arg2 = (wxDataObject *) 0 ;
29951 bool result;
29952 PyObject * obj0 = 0 ;
29953 PyObject * obj1 = 0 ;
29954 char *kwnames[] = {
29955 (char *) "self",(char *) "data", NULL
29956 };
29957
29958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29960 if (SWIG_arg_fail(1)) SWIG_fail;
29961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29962 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 result = (bool)(arg1)->AddData(arg2);
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
29970 {
29971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29972 }
29973 return resultobj;
29974 fail:
29975 return NULL;
29976}
29977
29978
c32bde28 29979static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29980 PyObject *resultobj;
29981 wxClipboard *arg1 = (wxClipboard *) 0 ;
29982 wxDataObject *arg2 = (wxDataObject *) 0 ;
29983 bool result;
29984 PyObject * obj0 = 0 ;
29985 PyObject * obj1 = 0 ;
29986 char *kwnames[] = {
29987 (char *) "self",(char *) "data", NULL
29988 };
29989
29990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29992 if (SWIG_arg_fail(1)) SWIG_fail;
29993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29994 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
29997 result = (bool)(arg1)->SetData(arg2);
29998
29999 wxPyEndAllowThreads(__tstate);
30000 if (PyErr_Occurred()) SWIG_fail;
30001 }
30002 {
30003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30004 }
30005 return resultobj;
30006 fail:
30007 return NULL;
30008}
30009
30010
c32bde28 30011static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30012 PyObject *resultobj;
30013 wxClipboard *arg1 = (wxClipboard *) 0 ;
30014 wxDataFormat *arg2 = 0 ;
30015 bool result;
30016 PyObject * obj0 = 0 ;
30017 PyObject * obj1 = 0 ;
30018 char *kwnames[] = {
30019 (char *) "self",(char *) "format", NULL
30020 };
30021
30022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30024 if (SWIG_arg_fail(1)) SWIG_fail;
30025 {
30026 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
30027 if (SWIG_arg_fail(2)) SWIG_fail;
30028 if (arg2 == NULL) {
30029 SWIG_null_ref("wxDataFormat");
30030 }
30031 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30032 }
30033 {
30034 PyThreadState* __tstate = wxPyBeginAllowThreads();
30035 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
30036
30037 wxPyEndAllowThreads(__tstate);
30038 if (PyErr_Occurred()) SWIG_fail;
30039 }
30040 {
30041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30042 }
30043 return resultobj;
30044 fail:
30045 return NULL;
30046}
30047
30048
c32bde28 30049static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30050 PyObject *resultobj;
30051 wxClipboard *arg1 = (wxClipboard *) 0 ;
30052 wxDataObject *arg2 = 0 ;
30053 bool result;
30054 PyObject * obj0 = 0 ;
30055 PyObject * obj1 = 0 ;
30056 char *kwnames[] = {
30057 (char *) "self",(char *) "data", NULL
30058 };
30059
30060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30062 if (SWIG_arg_fail(1)) SWIG_fail;
30063 {
30064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
30065 if (SWIG_arg_fail(2)) SWIG_fail;
30066 if (arg2 == NULL) {
30067 SWIG_null_ref("wxDataObject");
30068 }
30069 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30070 }
30071 {
30072 PyThreadState* __tstate = wxPyBeginAllowThreads();
30073 result = (bool)(arg1)->GetData(*arg2);
30074
30075 wxPyEndAllowThreads(__tstate);
30076 if (PyErr_Occurred()) SWIG_fail;
30077 }
30078 {
30079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30080 }
30081 return resultobj;
30082 fail:
30083 return NULL;
30084}
30085
30086
c32bde28 30087static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30088 PyObject *resultobj;
30089 wxClipboard *arg1 = (wxClipboard *) 0 ;
30090 PyObject * obj0 = 0 ;
30091 char *kwnames[] = {
30092 (char *) "self", NULL
30093 };
30094
30095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
30096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
30100 (arg1)->Clear();
30101
30102 wxPyEndAllowThreads(__tstate);
30103 if (PyErr_Occurred()) SWIG_fail;
30104 }
30105 Py_INCREF(Py_None); resultobj = Py_None;
30106 return resultobj;
30107 fail:
30108 return NULL;
30109}
30110
30111
c32bde28 30112static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30113 PyObject *resultobj;
30114 wxClipboard *arg1 = (wxClipboard *) 0 ;
30115 bool result;
30116 PyObject * obj0 = 0 ;
30117 char *kwnames[] = {
30118 (char *) "self", NULL
30119 };
30120
30121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
30122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30124 {
30125 PyThreadState* __tstate = wxPyBeginAllowThreads();
30126 result = (bool)(arg1)->Flush();
30127
30128 wxPyEndAllowThreads(__tstate);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 }
30131 {
30132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30133 }
30134 return resultobj;
30135 fail:
30136 return NULL;
30137}
30138
30139
c32bde28 30140static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30141 PyObject *resultobj;
30142 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 30143 bool arg2 = (bool) true ;
d55e5bfc
RD
30144 PyObject * obj0 = 0 ;
30145 PyObject * obj1 = 0 ;
30146 char *kwnames[] = {
30147 (char *) "self",(char *) "primary", NULL
30148 };
30149
30150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30153 if (obj1) {
093d3ff1
RD
30154 {
30155 arg2 = (bool)(SWIG_As_bool(obj1));
30156 if (SWIG_arg_fail(2)) SWIG_fail;
30157 }
d55e5bfc
RD
30158 }
30159 {
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 (arg1)->UsePrimarySelection(arg2);
30162
30163 wxPyEndAllowThreads(__tstate);
30164 if (PyErr_Occurred()) SWIG_fail;
30165 }
30166 Py_INCREF(Py_None); resultobj = Py_None;
30167 return resultobj;
30168 fail:
30169 return NULL;
30170}
30171
30172
c32bde28 30173static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
30174 PyObject *resultobj;
30175 wxClipboard *result;
30176 char *kwnames[] = {
30177 NULL
30178 };
30179
30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
30181 {
30182 PyThreadState* __tstate = wxPyBeginAllowThreads();
30183 result = (wxClipboard *)wxClipboard::Get();
30184
30185 wxPyEndAllowThreads(__tstate);
30186 if (PyErr_Occurred()) SWIG_fail;
30187 }
30188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
30189 return resultobj;
30190 fail:
30191 return NULL;
30192}
30193
30194
c32bde28 30195static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30196 PyObject *obj;
30197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30198 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
30199 Py_INCREF(obj);
30200 return Py_BuildValue((char *)"");
30201}
c32bde28 30202static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30203 PyObject *resultobj;
30204 wxClipboard *arg1 = (wxClipboard *) NULL ;
30205 wxClipboardLocker *result;
30206 PyObject * obj0 = 0 ;
30207 char *kwnames[] = {
30208 (char *) "clipboard", NULL
30209 };
30210
30211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
30212 if (obj0) {
093d3ff1
RD
30213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30215 }
30216 {
30217 PyThreadState* __tstate = wxPyBeginAllowThreads();
30218 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
30219
30220 wxPyEndAllowThreads(__tstate);
30221 if (PyErr_Occurred()) SWIG_fail;
30222 }
30223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
30224 return resultobj;
30225 fail:
30226 return NULL;
30227}
30228
30229
c32bde28 30230static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30231 PyObject *resultobj;
30232 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30233 PyObject * obj0 = 0 ;
30234 char *kwnames[] = {
30235 (char *) "self", NULL
30236 };
30237
30238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
30239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30241 {
30242 PyThreadState* __tstate = wxPyBeginAllowThreads();
30243 delete arg1;
30244
30245 wxPyEndAllowThreads(__tstate);
30246 if (PyErr_Occurred()) SWIG_fail;
30247 }
30248 Py_INCREF(Py_None); resultobj = Py_None;
30249 return resultobj;
30250 fail:
30251 return NULL;
30252}
30253
30254
c32bde28 30255static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30256 PyObject *resultobj;
30257 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30258 bool result;
30259 PyObject * obj0 = 0 ;
30260 char *kwnames[] = {
30261 (char *) "self", NULL
30262 };
30263
30264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
30265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30267 {
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 result = (bool)wxClipboardLocker___nonzero__(arg1);
30270
30271 wxPyEndAllowThreads(__tstate);
30272 if (PyErr_Occurred()) SWIG_fail;
30273 }
30274 {
30275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30276 }
30277 return resultobj;
30278 fail:
30279 return NULL;
30280}
30281
30282
c32bde28 30283static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30284 PyObject *obj;
30285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30286 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
30287 Py_INCREF(obj);
30288 return Py_BuildValue((char *)"");
30289}
c32bde28 30290static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30291 PyObject *resultobj;
30292 int arg1 = (int) 0 ;
30293 int arg2 = (int) 0 ;
30294 int arg3 = (int) 0 ;
30295 int arg4 = (int) 0 ;
30296 wxVideoMode *result;
30297 PyObject * obj0 = 0 ;
30298 PyObject * obj1 = 0 ;
30299 PyObject * obj2 = 0 ;
30300 PyObject * obj3 = 0 ;
30301 char *kwnames[] = {
30302 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30303 };
30304
30305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30306 if (obj0) {
093d3ff1
RD
30307 {
30308 arg1 = (int)(SWIG_As_int(obj0));
30309 if (SWIG_arg_fail(1)) SWIG_fail;
30310 }
d55e5bfc
RD
30311 }
30312 if (obj1) {
093d3ff1
RD
30313 {
30314 arg2 = (int)(SWIG_As_int(obj1));
30315 if (SWIG_arg_fail(2)) SWIG_fail;
30316 }
d55e5bfc
RD
30317 }
30318 if (obj2) {
093d3ff1
RD
30319 {
30320 arg3 = (int)(SWIG_As_int(obj2));
30321 if (SWIG_arg_fail(3)) SWIG_fail;
30322 }
d55e5bfc
RD
30323 }
30324 if (obj3) {
093d3ff1
RD
30325 {
30326 arg4 = (int)(SWIG_As_int(obj3));
30327 if (SWIG_arg_fail(4)) SWIG_fail;
30328 }
d55e5bfc
RD
30329 }
30330 {
30331 PyThreadState* __tstate = wxPyBeginAllowThreads();
30332 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
30333
30334 wxPyEndAllowThreads(__tstate);
30335 if (PyErr_Occurred()) SWIG_fail;
30336 }
30337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
30338 return resultobj;
30339 fail:
30340 return NULL;
30341}
30342
30343
c32bde28 30344static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30345 PyObject *resultobj;
30346 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30347 PyObject * obj0 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
30353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 delete arg1;
30358
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 Py_INCREF(Py_None); resultobj = Py_None;
30363 return resultobj;
30364 fail:
30365 return NULL;
30366}
30367
30368
c32bde28 30369static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30370 PyObject *resultobj;
30371 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30372 wxVideoMode *arg2 = 0 ;
30373 bool result;
30374 PyObject * obj0 = 0 ;
30375 PyObject * obj1 = 0 ;
30376 char *kwnames[] = {
30377 (char *) "self",(char *) "other", NULL
30378 };
30379
30380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30382 if (SWIG_arg_fail(1)) SWIG_fail;
30383 {
30384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(2)) SWIG_fail;
30386 if (arg2 == NULL) {
30387 SWIG_null_ref("wxVideoMode");
30388 }
30389 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30390 }
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
30394
30395 wxPyEndAllowThreads(__tstate);
30396 if (PyErr_Occurred()) SWIG_fail;
30397 }
30398 {
30399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30400 }
30401 return resultobj;
30402 fail:
30403 return NULL;
30404}
30405
30406
c32bde28 30407static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30408 PyObject *resultobj;
30409 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30410 int result;
30411 PyObject * obj0 = 0 ;
30412 char *kwnames[] = {
30413 (char *) "self", NULL
30414 };
30415
30416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 result = (int)((wxVideoMode const *)arg1)->GetWidth();
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
093d3ff1
RD
30426 {
30427 resultobj = SWIG_From_int((int)(result));
30428 }
d55e5bfc
RD
30429 return resultobj;
30430 fail:
30431 return NULL;
30432}
30433
30434
c32bde28 30435static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30436 PyObject *resultobj;
30437 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30438 int result;
30439 PyObject * obj0 = 0 ;
30440 char *kwnames[] = {
30441 (char *) "self", NULL
30442 };
30443
30444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
30445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30447 {
30448 PyThreadState* __tstate = wxPyBeginAllowThreads();
30449 result = (int)((wxVideoMode const *)arg1)->GetHeight();
30450
30451 wxPyEndAllowThreads(__tstate);
30452 if (PyErr_Occurred()) SWIG_fail;
30453 }
093d3ff1
RD
30454 {
30455 resultobj = SWIG_From_int((int)(result));
30456 }
d55e5bfc
RD
30457 return resultobj;
30458 fail:
30459 return NULL;
30460}
30461
30462
c32bde28 30463static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30464 PyObject *resultobj;
30465 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30466 int result;
30467 PyObject * obj0 = 0 ;
30468 char *kwnames[] = {
30469 (char *) "self", NULL
30470 };
30471
30472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30475 {
30476 PyThreadState* __tstate = wxPyBeginAllowThreads();
30477 result = (int)((wxVideoMode const *)arg1)->GetDepth();
30478
30479 wxPyEndAllowThreads(__tstate);
30480 if (PyErr_Occurred()) SWIG_fail;
30481 }
093d3ff1
RD
30482 {
30483 resultobj = SWIG_From_int((int)(result));
30484 }
d55e5bfc
RD
30485 return resultobj;
30486 fail:
30487 return NULL;
30488}
30489
30490
c32bde28 30491static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30492 PyObject *resultobj;
30493 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30494 bool result;
30495 PyObject * obj0 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 result = (bool)((wxVideoMode const *)arg1)->IsOk();
30506
30507 wxPyEndAllowThreads(__tstate);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 }
30510 {
30511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30512 }
30513 return resultobj;
30514 fail:
30515 return NULL;
30516}
30517
30518
c32bde28 30519static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30520 PyObject *resultobj;
30521 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30522 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30523 bool result;
30524 PyObject * obj0 = 0 ;
30525 PyObject * obj1 = 0 ;
30526 char *kwnames[] = {
30527 (char *) "self",(char *) "other", NULL
30528 };
30529
30530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail;
30533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30534 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30535 {
30536 PyThreadState* __tstate = wxPyBeginAllowThreads();
30537 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
30538
30539 wxPyEndAllowThreads(__tstate);
30540 if (PyErr_Occurred()) SWIG_fail;
30541 }
30542 {
30543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30544 }
30545 return resultobj;
30546 fail:
30547 return NULL;
30548}
30549
30550
c32bde28 30551static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30552 PyObject *resultobj;
30553 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30554 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30555 bool result;
30556 PyObject * obj0 = 0 ;
30557 PyObject * obj1 = 0 ;
30558 char *kwnames[] = {
30559 (char *) "self",(char *) "other", NULL
30560 };
30561
30562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail;
30565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30566 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30567 {
30568 PyThreadState* __tstate = wxPyBeginAllowThreads();
30569 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
30570
30571 wxPyEndAllowThreads(__tstate);
30572 if (PyErr_Occurred()) SWIG_fail;
30573 }
30574 {
30575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30576 }
30577 return resultobj;
30578 fail:
30579 return NULL;
30580}
30581
30582
c32bde28 30583static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30584 PyObject *resultobj;
30585 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30586 int arg2 ;
30587 PyObject * obj0 = 0 ;
30588 PyObject * obj1 = 0 ;
30589 char *kwnames[] = {
30590 (char *) "self",(char *) "w", NULL
30591 };
30592
30593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30595 if (SWIG_arg_fail(1)) SWIG_fail;
30596 {
30597 arg2 = (int)(SWIG_As_int(obj1));
30598 if (SWIG_arg_fail(2)) SWIG_fail;
30599 }
d55e5bfc
RD
30600 if (arg1) (arg1)->w = arg2;
30601
30602 Py_INCREF(Py_None); resultobj = Py_None;
30603 return resultobj;
30604 fail:
30605 return NULL;
30606}
30607
30608
c32bde28 30609static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30610 PyObject *resultobj;
30611 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30612 int result;
30613 PyObject * obj0 = 0 ;
30614 char *kwnames[] = {
30615 (char *) "self", NULL
30616 };
30617
30618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30621 result = (int) ((arg1)->w);
30622
093d3ff1
RD
30623 {
30624 resultobj = SWIG_From_int((int)(result));
30625 }
d55e5bfc
RD
30626 return resultobj;
30627 fail:
30628 return NULL;
30629}
30630
30631
c32bde28 30632static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30633 PyObject *resultobj;
30634 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30635 int arg2 ;
30636 PyObject * obj0 = 0 ;
30637 PyObject * obj1 = 0 ;
30638 char *kwnames[] = {
30639 (char *) "self",(char *) "h", NULL
30640 };
30641
30642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30644 if (SWIG_arg_fail(1)) SWIG_fail;
30645 {
30646 arg2 = (int)(SWIG_As_int(obj1));
30647 if (SWIG_arg_fail(2)) SWIG_fail;
30648 }
d55e5bfc
RD
30649 if (arg1) (arg1)->h = arg2;
30650
30651 Py_INCREF(Py_None); resultobj = Py_None;
30652 return resultobj;
30653 fail:
30654 return NULL;
30655}
30656
30657
c32bde28 30658static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30659 PyObject *resultobj;
30660 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30661 int result;
30662 PyObject * obj0 = 0 ;
30663 char *kwnames[] = {
30664 (char *) "self", NULL
30665 };
30666
30667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30670 result = (int) ((arg1)->h);
30671
093d3ff1
RD
30672 {
30673 resultobj = SWIG_From_int((int)(result));
30674 }
d55e5bfc
RD
30675 return resultobj;
30676 fail:
30677 return NULL;
30678}
30679
30680
c32bde28 30681static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30682 PyObject *resultobj;
30683 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30684 int arg2 ;
30685 PyObject * obj0 = 0 ;
30686 PyObject * obj1 = 0 ;
30687 char *kwnames[] = {
30688 (char *) "self",(char *) "bpp", NULL
30689 };
30690
30691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30693 if (SWIG_arg_fail(1)) SWIG_fail;
30694 {
30695 arg2 = (int)(SWIG_As_int(obj1));
30696 if (SWIG_arg_fail(2)) SWIG_fail;
30697 }
d55e5bfc
RD
30698 if (arg1) (arg1)->bpp = arg2;
30699
30700 Py_INCREF(Py_None); resultobj = Py_None;
30701 return resultobj;
30702 fail:
30703 return NULL;
30704}
30705
30706
c32bde28 30707static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30708 PyObject *resultobj;
30709 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30710 int result;
30711 PyObject * obj0 = 0 ;
30712 char *kwnames[] = {
30713 (char *) "self", NULL
30714 };
30715
30716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30719 result = (int) ((arg1)->bpp);
30720
093d3ff1
RD
30721 {
30722 resultobj = SWIG_From_int((int)(result));
30723 }
d55e5bfc
RD
30724 return resultobj;
30725 fail:
30726 return NULL;
30727}
30728
30729
c32bde28 30730static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30731 PyObject *resultobj;
30732 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30733 int arg2 ;
30734 PyObject * obj0 = 0 ;
30735 PyObject * obj1 = 0 ;
30736 char *kwnames[] = {
30737 (char *) "self",(char *) "refresh", NULL
30738 };
30739
30740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30742 if (SWIG_arg_fail(1)) SWIG_fail;
30743 {
30744 arg2 = (int)(SWIG_As_int(obj1));
30745 if (SWIG_arg_fail(2)) SWIG_fail;
30746 }
d55e5bfc
RD
30747 if (arg1) (arg1)->refresh = arg2;
30748
30749 Py_INCREF(Py_None); resultobj = Py_None;
30750 return resultobj;
30751 fail:
30752 return NULL;
30753}
30754
30755
c32bde28 30756static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30757 PyObject *resultobj;
30758 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30759 int result;
30760 PyObject * obj0 = 0 ;
30761 char *kwnames[] = {
30762 (char *) "self", NULL
30763 };
30764
30765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30767 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30768 result = (int) ((arg1)->refresh);
30769
093d3ff1
RD
30770 {
30771 resultobj = SWIG_From_int((int)(result));
30772 }
d55e5bfc
RD
30773 return resultobj;
30774 fail:
30775 return NULL;
30776}
30777
30778
c32bde28 30779static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30780 PyObject *obj;
30781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30782 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
30783 Py_INCREF(obj);
30784 return Py_BuildValue((char *)"");
30785}
c32bde28 30786static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
30787 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
30788 return 1;
30789}
30790
30791
093d3ff1 30792static PyObject *_wrap_DefaultVideoMode_get(void) {
d55e5bfc
RD
30793 PyObject *pyobj;
30794
30795 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
30796 return pyobj;
30797}
30798
30799
c32bde28 30800static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30801 PyObject *resultobj;
30802 size_t arg1 = (size_t) 0 ;
30803 wxDisplay *result;
30804 PyObject * obj0 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "index", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
30810 if (obj0) {
093d3ff1
RD
30811 {
30812 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
30813 if (SWIG_arg_fail(1)) SWIG_fail;
30814 }
d55e5bfc
RD
30815 }
30816 {
30817 PyThreadState* __tstate = wxPyBeginAllowThreads();
30818 result = (wxDisplay *)new wxDisplay(arg1);
30819
30820 wxPyEndAllowThreads(__tstate);
30821 if (PyErr_Occurred()) SWIG_fail;
30822 }
30823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
30824 return resultobj;
30825 fail:
30826 return NULL;
30827}
30828
30829
c32bde28 30830static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30831 PyObject *resultobj;
30832 wxDisplay *arg1 = (wxDisplay *) 0 ;
30833 PyObject * obj0 = 0 ;
30834 char *kwnames[] = {
30835 (char *) "self", NULL
30836 };
30837
30838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
30839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30841 {
30842 PyThreadState* __tstate = wxPyBeginAllowThreads();
30843 delete arg1;
30844
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 Py_INCREF(Py_None); resultobj = Py_None;
30849 return resultobj;
30850 fail:
30851 return NULL;
30852}
30853
30854
c32bde28 30855static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30856 PyObject *resultobj;
30857 size_t result;
30858 char *kwnames[] = {
30859 NULL
30860 };
30861
30862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
30863 {
30864 PyThreadState* __tstate = wxPyBeginAllowThreads();
30865 result = (size_t)wxDisplay::GetCount();
30866
30867 wxPyEndAllowThreads(__tstate);
30868 if (PyErr_Occurred()) SWIG_fail;
30869 }
093d3ff1
RD
30870 {
30871 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
30872 }
d55e5bfc
RD
30873 return resultobj;
30874 fail:
30875 return NULL;
30876}
30877
30878
c32bde28 30879static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30880 PyObject *resultobj;
30881 wxPoint *arg1 = 0 ;
30882 int result;
30883 wxPoint temp1 ;
30884 PyObject * obj0 = 0 ;
30885 char *kwnames[] = {
30886 (char *) "pt", NULL
30887 };
30888
30889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
30890 {
30891 arg1 = &temp1;
30892 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
30893 }
30894 {
30895 PyThreadState* __tstate = wxPyBeginAllowThreads();
30896 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
30897
30898 wxPyEndAllowThreads(__tstate);
30899 if (PyErr_Occurred()) SWIG_fail;
30900 }
093d3ff1
RD
30901 {
30902 resultobj = SWIG_From_int((int)(result));
30903 }
d55e5bfc
RD
30904 return resultobj;
30905 fail:
30906 return NULL;
30907}
30908
30909
c32bde28 30910static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30911 PyObject *resultobj;
30912 wxWindow *arg1 = (wxWindow *) 0 ;
30913 int result;
30914 PyObject * obj0 = 0 ;
30915 char *kwnames[] = {
30916 (char *) "window", NULL
30917 };
30918
30919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
30920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30922 {
30923 PyThreadState* __tstate = wxPyBeginAllowThreads();
30924 result = (int)wxDisplay::GetFromWindow(arg1);
30925
30926 wxPyEndAllowThreads(__tstate);
30927 if (PyErr_Occurred()) SWIG_fail;
30928 }
093d3ff1
RD
30929 {
30930 resultobj = SWIG_From_int((int)(result));
30931 }
d55e5bfc
RD
30932 return resultobj;
30933 fail:
30934 return NULL;
30935}
30936
30937
c32bde28 30938static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30939 PyObject *resultobj;
30940 wxDisplay *arg1 = (wxDisplay *) 0 ;
30941 bool result;
30942 PyObject * obj0 = 0 ;
30943 char *kwnames[] = {
30944 (char *) "self", NULL
30945 };
30946
30947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30950 {
30951 PyThreadState* __tstate = wxPyBeginAllowThreads();
30952 result = (bool)((wxDisplay const *)arg1)->IsOk();
30953
30954 wxPyEndAllowThreads(__tstate);
30955 if (PyErr_Occurred()) SWIG_fail;
30956 }
30957 {
30958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30959 }
30960 return resultobj;
30961 fail:
30962 return NULL;
30963}
30964
30965
c32bde28 30966static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30967 PyObject *resultobj;
30968 wxDisplay *arg1 = (wxDisplay *) 0 ;
30969 wxRect result;
30970 PyObject * obj0 = 0 ;
30971 char *kwnames[] = {
30972 (char *) "self", NULL
30973 };
30974
30975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
30976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30978 {
30979 PyThreadState* __tstate = wxPyBeginAllowThreads();
30980 result = ((wxDisplay const *)arg1)->GetGeometry();
30981
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 {
30986 wxRect * resultptr;
093d3ff1 30987 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
30988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30989 }
30990 return resultobj;
30991 fail:
30992 return NULL;
30993}
30994
30995
c32bde28 30996static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30997 PyObject *resultobj;
30998 wxDisplay *arg1 = (wxDisplay *) 0 ;
30999 wxString result;
31000 PyObject * obj0 = 0 ;
31001 char *kwnames[] = {
31002 (char *) "self", NULL
31003 };
31004
31005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
31006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31008 {
31009 PyThreadState* __tstate = wxPyBeginAllowThreads();
31010 result = ((wxDisplay const *)arg1)->GetName();
31011
31012 wxPyEndAllowThreads(__tstate);
31013 if (PyErr_Occurred()) SWIG_fail;
31014 }
31015 {
31016#if wxUSE_UNICODE
31017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31018#else
31019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31020#endif
31021 }
31022 return resultobj;
31023 fail:
31024 return NULL;
31025}
31026
31027
c32bde28 31028static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31029 PyObject *resultobj;
31030 wxDisplay *arg1 = (wxDisplay *) 0 ;
31031 bool result;
31032 PyObject * obj0 = 0 ;
31033 char *kwnames[] = {
31034 (char *) "self", NULL
31035 };
31036
31037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
31038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
31043
31044 wxPyEndAllowThreads(__tstate);
31045 if (PyErr_Occurred()) SWIG_fail;
31046 }
31047 {
31048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31049 }
31050 return resultobj;
31051 fail:
31052 return NULL;
31053}
31054
31055
c32bde28 31056static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31057 PyObject *resultobj;
31058 wxDisplay *arg1 = (wxDisplay *) 0 ;
31059 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31060 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31061 PyObject *result;
31062 PyObject * obj0 = 0 ;
31063 PyObject * obj1 = 0 ;
31064 char *kwnames[] = {
31065 (char *) "self",(char *) "mode", NULL
31066 };
31067
31068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31071 if (obj1) {
093d3ff1
RD
31072 {
31073 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31074 if (SWIG_arg_fail(2)) SWIG_fail;
31075 if (arg2 == NULL) {
31076 SWIG_null_ref("wxVideoMode");
31077 }
31078 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31079 }
31080 }
31081 {
31082 PyThreadState* __tstate = wxPyBeginAllowThreads();
31083 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
31084
31085 wxPyEndAllowThreads(__tstate);
31086 if (PyErr_Occurred()) SWIG_fail;
31087 }
31088 resultobj = result;
31089 return resultobj;
31090 fail:
31091 return NULL;
31092}
31093
31094
c32bde28 31095static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31096 PyObject *resultobj;
31097 wxDisplay *arg1 = (wxDisplay *) 0 ;
31098 wxVideoMode result;
31099 PyObject * obj0 = 0 ;
31100 char *kwnames[] = {
31101 (char *) "self", NULL
31102 };
31103
31104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31107 {
31108 PyThreadState* __tstate = wxPyBeginAllowThreads();
31109 result = ((wxDisplay const *)arg1)->GetCurrentMode();
31110
31111 wxPyEndAllowThreads(__tstate);
31112 if (PyErr_Occurred()) SWIG_fail;
31113 }
31114 {
31115 wxVideoMode * resultptr;
093d3ff1 31116 resultptr = new wxVideoMode((wxVideoMode &)(result));
d55e5bfc
RD
31117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
31118 }
31119 return resultobj;
31120 fail:
31121 return NULL;
31122}
31123
31124
c32bde28 31125static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31126 PyObject *resultobj;
31127 wxDisplay *arg1 = (wxDisplay *) 0 ;
31128 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31129 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31130 bool result;
31131 PyObject * obj0 = 0 ;
31132 PyObject * obj1 = 0 ;
31133 char *kwnames[] = {
31134 (char *) "self",(char *) "mode", NULL
31135 };
31136
31137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31140 if (obj1) {
093d3ff1
RD
31141 {
31142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31143 if (SWIG_arg_fail(2)) SWIG_fail;
31144 if (arg2 == NULL) {
31145 SWIG_null_ref("wxVideoMode");
31146 }
31147 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31148 }
31149 }
31150 {
31151 PyThreadState* __tstate = wxPyBeginAllowThreads();
31152 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
31153
31154 wxPyEndAllowThreads(__tstate);
31155 if (PyErr_Occurred()) SWIG_fail;
31156 }
31157 {
31158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31159 }
31160 return resultobj;
31161 fail:
31162 return NULL;
31163}
31164
31165
c32bde28 31166static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31167 PyObject *resultobj;
31168 wxDisplay *arg1 = (wxDisplay *) 0 ;
31169 PyObject * obj0 = 0 ;
31170 char *kwnames[] = {
31171 (char *) "self", NULL
31172 };
31173
31174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 (arg1)->ResetMode();
31180
31181 wxPyEndAllowThreads(__tstate);
31182 if (PyErr_Occurred()) SWIG_fail;
31183 }
31184 Py_INCREF(Py_None); resultobj = Py_None;
31185 return resultobj;
31186 fail:
31187 return NULL;
31188}
31189
31190
c32bde28 31191static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31192 PyObject *obj;
31193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31194 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
31195 Py_INCREF(obj);
31196 return Py_BuildValue((char *)"");
31197}
c1cb24a4
RD
31198static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31199 PyObject *resultobj;
31200 wxStandardPaths *result;
31201 char *kwnames[] = {
31202 NULL
31203 };
31204
31205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
31206 {
31207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8fb0e70a 31208 result = (wxStandardPaths *)StandardPaths_Get();
c1cb24a4
RD
31209
31210 wxPyEndAllowThreads(__tstate);
31211 if (PyErr_Occurred()) SWIG_fail;
31212 }
31213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
31214 return resultobj;
31215 fail:
31216 return NULL;
31217}
31218
31219
31220static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31221 PyObject *resultobj;
31222 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31223 wxString result;
31224 PyObject * obj0 = 0 ;
31225 char *kwnames[] = {
31226 (char *) "self", NULL
31227 };
31228
31229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31231 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31232 {
31233 PyThreadState* __tstate = wxPyBeginAllowThreads();
31234 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
31235
31236 wxPyEndAllowThreads(__tstate);
31237 if (PyErr_Occurred()) SWIG_fail;
31238 }
31239 {
31240#if wxUSE_UNICODE
31241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31242#else
31243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31244#endif
31245 }
31246 return resultobj;
31247 fail:
31248 return NULL;
31249}
31250
31251
31252static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31253 PyObject *resultobj;
31254 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31255 wxString result;
31256 PyObject * obj0 = 0 ;
31257 char *kwnames[] = {
31258 (char *) "self", NULL
31259 };
31260
31261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31263 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31264 {
31265 PyThreadState* __tstate = wxPyBeginAllowThreads();
31266 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
31267
31268 wxPyEndAllowThreads(__tstate);
31269 if (PyErr_Occurred()) SWIG_fail;
31270 }
31271 {
31272#if wxUSE_UNICODE
31273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31274#else
31275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31276#endif
31277 }
31278 return resultobj;
31279 fail:
31280 return NULL;
31281}
31282
31283
31284static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31285 PyObject *resultobj;
31286 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31287 wxString result;
31288 PyObject * obj0 = 0 ;
31289 char *kwnames[] = {
31290 (char *) "self", NULL
31291 };
31292
31293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31295 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 result = ((wxStandardPaths const *)arg1)->GetDataDir();
31299
31300 wxPyEndAllowThreads(__tstate);
31301 if (PyErr_Occurred()) SWIG_fail;
31302 }
31303 {
31304#if wxUSE_UNICODE
31305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31306#else
31307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31308#endif
31309 }
31310 return resultobj;
31311 fail:
31312 return NULL;
31313}
31314
31315
31316static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31317 PyObject *resultobj;
31318 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31319 wxString result;
31320 PyObject * obj0 = 0 ;
31321 char *kwnames[] = {
31322 (char *) "self", NULL
31323 };
31324
31325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31327 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31328 {
31329 PyThreadState* __tstate = wxPyBeginAllowThreads();
31330 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
31331
31332 wxPyEndAllowThreads(__tstate);
31333 if (PyErr_Occurred()) SWIG_fail;
31334 }
31335 {
31336#if wxUSE_UNICODE
31337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31338#else
31339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31340#endif
31341 }
31342 return resultobj;
31343 fail:
31344 return NULL;
31345}
31346
31347
31348static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31349 PyObject *resultobj;
31350 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31351 wxString result;
31352 PyObject * obj0 = 0 ;
31353 char *kwnames[] = {
31354 (char *) "self", NULL
31355 };
31356
31357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31359 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31360 {
31361 PyThreadState* __tstate = wxPyBeginAllowThreads();
31362 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
31363
31364 wxPyEndAllowThreads(__tstate);
31365 if (PyErr_Occurred()) SWIG_fail;
31366 }
31367 {
31368#if wxUSE_UNICODE
31369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31370#else
31371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31372#endif
31373 }
31374 return resultobj;
31375 fail:
31376 return NULL;
31377}
31378
31379
31380static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31381 PyObject *resultobj;
31382 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31383 wxString result;
31384 PyObject * obj0 = 0 ;
31385 char *kwnames[] = {
31386 (char *) "self", NULL
31387 };
31388
31389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31391 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31392 {
31393 PyThreadState* __tstate = wxPyBeginAllowThreads();
31394 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
31395
31396 wxPyEndAllowThreads(__tstate);
31397 if (PyErr_Occurred()) SWIG_fail;
31398 }
31399 {
31400#if wxUSE_UNICODE
31401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31402#else
31403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31404#endif
31405 }
31406 return resultobj;
31407 fail:
31408 return NULL;
31409}
31410
31411
31412static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
31413 PyObject *resultobj;
31414 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31415 wxString result;
31416 PyObject * obj0 = 0 ;
31417 char *kwnames[] = {
31418 (char *) "self", NULL
31419 };
31420
31421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31423 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31424 {
31425 PyThreadState* __tstate = wxPyBeginAllowThreads();
31426 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
31427
31428 wxPyEndAllowThreads(__tstate);
31429 if (PyErr_Occurred()) SWIG_fail;
31430 }
31431 {
31432#if wxUSE_UNICODE
31433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31434#else
31435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31436#endif
31437 }
31438 return resultobj;
31439 fail:
31440 return NULL;
31441}
31442
31443
31444static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31445 PyObject *resultobj;
31446 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31447 wxString *arg2 = 0 ;
31448 bool temp2 = false ;
31449 PyObject * obj0 = 0 ;
31450 PyObject * obj1 = 0 ;
31451 char *kwnames[] = {
31452 (char *) "self",(char *) "prefix", NULL
31453 };
31454
31455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31457 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31458 {
31459 arg2 = wxString_in_helper(obj1);
31460 if (arg2 == NULL) SWIG_fail;
31461 temp2 = true;
31462 }
31463 {
31464 PyThreadState* __tstate = wxPyBeginAllowThreads();
31465 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
31466
31467 wxPyEndAllowThreads(__tstate);
31468 if (PyErr_Occurred()) SWIG_fail;
31469 }
31470 Py_INCREF(Py_None); resultobj = Py_None;
31471 {
31472 if (temp2)
31473 delete arg2;
31474 }
31475 return resultobj;
31476 fail:
31477 {
31478 if (temp2)
31479 delete arg2;
31480 }
31481 return NULL;
31482}
31483
31484
31485static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31486 PyObject *resultobj;
31487 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31488 wxString result;
31489 PyObject * obj0 = 0 ;
31490 char *kwnames[] = {
31491 (char *) "self", NULL
31492 };
31493
31494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
31495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31496 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31497 {
31498 PyThreadState* __tstate = wxPyBeginAllowThreads();
31499 result = wxStandardPaths_GetInstallPrefix(arg1);
31500
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
31504 {
31505#if wxUSE_UNICODE
31506 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31507#else
31508 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31509#endif
31510 }
31511 return resultobj;
31512 fail:
31513 return NULL;
31514}
31515
31516
31517static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
31518 PyObject *obj;
31519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31520 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
31521 Py_INCREF(obj);
31522 return Py_BuildValue((char *)"");
31523}
d55e5bfc 31524static PyMethodDef SwigMethods[] = {
093d3ff1
RD
31525 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
31532 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
396fb509 31538 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31539 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
31540 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31585 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31589 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 31597 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31598 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
31605 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
31613 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31614 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31615 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
31623 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31628 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31630 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31631 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
31634 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
31637 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
31640 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
31646 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
31660 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 31666 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31667 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
31672 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
31675 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
31689 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
31692 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
31693 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
31696 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
31723 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
31725 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
31727 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
31729 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
31736 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
31742 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
31756 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
31760 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
31763 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
31780 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
31788 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31835 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
31853 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
31863 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
31879 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
31895 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
31909 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f 31916 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31917 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
31919 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
31962 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
31965 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
31968 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
31972 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
32065 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
32066 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
32067 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
32068 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32074 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
32085 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32129 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
32130 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
32164 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
32172 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
32173 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
32178 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
32187 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
32194 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
32197 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
32200 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
32205 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32206 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
32208 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
32212 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
32215 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 32219 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
32220 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
32224 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
32228 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
32232 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
32242 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32249 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f
RD
32252 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32254 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
32255 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
32263 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32266 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32270 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
32271 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32276 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
32277 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32284 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
32285 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
32289 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
32307 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32309 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
32310 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32311 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32312 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
32314 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
32321 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32325 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32327 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
32329 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32330 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32331 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 32332 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32333};
32334
32335
32336/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32337
32338static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32340}
32341static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32342 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32343}
32344static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32345 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32346}
32347static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32348 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32349}
32350static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32351 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32352}
32353static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32354 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32355}
32356static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
32357 return (void *)((wxEvent *) ((wxTimerEvent *) x));
32358}
32359static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32360 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32361}
32362static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32364}
32365static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32366 return (void *)((wxEvent *) ((wxPyEvent *) x));
32367}
32368static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32369 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32370}
32371static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
32372 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
32373}
32374static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32375 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32376}
32377static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32379}
32380static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32381 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32382}
32383static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32384 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32385}
32386static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32387 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32388}
32389static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32390 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32391}
32392static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32393 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32394}
32395static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32396 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32397}
53aa7709
RD
32398static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32400}
d55e5bfc
RD
32401static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32402 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32403}
32404static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32405 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32406}
32407static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32408 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32409}
32410static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32411 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32412}
32413static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32414 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32415}
32416static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32417 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32418}
32419static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32420 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32421}
32422static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32423 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32424}
32425static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32426 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32427}
32428static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32430}
32431static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
32432 return (void *)((wxEvent *) ((wxProcessEvent *) x));
32433}
32434static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32435 return (void *)((wxEvent *) ((wxShowEvent *) x));
32436}
32437static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32438 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32439}
32440static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32442}
32443static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32445}
32446static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32447 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32448}
32449static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32450 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32451}
32452static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32453 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32454}
32455static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
32456 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
32457}
32458static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
32459 return (void *)((wxConfigBase *) ((wxConfig *) x));
32460}
32461static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
32462 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32463}
32464static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
32465 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
32466}
32467static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
32468 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
32469}
32470static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
32471 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32472}
32473static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
32474 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
32475}
32476static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
32477 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
32478}
32479static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
32480 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
32481}
32482static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
32483 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32484}
32485static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
32486 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32487}
32488static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
32489 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
32490}
32491static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
32492 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
32493}
32494static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32495 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
32496}
32497static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
32498 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32499}
32500static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
32501 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
32502}
32503static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
32504 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32505}
32506static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32507 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
32508}
32509static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32510 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
32511}
32512static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32513 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32514}
32515static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32516 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32517}
32518static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
32519 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
32520}
32521static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
32522 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
32523}
32524static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
32525 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32526}
32527static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32529}
32530static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32531 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32532}
32533static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32534 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32535}
32536static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32537 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32538}
32539static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
32540 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
32541}
32542static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32543 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32544}
32545static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32546 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32547}
32548static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32550}
32551static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32552 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32553}
32554static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
32555 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
32556}
32557static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
32558 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
32559}
32560static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32562}
32563static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32564 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32565}
32566static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32567 return (void *)((wxObject *) ((wxSizerItem *) x));
32568}
32569static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32571}
32572static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32574}
32575static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32577}
32578static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32580}
32581static void *_p_wxSizerTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) ((wxSizer *) x));
32583}
32584static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32586}
32587static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) ((wxFileHistory *) x));
32589}
32590static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32592}
32593static void *_p_wxEventTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) ((wxEvent *) x));
32595}
32596static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32598}
32599static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32601}
32602static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32604}
32605static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32607}
32608static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32610}
32611static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32613}
32614static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32616}
32617static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32619}
32620static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32622}
32623static void *_p_wxControlTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32625}
32626static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32628}
32629static void *_p_wxTimerEventTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
32631}
32632static void *_p_wxFSFileTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) ((wxFSFile *) x));
32634}
32635static void *_p_wxClipboardTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) ((wxClipboard *) x));
32637}
32638static void *_p_wxPySizerTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32640}
32641static void *_p_wxPyEventTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32643}
32644static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32646}
32647static void *_p_wxShowEventTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32649}
32650static void *_p_wxToolTipTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) ((wxToolTip *) x));
32652}
32653static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) ((wxMenuItem *) x));
32655}
53aa7709
RD
32656static void *_p_wxDateEventTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32658}
d55e5bfc
RD
32659static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32661}
32662static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32664}
32665static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32667}
32668static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32670}
32671static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32673}
32674static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32676}
32677static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32679}
32680static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32682}
32683static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32685}
32686static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32688}
32689static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32691}
32692static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32694}
32695static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32697}
32698static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32700}
32701static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32703}
32704static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32706}
32707static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32709}
32710static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32712}
32713static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) ((wxImageHandler *) x));
32715}
32716static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32718}
32719static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) ((wxEvtHandler *) x));
32721}
51b83b37
RD
32722static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32724}
d55e5bfc
RD
32725static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32727}
32728static void *_p_wxImageTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) ((wxImage *) x));
32730}
32731static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32733}
32734static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) ((wxSystemOptions *) x));
32736}
32737static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
32739}
32740static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32742}
32743static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32745}
32746static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32748}
32749static void *_p_wxWindowTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32751}
32752static void *_p_wxMenuTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32754}
32755static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32757}
32758static void *_p_wxPyProcessTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
32760}
32761static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) ((wxFileSystem *) x));
32763}
32764static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32766}
32767static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32769}
32770static void *_p_wxPyAppTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32772}
32773static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32775}
32776static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32778}
32779static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32781}
32782static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) ((wxBusyInfo *) x));
32784}
32785static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32787}
32788static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32790}
32791static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32793}
32794static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32796}
32797static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32799}
32800static void *_p_wxProcessEventTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
32802}
32803static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32805}
32806static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32808}
32809static void *_p_wxValidatorTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32811}
32812static void *_p_wxPyTimerTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
32814}
32815static void *_p_wxLogStderrTo_p_wxLog(void *x) {
32816 return (void *)((wxLog *) ((wxLogStderr *) x));
32817}
32818static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
32819 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
32820}
32821static void *_p_wxLogWindowTo_p_wxLog(void *x) {
32822 return (void *)((wxLog *) ((wxLogWindow *) x));
32823}
32824static void *_p_wxLogChainTo_p_wxLog(void *x) {
32825 return (void *)((wxLog *) ((wxLogChain *) x));
32826}
32827static void *_p_wxLogGuiTo_p_wxLog(void *x) {
32828 return (void *)((wxLog *) ((wxLogGui *) x));
32829}
32830static void *_p_wxPyLogTo_p_wxLog(void *x) {
32831 return (void *)((wxLog *) ((wxPyLog *) x));
32832}
32833static void *_p_wxControlTo_p_wxWindow(void *x) {
32834 return (void *)((wxWindow *) ((wxControl *) x));
32835}
32836static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32837 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32838}
32839static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32840 return (void *)((wxWindow *) ((wxMenuBar *) x));
32841}
32842static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
32843 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
32844}
32845static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
32846 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
32847}
32848static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32849static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32850static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32851static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32852static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 32853static 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}};
53aa7709 32854static 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_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_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_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_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},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32855static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32856static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32857static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32858static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32859static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32860static 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}};
32861static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32862static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32863static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
32864static 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}};
32865static 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
32866static 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}};
32867static 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}};
32868static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32869static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
68350608 32870static 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}};
d55e5bfc
RD
32871static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32872static 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}};
32873static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32874static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32875static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32876static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32877static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32878static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32879static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32880static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c9c2cf70 32881static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32882static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32883static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32884static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32885static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32886static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32887static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32888static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32889static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32890static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32891static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32892static 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
RD
32893static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32894static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
51b83b37 32895static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
68350608 32896static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 32897static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 32898static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
32899static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32900static 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}};
d55e5bfc
RD
32901static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_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_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32902static 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}};
32903static 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}};
32904static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c1cb24a4 32905static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32906static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32907static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32908static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32909static 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
32910static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32911static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32912static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32913static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32914static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32915static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32916static 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}};
32917static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32918static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 32919static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_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_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_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_wxInitDialogEvent", _p_wxInitDialogEventTo_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_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_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_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_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_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_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_wxPyApp", _p_wxPyAppTo_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_wxBusyInfo", _p_wxBusyInfoTo_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_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_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32920static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32921static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32922static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32923static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c9c2cf70 32924static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32925static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32926static 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}};
32927static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32928static 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}};
32929static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
32930static 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}};
32931static 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}};
32932static 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
32933static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32934static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32935static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32936static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32937static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32938static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32939static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32940static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32941static 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}};
d55e5bfc 32942static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 32943static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32944static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32945
32946static swig_type_info *swig_types_initial[] = {
32947_swigt__p_wxLogChain,
32948_swigt__p_wxMutexGuiLocker,
32949_swigt__p_wxMetafile,
32950_swigt__p_wxFileHistory,
32951_swigt__p_wxLog,
d55e5bfc
RD
32952_swigt__p_wxMenu,
32953_swigt__p_wxEvent,
093d3ff1 32954_swigt__p_wxDateTime__TimeZone,
d55e5bfc
RD
32955_swigt__p_wxConfigBase,
32956_swigt__p_wxDisplay,
32957_swigt__p_wxFileType,
32958_swigt__p_wxLogGui,
32959_swigt__p_wxFont,
32960_swigt__p_wxDataFormat,
32961_swigt__p_wxTimerEvent,
32962_swigt__p_wxCaret,
093d3ff1
RD
32963_swigt__ptrdiff_t,
32964_swigt__std__ptrdiff_t,
d55e5bfc
RD
32965_swigt__p_int,
32966_swigt__p_wxSize,
32967_swigt__p_wxClipboard,
32968_swigt__p_wxStopWatch,
68350608 32969_swigt__p_wxDC,
d55e5bfc
RD
32970_swigt__p_wxClipboardLocker,
32971_swigt__p_wxIcon,
32972_swigt__p_wxLogStderr,
32973_swigt__p_wxLogTextCtrl,
32974_swigt__p_wxTextCtrl,
32975_swigt__p_wxBusyCursor,
d55e5bfc
RD
32976_swigt__p_wxBitmapDataObject,
32977_swigt__p_wxTextDataObject,
32978_swigt__p_wxDataObject,
093d3ff1 32979_swigt__p_wxPyTextDataObject,
c9c2cf70 32980_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
32981_swigt__p_wxFileDataObject,
32982_swigt__p_wxCustomDataObject,
32983_swigt__p_wxURLDataObject,
32984_swigt__p_wxMetafileDataObject,
32985_swigt__p_wxSound,
32986_swigt__p_wxTimerRunner,
32987_swigt__p_wxLogWindow,
32988_swigt__p_wxTimeSpan,
32989_swigt__p_wxArrayString,
32990_swigt__p_wxWindowDisabler,
093d3ff1 32991_swigt__p_form_ops_t,
d55e5bfc
RD
32992_swigt__p_wxToolTip,
32993_swigt__p_wxDataObjectComposite,
51b83b37 32994_swigt__p_wxSystemSettings,
68350608 32995_swigt__p_wxFileConfig,
d55e5bfc 32996_swigt__p_wxVideoMode,
d55e5bfc 32997_swigt__p_wxDataObjectSimple,
093d3ff1
RD
32998_swigt__p_wxPyDataObjectSimple,
32999_swigt__p_wxDuplexMode,
d55e5bfc
RD
33000_swigt__p_wxEvtHandler,
33001_swigt__p_wxRect,
33002_swigt__p_char,
33003_swigt__p_wxSingleInstanceChecker,
c1cb24a4 33004_swigt__p_wxStandardPaths,
d55e5bfc
RD
33005_swigt__p_wxFileTypeInfo,
33006_swigt__p_wxFrame,
33007_swigt__p_wxTimer,
093d3ff1 33008_swigt__p_wxPaperSize,
d55e5bfc
RD
33009_swigt__p_wxMimeTypesManager,
33010_swigt__p_wxPyArtProvider,
33011_swigt__p_wxPyTipProvider,
33012_swigt__p_wxTipProvider,
33013_swigt__p_wxJoystick,
33014_swigt__p_wxSystemOptions,
33015_swigt__p_wxPoint,
33016_swigt__p_wxJoystickEvent,
33017_swigt__p_wxCursor,
33018_swigt__p_wxObject,
33019_swigt__p_wxOutputStream,
33020_swigt__p_wxDateTime,
33021_swigt__p_wxPyDropSource,
093d3ff1 33022_swigt__p_unsigned_long,
c9c2cf70 33023_swigt__p_wxKillError,
d55e5bfc
RD
33024_swigt__p_wxWindow,
33025_swigt__p_wxString,
33026_swigt__p_wxPyProcess,
33027_swigt__p_wxBitmap,
33028_swigt__p_wxConfig,
093d3ff1
RD
33029_swigt__unsigned_int,
33030_swigt__p_unsigned_int,
33031_swigt__p_unsigned_char,
d55e5bfc
RD
33032_swigt__p_wxChar,
33033_swigt__p_wxBusyInfo,
33034_swigt__p_wxPyDropTarget,
33035_swigt__p_wxPyTextDropTarget,
33036_swigt__p_wxPyFileDropTarget,
33037_swigt__p_wxProcessEvent,
33038_swigt__p_wxPyLog,
33039_swigt__p_wxLogNull,
33040_swigt__p_wxColour,
d55e5bfc 33041_swigt__p_wxPyTimer,
093d3ff1 33042_swigt__p_wxConfigPathChanger,
d55e5bfc
RD
33043_swigt__p_wxDateSpan,
330440
33045};
33046
33047
33048/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33049
33050static swig_const_info swig_const_table[] = {
33051{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
33052{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
33053{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
33054{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
33055{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 33056{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
33057
33058#ifdef __cplusplus
33059}
33060#endif
33061
093d3ff1 33062
d55e5bfc 33063#ifdef __cplusplus
093d3ff1 33064extern "C" {
d55e5bfc 33065#endif
d55e5bfc 33066
093d3ff1
RD
33067 /* Python-specific SWIG API */
33068#define SWIG_newvarlink() SWIG_Python_newvarlink()
33069#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33070#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33071
33072 /* -----------------------------------------------------------------------------
33073 * global variable support code.
33074 * ----------------------------------------------------------------------------- */
33075
33076 typedef struct swig_globalvar {
33077 char *name; /* Name of global variable */
33078 PyObject *(*get_attr)(); /* Return the current value */
33079 int (*set_attr)(PyObject *); /* Set the value */
33080 struct swig_globalvar *next;
33081 } swig_globalvar;
33082
33083 typedef struct swig_varlinkobject {
33084 PyObject_HEAD
33085 swig_globalvar *vars;
33086 } swig_varlinkobject;
33087
33088 static PyObject *
33089 swig_varlink_repr(swig_varlinkobject *v) {
33090 v = v;
33091 return PyString_FromString("<Swig global variables>");
33092 }
33093
33094 static int
33095 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
33096 swig_globalvar *var;
33097 flags = flags;
33098 fprintf(fp,"Swig global variables { ");
33099 for (var = v->vars; var; var=var->next) {
33100 fprintf(fp,"%s", var->name);
33101 if (var->next) fprintf(fp,", ");
d55e5bfc 33102 }
093d3ff1
RD
33103 fprintf(fp," }\n");
33104 return 0;
d55e5bfc 33105 }
d55e5bfc 33106
093d3ff1
RD
33107 static PyObject *
33108 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33109 swig_globalvar *var = v->vars;
33110 while (var) {
33111 if (strcmp(var->name,n) == 0) {
33112 return (*var->get_attr)();
33113 }
33114 var = var->next;
33115 }
33116 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33117 return NULL;
33118 }
1a6bba1e 33119
093d3ff1
RD
33120 static int
33121 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33122 swig_globalvar *var = v->vars;
33123 while (var) {
33124 if (strcmp(var->name,n) == 0) {
33125 return (*var->set_attr)(p);
33126 }
33127 var = var->next;
33128 }
33129 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33130 return 1;
33131 }
1a6bba1e 33132
093d3ff1
RD
33133 static PyTypeObject varlinktype = {
33134 PyObject_HEAD_INIT(0)
33135 0, /* Number of items in variable part (ob_size) */
33136 (char *)"swigvarlink", /* Type name (tp_name) */
33137 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33138 0, /* Itemsize (tp_itemsize) */
33139 0, /* Deallocator (tp_dealloc) */
33140 (printfunc) swig_varlink_print, /* Print (tp_print) */
33141 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33142 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33143 0, /* tp_compare */
33144 (reprfunc) swig_varlink_repr, /* tp_repr */
33145 0, /* tp_as_number */
33146 0, /* tp_as_sequence */
33147 0, /* tp_as_mapping */
33148 0, /* tp_hash */
33149 0, /* tp_call */
33150 0, /* tp_str */
33151 0, /* tp_getattro */
33152 0, /* tp_setattro */
33153 0, /* tp_as_buffer */
33154 0, /* tp_flags */
33155 0, /* tp_doc */
33156#if PY_VERSION_HEX >= 0x02000000
33157 0, /* tp_traverse */
33158 0, /* tp_clear */
33159#endif
33160#if PY_VERSION_HEX >= 0x02010000
33161 0, /* tp_richcompare */
33162 0, /* tp_weaklistoffset */
33163#endif
33164#if PY_VERSION_HEX >= 0x02020000
33165 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33166#endif
33167#if PY_VERSION_HEX >= 0x02030000
33168 0, /* tp_del */
33169#endif
33170#ifdef COUNT_ALLOCS
33171 0,0,0,0 /* tp_alloc -> tp_next */
33172#endif
33173 };
d55e5bfc 33174
093d3ff1
RD
33175 /* Create a variable linking object for use later */
33176 static PyObject *
33177 SWIG_Python_newvarlink(void) {
33178 swig_varlinkobject *result = 0;
33179 result = PyMem_NEW(swig_varlinkobject,1);
33180 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
33181 result->ob_type = &varlinktype;
33182 result->vars = 0;
33183 result->ob_refcnt = 0;
33184 Py_XINCREF((PyObject *) result);
33185 return ((PyObject*) result);
33186 }
33187
33188 static void
33189 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33190 swig_varlinkobject *v;
33191 swig_globalvar *gv;
33192 v= (swig_varlinkobject *) p;
33193 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33194 gv->name = (char *) malloc(strlen(name)+1);
33195 strcpy(gv->name,name);
33196 gv->get_attr = get_attr;
33197 gv->set_attr = set_attr;
33198 gv->next = v->vars;
33199 v->vars = gv;
33200 }
33201
33202 /* -----------------------------------------------------------------------------
33203 * constants/methods manipulation
33204 * ----------------------------------------------------------------------------- */
33205
33206 /* Install Constants */
33207 static void
33208 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33209 PyObject *obj = 0;
33210 size_t i;
33211 for (i = 0; constants[i].type; i++) {
33212 switch(constants[i].type) {
33213 case SWIG_PY_INT:
33214 obj = PyInt_FromLong(constants[i].lvalue);
33215 break;
33216 case SWIG_PY_FLOAT:
33217 obj = PyFloat_FromDouble(constants[i].dvalue);
33218 break;
33219 case SWIG_PY_STRING:
33220 if (constants[i].pvalue) {
33221 obj = PyString_FromString((char *) constants[i].pvalue);
33222 } else {
33223 Py_INCREF(Py_None);
33224 obj = Py_None;
33225 }
33226 break;
33227 case SWIG_PY_POINTER:
33228 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33229 break;
33230 case SWIG_PY_BINARY:
33231 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33232 break;
33233 default:
33234 obj = 0;
33235 break;
33236 }
33237 if (obj) {
33238 PyDict_SetItemString(d,constants[i].name,obj);
33239 Py_DECREF(obj);
33240 }
33241 }
33242 }
d55e5bfc 33243
093d3ff1
RD
33244 /* -----------------------------------------------------------------------------*/
33245 /* Fix SwigMethods to carry the callback ptrs when needed */
33246 /* -----------------------------------------------------------------------------*/
33247
33248 static void
33249 SWIG_Python_FixMethods(PyMethodDef *methods,
33250 swig_const_info *const_table,
33251 swig_type_info **types,
33252 swig_type_info **types_initial) {
33253 size_t i;
33254 for (i = 0; methods[i].ml_name; ++i) {
33255 char *c = methods[i].ml_doc;
33256 if (c && (c = strstr(c, "swig_ptr: "))) {
33257 int j;
33258 swig_const_info *ci = 0;
33259 char *name = c + 10;
33260 for (j = 0; const_table[j].type; j++) {
33261 if (strncmp(const_table[j].name, name,
33262 strlen(const_table[j].name)) == 0) {
33263 ci = &(const_table[j]);
33264 break;
33265 }
33266 }
33267 if (ci) {
33268 size_t shift = (ci->ptype) - types;
33269 swig_type_info *ty = types_initial[shift];
33270 size_t ldoc = (c - methods[i].ml_doc);
33271 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33272 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33273 char *buff = ndoc;
33274 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
33275 strncpy(buff, methods[i].ml_doc, ldoc);
33276 buff += ldoc;
33277 strncpy(buff, "swig_ptr: ", 10);
33278 buff += 10;
33279 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33280 methods[i].ml_doc = ndoc;
33281 }
33282 }
33283 }
33284 }
33285
33286 /* -----------------------------------------------------------------------------*
33287 * Initialize type list
33288 * -----------------------------------------------------------------------------*/
33289
33290#if PY_MAJOR_VERSION < 2
33291 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33292 is copied out of Python/modsupport.c in python version 2.3.4 */
33293 static int
33294 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
33295 {
33296 PyObject *dict;
33297 if (!PyModule_Check(m)) {
33298 PyErr_SetString(PyExc_TypeError,
33299 "PyModule_AddObject() needs module as first arg");
33300 return -1;
33301 }
33302 if (!o) {
33303 PyErr_SetString(PyExc_TypeError,
33304 "PyModule_AddObject() needs non-NULL value");
33305 return -1;
33306 }
33307
33308 dict = PyModule_GetDict(m);
33309 if (dict == NULL) {
33310 /* Internal error -- modules must have a dict! */
33311 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
33312 PyModule_GetName(m));
33313 return -1;
33314 }
33315 if (PyDict_SetItemString(dict, name, o))
33316 return -1;
33317 Py_DECREF(o);
33318 return 0;
33319 }
33320#endif
33321
33322 static swig_type_info **
33323 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
33324 static PyMethodDef swig_empty_runtime_method_table[] = {
33325 {
33326 NULL, NULL, 0, NULL
33327 }
33328 };/* Sentinel */
33329
33330 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
33331 swig_empty_runtime_method_table);
33332 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
33333 if (pointer && module) {
33334 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
33335 }
33336 return type_list_handle;
33337 }
33338
33339 static swig_type_info **
33340 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
33341 swig_type_info **type_pointer;
33342
33343 /* first check if module already created */
33344 type_pointer = SWIG_Python_GetTypeListHandle();
33345 if (type_pointer) {
33346 return type_pointer;
33347 } else {
33348 /* create a new module and variable */
33349 return SWIG_Python_SetTypeListHandle(type_list_handle);
33350 }
33351 }
33352
33353#ifdef __cplusplus
33354}
33355#endif
33356
33357/* -----------------------------------------------------------------------------*
33358 * Partial Init method
33359 * -----------------------------------------------------------------------------*/
33360
33361#ifdef SWIG_LINK_RUNTIME
33362#ifdef __cplusplus
33363extern "C"
33364#endif
33365SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33366#endif
33367
33368#ifdef __cplusplus
33369extern "C"
33370#endif
33371SWIGEXPORT(void) SWIG_init(void) {
33372 static PyObject *SWIG_globals = 0;
33373 static int typeinit = 0;
33374 PyObject *m, *d;
33375 int i;
33376 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33377
33378 /* Fix SwigMethods to carry the callback ptrs when needed */
33379 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
33380
33381 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33382 d = PyModule_GetDict(m);
33383
33384 if (!typeinit) {
33385#ifdef SWIG_LINK_RUNTIME
33386 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
33387#else
33388# ifndef SWIG_STATIC_RUNTIME
33389 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
33390# endif
33391#endif
33392 for (i = 0; swig_types_initial[i]; i++) {
33393 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33394 }
33395 typeinit = 1;
33396 }
33397 SWIG_InstallConstants(d,swig_const_table);
33398
33399 {
33400 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
33401 }
33402 {
33403 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
33404 }
33405 {
33406 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
33407 }
33408 {
33409 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
33410 }
33411 {
33412 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
33413 }
33414 {
33415 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
33416 }
33417 {
33418 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
33419 }
33420 {
33421 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
33422 }
33423 {
33424 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
33425 }
33426 {
33427 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
33428 }
33429 {
33430 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
33431 }
33432 {
33433 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
33434 }
33435 {
33436 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
33437 }
33438 {
33439 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
33440 }
33441 {
33442 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
33443 }
33444 {
33445 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
33446 }
33447 {
33448 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
33449 }
33450 {
33451 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
33452 }
33453 {
33454 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
33455 }
33456 {
33457 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
33458 }
33459 {
33460 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
33461 }
33462 {
33463 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
33464 }
33465 {
33466 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
33467 }
33468 {
33469 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
33470 }
33471 {
33472 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
33473 }
33474 {
33475 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
33476 }
33477 {
33478 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
33479 }
33480 {
33481 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
33482 }
33483 {
33484 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
33485 }
33486 {
33487 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
33488 }
33489 {
33490 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
33491 }
33492 {
33493 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
33494 }
33495 {
33496 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
33497 }
33498 {
33499 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
33500 }
33501 {
33502 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
33503 }
33504 {
33505 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
33506 }
33507 {
33508 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
33509 }
33510 {
33511 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
33512 }
33513 {
33514 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
33515 }
33516 {
33517 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
33518 }
33519 {
33520 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
33521 }
33522 {
33523 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
33524 }
33525 {
33526 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
33527 }
33528 {
33529 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
33530 }
33531 {
33532 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
33533 }
33534 {
33535 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
33536 }
33537 {
33538 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
33539 }
33540 {
33541 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
33542 }
33543 {
33544 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
33545 }
33546 {
33547 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
33548 }
33549 {
33550 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
33551 }
33552 {
33553 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
33554 }
33555 {
33556 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
33557 }
33558 {
33559 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
33560 }
33561 {
33562 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
33563 }
33564 {
33565 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
33566 }
33567 {
33568 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
33569 }
33570 {
33571 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
33572 }
33573 {
33574 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
33575 }
33576 {
33577 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
33578 }
33579 {
33580 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
33581 }
33582 {
33583 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
33584 }
33585 {
33586 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
33587 }
33588 {
33589 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
33590 }
33591 {
33592 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
33593 }
33594 {
33595 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
33596 }
33597 {
33598 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
33599 }
33600 {
33601 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
33602 }
33603 {
33604 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
33605 }
33606 {
33607 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
33608 }
33609 {
33610 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
33611 }
33612 {
33613 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
33614 }
33615 {
33616 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
33617 }
33618 {
33619 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
33620 }
33621 {
33622 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
33623 }
33624 {
33625 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
33626 }
33627 {
33628 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
33629 }
33630 {
33631 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
33632 }
33633 {
33634 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
33635 }
33636 {
33637 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
33638 }
33639 {
33640 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
33641 }
33642 {
33643 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
33644 }
33645 {
33646 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
33647 }
33648 {
33649 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
33650 }
33651 {
33652 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
33653 }
33654 {
33655 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
33656 }
33657 {
33658 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
33659 }
33660 {
33661 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
33662 }
33663 {
33664 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
33665 }
33666 {
33667 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
33668 }
33669 {
33670 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
33671 }
33672 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33673 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
33674 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
33675 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
33676 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
33677 {
33678 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
33679 }
33680 {
33681 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
33682 }
33683 {
33684 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
33685 }
33686 {
33687 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
33688 }
33689 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
33690
33691 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33692
33693 {
33694 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
33695 }
33696 {
33697 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
33698 }
33699 {
33700 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
33701 }
33702 {
33703 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
33704 }
33705 {
33706 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
33707 }
33708 {
33709 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
33710 }
33711 {
33712 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
33713 }
33714 {
33715 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
33716 }
33717 {
33718 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
33719 }
33720 {
33721 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
33722 }
33723 {
33724 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
33725 }
33726 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33727 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33728 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33729 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33730 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33731 {
33732 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33733 }
33734 {
33735 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
33736 }
33737 {
33738 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33739 }
33740 {
33741 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33742 }
33743 {
33744 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33745 }
33746 {
33747 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
33748 }
33749 {
33750 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
33751 }
33752 {
33753 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
33754 }
33755 {
33756 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
33757 }
33758 {
33759 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
33760 }
33761 {
33762 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
33763 }
33764 {
33765 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
33766 }
33767 {
33768 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
33769 }
33770 {
33771 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
33772 }
33773 {
33774 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
33775 }
33776 {
33777 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
33778 }
33779 {
33780 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
33781 }
33782 {
33783 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
33784 }
33785 {
33786 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
33787 }
33788 {
33789 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
33790 }
33791 {
33792 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
33793 }
33794 {
33795 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
33796 }
33797 {
33798 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
33799 }
33800 {
33801 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
33802 }
33803 {
33804 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
33805 }
33806 {
33807 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
33808 }
33809 {
33810 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
33811 }
33812 {
33813 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
33814 }
33815 {
33816 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
33817 }
33818 {
33819 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
33820 }
33821 {
33822 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
33823 }
33824 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
33825 {
33826 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
33827 }
33828 {
33829 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
33830 }
33831 {
33832 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
33833 }
33834 {
33835 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
33836 }
33837 {
33838 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
33839 }
33840
33841 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33842
33843 {
33844 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
33845 }
33846 {
33847 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
33848 }
33849 {
33850 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
33851 }
33852 {
33853 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
33854 }
33855 {
33856 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
33857 }
33858 {
33859 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
33860 }
33861 {
33862 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
33863 }
33864 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
33865 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
33866 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
33867 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
33868 {
33869 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
33870 }
33871 {
33872 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
33873 }
33874 {
33875 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
33876 }
33877 {
33878 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
33879 }
33880 {
33881 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
33882 }
33883 {
33884 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
33885 }
33886 {
33887 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
33888 }
33889 {
33890 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
33891 }
33892 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
33893 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
33894 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
33895 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
33896 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
d55e5bfc
RD
33897 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
33898 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 33899 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
33900 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
33901 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
33902 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
33903 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
33904 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
33905 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
33906 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
33907 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
33908 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
33909 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
33910 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
33911 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
33912 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
33913 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
33914 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
33915 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
33916 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
d55e5bfc
RD
33917 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
33918 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
33919 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
33920 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
33921 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
33922 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
33923 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
33924 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
33925 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
33926 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 33927 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 33928 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
33929 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
33930 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
33931 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
33932 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
33933 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
33934 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
33935 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
33936 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
33937 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
33938 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
33939 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
33940 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
33941 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
33942 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
33943 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
33944 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
33945 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
33946 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
33947 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
33948
33949 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33950
093d3ff1
RD
33951 {
33952 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
33953 }
33954 {
33955 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
33956 }
33957 {
33958 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
33959 }
33960 {
33961 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
33962 }
33963 {
33964 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
33965 }
33966 {
33967 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
33968 }
33969 {
33970 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
33971 }
33972 {
33973 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
33974 }
33975 {
33976 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
33977 }
fef4c27a
RD
33978 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
33979 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1
RD
33980 {
33981 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
33982 }
33983 {
33984 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
33985 }
33986 {
33987 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
33988 }
33989 {
33990 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
33991 }
33992 {
33993 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
33994 }
33995 {
33996 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
33997 }
33998 {
33999 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
34000 }
34001 {
34002 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
34003 }
34004 {
34005 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
34006 }
34007 {
34008 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
34009 }
34010 {
34011 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
34012 }
34013 {
34014 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
34015 }
34016 {
34017 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
34018 }
34019 {
34020 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
34021 }
34022 {
34023 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
34024 }
34025 {
34026 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
34027 }
34028 {
34029 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
34030 }
34031 {
34032 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
34033 }
34034 {
34035 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
34036 }
34037 {
34038 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
34039 }
34040 {
34041 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
34042 }
34043 {
34044 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
34045 }
34046 {
34047 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
34048 }
34049 {
34050 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
34051 }
34052 {
34053 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
34054 }
34055 {
34056 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
34057 }
34058 {
34059 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
34060 }
34061 {
34062 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
34063 }
34064 {
34065 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
34066 }
34067 {
34068 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
34069 }
34070 {
34071 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
34072 }
34073 {
34074 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
34075 }
34076 {
34077 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
34078 }
34079 {
34080 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
34081 }
34082 {
34083 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
34084 }
34085 {
34086 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
34087 }
34088 {
34089 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
34090 }
34091 {
34092 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
34093 }
34094 {
34095 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
34096 }
34097 {
34098 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
34099 }
34100 {
34101 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
34102 }
34103 {
34104 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
34105 }
34106 {
34107 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
34108 }
34109 {
34110 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
34111 }
34112 {
34113 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
34114 }
34115 {
34116 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
34117 }
34118 {
34119 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
34120 }
34121 {
34122 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
34123 }
34124 {
34125 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
34126 }
34127 {
34128 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
34129 }
34130 {
34131 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
34132 }
34133 {
34134 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
34135 }
34136 {
34137 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
34138 }
34139 {
34140 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
34141 }
34142 {
34143 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
34144 }
34145 {
34146 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
34147 }
34148 {
34149 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
34150 }
34151 {
34152 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
34153 }
34154 {
34155 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
34156 }
34157 {
34158 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
34159 }
34160 {
34161 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
34162 }
34163 {
34164 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
34165 }
34166 {
34167 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
34168 }
34169 {
34170 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
34171 }
34172 {
34173 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
34174 }
34175 {
34176 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
34177 }
34178 {
34179 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
34180 }
34181 {
34182 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
34183 }
34184 {
34185 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
34186 }
34187 {
34188 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
34189 }
34190 {
34191 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
34192 }
34193 {
34194 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
34195 }
34196 {
34197 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
34198 }
34199 {
34200 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
34201 }
34202 {
34203 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
34204 }
34205 {
34206 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
34207 }
34208 {
34209 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
34210 }
34211 {
34212 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
34213 }
34214 {
34215 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
34216 }
34217 {
34218 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
34219 }
34220 {
34221 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
34222 }
34223 {
34224 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
34225 }
34226 {
34227 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
34228 }
34229 {
34230 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
34231 }
34232 {
34233 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
34234 }
34235 {
34236 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
34237 }
34238 {
34239 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
34240 }
34241 {
34242 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
34243 }
34244 {
34245 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
34246 }
34247 {
34248 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
34249 }
34250 {
34251 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
34252 }
34253 {
34254 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
34255 }
34256 {
34257 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
34258 }
34259 {
34260 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
34261 }
34262 {
34263 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
34264 }
34265 {
34266 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
34267 }
34268 {
34269 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
34270 }
34271 {
34272 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
34273 }
34274 {
34275 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
34276 }
34277 {
34278 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
34279 }
34280 {
34281 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
34282 }
34283 {
34284 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
34285 }
34286 {
34287 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
34288 }
34289 {
34290 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
34291 }
34292 {
34293 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
34294 }
34295 {
34296 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
34297 }
34298 {
34299 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
34300 }
34301 {
34302 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
34303 }
34304 {
34305 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
34306 }
34307 {
34308 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
34309 }
34310 {
34311 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
34312 }
34313 {
34314 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
34315 }
34316 {
34317 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
34318 }
34319 {
34320 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
34321 }
34322 {
34323 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
34324 }
34325 {
34326 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
34327 }
34328 {
34329 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
34330 }
34331 {
34332 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
34333 }
34334 {
34335 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
34336 }
34337 {
34338 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
34339 }
34340 {
34341 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
34342 }
34343 {
34344 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
34345 }
34346 {
34347 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
34348 }
34349 {
34350 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
34351 }
34352 {
34353 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
34354 }
34355 {
34356 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
34357 }
34358 {
34359 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
34360 }
34361 {
34362 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
34363 }
34364 {
34365 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
34366 }
34367 {
34368 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
34369 }
34370 {
34371 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
34372 }
34373 {
34374 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
34375 }
34376 {
34377 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
34378 }
34379 {
34380 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
34381 }
34382 {
34383 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
34384 }
34385 {
34386 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
34387 }
34388 {
34389 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
34390 }
34391 {
34392 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
34393 }
34394 {
34395 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
34396 }
34397 {
34398 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
34399 }
34400 {
34401 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
34402 }
34403 {
34404 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
34405 }
34406 {
34407 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
34408 }
34409 {
34410 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
34411 }
34412 {
34413 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
34414 }
34415 {
34416 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
34417 }
34418 {
34419 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
34420 }
34421 {
34422 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
34423 }
34424 {
34425 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
34426 }
34427 {
34428 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
34429 }
34430 {
34431 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
34432 }
34433 {
34434 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
34435 }
34436 {
34437 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
34438 }
34439 {
34440 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
34441 }
34442 {
34443 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
34444 }
d55e5bfc 34445 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
093d3ff1
RD
34446 {
34447 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
34448 }
34449 {
34450 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
34451 }
34452 {
34453 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
34454 }
34455 {
34456 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
34457 }
34458 {
34459 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
34460 }
34461 {
34462 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
34463 }
34464 {
34465 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
34466 }
34467 {
34468 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
34469 }
34470 {
34471 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
34472 }
34473 {
34474 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
34475 }
34476 {
34477 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
34478 }
34479 {
34480 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
34481 }
34482 {
34483 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
34484 }
34485 {
34486 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
34487 }
34488 {
34489 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
34490 }
34491 {
34492 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
34493 }
34494 {
34495 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
34496 }
34497 {
34498 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
34499 }
34500 {
34501 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
34502 }
34503 {
34504 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
34505 }
d55e5bfc 34506 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
093d3ff1
RD
34507 {
34508 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
34509 }
34510 {
34511 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
34512 }
34513 {
34514 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
34515 }
34516 {
34517 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
34518 }
34519 {
34520 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
34521 }
34522 {
34523 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
34524 }
34525 {
34526 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
34527 }
34528 {
34529 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
34530 }
34531 {
34532 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
34533 }
34534 {
34535 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
34536 }
34537 {
34538 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
34539 }
34540 {
34541 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
34542 }
d55e5bfc
RD
34543
34544 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34545 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34546 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34547 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34548
d55e5bfc
RD
34549 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
34550}
34551