]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
Applied patch [ 1407318 ] bitmap clipping / transparency mask (X11 port)
[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)
9d7dfdff 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}
9d7dfdff 657
093d3ff1
RD
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";
9d7dfdff 723
093d3ff1
RD
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
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}
9d7dfdff 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;
9d7dfdff 906
093d3ff1
RD
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 }
9d7dfdff
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;
9d7dfdff 1113
093d3ff1
RD
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]
2f91e3df
KO
1354#define SWIGTYPE_p_wxMemorySize swig_types[12]
1355#define SWIGTYPE_p_wxFont swig_types[13]
1356#define SWIGTYPE_p_wxDataFormat swig_types[14]
1357#define SWIGTYPE_p_wxTimerEvent swig_types[15]
1358#define SWIGTYPE_p_wxCaret swig_types[16]
1359#define SWIGTYPE_ptrdiff_t swig_types[17]
1360#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361#define SWIGTYPE_p_void swig_types[19]
1362#define SWIGTYPE_p_int swig_types[20]
1363#define SWIGTYPE_p_wxSize swig_types[21]
1364#define SWIGTYPE_p_wxClipboard swig_types[22]
1365#define SWIGTYPE_p_wxStopWatch swig_types[23]
1366#define SWIGTYPE_p_wxDC swig_types[24]
1367#define SWIGTYPE_p_wxClipboardLocker swig_types[25]
1368#define SWIGTYPE_p_wxIcon swig_types[26]
1369#define SWIGTYPE_p_wxLogStderr swig_types[27]
1370#define SWIGTYPE_p_wxLogTextCtrl swig_types[28]
1371#define SWIGTYPE_p_wxTextCtrl swig_types[29]
1372#define SWIGTYPE_p_wxBusyCursor swig_types[30]
1373#define SWIGTYPE_p_wxBitmapDataObject swig_types[31]
1374#define SWIGTYPE_p_wxTextDataObject swig_types[32]
1375#define SWIGTYPE_p_wxDataObject swig_types[33]
1376#define SWIGTYPE_p_wxPyTextDataObject swig_types[34]
1377#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[35]
1378#define SWIGTYPE_p_wxFileDataObject swig_types[36]
1379#define SWIGTYPE_p_wxCustomDataObject swig_types[37]
1380#define SWIGTYPE_p_wxURLDataObject swig_types[38]
1381#define SWIGTYPE_p_wxMetafileDataObject swig_types[39]
1382#define SWIGTYPE_p_wxSound swig_types[40]
1383#define SWIGTYPE_p_wxTimerRunner swig_types[41]
1384#define SWIGTYPE_p_wxLogWindow swig_types[42]
1385#define SWIGTYPE_p_wxTimeSpan swig_types[43]
1386#define SWIGTYPE_p_wxArrayString swig_types[44]
1387#define SWIGTYPE_p_wxWindowDisabler swig_types[45]
1388#define SWIGTYPE_p_form_ops_t swig_types[46]
1389#define SWIGTYPE_p_wxToolTip swig_types[47]
1390#define SWIGTYPE_p_wxDataObjectComposite swig_types[48]
1391#define SWIGTYPE_p_wxSystemSettings swig_types[49]
1392#define SWIGTYPE_p_wxFileConfig swig_types[50]
1393#define SWIGTYPE_p_wxVideoMode swig_types[51]
1394#define SWIGTYPE_p_wxDataObjectSimple swig_types[52]
1395#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[53]
1396#define SWIGTYPE_p_wxDuplexMode swig_types[54]
1397#define SWIGTYPE_p_wxEvtHandler swig_types[55]
1398#define SWIGTYPE_p_wxRect swig_types[56]
1399#define SWIGTYPE_p_char swig_types[57]
1400#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[58]
1401#define SWIGTYPE_p_wxStandardPaths swig_types[59]
1402#define SWIGTYPE_p_wxFileTypeInfo swig_types[60]
1403#define SWIGTYPE_p_wxFrame swig_types[61]
1404#define SWIGTYPE_p_wxTimer swig_types[62]
1405#define SWIGTYPE_p_wxPaperSize swig_types[63]
1406#define SWIGTYPE_p_wxMimeTypesManager swig_types[64]
a97cefba
RD
1407#define SWIGTYPE_p_wxPyTipProvider swig_types[65]
1408#define SWIGTYPE_p_wxTipProvider swig_types[66]
1409#define SWIGTYPE_p_wxJoystick swig_types[67]
1410#define SWIGTYPE_p_wxSystemOptions swig_types[68]
2f91e3df
KO
1411#define SWIGTYPE_p_wxPyArtProvider swig_types[69]
1412#define SWIGTYPE_p_wxPoint swig_types[70]
1413#define SWIGTYPE_p_wxJoystickEvent swig_types[71]
1414#define SWIGTYPE_p_wxCursor swig_types[72]
1415#define SWIGTYPE_p_wxObject swig_types[73]
1416#define SWIGTYPE_p_wxOutputStream swig_types[74]
1417#define SWIGTYPE_p_wxDateTime swig_types[75]
1418#define SWIGTYPE_p_wxPyDropSource swig_types[76]
1419#define SWIGTYPE_p_unsigned_long swig_types[77]
1420#define SWIGTYPE_p_wxLogBuffer swig_types[78]
1421#define SWIGTYPE_p_wxKillError swig_types[79]
1422#define SWIGTYPE_p_wxWindow swig_types[80]
1423#define SWIGTYPE_p_wxString swig_types[81]
1424#define SWIGTYPE_p_wxPyProcess swig_types[82]
1425#define SWIGTYPE_p_wxBitmap swig_types[83]
1426#define SWIGTYPE_unsigned_int swig_types[84]
1427#define SWIGTYPE_p_unsigned_int swig_types[85]
1428#define SWIGTYPE_p_wxConfig swig_types[86]
1429#define SWIGTYPE_p_unsigned_char swig_types[87]
1430#define SWIGTYPE_p_wxChar swig_types[88]
1431#define SWIGTYPE_p_wxBusyInfo swig_types[89]
1432#define SWIGTYPE_p_wxPyDropTarget swig_types[90]
1433#define SWIGTYPE_p_wxPyTextDropTarget swig_types[91]
1434#define SWIGTYPE_p_wxPyFileDropTarget swig_types[92]
1435#define SWIGTYPE_p_wxProcessEvent swig_types[93]
1436#define SWIGTYPE_p_wxPyLog swig_types[94]
1437#define SWIGTYPE_p_wxLogNull swig_types[95]
1438#define SWIGTYPE_p_wxColour swig_types[96]
1439#define SWIGTYPE_p_wxPyTimer swig_types[97]
1440#define SWIGTYPE_p_wxConfigPathChanger swig_types[98]
1441#define SWIGTYPE_p_wxDateSpan swig_types[99]
1442static swig_type_info *swig_types[101];
d55e5bfc 1443
093d3ff1 1444/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1445
1446
093d3ff1
RD
1447/*-----------------------------------------------
1448 @(target):= _misc_.so
1449 ------------------------------------------------*/
1450#define SWIG_init init_misc_
d55e5bfc 1451
093d3ff1 1452#define SWIG_name "_misc_"
d55e5bfc 1453
093d3ff1
RD
1454#include "wx/wxPython/wxPython.h"
1455#include "wx/wxPython/pyclasses.h"
1456#include "wx/wxPython/pyistream.h"
d55e5bfc 1457
093d3ff1 1458 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1459
d55e5bfc 1460
d55e5bfc 1461
9d7dfdff 1462 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
093d3ff1
RD
1463#define SWIG_From_int PyInt_FromLong
1464/*@@*/
d55e5bfc
RD
1465
1466
093d3ff1 1467#include <limits.h>
d55e5bfc
RD
1468
1469
093d3ff1
RD
1470SWIGINTERN int
1471 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1472 const char *errmsg)
d55e5bfc 1473{
093d3ff1
RD
1474 if (value < min_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is less than '%s' minimum %ld",
1478 value, errmsg, min_value);
1479 }
1480 return 0;
1481 } else if (value > max_value) {
c32bde28
RD
1482 if (errmsg) {
1483 PyErr_Format(PyExc_OverflowError,
093d3ff1 1484 "value %ld is greater than '%s' maximum %ld",
c32bde28 1485 value, errmsg, max_value);
d55e5bfc 1486 }
c32bde28 1487 return 0;
d55e5bfc 1488 }
c32bde28 1489 return 1;
093d3ff1 1490}
d55e5bfc
RD
1491
1492
093d3ff1
RD
1493SWIGINTERN int
1494SWIG_AsVal_long(PyObject* obj, long* val)
1495{
1496 if (PyNumber_Check(obj)) {
1497 if (val) *val = PyInt_AsLong(obj);
1498 return 1;
1499 }
1500 else {
1501 SWIG_type_error("number", obj);
1502 }
1503 return 0;
1504}
1505
1506
1507#if INT_MAX != LONG_MAX
1508SWIGINTERN int
1509 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1510{
093d3ff1
RD
1511 const char* errmsg = val ? "int" : (char*)0;
1512 long v;
1513 if (SWIG_AsVal_long(obj, &v)) {
1514 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1515 if (val) *val = (int)(v);
c32bde28 1516 return 1;
093d3ff1
RD
1517 } else {
1518 return 0;
c32bde28
RD
1519 }
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
093d3ff1 1524 SWIG_type_error(errmsg, obj);
c32bde28
RD
1525 }
1526 return 0;
d55e5bfc
RD
1527}
1528#else
093d3ff1
RD
1529SWIGINTERNSHORT int
1530 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1531{
093d3ff1 1532 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1533}
d55e5bfc
RD
1534#endif
1535
1536
093d3ff1
RD
1537SWIGINTERNSHORT int
1538SWIG_As_int(PyObject* obj)
d55e5bfc 1539{
093d3ff1
RD
1540 int v;
1541 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1542 /*
093d3ff1 1543 this is needed to make valgrind/purify happier.
c32bde28 1544 */
093d3ff1 1545 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1546 }
c32bde28
RD
1547 return v;
1548}
1549
1550
093d3ff1
RD
1551SWIGINTERNSHORT int
1552SWIG_Check_int(PyObject* obj)
c32bde28 1553{
093d3ff1 1554 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1555}
1556
093d3ff1 1557 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1558
093d3ff1 1559#include <wx/stockitem.h>
f78cc896 1560
093d3ff1
RD
1561 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1562 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1563 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1564
9d7dfdff 1565 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
093d3ff1
RD
1566#define SWIG_From_long PyInt_FromLong
1567/*@@*/
f78cc896 1568
f78cc896 1569
093d3ff1
RD
1570SWIGINTERNSHORT long
1571SWIG_As_long(PyObject* obj)
1572{
1573 long v;
1574 if (!SWIG_AsVal_long(obj, &v)) {
1575 /*
1576 this is needed to make valgrind/purify happier.
1577 */
1578 memset((void*)&v, 0, sizeof(long));
1579 }
1580 return v;
1581}
f78cc896 1582
093d3ff1
RD
1583
1584SWIGINTERNSHORT int
1585SWIG_Check_long(PyObject* obj)
1586{
1587 return SWIG_AsVal_long(obj, (long*)0);
1588}
f78cc896 1589
f78cc896 1590
093d3ff1
RD
1591SWIGINTERN int
1592 SWIG_AsVal_bool(PyObject *obj, bool *val)
1593{
1594 if (obj == Py_True) {
1595 if (val) *val = true;
1596 return 1;
1597 }
1598 if (obj == Py_False) {
1599 if (val) *val = false;
1600 return 1;
1601 }
1602 int res = 0;
1603 if (SWIG_AsVal_int(obj, &res)) {
1604 if (val) *val = res ? true : false;
1605 return 1;
1606 } else {
1607 PyErr_Clear();
1608 }
1609 if (val) {
1610 SWIG_type_error("bool", obj);
1611 }
1612 return 0;
1613}
d55e5bfc 1614
d55e5bfc 1615
093d3ff1
RD
1616SWIGINTERNSHORT bool
1617SWIG_As_bool(PyObject* obj)
1618{
1619 bool v;
1620 if (!SWIG_AsVal_bool(obj, &v)) {
1621 /*
1622 this is needed to make valgrind/purify happier.
1623 */
1624 memset((void*)&v, 0, sizeof(bool));
1625 }
1626 return v;
1627}
d55e5bfc 1628
093d3ff1
RD
1629
1630SWIGINTERNSHORT int
1631SWIG_Check_bool(PyObject* obj)
1632{
1633 return SWIG_AsVal_bool(obj, (bool*)0);
1634}
d55e5bfc
RD
1635
1636
093d3ff1
RD
1637 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1638 PyObject* o2;
1639 PyObject* o3;
1640
1641 if (!target) {
1642 target = o;
1643 } else if (target == Py_None) {
1644 Py_DECREF(Py_None);
1645 target = o;
1646 } else {
1647 if (!PyTuple_Check(target)) {
1648 o2 = target;
1649 target = PyTuple_New(1);
1650 PyTuple_SetItem(target, 0, o2);
1651 }
1652 o3 = PyTuple_New(1);
1653 PyTuple_SetItem(o3, 0, o);
d55e5bfc 1654
093d3ff1
RD
1655 o2 = target;
1656 target = PySequence_Concat(o2, o3);
1657 Py_DECREF(o2);
1658 Py_DECREF(o3);
1659 }
1660 return target;
1661 }
d55e5bfc 1662
d55e5bfc
RD
1663
1664
093d3ff1
RD
1665SWIGINTERN int
1666SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1667{
1668 long v = 0;
1669 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1670 SWIG_type_error("unsigned number", obj);
d55e5bfc 1671 }
093d3ff1
RD
1672 else if (val)
1673 *val = (unsigned long)v;
1674 return 1;
1675}
d55e5bfc 1676
d55e5bfc 1677
093d3ff1
RD
1678SWIGINTERNSHORT unsigned long
1679SWIG_As_unsigned_SS_long(PyObject* obj)
1680{
1681 unsigned long v;
1682 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1683 /*
1684 this is needed to make valgrind/purify happier.
1685 */
1686 memset((void*)&v, 0, sizeof(unsigned long));
1687 }
1688 return v;
1689}
d55e5bfc 1690
093d3ff1
RD
1691
1692SWIGINTERNSHORT int
1693SWIG_Check_unsigned_SS_long(PyObject* obj)
1694{
1695 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1696}
d55e5bfc
RD
1697
1698
093d3ff1
RD
1699SWIGINTERNSHORT PyObject*
1700 SWIG_From_unsigned_SS_long(unsigned long value)
1701{
1702 return (value > LONG_MAX) ?
1703 PyLong_FromUnsignedLong(value)
1704 : PyInt_FromLong((long)(value));
1705}
d55e5bfc
RD
1706
1707
a97cefba
RD
1708 void* wxGetXDisplay()
1709 {
1710#ifdef __WXGTK__
1711 return wxGetDisplay();
1712#else
1713 return NULL;
1714#endif
1715 }
1716
1717
093d3ff1
RD
1718 bool wxThread_IsMain() {
1719#ifdef WXP_WITH_THREAD
1720 return wxThread::IsMain();
1721#else
1722 return true;
1723#endif
d55e5bfc 1724 }
093d3ff1 1725
091fdbfa
RD
1726static void wxCaret_Destroy(wxCaret *self){
1727 delete self;
1728 }
d55e5bfc 1729
093d3ff1
RD
1730#include <wx/snglinst.h>
1731
1732
68350608
RD
1733#ifdef __WXMSW__
1734#include <wx/msw/private.h>
1735#include <wx/dynload.h>
1736#endif
1737
1738
1739
1740bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1741#if 0
1742 , int method
1743#endif
1744 )
1745{
1746#ifdef __WXMSW__
1747#if 0
1748 switch (method)
1749 {
1750 case 1:
1751 // This one only partially works. Appears to be an undocumented
1752 // "standard" convention that not all widgets adhear to. For
1753 // example, for some widgets backgrounds or non-client areas may
1754 // not be painted.
1755 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1756 break;
1757
1758 case 2:
1759#endif
1760 // This one works much better, nearly all widgets and their
1761 // children are captured correctly[**]. Prior to the big
1762 // background erase changes that Vadim did in 2004-2005 this
1763 // method failed badly on XP with Themes activated, most native
1764 // widgets draw only partially, if at all. Without themes it
1765 // worked just like on Win2k. After those changes this method
1766 // works very well.
1767 //
1768 // ** For example the radio buttons in a wxRadioBox are not its
1769 // children by default, but you can capture it via the panel
1770 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1771 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1772 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1773 PRF_ERASEBKGND | PRF_OWNED );
1774 return true;
1775#if 0
1776 break;
1777
1778 case 3:
1779 // This one is only defined in the latest SDK and is only
1780 // available on XP. MSDN says it is similar to sending WM_PRINT
1781 // so I expect that it will work similar to the above. Since it
1782 // is avaialble only on XP, it can't be compiled like this and
1783 // will have to be loaded dynamically.
1784 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1785
1786 // fall through
1787
1788 case 4:
1789 // Use PrintWindow if available, or fallback to WM_PRINT
1790 // otherwise. Unfortunately using PrintWindow is even worse than
1791 // WM_PRINT. For most native widgets nothing is drawn to the dc
1792 // at all, with or without Themes.
1793 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1794 static bool s_triedToLoad = false;
1795 static PrintWindow_t pfnPrintWindow = NULL;
1796 if ( !s_triedToLoad )
1797 {
1798
1799 s_triedToLoad = true;
1800 wxDynamicLibrary dllUser32(_T("user32.dll"));
1801 if ( dllUser32.IsLoaded() )
1802 {
1803 wxLogNull nolog; // Don't report errors here
1804 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1805 }
1806 }
1807 if (pfnPrintWindow)
1808 {
1809 //printf("Using PrintWindow\n");
1810 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1811 }
1812 else
1813 {
1814 //printf("Using WM_PRINT\n");
1815 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1816 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1817 PRF_ERASEBKGND | PRF_OWNED );
1818 }
1819 }
1820#endif // 0
1821#else
1822 return false;
1823#endif // __WXMSW__
1824}
1825
1826
1827
093d3ff1
RD
1828#include <wx/tipdlg.h>
1829
d55e5bfc 1830
093d3ff1
RD
1831class wxPyTipProvider : public wxTipProvider {
1832public:
1833 wxPyTipProvider(size_t currentTip)
1834 : wxTipProvider(currentTip) {}
1835
1836 DEC_PYCALLBACK_STRING__pure(GetTip);
1837 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
1838 PYPRIVATE;
1839};
1840
093d3ff1
RD
1841IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
1842IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
1843
1844
093d3ff1 1845//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 1846
093d3ff1 1847IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 1848
093d3ff1
RD
1849wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
1850 : wxTimer(owner, id)
1851{
1852 if (owner == NULL) SetOwner(this);
1853}
d55e5bfc 1854
d55e5bfc 1855
093d3ff1
RD
1856void wxPyTimer::Notify() {
1857 bool found;
5a446332 1858 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
1859 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
1860 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
1861 wxPyEndBlockThreads(blocked);
1862 if (! found)
1863 wxTimer::Notify();
1864}
1865void wxPyTimer::base_Notify() {
1866 wxTimer::Notify();
1867}
d55e5bfc 1868
d55e5bfc 1869
093d3ff1
RD
1870
1871SWIGINTERN PyObject *
1872SWIG_FromCharPtr(const char* cptr)
1873{
1874 if (cptr) {
1875 size_t size = strlen(cptr);
1876 if (size > INT_MAX) {
1877 return SWIG_NewPointerObj((char*)(cptr),
1878 SWIG_TypeQuery("char *"), 0);
1879 } else {
1880 if (size != 0) {
1881 return PyString_FromStringAndSize(cptr, size);
1882 } else {
1883 return PyString_FromString(cptr);
1884 }
c32bde28 1885 }
093d3ff1
RD
1886 }
1887 Py_INCREF(Py_None);
1888 return Py_None;
1889}
1890
1891
1892SWIGINTERNSHORT int
1893 SWIG_CheckUnsignedLongInRange(unsigned long value,
1894 unsigned long max_value,
1895 const char *errmsg)
1896{
1897 if (value > max_value) {
1898 if (errmsg) {
1899 PyErr_Format(PyExc_OverflowError,
1900 "value %lu is greater than '%s' minimum %lu",
1901 value, errmsg, max_value);
d55e5bfc 1902 }
c32bde28 1903 return 0;
093d3ff1
RD
1904 }
1905 return 1;
1906 }
1907
1908
1909#if UINT_MAX != ULONG_MAX
1910SWIGINTERN int
1911 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1912{
1913 const char* errmsg = val ? "unsigned int" : (char*)0;
1914 unsigned long v;
1915 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1916 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1917 if (val) *val = (unsigned int)(v);
1918 return 1;
1919 }
1920 } else {
1921 PyErr_Clear();
1922 }
1923 if (val) {
1924 SWIG_type_error(errmsg, obj);
1925 }
1926 return 0;
1927}
1928#else
1929SWIGINTERNSHORT unsigned int
1930 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1931{
1932 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 1933}
093d3ff1 1934#endif
d55e5bfc
RD
1935
1936
093d3ff1
RD
1937SWIGINTERNSHORT unsigned int
1938SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 1939{
093d3ff1
RD
1940 unsigned int v;
1941 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 1942 /*
093d3ff1 1943 this is needed to make valgrind/purify happier.
c32bde28 1944 */
093d3ff1 1945 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 1946 }
c32bde28
RD
1947 return v;
1948}
1949
1950
093d3ff1
RD
1951SWIGINTERNSHORT int
1952SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 1953{
093d3ff1 1954 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
1955}
1956
093d3ff1
RD
1957static wxString Log_TimeStamp(){
1958 wxString msg;
1959 wxLog::TimeStamp(&msg);
1960 return msg;
d55e5bfc 1961 }
093d3ff1
RD
1962static void wxLog_Destroy(wxLog *self){ delete self; }
1963// Make somce wrappers that double any % signs so they are 'escaped'
1964 void wxPyLogFatalError(const wxString& msg)
1965 {
1966 wxString m(msg);
1967 m.Replace(wxT("%"), wxT("%%"));
1968 wxLogFatalError(m);
1969 }
1970
1971 void wxPyLogError(const wxString& msg)
1972 {
1973 wxString m(msg);
1974 m.Replace(wxT("%"), wxT("%%"));
1975 wxLogError(m);
1976 }
d55e5bfc 1977
093d3ff1
RD
1978 void wxPyLogWarning(const wxString& msg)
1979 {
1980 wxString m(msg);
1981 m.Replace(wxT("%"), wxT("%%"));
1982 wxLogWarning(m);
1983 }
d55e5bfc 1984
093d3ff1
RD
1985 void wxPyLogMessage(const wxString& msg)
1986 {
1987 wxString m(msg);
1988 m.Replace(wxT("%"), wxT("%%"));
1989 wxLogMessage(m);
1990 }
d55e5bfc 1991
093d3ff1
RD
1992 void wxPyLogInfo(const wxString& msg)
1993 {
1994 wxString m(msg);
1995 m.Replace(wxT("%"), wxT("%%"));
1996 wxLogInfo(m);
1997 }
d55e5bfc 1998
093d3ff1
RD
1999 void wxPyLogDebug(const wxString& msg)
2000 {
2001 wxString m(msg);
2002 m.Replace(wxT("%"), wxT("%%"));
2003 wxLogDebug(m);
2004 }
d55e5bfc 2005
093d3ff1
RD
2006 void wxPyLogVerbose(const wxString& msg)
2007 {
2008 wxString m(msg);
2009 m.Replace(wxT("%"), wxT("%%"));
2010 wxLogVerbose(m);
2011 }
d55e5bfc 2012
093d3ff1
RD
2013 void wxPyLogStatus(const wxString& msg)
2014 {
2015 wxString m(msg);
2016 m.Replace(wxT("%"), wxT("%%"));
2017 wxLogStatus(m);
2018 }
d55e5bfc 2019
093d3ff1
RD
2020 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2021 {
2022 wxString m(msg);
2023 m.Replace(wxT("%"), wxT("%%"));
2024 wxLogStatus(pFrame, m);
2025 }
d55e5bfc 2026
093d3ff1
RD
2027 void wxPyLogSysError(const wxString& msg)
2028 {
2029 wxString m(msg);
2030 m.Replace(wxT("%"), wxT("%%"));
2031 wxLogSysError(m);
2032 }
d55e5bfc 2033
093d3ff1
RD
2034 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2035 {
2036 wxString m(msg);
2037 m.Replace(wxT("%"), wxT("%%"));
2038 wxLogGeneric(level, m);
2039 }
a07a67e6 2040
093d3ff1
RD
2041 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2042 {
2043 wxString m(msg);
2044 m.Replace(wxT("%"), wxT("%%"));
2045 wxLogTrace(mask, m);
d55e5bfc 2046 }
093d3ff1
RD
2047
2048 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2049 {
2050 wxString m(msg);
2051 m.Replace(wxT("%"), wxT("%%"));
2052 wxLogTrace(mask, m);
d55e5bfc 2053 }
093d3ff1 2054
d55e5bfc
RD
2055
2056
093d3ff1
RD
2057// A wxLog class that can be derived from in wxPython
2058class wxPyLog : public wxLog {
d55e5bfc 2059public:
093d3ff1 2060 wxPyLog() : wxLog() {}
d55e5bfc 2061
093d3ff1
RD
2062 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2063 bool found;
5a446332 2064 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2065 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2066 PyObject* s = wx2PyString(szString);
2067 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2068 Py_DECREF(s);
d55e5bfc 2069 }
093d3ff1
RD
2070 wxPyEndBlockThreads(blocked);
2071 if (! found)
2072 wxLog::DoLog(level, szString, t);
d55e5bfc 2073 }
d55e5bfc 2074
093d3ff1
RD
2075 virtual void DoLogString(const wxChar *szString, time_t t) {
2076 bool found;
5a446332 2077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2078 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2079 PyObject* s = wx2PyString(szString);
2080 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2081 Py_DECREF(s);
d55e5bfc 2082 }
093d3ff1
RD
2083 wxPyEndBlockThreads(blocked);
2084 if (! found)
2085 wxLog::DoLogString(szString, t);
2086 }
d55e5bfc
RD
2087
2088 PYPRIVATE;
2089};
2090
d55e5bfc
RD
2091
2092
093d3ff1
RD
2093
2094IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2095
d55e5bfc 2096
093d3ff1 2097#include <wx/joystick.h>
d55e5bfc 2098
d55e5bfc 2099
093d3ff1
RD
2100#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2101// A C++ stub class for wxJoystick for platforms that don't have it.
2102class wxJoystick : public wxObject {
2103public:
2104 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2105 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2106 PyErr_SetString(PyExc_NotImplementedError,
2107 "wxJoystick is not available on this platform.");
2108 wxPyEndBlockThreads(blocked);
d55e5bfc 2109 }
093d3ff1
RD
2110 wxPoint GetPosition() { return wxPoint(-1,-1); }
2111 int GetZPosition() { return -1; }
2112 int GetButtonState() { return -1; }
2113 int GetPOVPosition() { return -1; }
2114 int GetPOVCTSPosition() { return -1; }
2115 int GetRudderPosition() { return -1; }
2116 int GetUPosition() { return -1; }
2117 int GetVPosition() { return -1; }
2118 int GetMovementThreshold() { return -1; }
2119 void SetMovementThreshold(int threshold) {}
d55e5bfc 2120
093d3ff1
RD
2121 bool IsOk(void) { return false; }
2122 int GetNumberJoysticks() { return -1; }
2123 int GetManufacturerId() { return -1; }
2124 int GetProductId() { return -1; }
2125 wxString GetProductName() { return wxEmptyString; }
2126 int GetXMin() { return -1; }
2127 int GetYMin() { return -1; }
2128 int GetZMin() { return -1; }
2129 int GetXMax() { return -1; }
2130 int GetYMax() { return -1; }
2131 int GetZMax() { return -1; }
2132 int GetNumberButtons() { return -1; }
2133 int GetNumberAxes() { return -1; }
2134 int GetMaxButtons() { return -1; }
2135 int GetMaxAxes() { return -1; }
2136 int GetPollingMin() { return -1; }
2137 int GetPollingMax() { return -1; }
2138 int GetRudderMin() { return -1; }
2139 int GetRudderMax() { return -1; }
2140 int GetUMin() { return -1; }
2141 int GetUMax() { return -1; }
2142 int GetVMin() { return -1; }
2143 int GetVMax() { return -1; }
d55e5bfc 2144
093d3ff1
RD
2145 bool HasRudder() { return false; }
2146 bool HasZ() { return false; }
2147 bool HasU() { return false; }
2148 bool HasV() { return false; }
2149 bool HasPOV() { return false; }
2150 bool HasPOV4Dir() { return false; }
2151 bool HasPOVCTS() { return false; }
d55e5bfc 2152
093d3ff1
RD
2153 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2154 bool ReleaseCapture() { return false; }
2155};
2156#endif
d55e5bfc 2157
6923d0a9 2158
093d3ff1 2159#include <wx/sound.h>
6923d0a9 2160
6923d0a9 2161
093d3ff1
RD
2162#if !wxUSE_SOUND
2163// A C++ stub class for wxWave for platforms that don't have it.
2164class wxSound : public wxObject
6923d0a9
RD
2165{
2166public:
093d3ff1 2167 wxSound() {
5a446332 2168 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2169 PyErr_SetString(PyExc_NotImplementedError,
2170 "wxSound is not available on this platform.");
2171 wxPyEndBlockThreads(blocked);
2172 }
2173 wxSound(const wxString&/*, bool*/) {
5a446332 2174 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2175 PyErr_SetString(PyExc_NotImplementedError,
2176 "wxSound is not available on this platform.");
2177 wxPyEndBlockThreads(blocked);
2178 }
2179 wxSound(int, const wxByte*) {
5a446332 2180 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2181 PyErr_SetString(PyExc_NotImplementedError,
2182 "wxSound is not available on this platform.");
2183 wxPyEndBlockThreads(blocked);
2184 }
6923d0a9 2185
093d3ff1 2186 ~wxSound() {};
6923d0a9 2187
093d3ff1
RD
2188 bool Create(const wxString&/*, bool*/) { return false; }
2189 bool Create(int, const wxByte*) { return false; };
2190 bool IsOk() { return false; };
2191 bool Play(unsigned) const { return false; }
2192 static bool Play(const wxString&, unsigned) { return false; }
2193 static void Stop() {}
6923d0a9 2194};
093d3ff1 2195
6923d0a9
RD
2196#endif
2197
093d3ff1
RD
2198static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2199 if (fileName.Length() == 0)
2200 return new wxSound;
2201 else
2202 return new wxSound(fileName);
2203 }
2204static wxSound *new_wxSound(PyObject *data){
2205 unsigned char* buffer; int size;
2206 wxSound *sound = NULL;
2207
5a446332 2208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2209 if (!PyArg_Parse(data, "t#", &buffer, &size))
2210 goto done;
2211 sound = new wxSound(size, buffer);
2212 done:
d55e5bfc 2213 wxPyEndBlockThreads(blocked);
093d3ff1 2214 return sound;
d55e5bfc 2215 }
093d3ff1
RD
2216static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2217 #ifndef __WXMAC__
2218 unsigned char* buffer;
2219 int size;
2220 bool rv = false;
c1cb24a4 2221
5a446332 2222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2223 if (!PyArg_Parse(data, "t#", &buffer, &size))
2224 goto done;
2225 rv = self->Create(size, buffer);
2226 done:
2227 wxPyEndBlockThreads(blocked);
2228 return rv;
2229 #else
5a446332 2230 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2231 PyErr_SetString(PyExc_NotImplementedError,
2232 "Create from data is not available on this platform.");
2233 wxPyEndBlockThreads(blocked);
2234 return false;
2235 #endif
2236 }
c1cb24a4 2237
093d3ff1
RD
2238#include <wx/mimetype.h>
2239
2240static PyObject *wxFileType_GetMimeType(wxFileType *self){
2241 wxString str;
2242 if (self->GetMimeType(&str))
2243 return wx2PyString(str);
2244 else
2245 RETURN_NONE();
8fb0e70a 2246 }
093d3ff1
RD
2247static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2248 wxArrayString arr;
2249 if (self->GetMimeTypes(arr))
2250 return wxArrayString2PyList_helper(arr);
2251 else
2252 RETURN_NONE();
2253 }
2254static PyObject *wxFileType_GetExtensions(wxFileType *self){
2255 wxArrayString arr;
2256 if (self->GetExtensions(arr))
2257 return wxArrayString2PyList_helper(arr);
2258 else
2259 RETURN_NONE();
2260 }
2261static wxIcon *wxFileType_GetIcon(wxFileType *self){
2262 wxIconLocation loc;
2263 if (self->GetIcon(&loc))
2264 return new wxIcon(loc);
2265 else
2266 return NULL;
2267 }
2268static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2269 wxIconLocation loc;
2270 if (self->GetIcon(&loc)) {
2271 wxString iconFile = loc.GetFileName();
2272 int iconIndex = -1;
d55e5bfc 2273
093d3ff1 2274 iconIndex = loc.GetIndex();
d55e5bfc 2275
093d3ff1 2276 // Make a tuple and put the values in it
5a446332 2277 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2278 PyObject* tuple = PyTuple_New(3);
2279 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2280 wxT("wxIcon"), true));
2281 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2282 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2283 wxPyEndBlockThreads(blocked);
2284 return tuple;
2285 }
2286 else
2287 RETURN_NONE();
2288 }
2289static PyObject *wxFileType_GetDescription(wxFileType *self){
2290 wxString str;
2291 if (self->GetDescription(&str))
2292 return wx2PyString(str);
2293 else
2294 RETURN_NONE();
2295 }
2296static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2297 wxString str;
2298 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2299 return wx2PyString(str);
2300 else
2301 RETURN_NONE();
2302 }
2303static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2304 wxString str;
2305 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2306 return wx2PyString(str);
2307 else
2308 RETURN_NONE();
2309 }
2310static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2311 wxArrayString verbs;
2312 wxArrayString commands;
2313 if (self->GetAllCommands(&verbs, &commands,
2314 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2315 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2316 PyObject* tuple = PyTuple_New(2);
2317 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2318 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2319 wxPyEndBlockThreads(blocked);
2320 return tuple;
2321 }
2322 else
2323 RETURN_NONE();
2324 }
2325static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2326 return wxFileType::ExpandCommand(command,
2327 wxFileType::MessageParameters(filename, mimetype));
2328 }
2329static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2330 wxArrayString arr;
2331 self->EnumAllFileTypes(arr);
2332 return wxArrayString2PyList_helper(arr);
2333 }
d55e5bfc 2334
093d3ff1 2335#include <wx/artprov.h>
d55e5bfc 2336
093d3ff1
RD
2337 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2338 static const wxString wxPyART_MENU(wxART_MENU);
2339 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2340 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2341 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2342 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2343 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2344 static const wxString wxPyART_OTHER(wxART_OTHER);
2345 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2346 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2347 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2348 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2349 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2350 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2351 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2352 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2353 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2354 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2355 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2356 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2357 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2358 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2359 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2360 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2361 static const wxString wxPyART_PRINT(wxART_PRINT);
2362 static const wxString wxPyART_HELP(wxART_HELP);
2363 static const wxString wxPyART_TIP(wxART_TIP);
2364 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2365 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2366 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2367 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2368 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2369 static const wxString wxPyART_CDROM(wxART_CDROM);
2370 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2371 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2372 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2373 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2374 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2375 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2376 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2377 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2378 static const wxString wxPyART_ERROR(wxART_ERROR);
2379 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2380 static const wxString wxPyART_WARNING(wxART_WARNING);
2381 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2382 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2383 static const wxString wxPyART_COPY(wxART_COPY);
2384 static const wxString wxPyART_CUT(wxART_CUT);
2385 static const wxString wxPyART_PASTE(wxART_PASTE);
2386 static const wxString wxPyART_DELETE(wxART_DELETE);
a187dc0b 2387 static const wxString wxPyART_NEW(wxART_NEW);
68350608
RD
2388 static const wxString wxPyART_UNDO(wxART_UNDO);
2389 static const wxString wxPyART_REDO(wxART_REDO);
2390 static const wxString wxPyART_QUIT(wxART_QUIT);
2391 static const wxString wxPyART_FIND(wxART_FIND);
2392 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2393 // Python aware wxArtProvider
2394class wxPyArtProvider : public wxArtProvider {
2395public:
d55e5bfc 2396
093d3ff1
RD
2397 virtual wxBitmap CreateBitmap(const wxArtID& id,
2398 const wxArtClient& client,
2399 const wxSize& size) {
2400 wxBitmap rval = wxNullBitmap;
5a446332 2401 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2402 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2403 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2404 PyObject* ro;
2405 wxBitmap* ptr;
2406 PyObject* s1, *s2;
2407 s1 = wx2PyString(id);
2408 s2 = wx2PyString(client);
2409 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2410 Py_DECREF(so);
2411 Py_DECREF(s1);
2412 Py_DECREF(s2);
2413 if (ro) {
2414 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2415 rval = *ptr;
2416 Py_DECREF(ro);
2417 }
2418 }
2419 wxPyEndBlockThreads(blocked);
2420 return rval;
d55e5bfc 2421 }
d55e5bfc 2422
093d3ff1
RD
2423 PYPRIVATE;
2424};
d55e5bfc 2425
093d3ff1 2426static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2427
2428
d55e5bfc 2429
093d3ff1
RD
2430 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2431 PyObject* ret = PyTuple_New(3);
2432 if (ret) {
2433 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2434 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2435 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2436 }
2437 return ret;
2438 }
d55e5bfc 2439
093d3ff1
RD
2440static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2441 bool cont;
2442 long index = 0;
2443 wxString value;
7e63a440 2444
093d3ff1
RD
2445 cont = self->GetFirstGroup(value, index);
2446 return __EnumerationHelper(cont, value, index);
2447 }
2448static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2449 bool cont;
2450 wxString value;
7e63a440 2451
093d3ff1
RD
2452 cont = self->GetNextGroup(value, index);
2453 return __EnumerationHelper(cont, value, index);
2454 }
2455static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2456 bool cont;
2457 long index = 0;
2458 wxString value;
7e63a440 2459
093d3ff1
RD
2460 cont = self->GetFirstEntry(value, index);
2461 return __EnumerationHelper(cont, value, index);
2462 }
2463static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2464 bool cont;
2465 wxString value;
d55e5bfc 2466
093d3ff1
RD
2467 cont = self->GetNextEntry(value, index);
2468 return __EnumerationHelper(cont, value, index);
2469 }
2470static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2471 long rv;
2472 self->Read(key, &rv, defaultVal);
2473 return rv;
2474 }
d55e5bfc 2475
093d3ff1
RD
2476SWIGINTERN int
2477SWIG_AsVal_double(PyObject *obj, double* val)
2478{
2479 if (PyNumber_Check(obj)) {
2480 if (val) *val = PyFloat_AsDouble(obj);
2481 return 1;
d55e5bfc 2482 }
093d3ff1
RD
2483 else {
2484 SWIG_type_error("number", obj);
d55e5bfc 2485 }
093d3ff1 2486 return 0;
d55e5bfc
RD
2487}
2488
2489
093d3ff1
RD
2490SWIGINTERNSHORT double
2491SWIG_As_double(PyObject* obj)
2492{
2493 double v;
2494 if (!SWIG_AsVal_double(obj, &v)) {
2495 /*
2496 this is needed to make valgrind/purify happier.
2497 */
2498 memset((void*)&v, 0, sizeof(double));
2499 }
2500 return v;
d55e5bfc
RD
2501}
2502
093d3ff1
RD
2503
2504SWIGINTERNSHORT int
2505SWIG_Check_double(PyObject* obj)
2506{
2507 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2508}
2509
093d3ff1
RD
2510static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2511 double rv;
2512 self->Read(key, &rv, defaultVal);
2513 return rv;
2514 }
d55e5bfc 2515
9d7dfdff 2516 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
093d3ff1
RD
2517#define SWIG_From_double PyFloat_FromDouble
2518/*@@*/
d55e5bfc 2519
093d3ff1
RD
2520static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2521 bool rv;
2522 self->Read(key, &rv, defaultVal);
2523 return rv;
2524 }
d55e5bfc 2525
093d3ff1 2526#include <wx/datetime.h>
d55e5bfc 2527
fef4c27a
RD
2528 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2529 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2530
093d3ff1 2531#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2532
b9d6a5f3
RD
2533static PyObject *DateTime_GetAmPmStrings(){
2534 wxString am;
2535 wxString pm;
2536 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2537 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2538 PyObject* tup = PyTuple_New(2);
2539 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2540 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2541 wxPyEndBlockThreads(blocked);
2542 return tup;
2543 }
093d3ff1
RD
2544
2545#if UINT_MAX < LONG_MAX
9d7dfdff 2546/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
093d3ff1
RD
2547#define SWIG_From_unsigned_SS_int SWIG_From_long
2548/*@@*/
d55e5bfc 2549#else
9d7dfdff 2550/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
093d3ff1
RD
2551#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2552/*@@*/
d55e5bfc 2553#endif
d55e5bfc 2554
093d3ff1
RD
2555static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2556static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2557static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2558static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2559static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2560static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2561 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2562 return (*self < *other);
2563 }
2564static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2565 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2566 return (*self <= *other);
2567 }
2568static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2569 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2570 return (*self > *other);
2571 }
2572static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2573 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2574 return (*self >= *other);
2575 }
2576static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2577 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2578 return (*self == *other);
2579 }
2580static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2581 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2582 return (*self != *other);
2583 }
2584static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2585 const wxChar* rv;
2586 const wxChar* _date = date;
2587 rv = self->ParseRfc822Date(_date);
2588 if (rv == NULL) return -1;
2589 return rv - _date;
2590 }
fef4c27a 2591static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2592 const wxChar* rv;
2593 const wxChar* _date = date;
2594 rv = self->ParseFormat(_date, format, dateDef);
2595 if (rv == NULL) return -1;
2596 return rv - _date;
2597 }
2598static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2599 const wxChar* rv;
2600 const wxChar* _datetime = datetime;
2601 rv = self->ParseDateTime(_datetime);
2602 if (rv == NULL) return -1;
2603 return rv - _datetime;
2604 }
2605static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2606 const wxChar* rv;
2607 const wxChar* _date = date;
2608 rv = self->ParseDate(_date);
2609 if (rv == NULL) return -1;
2610 return rv - _date;
2611 }
2612static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2613 const wxChar* rv;
2614 const wxChar* _time = time;
2615 rv = self->ParseTime(_time);
2616 if (rv == NULL) return -1;
2617 return rv - _time;
2618 }
2619static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2620static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2621static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2622static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2623static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2624static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2625static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2626static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2627static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2628static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2629static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2630static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2631static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2632static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2633static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2634static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2635
093d3ff1 2636#include <wx/dataobj.h>
d55e5bfc 2637
093d3ff1
RD
2638static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2639 size_t count = self->GetFormatCount(dir);
2640 wxDataFormat* formats = new wxDataFormat[count];
2641 self->GetAllFormats(formats, dir);
d55e5bfc 2642
5a446332 2643 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2644 PyObject* list = PyList_New(count);
2645 for (size_t i=0; i<count; i++) {
2646 wxDataFormat* format = new wxDataFormat(formats[i]);
2647 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
9d7dfdff 2648 PyList_SET_ITEM(list, i, obj); // PyList_SET_ITEM steals a reference
093d3ff1
RD
2649 }
2650 wxPyEndBlockThreads(blocked);
2651 delete [] formats;
2652 return list;
2653 }
2654static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2655 PyObject* rval = NULL;
2656 size_t size = self->GetDataSize(format);
5a446332 2657 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2658 if (size) {
2659 char* buf = new char[size];
2660 if (self->GetDataHere(format, buf))
2661 rval = PyString_FromStringAndSize(buf, size);
2662 delete [] buf;
2663 }
2664 if (! rval) {
2665 rval = Py_None;
2666 Py_INCREF(rval);
2667 }
2668 wxPyEndBlockThreads(blocked);
2669 return rval;
2670 }
2671static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2672 bool rval;
5a446332 2673 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2674 if (PyString_Check(data)) {
2675 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2676 }
2677 else {
2678 // raise a TypeError if not a string
2679 PyErr_SetString(PyExc_TypeError, "String expected.");
2680 rval = false;
2681 }
2682 wxPyEndBlockThreads(blocked);
2683 return rval;
2684 }
2685static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2686 PyObject* rval = NULL;
2687 size_t size = self->GetDataSize();
5a446332 2688 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2689 if (size) {
2690 char* buf = new char[size];
2691 if (self->GetDataHere(buf))
2692 rval = PyString_FromStringAndSize(buf, size);
2693 delete [] buf;
2694 }
2695 if (! rval) {
2696 rval = Py_None;
2697 Py_INCREF(rval);
2698 }
2699 wxPyEndBlockThreads(blocked);
2700 return rval;
2701 }
2702static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2703 bool rval;
5a446332 2704 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2705 if (PyString_Check(data)) {
2706 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2707 }
2708 else {
2709 // raise a TypeError if not a string
2710 PyErr_SetString(PyExc_TypeError, "String expected.");
2711 rval = false;
2712 }
2713 wxPyEndBlockThreads(blocked);
2714 return rval;
2715 }
2716 // Create a new class for wxPython to use
2717class wxPyDataObjectSimple : public wxDataObjectSimple {
2718public:
2719 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2720 : wxDataObjectSimple(format) {}
d55e5bfc 2721
093d3ff1
RD
2722 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2723 bool GetDataHere(void *buf) const;
2724 bool SetData(size_t len, const void *buf) const;
2725 PYPRIVATE;
2726};
d55e5bfc 2727
093d3ff1 2728IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2729
093d3ff1
RD
2730bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2731 // We need to get the data for this object and write it to buf. I think
2732 // the best way to do this for wxPython is to have the Python method
2733 // return either a string or None and then act appropriately with the
2734 // C++ version.
d55e5bfc 2735
093d3ff1 2736 bool rval = false;
5a446332 2737 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2738 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2739 PyObject* ro;
2740 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2741 if (ro) {
2742 rval = (ro != Py_None && PyString_Check(ro));
2743 if (rval)
2744 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2745 Py_DECREF(ro);
2746 }
d55e5bfc 2747 }
093d3ff1
RD
2748 wxPyEndBlockThreads(blocked);
2749 return rval;
d55e5bfc
RD
2750}
2751
093d3ff1
RD
2752bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2753 // For this one we simply need to make a string from buf and len
2754 // and send it to the Python method.
2755 bool rval = false;
5a446332 2756 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2757 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2758 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2759 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2760 Py_DECREF(data);
d55e5bfc 2761 }
093d3ff1
RD
2762 wxPyEndBlockThreads(blocked);
2763 return rval;
d55e5bfc
RD
2764}
2765
093d3ff1
RD
2766 // Create a new class for wxPython to use
2767class wxPyTextDataObject : public wxTextDataObject {
2768public:
2769 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2770 : wxTextDataObject(text) {}
2771
2772 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2773 DEC_PYCALLBACK_STRING__const(GetText);
2774 DEC_PYCALLBACK__STRING(SetText);
2775 PYPRIVATE;
2776};
d55e5bfc 2777
093d3ff1
RD
2778IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2779IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2780IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2781
2782
2783 // Create a new class for wxPython to use
2784class wxPyBitmapDataObject : public wxBitmapDataObject {
2785public:
2786 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2787 : wxBitmapDataObject(bitmap) {}
2788
2789 wxBitmap GetBitmap() const;
2790 void SetBitmap(const wxBitmap& bitmap);
2791 PYPRIVATE;
2792};
2793
2794wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2795 wxBitmap* rval = &wxNullBitmap;
5a446332 2796 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2797 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2798 PyObject* ro;
2799 wxBitmap* ptr;
2800 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2801 if (ro) {
2802 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2803 rval = ptr;
2804 Py_DECREF(ro);
2805 }
2806 }
2807 wxPyEndBlockThreads(blocked);
2808 return *rval;
2809}
2810
2811void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2812 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2813 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2814 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2815 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2816 Py_DECREF(bo);
2817 }
2818 wxPyEndBlockThreads(blocked);
2819}
2820
fef4c27a
RD
2821static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2822 return new wxCustomDataObject(wxDataFormat(formatName));
2823 }
093d3ff1
RD
2824static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2825 bool rval;
5a446332 2826 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2827 if (PyString_Check(data)) {
2828 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2829 }
2830 else {
2831 // raise a TypeError if not a string
2832 PyErr_SetString(PyExc_TypeError, "String expected.");
2833 rval = false;
2834 }
2835 wxPyEndBlockThreads(blocked);
2836 return rval;
2837 }
2838static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2839 PyObject* obj;
5a446332 2840 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2841 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
2842 wxPyEndBlockThreads(blocked);
2843 return obj;
2844 }
2845
2846#include <wx/metafile.h>
2847
2848
2849IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
2850
2851
2852IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
2853IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
2854IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
2855IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
2856IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
2857
2858
2859class wxPyTextDropTarget : public wxTextDropTarget {
2860public:
2861 wxPyTextDropTarget() {}
2862
2863 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
2864
2865 DEC_PYCALLBACK__(OnLeave);
2866 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2867 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2868 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2869 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2870
2871 PYPRIVATE;
2872};
2873
2874IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
2875IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
2876IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
2877IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
2878IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
2879IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
2880
2881
2882
2883class wxPyFileDropTarget : public wxFileDropTarget {
2884public:
2885 wxPyFileDropTarget() {}
2886
2887 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
2888
2889 DEC_PYCALLBACK__(OnLeave);
2890 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2891 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2892 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2893 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2894
2895 PYPRIVATE;
2896};
2897
2898bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
2899 const wxArrayString& filenames) {
2900 bool rval = false;
5a446332 2901 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2902 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
2903 PyObject* list = wxArrayString2PyList_helper(filenames);
2904 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
2905 Py_DECREF(list);
2906 }
2907 wxPyEndBlockThreads(blocked);
2908 return rval;
2909}
2910
2911
2912
2913IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
2914IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
2915IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
2916IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
2917IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
2918
2919
2920
2921
2922static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
2923
2924#include <wx/display.h>
2925
2926static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
2927static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
2928
2929// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2930#if !wxUSE_DISPLAY
2931#include <wx/dynarray.h>
2932#include <wx/vidmode.h>
2933
2934WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
2935#include "wx/arrimpl.cpp"
2936WX_DEFINE_OBJARRAY(wxArrayVideoModes);
2937const wxVideoMode wxDefaultVideoMode;
2938
2939class wxDisplay
2940{
2941public:
2942 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
2943 ~wxDisplay() {}
2944
2945 static size_t GetCount()
2946 { wxPyRaiseNotImplemented(); return 0; }
2947
2948 static int GetFromPoint(const wxPoint& pt)
2949 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2950 static int GetFromWindow(wxWindow *window)
2951 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2952
2953 virtual bool IsOk() const { return false; }
2954 virtual wxRect GetGeometry() const { wxRect r; return r; }
2955 virtual wxString GetName() const { return wxEmptyString; }
2956 bool IsPrimary() const { return false; }
2957
2958 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
2959 { wxArrayVideoModes a; return a; }
2960
2961 virtual wxVideoMode GetCurrentMode() const
2962 { return wxDefaultVideoMode; }
2963
2964 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
2965 { return false; }
2966
2967 void ResetMode() {}
2968};
2969#endif
2970
2971static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
2972 PyObject* pyList = NULL;
2973 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 2974 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2975 pyList = PyList_New(0);
2976 for (int i=0; i < arr.GetCount(); i++) {
2977 wxVideoMode* m = new wxVideoMode(arr.Item(i));
2978 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
2979 PyList_Append(pyList, pyObj);
2980 Py_DECREF(pyObj);
2981 }
2982 wxPyEndBlockThreads(blocked);
2983 return pyList;
2984 }
2985
2986#include <wx/stdpaths.h>
2987
2988static wxStandardPaths *StandardPaths_Get(){
2989 return (wxStandardPaths*) &wxStandardPaths::Get();
2990 }
2991static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
2992static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
2993#ifdef __cplusplus
2994extern "C" {
2995#endif
2996static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 2997 PyObject *resultobj;
093d3ff1
RD
2998 wxSystemColour arg1 ;
2999 wxColour result;
d55e5bfc
RD
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
093d3ff1 3002 (char *) "index", NULL
d55e5bfc
RD
3003 };
3004
093d3ff1
RD
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
3006 {
3007 arg1 = (wxSystemColour)(SWIG_As_int(obj0));
3008 if (SWIG_arg_fail(1)) SWIG_fail;
3009 }
d55e5bfc 3010 {
093d3ff1 3011 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3013 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
d55e5bfc
RD
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
093d3ff1
RD
3018 {
3019 wxColour * resultptr;
3020 resultptr = new wxColour((wxColour &)(result));
3021 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3022 }
d55e5bfc
RD
3023 return resultobj;
3024 fail:
3025 return NULL;
3026}
3027
3028
093d3ff1 3029static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3030 PyObject *resultobj;
093d3ff1
RD
3031 wxSystemFont arg1 ;
3032 wxFont result;
3033 PyObject * obj0 = 0 ;
d55e5bfc 3034 char *kwnames[] = {
093d3ff1 3035 (char *) "index", NULL
d55e5bfc
RD
3036 };
3037
093d3ff1 3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3039 {
093d3ff1
RD
3040 arg1 = (wxSystemFont)(SWIG_As_int(obj0));
3041 if (SWIG_arg_fail(1)) SWIG_fail;
3042 }
3043 {
3044 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3046 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
d55e5bfc
RD
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
093d3ff1
RD
3051 {
3052 wxFont * resultptr;
3053 resultptr = new wxFont((wxFont &)(result));
3054 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3055 }
3056 return resultobj;
3057 fail:
3058 return NULL;
d55e5bfc
RD
3059}
3060
3061
093d3ff1 3062static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3063 PyObject *resultobj;
093d3ff1 3064 wxSystemMetric arg1 ;
6932ae68 3065 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3066 int result;
d1f3a348 3067 PyObject * obj0 = 0 ;
6932ae68 3068 PyObject * obj1 = 0 ;
d1f3a348 3069 char *kwnames[] = {
6932ae68 3070 (char *) "index",(char *) "win", NULL
d1f3a348
RD
3071 };
3072
6932ae68 3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
d1f3a348 3074 {
093d3ff1
RD
3075 arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
3076 if (SWIG_arg_fail(1)) SWIG_fail;
3077 }
6932ae68
RD
3078 if (obj1) {
3079 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3080 if (SWIG_arg_fail(2)) SWIG_fail;
3081 }
093d3ff1
RD
3082 {
3083 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932ae68 3085 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
d1f3a348
RD
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) SWIG_fail;
3089 }
3090 {
093d3ff1 3091 resultobj = SWIG_From_int((int)(result));
d1f3a348
RD
3092 }
3093 return resultobj;
3094 fail:
3095 return NULL;
3096}
3097
3098
093d3ff1 3099static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3100 PyObject *resultobj;
093d3ff1 3101 wxSystemFeature arg1 ;
d1f3a348 3102 bool result;
d1f3a348 3103 PyObject * obj0 = 0 ;
d1f3a348 3104 char *kwnames[] = {
093d3ff1 3105 (char *) "index", NULL
d1f3a348
RD
3106 };
3107
093d3ff1 3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
d1f3a348 3109 {
093d3ff1
RD
3110 arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
3111 if (SWIG_arg_fail(1)) SWIG_fail;
d1f3a348
RD
3112 }
3113 {
093d3ff1 3114 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3116 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
d1f3a348
RD
3117
3118 wxPyEndAllowThreads(__tstate);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 {
3122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3123 }
d1f3a348
RD
3124 return resultobj;
3125 fail:
d1f3a348
RD
3126 return NULL;
3127}
3128
3129
093d3ff1 3130static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3131 PyObject *resultobj;
093d3ff1 3132 wxSystemScreenType result;
d1f3a348 3133 char *kwnames[] = {
093d3ff1 3134 NULL
d1f3a348
RD
3135 };
3136
093d3ff1 3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
d1f3a348 3138 {
093d3ff1 3139 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3141 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
d1f3a348
RD
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
093d3ff1 3146 resultobj = SWIG_From_int((result));
d1f3a348
RD
3147 return resultobj;
3148 fail:
3149 return NULL;
3150}
3151
3152
093d3ff1 3153static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3154 PyObject *resultobj;
093d3ff1
RD
3155 wxSystemScreenType arg1 ;
3156 PyObject * obj0 = 0 ;
d55e5bfc 3157 char *kwnames[] = {
093d3ff1 3158 (char *) "screen", NULL
d55e5bfc
RD
3159 };
3160
093d3ff1
RD
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3162 {
3163 arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
3164 if (SWIG_arg_fail(1)) SWIG_fail;
3165 }
d55e5bfc 3166 {
0439c23b 3167 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3168 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3169 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
d55e5bfc
RD
3170
3171 wxPyEndAllowThreads(__tstate);
110da5b0 3172 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3173 }
3174 Py_INCREF(Py_None); resultobj = Py_None;
3175 return resultobj;
3176 fail:
3177 return NULL;
3178}
3179
3180
093d3ff1
RD
3181static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3182 PyObject *obj;
3183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3184 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3185 Py_INCREF(obj);
3186 return Py_BuildValue((char *)"");
3187}
3188static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3189 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3190 return 1;
3191}
3192
3193
3194static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3195 PyObject *pyobj;
d55e5bfc 3196
d55e5bfc 3197 {
093d3ff1
RD
3198#if wxUSE_UNICODE
3199 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3200#else
3201 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3202#endif
d55e5bfc 3203 }
093d3ff1 3204 return pyobj;
d55e5bfc
RD
3205}
3206
3207
093d3ff1 3208static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3209 PyObject *resultobj;
093d3ff1 3210 wxSystemOptions *result;
d55e5bfc 3211 char *kwnames[] = {
093d3ff1 3212 NULL
d55e5bfc
RD
3213 };
3214
093d3ff1 3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3216 {
3217 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3218 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3219
3220 wxPyEndAllowThreads(__tstate);
3221 if (PyErr_Occurred()) SWIG_fail;
3222 }
093d3ff1 3223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3224 return resultobj;
3225 fail:
3226 return NULL;
3227}
3228
3229
093d3ff1 3230static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3231 PyObject *resultobj;
093d3ff1
RD
3232 wxString *arg1 = 0 ;
3233 wxString *arg2 = 0 ;
3234 bool temp1 = false ;
3235 bool temp2 = false ;
3236 PyObject * obj0 = 0 ;
3237 PyObject * obj1 = 0 ;
d55e5bfc 3238 char *kwnames[] = {
093d3ff1 3239 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3240 };
3241
093d3ff1
RD
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3243 {
3244 arg1 = wxString_in_helper(obj0);
3245 if (arg1 == NULL) SWIG_fail;
3246 temp1 = true;
3247 }
3248 {
3249 arg2 = wxString_in_helper(obj1);
3250 if (arg2 == NULL) SWIG_fail;
3251 temp2 = true;
3252 }
d55e5bfc
RD
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3255 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3256
3257 wxPyEndAllowThreads(__tstate);
110da5b0 3258 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3259 }
3260 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3261 {
3262 if (temp1)
3263 delete arg1;
3264 }
3265 {
3266 if (temp2)
3267 delete arg2;
3268 }
d55e5bfc
RD
3269 return resultobj;
3270 fail:
093d3ff1
RD
3271 {
3272 if (temp1)
3273 delete arg1;
3274 }
3275 {
3276 if (temp2)
3277 delete arg2;
3278 }
d55e5bfc
RD
3279 return NULL;
3280}
3281
3282
093d3ff1 3283static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3284 PyObject *resultobj;
093d3ff1
RD
3285 wxString *arg1 = 0 ;
3286 int arg2 ;
3287 bool temp1 = false ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
d55e5bfc 3290 char *kwnames[] = {
093d3ff1 3291 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3292 };
3293
093d3ff1
RD
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3295 {
3296 arg1 = wxString_in_helper(obj0);
3297 if (arg1 == NULL) SWIG_fail;
3298 temp1 = true;
3299 }
3300 {
3301 arg2 = (int)(SWIG_As_int(obj1));
3302 if (SWIG_arg_fail(2)) SWIG_fail;
3303 }
d55e5bfc
RD
3304 {
3305 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3306 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3307
3308 wxPyEndAllowThreads(__tstate);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
093d3ff1 3311 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3312 {
093d3ff1
RD
3313 if (temp1)
3314 delete arg1;
d55e5bfc
RD
3315 }
3316 return resultobj;
3317 fail:
093d3ff1
RD
3318 {
3319 if (temp1)
3320 delete arg1;
3321 }
d55e5bfc
RD
3322 return NULL;
3323}
3324
3325
093d3ff1 3326static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3327 PyObject *resultobj;
093d3ff1 3328 wxString *arg1 = 0 ;
d55e5bfc 3329 wxString result;
093d3ff1
RD
3330 bool temp1 = false ;
3331 PyObject * obj0 = 0 ;
d55e5bfc 3332 char *kwnames[] = {
093d3ff1 3333 (char *) "name", NULL
d55e5bfc
RD
3334 };
3335
093d3ff1
RD
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3337 {
3338 arg1 = wxString_in_helper(obj0);
3339 if (arg1 == NULL) SWIG_fail;
3340 temp1 = true;
3341 }
d55e5bfc
RD
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3344 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 {
3350#if wxUSE_UNICODE
3351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3352#else
3353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3354#endif
3355 }
093d3ff1
RD
3356 {
3357 if (temp1)
3358 delete arg1;
3359 }
d55e5bfc
RD
3360 return resultobj;
3361 fail:
093d3ff1
RD
3362 {
3363 if (temp1)
3364 delete arg1;
3365 }
d55e5bfc
RD
3366 return NULL;
3367}
3368
3369
093d3ff1 3370static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3371 PyObject *resultobj;
093d3ff1
RD
3372 wxString *arg1 = 0 ;
3373 int result;
ae8162c8 3374 bool temp1 = false ;
d55e5bfc
RD
3375 PyObject * obj0 = 0 ;
3376 char *kwnames[] = {
093d3ff1 3377 (char *) "name", NULL
d55e5bfc
RD
3378 };
3379
093d3ff1
RD
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3381 {
3382 arg1 = wxString_in_helper(obj0);
3383 if (arg1 == NULL) SWIG_fail;
3384 temp1 = true;
d55e5bfc
RD
3385 }
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3388 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
093d3ff1 3394 resultobj = SWIG_From_int((int)(result));
d55e5bfc
RD
3395 }
3396 {
3397 if (temp1)
3398 delete arg1;
3399 }
3400 return resultobj;
3401 fail:
3402 {
3403 if (temp1)
3404 delete arg1;
3405 }
3406 return NULL;
3407}
3408
3409
093d3ff1 3410static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3411 PyObject *resultobj;
093d3ff1
RD
3412 wxString *arg1 = 0 ;
3413 bool result;
3414 bool temp1 = false ;
3415 PyObject * obj0 = 0 ;
d55e5bfc 3416 char *kwnames[] = {
093d3ff1 3417 (char *) "name", NULL
d55e5bfc
RD
3418 };
3419
093d3ff1
RD
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3421 {
3422 arg1 = wxString_in_helper(obj0);
3423 if (arg1 == NULL) SWIG_fail;
3424 temp1 = true;
3425 }
d55e5bfc
RD
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3428 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
093d3ff1
RD
3433 {
3434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3435 }
3436 {
3437 if (temp1)
3438 delete arg1;
3439 }
d55e5bfc
RD
3440 return resultobj;
3441 fail:
093d3ff1
RD
3442 {
3443 if (temp1)
3444 delete arg1;
3445 }
d55e5bfc
RD
3446 return NULL;
3447}
3448
3449
396fb509
RD
3450static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxString *arg1 = 0 ;
3453 bool result;
3454 bool temp1 = false ;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "name", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3461 {
3462 arg1 = wxString_in_helper(obj0);
3463 if (arg1 == NULL) SWIG_fail;
3464 temp1 = true;
3465 }
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 {
3474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3475 }
3476 {
3477 if (temp1)
3478 delete arg1;
3479 }
3480 return resultobj;
3481 fail:
3482 {
3483 if (temp1)
3484 delete arg1;
3485 }
3486 return NULL;
3487}
3488
3489
093d3ff1
RD
3490static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3491 PyObject *obj;
3492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3493 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3494 Py_INCREF(obj);
3495 return Py_BuildValue((char *)"");
3496}
3497static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3498 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3499 return 1;
3500}
3501
3502
3503static PyObject *_wrap_FileSelectorPromptStr_get(void) {
3504 PyObject *pyobj;
3505
3506 {
3507#if wxUSE_UNICODE
3508 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3509#else
3510 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3511#endif
3512 }
3513 return pyobj;
3514}
3515
3516
3517static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3518 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3519 return 1;
3520}
3521
3522
3523static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
3524 PyObject *pyobj;
3525
3526 {
3527#if wxUSE_UNICODE
3528 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3529#else
3530 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3531#endif
3532 }
3533 return pyobj;
3534}
3535
3536
3537static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3538 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3539 return 1;
3540}
3541
3542
3543static PyObject *_wrap_DirSelectorPromptStr_get(void) {
3544 PyObject *pyobj;
3545
3546 {
3547#if wxUSE_UNICODE
3548 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3549#else
3550 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3551#endif
3552 }
3553 return pyobj;
3554}
3555
3556
3557static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3558 PyObject *resultobj;
093d3ff1 3559 long result;
d55e5bfc
RD
3560 char *kwnames[] = {
3561 NULL
3562 };
3563
093d3ff1 3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3567 result = (long)wxNewId();
d55e5bfc
RD
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
093d3ff1
RD
3572 {
3573 resultobj = SWIG_From_long((long)(result));
3574 }
d55e5bfc
RD
3575 return resultobj;
3576 fail:
3577 return NULL;
3578}
3579
3580
093d3ff1 3581static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3582 PyObject *resultobj;
093d3ff1
RD
3583 long arg1 ;
3584 PyObject * obj0 = 0 ;
d55e5bfc 3585 char *kwnames[] = {
093d3ff1 3586 (char *) "id", NULL
d55e5bfc
RD
3587 };
3588
093d3ff1
RD
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3590 {
3591 arg1 = (long)(SWIG_As_long(obj0));
3592 if (SWIG_arg_fail(1)) SWIG_fail;
3593 }
d55e5bfc
RD
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3596 wxRegisterId(arg1);
d55e5bfc
RD
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
093d3ff1 3601 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3602 return resultobj;
3603 fail:
3604 return NULL;
3605}
3606
3607
093d3ff1 3608static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3609 PyObject *resultobj;
3610 long result;
3611 char *kwnames[] = {
3612 NULL
3613 };
3614
093d3ff1 3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3618 result = (long)wxGetCurrentId();
d55e5bfc
RD
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
093d3ff1
RD
3623 {
3624 resultobj = SWIG_From_long((long)(result));
3625 }
d55e5bfc
RD
3626 return resultobj;
3627 fail:
3628 return NULL;
3629}
3630
3631
093d3ff1 3632static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3633 PyObject *resultobj;
3634 int arg1 ;
3635 bool result;
3636 PyObject * obj0 = 0 ;
3637 char *kwnames[] = {
093d3ff1 3638 (char *) "id", NULL
d55e5bfc
RD
3639 };
3640
093d3ff1
RD
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3642 {
3643 arg1 = (int)(SWIG_As_int(obj0));
3644 if (SWIG_arg_fail(1)) SWIG_fail;
3645 }
d55e5bfc
RD
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3648 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3649
3650 wxPyEndAllowThreads(__tstate);
110da5b0 3651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3652 }
3653 {
3654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659}
3660
3661
093d3ff1 3662static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3663 PyObject *resultobj;
3664 int arg1 ;
093d3ff1
RD
3665 wxString *arg2 = 0 ;
3666 bool result;
3667 bool temp2 = false ;
d55e5bfc 3668 PyObject * obj0 = 0 ;
093d3ff1 3669 PyObject * obj1 = 0 ;
d55e5bfc 3670 char *kwnames[] = {
093d3ff1 3671 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3672 };
3673
093d3ff1
RD
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3675 {
3676 arg1 = (int)(SWIG_As_int(obj0));
3677 if (SWIG_arg_fail(1)) SWIG_fail;
3678 }
3679 {
3680 arg2 = wxString_in_helper(obj1);
3681 if (arg2 == NULL) SWIG_fail;
3682 temp2 = true;
3683 }
d55e5bfc
RD
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3686 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
093d3ff1
RD
3691 {
3692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3693 }
3694 {
3695 if (temp2)
3696 delete arg2;
3697 }
d55e5bfc
RD
3698 return resultobj;
3699 fail:
093d3ff1
RD
3700 {
3701 if (temp2)
3702 delete arg2;
3703 }
d55e5bfc
RD
3704 return NULL;
3705}
3706
3707
093d3ff1 3708static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3709 PyObject *resultobj;
093d3ff1 3710 int arg1 ;
fef4c27a
RD
3711 bool arg2 = (bool) true ;
3712 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3713 wxString result;
d55e5bfc 3714 PyObject * obj0 = 0 ;
fef4c27a
RD
3715 PyObject * obj1 = 0 ;
3716 PyObject * obj2 = 0 ;
d55e5bfc 3717 char *kwnames[] = {
fef4c27a 3718 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3719 };
3720
fef4c27a 3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3722 {
3723 arg1 = (int)(SWIG_As_int(obj0));
3724 if (SWIG_arg_fail(1)) SWIG_fail;
3725 }
fef4c27a
RD
3726 if (obj1) {
3727 {
3728 arg2 = (bool)(SWIG_As_bool(obj1));
3729 if (SWIG_arg_fail(2)) SWIG_fail;
3730 }
3731 }
3732 if (obj2) {
3733 {
3734 wxString* sptr = wxString_in_helper(obj2);
3735 if (sptr == NULL) SWIG_fail;
3736 arg3 = *sptr;
3737 delete sptr;
3738 }
3739 }
d55e5bfc
RD
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3742 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
093d3ff1
RD
3747 {
3748#if wxUSE_UNICODE
3749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3750#else
3751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3752#endif
3753 }
bf26d883
RD
3754 return resultobj;
3755 fail:
3756 return NULL;
3757}
3758
3759
093d3ff1 3760static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883 3761 PyObject *resultobj;
bf26d883 3762 char *kwnames[] = {
093d3ff1 3763 NULL
bf26d883
RD
3764 };
3765
093d3ff1 3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3767 {
093d3ff1 3768 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3770 wxBell();
d55e5bfc
RD
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 Py_INCREF(Py_None); resultobj = Py_None;
3776 return resultobj;
3777 fail:
3778 return NULL;
3779}
3780
3781
093d3ff1 3782static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3783 PyObject *resultobj;
d55e5bfc 3784 char *kwnames[] = {
093d3ff1 3785 NULL
d55e5bfc
RD
3786 };
3787
093d3ff1 3788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3789 {
093d3ff1 3790 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3792 wxEndBusyCursor();
d55e5bfc
RD
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
093d3ff1 3804static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3805 PyObject *resultobj;
093d3ff1
RD
3806 bool arg1 = (bool) true ;
3807 long result;
d55e5bfc
RD
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
093d3ff1 3810 (char *) "resetTimer", NULL
d55e5bfc
RD
3811 };
3812
093d3ff1
RD
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3814 if (obj0) {
3815 {
3816 arg1 = (bool)(SWIG_As_bool(obj0));
3817 if (SWIG_arg_fail(1)) SWIG_fail;
3818 }
d55e5bfc
RD
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3822 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 {
093d3ff1 3828 resultobj = SWIG_From_long((long)(result));
d55e5bfc
RD
3829 }
3830 return resultobj;
3831 fail:
093d3ff1
RD
3832 return NULL;
3833}
3834
3835
3836static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 int *arg1 = (int *) 0 ;
3839 int *arg2 = (int *) 0 ;
3840 int temp1 ;
3841 int res1 = 0 ;
3842 int temp2 ;
3843 int res2 = 0 ;
3844 char *kwnames[] = {
3845 NULL
3846 };
3847
3848 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3849 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
d55e5bfc 3851 {
093d3ff1
RD
3852 if (!wxPyCheckForApp()) SWIG_fail;
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 wxGetMousePosition(arg1,arg2);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3858 }
093d3ff1
RD
3859 Py_INCREF(Py_None); resultobj = Py_None;
3860 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3861 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3862 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3863 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3864 return resultobj;
3865 fail:
d55e5bfc
RD
3866 return NULL;
3867}
3868
3869
093d3ff1 3870static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3871 PyObject *resultobj;
093d3ff1 3872 bool result;
d55e5bfc
RD
3873 char *kwnames[] = {
3874 NULL
3875 };
3876
093d3ff1 3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d55e5bfc
RD
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3880 result = (bool)wxIsBusy();
d55e5bfc
RD
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 {
093d3ff1 3886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
3887 }
3888 return resultobj;
3889 fail:
3890 return NULL;
3891}
3892
3893
093d3ff1 3894static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3895 PyObject *resultobj;
3896 wxString result;
3897 char *kwnames[] = {
3898 NULL
3899 };
3900
093d3ff1 3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3904 result = wxNow();
d55e5bfc
RD
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 {
3910#if wxUSE_UNICODE
3911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3912#else
3913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3914#endif
3915 }
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
093d3ff1 3922static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3923 PyObject *resultobj;
093d3ff1
RD
3924 wxString const &arg1_defvalue = wxPyEmptyString ;
3925 wxString *arg1 = (wxString *) &arg1_defvalue ;
3926 bool result;
3927 bool temp1 = false ;
3928 PyObject * obj0 = 0 ;
d55e5bfc 3929 char *kwnames[] = {
093d3ff1 3930 (char *) "command", NULL
d55e5bfc
RD
3931 };
3932
093d3ff1
RD
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
3934 if (obj0) {
3935 {
3936 arg1 = wxString_in_helper(obj0);
3937 if (arg1 == NULL) SWIG_fail;
3938 temp1 = true;
3939 }
3940 }
d55e5bfc
RD
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3943 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
3944
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
093d3ff1
RD
3949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3950 }
3951 {
3952 if (temp1)
3953 delete arg1;
d55e5bfc
RD
3954 }
3955 return resultobj;
3956 fail:
093d3ff1
RD
3957 {
3958 if (temp1)
3959 delete arg1;
3960 }
d55e5bfc
RD
3961 return NULL;
3962}
3963
3964
093d3ff1 3965static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3966 PyObject *resultobj;
d55e5bfc
RD
3967 char *kwnames[] = {
3968 NULL
3969 };
3970
093d3ff1 3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3974 wxStartTimer();
d55e5bfc
RD
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
093d3ff1
RD
3979 Py_INCREF(Py_None); resultobj = Py_None;
3980 return resultobj;
3981 fail:
3982 return NULL;
3983}
3984
3985
3986static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 int *arg1 = (int *) 0 ;
3989 int *arg2 = (int *) 0 ;
3990 int result;
3991 int temp1 ;
3992 int res1 = 0 ;
3993 int temp2 ;
3994 int res2 = 0 ;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4000 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
d55e5bfc 4002 {
093d3ff1
RD
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 result = (int)wxGetOsVersion(arg1,arg2);
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4008 }
093d3ff1
RD
4009 {
4010 resultobj = SWIG_From_int((int)(result));
4011 }
4012 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4013 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4014 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4015 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
093d3ff1 4022static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4023 PyObject *resultobj;
4024 wxString result;
4025 char *kwnames[] = {
4026 NULL
4027 };
4028
093d3ff1 4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4032 result = wxGetOsDescription();
d55e5bfc
RD
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 {
4038#if wxUSE_UNICODE
4039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4040#else
4041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4042#endif
4043 }
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
093d3ff1 4050static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4051 PyObject *resultobj;
2f91e3df 4052 wxMemorySize result;
d55e5bfc
RD
4053 char *kwnames[] = {
4054 NULL
4055 };
4056
093d3ff1 4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 4060 result = wxGetFreeMemory();
d55e5bfc
RD
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 {
2f91e3df
KO
4066 wxMemorySize * resultptr;
4067 resultptr = new wxMemorySize((wxMemorySize &)(result));
4068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1);
d55e5bfc
RD
4069 }
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
093d3ff1 4076static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4077 PyObject *resultobj;
093d3ff1
RD
4078 wxShutdownFlags arg1 ;
4079 bool result;
d55e5bfc
RD
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
093d3ff1 4082 (char *) "wFlags", NULL
d55e5bfc
RD
4083 };
4084
093d3ff1
RD
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4086 {
4087 arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
4088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4089 }
4090 {
093d3ff1 4091 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4093 result = (bool)wxShutdown((wxShutdownFlags )arg1);
d55e5bfc
RD
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 {
093d3ff1 4099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4100 }
4101 return resultobj;
4102 fail:
d55e5bfc
RD
4103 return NULL;
4104}
4105
4106
093d3ff1 4107static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4108 PyObject *resultobj;
093d3ff1
RD
4109 int arg1 ;
4110 PyObject * obj0 = 0 ;
d55e5bfc 4111 char *kwnames[] = {
093d3ff1 4112 (char *) "secs", NULL
d55e5bfc
RD
4113 };
4114
093d3ff1
RD
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4116 {
4117 arg1 = (int)(SWIG_As_int(obj0));
4118 if (SWIG_arg_fail(1)) SWIG_fail;
4119 }
d55e5bfc
RD
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4122 wxSleep(arg1);
d55e5bfc
RD
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
093d3ff1 4127 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
093d3ff1 4134static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4135 PyObject *resultobj;
093d3ff1
RD
4136 unsigned long arg1 ;
4137 PyObject * obj0 = 0 ;
d55e5bfc 4138 char *kwnames[] = {
093d3ff1 4139 (char *) "milliseconds", NULL
d55e5bfc
RD
4140 };
4141
093d3ff1
RD
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4143 {
4144 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4145 if (SWIG_arg_fail(1)) SWIG_fail;
4146 }
d55e5bfc
RD
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4149 wxMilliSleep(arg1);
d55e5bfc
RD
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 Py_INCREF(Py_None); resultobj = Py_None;
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
093d3ff1 4161static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4162 PyObject *resultobj;
093d3ff1 4163 unsigned long arg1 ;
d55e5bfc 4164 PyObject * obj0 = 0 ;
d55e5bfc 4165 char *kwnames[] = {
093d3ff1 4166 (char *) "microseconds", NULL
d55e5bfc
RD
4167 };
4168
093d3ff1
RD
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4170 {
4171 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4176 wxMicroSleep(arg1);
d55e5bfc
RD
4177
4178 wxPyEndAllowThreads(__tstate);
110da5b0 4179 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4180 }
093d3ff1 4181 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4182 return resultobj;
4183 fail:
093d3ff1
RD
4184 return NULL;
4185}
4186
4187
4188static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj;
4190 bool arg1 ;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "enable", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4197 {
093d3ff1
RD
4198 arg1 = (bool)(SWIG_As_bool(obj0));
4199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4200 }
4201 {
093d3ff1
RD
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 wxEnableTopLevelWindows(arg1);
4204
4205 wxPyEndAllowThreads(__tstate);
4206 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4207 }
093d3ff1
RD
4208 Py_INCREF(Py_None); resultobj = Py_None;
4209 return resultobj;
4210 fail:
d55e5bfc
RD
4211 return NULL;
4212}
4213
4214
093d3ff1 4215static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4216 PyObject *resultobj;
4217 wxString *arg1 = 0 ;
d55e5bfc 4218 wxString result;
ae8162c8 4219 bool temp1 = false ;
d55e5bfc 4220 PyObject * obj0 = 0 ;
d55e5bfc 4221 char *kwnames[] = {
093d3ff1 4222 (char *) "in", NULL
d55e5bfc
RD
4223 };
4224
093d3ff1 4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4226 {
4227 arg1 = wxString_in_helper(obj0);
4228 if (arg1 == NULL) SWIG_fail;
ae8162c8 4229 temp1 = true;
d55e5bfc
RD
4230 }
4231 {
d55e5bfc 4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4233 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4234
4235 wxPyEndAllowThreads(__tstate);
110da5b0 4236 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4237 }
4238 {
4239#if wxUSE_UNICODE
4240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4241#else
4242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4243#endif
4244 }
4245 {
4246 if (temp1)
4247 delete arg1;
4248 }
d55e5bfc
RD
4249 return resultobj;
4250 fail:
4251 {
4252 if (temp1)
4253 delete arg1;
4254 }
d55e5bfc
RD
4255 return NULL;
4256}
4257
4258
093d3ff1 4259static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4260 PyObject *resultobj;
d55e5bfc 4261 wxString result;
d55e5bfc 4262 char *kwnames[] = {
093d3ff1 4263 NULL
d55e5bfc
RD
4264 };
4265
093d3ff1 4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4269 result = wxGetEmailAddress();
d55e5bfc
RD
4270
4271 wxPyEndAllowThreads(__tstate);
110da5b0 4272 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4273 }
4274 {
4275#if wxUSE_UNICODE
4276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4277#else
4278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4279#endif
4280 }
d55e5bfc
RD
4281 return resultobj;
4282 fail:
093d3ff1
RD
4283 return NULL;
4284}
4285
4286
4287static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 wxString result;
4290 char *kwnames[] = {
4291 NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4295 {
093d3ff1
RD
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 result = wxGetHostName();
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4301 }
4302 {
093d3ff1
RD
4303#if wxUSE_UNICODE
4304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4305#else
4306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4307#endif
d55e5bfc 4308 }
093d3ff1
RD
4309 return resultobj;
4310 fail:
d55e5bfc
RD
4311 return NULL;
4312}
4313
4314
093d3ff1 4315static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4316 PyObject *resultobj;
d55e5bfc 4317 wxString result;
093d3ff1
RD
4318 char *kwnames[] = {
4319 NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = wxGetFullHostName();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 {
4331#if wxUSE_UNICODE
4332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4333#else
4334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4335#endif
4336 }
4337 return resultobj;
4338 fail:
4339 return NULL;
4340}
4341
4342
4343static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxString result;
4346 char *kwnames[] = {
4347 NULL
4348 };
4349
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = wxGetUserId();
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 {
4359#if wxUSE_UNICODE
4360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4361#else
4362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4363#endif
4364 }
4365 return resultobj;
4366 fail:
4367 return NULL;
4368}
4369
4370
4371static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxString result;
4374 char *kwnames[] = {
4375 NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = wxGetUserName();
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 {
4387#if wxUSE_UNICODE
4388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4389#else
4390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4391#endif
4392 }
4393 return resultobj;
4394 fail:
4395 return NULL;
4396}
4397
4398
4399static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxString result;
4402 char *kwnames[] = {
4403 NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = wxGetHomeDir();
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 {
4415#if wxUSE_UNICODE
4416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4417#else
4418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4419#endif
4420 }
4421 return resultobj;
4422 fail:
4423 return NULL;
4424}
4425
4426
4427static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxString const &arg1_defvalue = wxPyEmptyString ;
4430 wxString *arg1 = (wxString *) &arg1_defvalue ;
4431 wxString result;
4432 bool temp1 = false ;
d55e5bfc 4433 PyObject * obj0 = 0 ;
d55e5bfc 4434 char *kwnames[] = {
093d3ff1 4435 (char *) "user", NULL
d55e5bfc
RD
4436 };
4437
093d3ff1 4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4439 if (obj0) {
4440 {
4441 arg1 = wxString_in_helper(obj0);
4442 if (arg1 == NULL) SWIG_fail;
ae8162c8 4443 temp1 = true;
d55e5bfc
RD
4444 }
4445 }
d55e5bfc
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4448 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4449
4450 wxPyEndAllowThreads(__tstate);
110da5b0 4451 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4452 }
4453 {
4454#if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456#else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458#endif
4459 }
4460 {
4461 if (temp1)
4462 delete arg1;
4463 }
d55e5bfc
RD
4464 return resultobj;
4465 fail:
4466 {
4467 if (temp1)
4468 delete arg1;
4469 }
093d3ff1
RD
4470 return NULL;
4471}
4472
4473
4474static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 unsigned long result;
4477 char *kwnames[] = {
4478 NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4482 {
4483 PyThreadState* __tstate = wxPyBeginAllowThreads();
4484 result = (unsigned long)wxGetProcessId();
4485
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
d55e5bfc 4489 {
093d3ff1 4490 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
d55e5bfc 4491 }
093d3ff1
RD
4492 return resultobj;
4493 fail:
d55e5bfc
RD
4494 return NULL;
4495}
4496
4497
093d3ff1 4498static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4499 PyObject *resultobj;
093d3ff1
RD
4500 char *kwnames[] = {
4501 NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 wxTrap();
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4522 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4523 wxString const &arg2_defvalue = wxPyEmptyString ;
4524 wxString *arg2 = (wxString *) &arg2_defvalue ;
4525 wxString const &arg3_defvalue = wxPyEmptyString ;
4526 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
4527 wxString const &arg4_defvalue = wxPyEmptyString ;
4528 wxString *arg4 = (wxString *) &arg4_defvalue ;
4529 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4530 wxString *arg5 = (wxString *) &arg5_defvalue ;
4531 int arg6 = (int) 0 ;
4532 wxWindow *arg7 = (wxWindow *) NULL ;
4533 int arg8 = (int) -1 ;
4534 int arg9 = (int) -1 ;
d55e5bfc 4535 wxString result;
ae8162c8
RD
4536 bool temp1 = false ;
4537 bool temp2 = false ;
4538 bool temp3 = false ;
093d3ff1
RD
4539 bool temp4 = false ;
4540 bool temp5 = false ;
d55e5bfc
RD
4541 PyObject * obj0 = 0 ;
4542 PyObject * obj1 = 0 ;
4543 PyObject * obj2 = 0 ;
4544 PyObject * obj3 = 0 ;
4545 PyObject * obj4 = 0 ;
4546 PyObject * obj5 = 0 ;
4547 PyObject * obj6 = 0 ;
093d3ff1
RD
4548 PyObject * obj7 = 0 ;
4549 PyObject * obj8 = 0 ;
d55e5bfc 4550 char *kwnames[] = {
093d3ff1 4551 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4552 };
4553
093d3ff1
RD
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4555 if (obj0) {
4556 {
4557 arg1 = wxString_in_helper(obj0);
4558 if (arg1 == NULL) SWIG_fail;
4559 temp1 = true;
4560 }
d55e5bfc
RD
4561 }
4562 if (obj1) {
4563 {
4564 arg2 = wxString_in_helper(obj1);
4565 if (arg2 == NULL) SWIG_fail;
ae8162c8 4566 temp2 = true;
d55e5bfc
RD
4567 }
4568 }
4569 if (obj2) {
4570 {
4571 arg3 = wxString_in_helper(obj2);
4572 if (arg3 == NULL) SWIG_fail;
ae8162c8 4573 temp3 = true;
d55e5bfc
RD
4574 }
4575 }
4576 if (obj3) {
093d3ff1
RD
4577 {
4578 arg4 = wxString_in_helper(obj3);
4579 if (arg4 == NULL) SWIG_fail;
4580 temp4 = true;
4581 }
d55e5bfc
RD
4582 }
4583 if (obj4) {
093d3ff1
RD
4584 {
4585 arg5 = wxString_in_helper(obj4);
4586 if (arg5 == NULL) SWIG_fail;
4587 temp5 = true;
4588 }
d55e5bfc
RD
4589 }
4590 if (obj5) {
093d3ff1
RD
4591 {
4592 arg6 = (int)(SWIG_As_int(obj5));
4593 if (SWIG_arg_fail(6)) SWIG_fail;
4594 }
d55e5bfc
RD
4595 }
4596 if (obj6) {
093d3ff1
RD
4597 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(7)) SWIG_fail;
4599 }
4600 if (obj7) {
4601 {
4602 arg8 = (int)(SWIG_As_int(obj7));
4603 if (SWIG_arg_fail(8)) SWIG_fail;
4604 }
4605 }
4606 if (obj8) {
4607 {
4608 arg9 = (int)(SWIG_As_int(obj8));
4609 if (SWIG_arg_fail(9)) SWIG_fail;
4610 }
d55e5bfc
RD
4611 }
4612 {
0439c23b 4613 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4615 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4616
4617 wxPyEndAllowThreads(__tstate);
110da5b0 4618 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4619 }
4620 {
4621#if wxUSE_UNICODE
4622 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4623#else
4624 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4625#endif
4626 }
4627 {
4628 if (temp1)
4629 delete arg1;
4630 }
4631 {
4632 if (temp2)
4633 delete arg2;
4634 }
4635 {
4636 if (temp3)
4637 delete arg3;
4638 }
d55e5bfc 4639 {
093d3ff1
RD
4640 if (temp4)
4641 delete arg4;
4642 }
4643 {
4644 if (temp5)
4645 delete arg5;
4646 }
4647 return resultobj;
4648 fail:
4649 {
4650 if (temp1)
4651 delete arg1;
d55e5bfc
RD
4652 }
4653 {
4654 if (temp2)
4655 delete arg2;
4656 }
4657 {
4658 if (temp3)
4659 delete arg3;
4660 }
093d3ff1
RD
4661 {
4662 if (temp4)
4663 delete arg4;
4664 }
4665 {
4666 if (temp5)
4667 delete arg5;
4668 }
d55e5bfc
RD
4669 return NULL;
4670}
4671
4672
093d3ff1 4673static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4674 PyObject *resultobj;
4675 wxString *arg1 = 0 ;
093d3ff1 4676 wxString *arg2 = 0 ;
d55e5bfc
RD
4677 wxString const &arg3_defvalue = wxPyEmptyString ;
4678 wxString *arg3 = (wxString *) &arg3_defvalue ;
4679 wxWindow *arg4 = (wxWindow *) NULL ;
4680 wxString result;
ae8162c8
RD
4681 bool temp1 = false ;
4682 bool temp2 = false ;
4683 bool temp3 = false ;
d55e5bfc
RD
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj1 = 0 ;
4686 PyObject * obj2 = 0 ;
4687 PyObject * obj3 = 0 ;
4688 char *kwnames[] = {
093d3ff1 4689 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4690 };
4691
093d3ff1 4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4693 {
4694 arg1 = wxString_in_helper(obj0);
4695 if (arg1 == NULL) SWIG_fail;
ae8162c8 4696 temp1 = true;
d55e5bfc 4697 }
093d3ff1
RD
4698 {
4699 arg2 = wxString_in_helper(obj1);
4700 if (arg2 == NULL) SWIG_fail;
4701 temp2 = true;
d55e5bfc
RD
4702 }
4703 if (obj2) {
4704 {
4705 arg3 = wxString_in_helper(obj2);
4706 if (arg3 == NULL) SWIG_fail;
ae8162c8 4707 temp3 = true;
d55e5bfc
RD
4708 }
4709 }
4710 if (obj3) {
093d3ff1
RD
4711 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4712 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4713 }
4714 {
0439c23b 4715 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4717 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4718
4719 wxPyEndAllowThreads(__tstate);
110da5b0 4720 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4721 }
4722 {
4723#if wxUSE_UNICODE
4724 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4725#else
4726 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4727#endif
4728 }
4729 {
4730 if (temp1)
4731 delete arg1;
4732 }
4733 {
4734 if (temp2)
4735 delete arg2;
4736 }
4737 {
4738 if (temp3)
4739 delete arg3;
4740 }
4741 return resultobj;
4742 fail:
4743 {
4744 if (temp1)
4745 delete arg1;
4746 }
4747 {
4748 if (temp2)
4749 delete arg2;
4750 }
4751 {
4752 if (temp3)
4753 delete arg3;
4754 }
4755 return NULL;
4756}
4757
4758
093d3ff1 4759static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4760 PyObject *resultobj;
4761 wxString *arg1 = 0 ;
4762 wxString *arg2 = 0 ;
093d3ff1
RD
4763 wxString const &arg3_defvalue = wxPyEmptyString ;
4764 wxString *arg3 = (wxString *) &arg3_defvalue ;
4765 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4766 wxString result;
ae8162c8
RD
4767 bool temp1 = false ;
4768 bool temp2 = false ;
093d3ff1 4769 bool temp3 = false ;
d55e5bfc
RD
4770 PyObject * obj0 = 0 ;
4771 PyObject * obj1 = 0 ;
4772 PyObject * obj2 = 0 ;
4773 PyObject * obj3 = 0 ;
d55e5bfc 4774 char *kwnames[] = {
093d3ff1 4775 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4776 };
4777
093d3ff1 4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4779 {
4780 arg1 = wxString_in_helper(obj0);
4781 if (arg1 == NULL) SWIG_fail;
ae8162c8 4782 temp1 = true;
d55e5bfc
RD
4783 }
4784 {
4785 arg2 = wxString_in_helper(obj1);
4786 if (arg2 == NULL) SWIG_fail;
ae8162c8 4787 temp2 = true;
d55e5bfc 4788 }
093d3ff1
RD
4789 if (obj2) {
4790 {
4791 arg3 = wxString_in_helper(obj2);
4792 if (arg3 == NULL) SWIG_fail;
4793 temp3 = true;
4794 }
d55e5bfc
RD
4795 }
4796 if (obj3) {
093d3ff1
RD
4797 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4798 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4799 }
4800 {
0439c23b 4801 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4802 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4803 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4804
4805 wxPyEndAllowThreads(__tstate);
110da5b0 4806 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4807 }
4808 {
4809#if wxUSE_UNICODE
4810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4811#else
4812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4813#endif
4814 }
4815 {
4816 if (temp1)
4817 delete arg1;
4818 }
4819 {
4820 if (temp2)
4821 delete arg2;
4822 }
4823 {
093d3ff1
RD
4824 if (temp3)
4825 delete arg3;
d55e5bfc
RD
4826 }
4827 return resultobj;
4828 fail:
4829 {
4830 if (temp1)
4831 delete arg1;
4832 }
4833 {
4834 if (temp2)
4835 delete arg2;
4836 }
4837 {
093d3ff1
RD
4838 if (temp3)
4839 delete arg3;
d55e5bfc
RD
4840 }
4841 return NULL;
4842}
4843
4844
093d3ff1 4845static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4846 PyObject *resultobj;
093d3ff1
RD
4847 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4848 wxString *arg1 = (wxString *) &arg1_defvalue ;
4849 wxString const &arg2_defvalue = wxPyEmptyString ;
4850 wxString *arg2 = (wxString *) &arg2_defvalue ;
4851 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4852 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4853 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4854 wxWindow *arg5 = (wxWindow *) NULL ;
093d3ff1 4855 wxString result;
ae8162c8
RD
4856 bool temp1 = false ;
4857 bool temp2 = false ;
093d3ff1 4858 wxPoint temp4 ;
d55e5bfc
RD
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 PyObject * obj2 = 0 ;
4862 PyObject * obj3 = 0 ;
4863 PyObject * obj4 = 0 ;
d55e5bfc 4864 char *kwnames[] = {
093d3ff1 4865 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4866 };
4867
093d3ff1
RD
4868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4869 if (obj0) {
4870 {
4871 arg1 = wxString_in_helper(obj0);
4872 if (arg1 == NULL) SWIG_fail;
4873 temp1 = true;
4874 }
d55e5bfc 4875 }
093d3ff1
RD
4876 if (obj1) {
4877 {
4878 arg2 = wxString_in_helper(obj1);
4879 if (arg2 == NULL) SWIG_fail;
4880 temp2 = true;
4881 }
d55e5bfc 4882 }
093d3ff1
RD
4883 if (obj2) {
4884 {
4885 arg3 = (long)(SWIG_As_long(obj2));
4886 if (SWIG_arg_fail(3)) SWIG_fail;
4887 }
d55e5bfc
RD
4888 }
4889 if (obj3) {
093d3ff1
RD
4890 {
4891 arg4 = &temp4;
4892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4893 }
d55e5bfc
RD
4894 }
4895 if (obj4) {
093d3ff1
RD
4896 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4897 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
4898 }
4899 {
0439c23b 4900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4902 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
4903
4904 wxPyEndAllowThreads(__tstate);
110da5b0 4905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4906 }
093d3ff1
RD
4907 {
4908#if wxUSE_UNICODE
4909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4910#else
4911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4912#endif
4913 }
d55e5bfc
RD
4914 {
4915 if (temp1)
4916 delete arg1;
4917 }
4918 {
4919 if (temp2)
4920 delete arg2;
4921 }
d55e5bfc
RD
4922 return resultobj;
4923 fail:
4924 {
4925 if (temp1)
4926 delete arg1;
4927 }
4928 {
4929 if (temp2)
4930 delete arg2;
4931 }
d55e5bfc
RD
4932 return NULL;
4933}
4934
4935
093d3ff1 4936static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4937 PyObject *resultobj;
4938 wxString *arg1 = 0 ;
4939 wxString const &arg2_defvalue = wxPyEmptyString ;
4940 wxString *arg2 = (wxString *) &arg2_defvalue ;
093d3ff1
RD
4941 wxString const &arg3_defvalue = wxPyEmptyString ;
4942 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4943 wxWindow *arg4 = (wxWindow *) NULL ;
4944 int arg5 = (int) -1 ;
4945 int arg6 = (int) -1 ;
093d3ff1
RD
4946 bool arg7 = (bool) true ;
4947 wxString result;
ae8162c8
RD
4948 bool temp1 = false ;
4949 bool temp2 = false ;
093d3ff1 4950 bool temp3 = false ;
d55e5bfc
RD
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 PyObject * obj2 = 0 ;
4954 PyObject * obj3 = 0 ;
4955 PyObject * obj4 = 0 ;
4956 PyObject * obj5 = 0 ;
093d3ff1 4957 PyObject * obj6 = 0 ;
d55e5bfc 4958 char *kwnames[] = {
093d3ff1 4959 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
4960 };
4961
093d3ff1 4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4963 {
4964 arg1 = wxString_in_helper(obj0);
4965 if (arg1 == NULL) SWIG_fail;
ae8162c8 4966 temp1 = true;
d55e5bfc
RD
4967 }
4968 if (obj1) {
4969 {
4970 arg2 = wxString_in_helper(obj1);
4971 if (arg2 == NULL) SWIG_fail;
ae8162c8 4972 temp2 = true;
d55e5bfc
RD
4973 }
4974 }
4975 if (obj2) {
093d3ff1
RD
4976 {
4977 arg3 = wxString_in_helper(obj2);
4978 if (arg3 == NULL) SWIG_fail;
4979 temp3 = true;
4980 }
d55e5bfc
RD
4981 }
4982 if (obj3) {
093d3ff1
RD
4983 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4984 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4985 }
4986 if (obj4) {
093d3ff1
RD
4987 {
4988 arg5 = (int)(SWIG_As_int(obj4));
4989 if (SWIG_arg_fail(5)) SWIG_fail;
4990 }
d55e5bfc
RD
4991 }
4992 if (obj5) {
093d3ff1
RD
4993 {
4994 arg6 = (int)(SWIG_As_int(obj5));
4995 if (SWIG_arg_fail(6)) SWIG_fail;
4996 }
4997 }
4998 if (obj6) {
4999 {
5000 arg7 = (bool)(SWIG_As_bool(obj6));
5001 if (SWIG_arg_fail(7)) SWIG_fail;
5002 }
d55e5bfc
RD
5003 }
5004 {
0439c23b 5005 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5007 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
5008
5009 wxPyEndAllowThreads(__tstate);
110da5b0 5010 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5011 }
093d3ff1
RD
5012 {
5013#if wxUSE_UNICODE
5014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5015#else
5016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5017#endif
5018 }
d55e5bfc
RD
5019 {
5020 if (temp1)
5021 delete arg1;
5022 }
5023 {
5024 if (temp2)
5025 delete arg2;
5026 }
093d3ff1
RD
5027 {
5028 if (temp3)
5029 delete arg3;
5030 }
d55e5bfc
RD
5031 return resultobj;
5032 fail:
5033 {
5034 if (temp1)
5035 delete arg1;
5036 }
5037 {
5038 if (temp2)
5039 delete arg2;
5040 }
093d3ff1
RD
5041 {
5042 if (temp3)
5043 delete arg3;
5044 }
d55e5bfc
RD
5045 return NULL;
5046}
5047
5048
093d3ff1 5049static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5050 PyObject *resultobj;
5051 wxString *arg1 = 0 ;
093d3ff1
RD
5052 wxString const &arg2_defvalue = wxPyEmptyString ;
5053 wxString *arg2 = (wxString *) &arg2_defvalue ;
5054 wxString const &arg3_defvalue = wxPyEmptyString ;
5055 wxString *arg3 = (wxString *) &arg3_defvalue ;
5056 wxWindow *arg4 = (wxWindow *) NULL ;
5057 wxString result;
ae8162c8
RD
5058 bool temp1 = false ;
5059 bool temp2 = false ;
5060 bool temp3 = false ;
d55e5bfc
RD
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 PyObject * obj2 = 0 ;
5064 PyObject * obj3 = 0 ;
d55e5bfc 5065 char *kwnames[] = {
093d3ff1 5066 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5067 };
5068
093d3ff1 5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5070 {
5071 arg1 = wxString_in_helper(obj0);
5072 if (arg1 == NULL) SWIG_fail;
ae8162c8 5073 temp1 = true;
d55e5bfc 5074 }
093d3ff1
RD
5075 if (obj1) {
5076 {
5077 arg2 = wxString_in_helper(obj1);
5078 if (arg2 == NULL) SWIG_fail;
5079 temp2 = true;
5080 }
d55e5bfc 5081 }
093d3ff1 5082 if (obj2) {
d55e5bfc 5083 {
093d3ff1
RD
5084 arg3 = wxString_in_helper(obj2);
5085 if (arg3 == NULL) SWIG_fail;
5086 temp3 = true;
d55e5bfc
RD
5087 }
5088 }
093d3ff1
RD
5089 if (obj3) {
5090 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5091 if (SWIG_arg_fail(4)) SWIG_fail;
5092 }
d55e5bfc 5093 {
0439c23b 5094 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5096 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5097
5098 wxPyEndAllowThreads(__tstate);
110da5b0 5099 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5100 }
093d3ff1
RD
5101 {
5102#if wxUSE_UNICODE
5103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5104#else
5105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5106#endif
5107 }
d55e5bfc
RD
5108 {
5109 if (temp1)
5110 delete arg1;
5111 }
5112 {
5113 if (temp2)
5114 delete arg2;
5115 }
5116 {
5117 if (temp3)
5118 delete arg3;
5119 }
5120 return resultobj;
5121 fail:
5122 {
5123 if (temp1)
5124 delete arg1;
5125 }
5126 {
5127 if (temp2)
5128 delete arg2;
5129 }
5130 {
5131 if (temp3)
5132 delete arg3;
5133 }
5134 return NULL;
5135}
5136
5137
093d3ff1 5138static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5139 PyObject *resultobj;
093d3ff1
RD
5140 wxString *arg1 = 0 ;
5141 wxString *arg2 = 0 ;
5142 int arg3 ;
5143 wxString *arg4 = (wxString *) 0 ;
5144 wxWindow *arg5 = (wxWindow *) NULL ;
5145 int arg6 = (int) -1 ;
5146 int arg7 = (int) -1 ;
5147 bool arg8 = (bool) true ;
5148 int arg9 = (int) 150 ;
5149 int arg10 = (int) 200 ;
5150 wxString result;
5151 bool temp1 = false ;
5152 bool temp2 = false ;
5153 PyObject * obj0 = 0 ;
5154 PyObject * obj1 = 0 ;
5155 PyObject * obj2 = 0 ;
5156 PyObject * obj3 = 0 ;
5157 PyObject * obj4 = 0 ;
5158 PyObject * obj5 = 0 ;
5159 PyObject * obj6 = 0 ;
5160 PyObject * obj7 = 0 ;
5161 PyObject * obj8 = 0 ;
d55e5bfc 5162 char *kwnames[] = {
093d3ff1 5163 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5164 };
5165
093d3ff1
RD
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5167 {
5168 arg1 = wxString_in_helper(obj0);
5169 if (arg1 == NULL) SWIG_fail;
5170 temp1 = true;
5171 }
5172 {
5173 arg2 = wxString_in_helper(obj1);
5174 if (arg2 == NULL) SWIG_fail;
5175 temp2 = true;
5176 }
5177 {
5178 arg3 = PyList_Size(obj2);
5179 arg4 = wxString_LIST_helper(obj2);
5180 if (arg4 == NULL) SWIG_fail;
5181 }
5182 if (obj3) {
5183 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5184 if (SWIG_arg_fail(5)) SWIG_fail;
5185 }
5186 if (obj4) {
5187 {
5188 arg6 = (int)(SWIG_As_int(obj4));
5189 if (SWIG_arg_fail(6)) SWIG_fail;
5190 }
5191 }
5192 if (obj5) {
5193 {
5194 arg7 = (int)(SWIG_As_int(obj5));
5195 if (SWIG_arg_fail(7)) SWIG_fail;
5196 }
5197 }
5198 if (obj6) {
5199 {
5200 arg8 = (bool)(SWIG_As_bool(obj6));
5201 if (SWIG_arg_fail(8)) SWIG_fail;
5202 }
5203 }
5204 if (obj7) {
5205 {
5206 arg9 = (int)(SWIG_As_int(obj7));
5207 if (SWIG_arg_fail(9)) SWIG_fail;
5208 }
5209 }
5210 if (obj8) {
5211 {
5212 arg10 = (int)(SWIG_As_int(obj8));
5213 if (SWIG_arg_fail(10)) SWIG_fail;
5214 }
5215 }
d55e5bfc 5216 {
0439c23b 5217 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5219 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5220
5221 wxPyEndAllowThreads(__tstate);
110da5b0 5222 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5223 }
5224 {
093d3ff1
RD
5225#if wxUSE_UNICODE
5226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5227#else
5228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5229#endif
5230 }
5231 {
5232 if (temp1)
5233 delete arg1;
5234 }
5235 {
5236 if (temp2)
5237 delete arg2;
5238 }
5239 {
5240 if (arg4) delete [] arg4;
d55e5bfc
RD
5241 }
5242 return resultobj;
5243 fail:
093d3ff1
RD
5244 {
5245 if (temp1)
5246 delete arg1;
5247 }
5248 {
5249 if (temp2)
5250 delete arg2;
5251 }
5252 {
5253 if (arg4) delete [] arg4;
5254 }
d55e5bfc
RD
5255 return NULL;
5256}
5257
5258
093d3ff1 5259static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5260 PyObject *resultobj;
093d3ff1
RD
5261 wxString *arg1 = 0 ;
5262 wxString *arg2 = 0 ;
5263 int arg3 ;
5264 wxString *arg4 = (wxString *) 0 ;
5265 wxWindow *arg5 = (wxWindow *) NULL ;
5266 int arg6 = (int) -1 ;
5267 int arg7 = (int) -1 ;
5268 bool arg8 = (bool) true ;
5269 int arg9 = (int) 150 ;
5270 int arg10 = (int) 200 ;
d55e5bfc 5271 int result;
093d3ff1
RD
5272 bool temp1 = false ;
5273 bool temp2 = false ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 PyObject * obj2 = 0 ;
5277 PyObject * obj3 = 0 ;
5278 PyObject * obj4 = 0 ;
5279 PyObject * obj5 = 0 ;
5280 PyObject * obj6 = 0 ;
5281 PyObject * obj7 = 0 ;
5282 PyObject * obj8 = 0 ;
d55e5bfc 5283 char *kwnames[] = {
093d3ff1 5284 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5285 };
5286
093d3ff1
RD
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5288 {
5289 arg1 = wxString_in_helper(obj0);
5290 if (arg1 == NULL) SWIG_fail;
5291 temp1 = true;
5292 }
5293 {
5294 arg2 = wxString_in_helper(obj1);
5295 if (arg2 == NULL) SWIG_fail;
5296 temp2 = true;
5297 }
5298 {
5299 arg3 = PyList_Size(obj2);
5300 arg4 = wxString_LIST_helper(obj2);
5301 if (arg4 == NULL) SWIG_fail;
5302 }
5303 if (obj3) {
5304 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5305 if (SWIG_arg_fail(5)) SWIG_fail;
5306 }
5307 if (obj4) {
5308 {
5309 arg6 = (int)(SWIG_As_int(obj4));
5310 if (SWIG_arg_fail(6)) SWIG_fail;
5311 }
5312 }
5313 if (obj5) {
5314 {
5315 arg7 = (int)(SWIG_As_int(obj5));
5316 if (SWIG_arg_fail(7)) SWIG_fail;
5317 }
5318 }
5319 if (obj6) {
5320 {
5321 arg8 = (bool)(SWIG_As_bool(obj6));
5322 if (SWIG_arg_fail(8)) SWIG_fail;
5323 }
5324 }
5325 if (obj7) {
5326 {
5327 arg9 = (int)(SWIG_As_int(obj7));
5328 if (SWIG_arg_fail(9)) SWIG_fail;
5329 }
5330 }
5331 if (obj8) {
5332 {
5333 arg10 = (int)(SWIG_As_int(obj8));
5334 if (SWIG_arg_fail(10)) SWIG_fail;
5335 }
5336 }
d55e5bfc 5337 {
0439c23b 5338 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5340 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5341
5342 wxPyEndAllowThreads(__tstate);
110da5b0 5343 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5344 }
093d3ff1
RD
5345 {
5346 resultobj = SWIG_From_int((int)(result));
5347 }
5348 {
5349 if (temp1)
5350 delete arg1;
5351 }
5352 {
5353 if (temp2)
5354 delete arg2;
5355 }
5356 {
5357 if (arg4) delete [] arg4;
5358 }
d55e5bfc
RD
5359 return resultobj;
5360 fail:
093d3ff1
RD
5361 {
5362 if (temp1)
5363 delete arg1;
5364 }
5365 {
5366 if (temp2)
5367 delete arg2;
5368 }
5369 {
5370 if (arg4) delete [] arg4;
5371 }
d55e5bfc
RD
5372 return NULL;
5373}
5374
5375
093d3ff1 5376static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5377 PyObject *resultobj;
093d3ff1
RD
5378 wxString *arg1 = 0 ;
5379 wxString const &arg2_defvalue = wxPyEmptyString ;
5380 wxString *arg2 = (wxString *) &arg2_defvalue ;
5381 int arg3 = (int) wxOK|wxCENTRE ;
5382 wxWindow *arg4 = (wxWindow *) NULL ;
5383 int arg5 = (int) -1 ;
5384 int arg6 = (int) -1 ;
d55e5bfc 5385 int result;
093d3ff1
RD
5386 bool temp1 = false ;
5387 bool temp2 = false ;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 PyObject * obj2 = 0 ;
5391 PyObject * obj3 = 0 ;
5392 PyObject * obj4 = 0 ;
5393 PyObject * obj5 = 0 ;
d55e5bfc 5394 char *kwnames[] = {
093d3ff1 5395 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5396 };
5397
093d3ff1 5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5399 {
093d3ff1
RD
5400 arg1 = wxString_in_helper(obj0);
5401 if (arg1 == NULL) SWIG_fail;
5402 temp1 = true;
5403 }
5404 if (obj1) {
5405 {
5406 arg2 = wxString_in_helper(obj1);
5407 if (arg2 == NULL) SWIG_fail;
5408 temp2 = true;
5409 }
5410 }
5411 if (obj2) {
5412 {
5413 arg3 = (int)(SWIG_As_int(obj2));
5414 if (SWIG_arg_fail(3)) SWIG_fail;
5415 }
5416 }
5417 if (obj3) {
5418 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5419 if (SWIG_arg_fail(4)) SWIG_fail;
5420 }
5421 if (obj4) {
5422 {
5423 arg5 = (int)(SWIG_As_int(obj4));
5424 if (SWIG_arg_fail(5)) SWIG_fail;
5425 }
5426 }
5427 if (obj5) {
5428 {
5429 arg6 = (int)(SWIG_As_int(obj5));
5430 if (SWIG_arg_fail(6)) SWIG_fail;
5431 }
5432 }
5433 {
5434 if (!wxPyCheckForApp()) SWIG_fail;
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 {
5442 resultobj = SWIG_From_int((int)(result));
5443 }
5444 {
5445 if (temp1)
5446 delete arg1;
5447 }
5448 {
5449 if (temp2)
5450 delete arg2;
5451 }
5452 return resultobj;
5453 fail:
5454 {
5455 if (temp1)
5456 delete arg1;
5457 }
5458 {
5459 if (temp2)
5460 delete arg2;
5461 }
5462 return NULL;
5463}
5464
5465
093d3ff1
RD
5466static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 bool result;
5469 char *kwnames[] = {
5470 NULL
5471 };
5472
5473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5474 {
5475 if (!wxPyCheckForApp()) SWIG_fail;
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)wxColourDisplay();
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5484 }
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
5491static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 int result;
5494 char *kwnames[] = {
5495 NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5499 {
5500 if (!wxPyCheckForApp()) SWIG_fail;
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (int)wxDisplayDepth();
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 resultobj = SWIG_From_int((int)(result));
5509 }
5510 return resultobj;
5511 fail:
5512 return NULL;
5513}
5514
5515
5516static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 int result;
5519 char *kwnames[] = {
5520 NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5524 {
5525 if (!wxPyCheckForApp()) SWIG_fail;
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 result = (int)wxGetDisplayDepth();
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 }
5532 {
5533 resultobj = SWIG_From_int((int)(result));
d55e5bfc 5534 }
d55e5bfc
RD
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
c32bde28 5541static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5542 PyObject *resultobj;
5543 int *arg1 = (int *) 0 ;
5544 int *arg2 = (int *) 0 ;
5545 int temp1 ;
c32bde28 5546 int res1 = 0 ;
d55e5bfc 5547 int temp2 ;
c32bde28 5548 int res2 = 0 ;
d55e5bfc
RD
5549 char *kwnames[] = {
5550 NULL
5551 };
5552
c32bde28
RD
5553 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5554 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5556 {
0439c23b 5557 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 wxDisplaySize(arg1,arg2);
5560
5561 wxPyEndAllowThreads(__tstate);
110da5b0 5562 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5563 }
5564 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5565 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5566 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5567 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5568 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
c32bde28 5575static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5576 PyObject *resultobj;
5577 wxSize result;
5578 char *kwnames[] = {
5579 NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5583 {
0439c23b 5584 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = wxGetDisplaySize();
5587
5588 wxPyEndAllowThreads(__tstate);
110da5b0 5589 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5590 }
5591 {
5592 wxSize * resultptr;
093d3ff1 5593 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5594 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5595 }
5596 return resultobj;
5597 fail:
5598 return NULL;
5599}
5600
5601
c32bde28 5602static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5603 PyObject *resultobj;
5604 int *arg1 = (int *) 0 ;
5605 int *arg2 = (int *) 0 ;
5606 int temp1 ;
c32bde28 5607 int res1 = 0 ;
d55e5bfc 5608 int temp2 ;
c32bde28 5609 int res2 = 0 ;
d55e5bfc
RD
5610 char *kwnames[] = {
5611 NULL
5612 };
5613
c32bde28
RD
5614 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5615 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5617 {
0439c23b 5618 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
5620 wxDisplaySizeMM(arg1,arg2);
5621
5622 wxPyEndAllowThreads(__tstate);
110da5b0 5623 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5624 }
5625 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5626 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5627 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5628 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5629 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5630 return resultobj;
5631 fail:
5632 return NULL;
5633}
5634
5635
c32bde28 5636static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5637 PyObject *resultobj;
5638 wxSize result;
5639 char *kwnames[] = {
5640 NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5644 {
0439c23b 5645 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = wxGetDisplaySizeMM();
5648
5649 wxPyEndAllowThreads(__tstate);
110da5b0 5650 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5651 }
5652 {
5653 wxSize * resultptr;
093d3ff1 5654 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660}
5661
5662
c32bde28 5663static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5664 PyObject *resultobj;
5665 int *arg1 = (int *) 0 ;
5666 int *arg2 = (int *) 0 ;
5667 int *arg3 = (int *) 0 ;
5668 int *arg4 = (int *) 0 ;
5669 int temp1 ;
c32bde28 5670 int res1 = 0 ;
d55e5bfc 5671 int temp2 ;
c32bde28 5672 int res2 = 0 ;
d55e5bfc 5673 int temp3 ;
c32bde28 5674 int res3 = 0 ;
d55e5bfc 5675 int temp4 ;
c32bde28 5676 int res4 = 0 ;
d55e5bfc
RD
5677 char *kwnames[] = {
5678 NULL
5679 };
5680
c32bde28
RD
5681 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5682 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5683 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5684 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5686 {
0439c23b 5687 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5690
5691 wxPyEndAllowThreads(__tstate);
110da5b0 5692 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5693 }
5694 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5695 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5696 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5697 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5698 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5699 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5700 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5701 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5702 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
c32bde28 5709static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5710 PyObject *resultobj;
5711 wxRect result;
5712 char *kwnames[] = {
5713 NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5717 {
0439c23b 5718 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = wxGetClientDisplayRect();
5721
5722 wxPyEndAllowThreads(__tstate);
110da5b0 5723 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5724 }
5725 {
5726 wxRect * resultptr;
093d3ff1 5727 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
5728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5729 }
5730 return resultobj;
5731 fail:
5732 return NULL;
5733}
5734
5735
c32bde28 5736static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5737 PyObject *resultobj;
5738 wxCursor *arg1 = 0 ;
5739 PyObject * obj0 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "cursor", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5745 {
5746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5747 if (SWIG_arg_fail(1)) SWIG_fail;
5748 if (arg1 == NULL) {
5749 SWIG_null_ref("wxCursor");
5750 }
5751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5752 }
5753 {
0439c23b 5754 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 wxSetCursor(*arg1);
5757
5758 wxPyEndAllowThreads(__tstate);
110da5b0 5759 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765}
5766
5767
a97cefba
RD
5768static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 void *result;
5771 char *kwnames[] = {
5772 NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
5776 {
5777 if (!wxPyCheckForApp()) SWIG_fail;
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (void *)wxGetXDisplay();
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
5785 return resultobj;
5786 fail:
5787 return NULL;
5788}
5789
5790
c32bde28 5791static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5792 PyObject *resultobj;
5793 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5794 PyObject * obj0 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "cursor", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5800 if (obj0) {
093d3ff1
RD
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5803 }
5804 {
0439c23b 5805 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 wxBeginBusyCursor(arg1);
5808
5809 wxPyEndAllowThreads(__tstate);
110da5b0 5810 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5811 }
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 return resultobj;
5814 fail:
5815 return NULL;
5816}
5817
5818
c32bde28 5819static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5820 PyObject *resultobj;
5821 wxWindow *result;
5822 char *kwnames[] = {
5823 NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
5827 {
0439c23b 5828 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (wxWindow *)wxGetActiveWindow();
5831
5832 wxPyEndAllowThreads(__tstate);
110da5b0 5833 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5834 }
5835 {
412d302d 5836 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5837 }
5838 return resultobj;
5839 fail:
5840 return NULL;
5841}
5842
5843
c32bde28 5844static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5845 PyObject *resultobj;
5846 wxPoint *arg1 = 0 ;
5847 wxWindow *result;
5848 wxPoint temp1 ;
5849 PyObject * obj0 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "pt", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
5855 {
5856 arg1 = &temp1;
5857 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5858 }
5859 {
0439c23b 5860 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
5863
5864 wxPyEndAllowThreads(__tstate);
110da5b0 5865 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5866 }
5867 {
412d302d 5868 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5869 }
5870 return resultobj;
5871 fail:
5872 return NULL;
5873}
5874
5875
c32bde28 5876static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5877 PyObject *resultobj;
5878 wxPoint *arg1 = 0 ;
5879 wxWindow *result;
5880 wxPoint temp1 ;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "pt", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
5887 {
5888 arg1 = &temp1;
5889 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5890 }
5891 {
0439c23b 5892 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
5895
5896 wxPyEndAllowThreads(__tstate);
110da5b0 5897 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5898 }
5899 {
412d302d 5900 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5901 }
5902 return resultobj;
5903 fail:
5904 return NULL;
5905}
5906
5907
c32bde28 5908static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5909 PyObject *resultobj;
5910 wxWindow *arg1 = (wxWindow *) 0 ;
5911 wxWindow *result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "win", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5920 {
0439c23b 5921 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 result = (wxWindow *)wxGetTopLevelParent(arg1);
5924
5925 wxPyEndAllowThreads(__tstate);
110da5b0 5926 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5927 }
5928 {
412d302d 5929 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5930 }
5931 return resultobj;
5932 fail:
5933 return NULL;
5934}
5935
5936
d04418a7
RD
5937static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxString *arg1 = 0 ;
5940 bool result;
5941 bool temp1 = false ;
5942 PyObject * obj0 = 0 ;
5943 char *kwnames[] = {
5944 (char *) "url", NULL
5945 };
5946
5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
5948 {
5949 arg1 = wxString_in_helper(obj0);
5950 if (arg1 == NULL) SWIG_fail;
5951 temp1 = true;
5952 }
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 {
5961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5962 }
5963 {
5964 if (temp1)
5965 delete arg1;
5966 }
5967 return resultobj;
5968 fail:
5969 {
5970 if (temp1)
5971 delete arg1;
5972 }
5973 return NULL;
5974}
5975
5976
c32bde28 5977static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5978 PyObject *resultobj;
093d3ff1 5979 wxKeyCode arg1 ;
d55e5bfc
RD
5980 bool result;
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "key", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5987 {
5988 arg1 = (wxKeyCode)(SWIG_As_int(obj0));
5989 if (SWIG_arg_fail(1)) SWIG_fail;
5990 }
d55e5bfc 5991 {
0439c23b 5992 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (bool)wxGetKeyState((wxKeyCode )arg1);
5995
5996 wxPyEndAllowThreads(__tstate);
110da5b0 5997 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5998 }
5999 {
6000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6001 }
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
c32bde28 6008static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6009 PyObject *resultobj;
6010 char *kwnames[] = {
6011 NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6015 {
0439c23b 6016 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 wxWakeUpMainThread();
6019
6020 wxPyEndAllowThreads(__tstate);
110da5b0 6021 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6022 }
6023 Py_INCREF(Py_None); resultobj = Py_None;
6024 return resultobj;
6025 fail:
6026 return NULL;
6027}
6028
6029
c32bde28 6030static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6031 PyObject *resultobj;
6032 char *kwnames[] = {
6033 NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6037 {
0439c23b 6038 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 wxMutexGuiEnter();
6041
6042 wxPyEndAllowThreads(__tstate);
110da5b0 6043 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6044 }
6045 Py_INCREF(Py_None); resultobj = Py_None;
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
c32bde28 6052static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6053 PyObject *resultobj;
6054 char *kwnames[] = {
6055 NULL
6056 };
6057
6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6059 {
0439c23b 6060 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 wxMutexGuiLeave();
6063
6064 wxPyEndAllowThreads(__tstate);
110da5b0 6065 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6066 }
6067 Py_INCREF(Py_None); resultobj = Py_None;
6068 return resultobj;
6069 fail:
6070 return NULL;
6071}
6072
6073
c32bde28 6074static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6075 PyObject *resultobj;
6076 wxMutexGuiLocker *result;
6077 char *kwnames[] = {
6078 NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6082 {
0439c23b 6083 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6086
6087 wxPyEndAllowThreads(__tstate);
110da5b0 6088 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6089 }
6090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
c32bde28 6097static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6098 PyObject *resultobj;
6099 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6100 PyObject * obj0 = 0 ;
6101 char *kwnames[] = {
6102 (char *) "self", NULL
6103 };
6104
6105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 delete arg1;
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 Py_INCREF(Py_None); resultobj = Py_None;
6116 return resultobj;
6117 fail:
6118 return NULL;
6119}
6120
6121
c32bde28 6122static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6123 PyObject *obj;
6124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6125 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6126 Py_INCREF(obj);
6127 return Py_BuildValue((char *)"");
6128}
c32bde28 6129static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6130 PyObject *resultobj;
6131 bool result;
6132 char *kwnames[] = {
6133 NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6137 {
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 result = (bool)wxThread_IsMain();
6140
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 {
6145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6146 }
6147 return resultobj;
6148 fail:
6149 return NULL;
6150}
6151
6152
c32bde28 6153static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6154 PyObject *resultobj;
6155 wxString *arg1 = 0 ;
6156 wxToolTip *result;
ae8162c8 6157 bool temp1 = false ;
d55e5bfc
RD
6158 PyObject * obj0 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "tip", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6164 {
6165 arg1 = wxString_in_helper(obj0);
6166 if (arg1 == NULL) SWIG_fail;
ae8162c8 6167 temp1 = true;
d55e5bfc
RD
6168 }
6169 {
0439c23b 6170 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6173
6174 wxPyEndAllowThreads(__tstate);
110da5b0 6175 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6176 }
6177 {
412d302d 6178 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
6179 }
6180 {
6181 if (temp1)
6182 delete arg1;
6183 }
6184 return resultobj;
6185 fail:
6186 {
6187 if (temp1)
6188 delete arg1;
6189 }
6190 return NULL;
6191}
6192
6193
c32bde28 6194static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6195 PyObject *resultobj;
6196 wxToolTip *arg1 = (wxToolTip *) 0 ;
6197 wxString *arg2 = 0 ;
ae8162c8 6198 bool temp2 = false ;
d55e5bfc
RD
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self",(char *) "tip", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6208 {
6209 arg2 = wxString_in_helper(obj1);
6210 if (arg2 == NULL) SWIG_fail;
ae8162c8 6211 temp2 = true;
d55e5bfc
RD
6212 }
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 (arg1)->SetTip((wxString const &)*arg2);
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 Py_INCREF(Py_None); resultobj = Py_None;
6221 {
6222 if (temp2)
6223 delete arg2;
6224 }
6225 return resultobj;
6226 fail:
6227 {
6228 if (temp2)
6229 delete arg2;
6230 }
6231 return NULL;
6232}
6233
6234
c32bde28 6235static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6236 PyObject *resultobj;
6237 wxToolTip *arg1 = (wxToolTip *) 0 ;
6238 wxString result;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (arg1)->GetTip();
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 {
6255#if wxUSE_UNICODE
6256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6257#else
6258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6259#endif
6260 }
6261 return resultobj;
6262 fail:
6263 return NULL;
6264}
6265
6266
c32bde28 6267static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6268 PyObject *resultobj;
6269 wxToolTip *arg1 = (wxToolTip *) 0 ;
6270 wxWindow *result;
6271 PyObject * obj0 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (wxWindow *)(arg1)->GetWindow();
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 {
412d302d 6287 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6288 }
6289 return resultobj;
6290 fail:
6291 return NULL;
6292}
6293
6294
c32bde28 6295static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6296 PyObject *resultobj;
6297 bool arg1 ;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "flag", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1
RD
6304 {
6305 arg1 = (bool)(SWIG_As_bool(obj0));
6306 if (SWIG_arg_fail(1)) SWIG_fail;
6307 }
d55e5bfc
RD
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 wxToolTip::Enable(arg1);
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
c32bde28 6322static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6323 PyObject *resultobj;
6324 long arg1 ;
6325 PyObject * obj0 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "milliseconds", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1
RD
6331 {
6332 arg1 = (long)(SWIG_As_long(obj0));
6333 if (SWIG_arg_fail(1)) SWIG_fail;
6334 }
d55e5bfc
RD
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 wxToolTip::SetDelay(arg1);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 Py_INCREF(Py_None); resultobj = Py_None;
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
c32bde28 6349static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6350 PyObject *obj;
6351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
6353 Py_INCREF(obj);
6354 return Py_BuildValue((char *)"");
6355}
c32bde28 6356static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6357 PyObject *resultobj;
6358 wxWindow *arg1 = (wxWindow *) 0 ;
6359 wxSize *arg2 = 0 ;
6360 wxCaret *result;
6361 wxSize temp2 ;
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
6364 char *kwnames[] = {
6365 (char *) "window",(char *) "size", NULL
6366 };
6367
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6371 {
6372 arg2 = &temp2;
6373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6374 }
6375 {
0439c23b 6376 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
6379
6380 wxPyEndAllowThreads(__tstate);
110da5b0 6381 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6382 }
6383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
6384 return resultobj;
6385 fail:
6386 return NULL;
6387}
6388
6389
091fdbfa 6390static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6391 PyObject *resultobj;
6392 wxCaret *arg1 = (wxCaret *) 0 ;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
091fdbfa 6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
6399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6403 wxCaret_Destroy(arg1);
d55e5bfc
RD
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 Py_INCREF(Py_None); resultobj = Py_None;
6409 return resultobj;
6410 fail:
6411 return NULL;
6412}
6413
6414
c32bde28 6415static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6416 PyObject *resultobj;
6417 wxCaret *arg1 = (wxCaret *) 0 ;
6418 bool result;
6419 PyObject * obj0 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
6425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (bool)(arg1)->IsOk();
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 {
6435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6436 }
6437 return resultobj;
6438 fail:
6439 return NULL;
6440}
6441
6442
c32bde28 6443static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6444 PyObject *resultobj;
6445 wxCaret *arg1 = (wxCaret *) 0 ;
6446 bool result;
6447 PyObject * obj0 = 0 ;
6448 char *kwnames[] = {
6449 (char *) "self", NULL
6450 };
6451
6452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
6453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 result = (bool)(arg1)->IsVisible();
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6464 }
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
c32bde28 6471static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6472 PyObject *resultobj;
6473 wxCaret *arg1 = (wxCaret *) 0 ;
6474 wxPoint result;
6475 PyObject * obj0 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
6481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 result = (arg1)->GetPosition();
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 {
6491 wxPoint * resultptr;
093d3ff1 6492 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
6493 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6494 }
6495 return resultobj;
6496 fail:
6497 return NULL;
6498}
6499
6500
c32bde28 6501static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6502 PyObject *resultobj;
6503 wxCaret *arg1 = (wxCaret *) 0 ;
6504 int *arg2 = (int *) 0 ;
6505 int *arg3 = (int *) 0 ;
6506 int temp2 ;
c32bde28 6507 int res2 = 0 ;
d55e5bfc 6508 int temp3 ;
c32bde28 6509 int res3 = 0 ;
d55e5bfc
RD
6510 PyObject * obj0 = 0 ;
6511 char *kwnames[] = {
6512 (char *) "self", NULL
6513 };
6514
c32bde28
RD
6515 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6516 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 (arg1)->GetPosition(arg2,arg3);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6528 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6529 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6530 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6531 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6532 return resultobj;
6533 fail:
6534 return NULL;
6535}
6536
6537
c32bde28 6538static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6539 PyObject *resultobj;
6540 wxCaret *arg1 = (wxCaret *) 0 ;
6541 wxSize result;
6542 PyObject * obj0 = 0 ;
6543 char *kwnames[] = {
6544 (char *) "self", NULL
6545 };
6546
6547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
6548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 result = (arg1)->GetSize();
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 {
6558 wxSize * resultptr;
093d3ff1 6559 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
6560 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
6561 }
6562 return resultobj;
6563 fail:
6564 return NULL;
6565}
6566
6567
c32bde28 6568static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6569 PyObject *resultobj;
6570 wxCaret *arg1 = (wxCaret *) 0 ;
6571 int *arg2 = (int *) 0 ;
6572 int *arg3 = (int *) 0 ;
6573 int temp2 ;
c32bde28 6574 int res2 = 0 ;
d55e5bfc 6575 int temp3 ;
c32bde28 6576 int res3 = 0 ;
d55e5bfc
RD
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
c32bde28
RD
6582 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6583 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 (arg1)->GetSize(arg2,arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6595 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6596 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6597 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6598 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6599 return resultobj;
6600 fail:
6601 return NULL;
6602}
6603
6604
c32bde28 6605static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6606 PyObject *resultobj;
6607 wxCaret *arg1 = (wxCaret *) 0 ;
6608 wxWindow *result;
6609 PyObject * obj0 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (wxWindow *)(arg1)->GetWindow();
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 {
412d302d 6625 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6626 }
6627 return resultobj;
6628 fail:
6629 return NULL;
6630}
6631
6632
c32bde28 6633static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6634 PyObject *resultobj;
6635 wxCaret *arg1 = (wxCaret *) 0 ;
6636 int arg2 ;
6637 int arg3 ;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
6640 PyObject * obj2 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "x",(char *) "y", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6647 if (SWIG_arg_fail(1)) SWIG_fail;
6648 {
6649 arg2 = (int)(SWIG_As_int(obj1));
6650 if (SWIG_arg_fail(2)) SWIG_fail;
6651 }
6652 {
6653 arg3 = (int)(SWIG_As_int(obj2));
6654 if (SWIG_arg_fail(3)) SWIG_fail;
6655 }
d55e5bfc
RD
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->Move(arg2,arg3);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667}
6668
6669
c32bde28 6670static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6671 PyObject *resultobj;
6672 wxCaret *arg1 = (wxCaret *) 0 ;
6673 wxPoint *arg2 = 0 ;
6674 wxPoint temp2 ;
6675 PyObject * obj0 = 0 ;
6676 PyObject * obj1 = 0 ;
6677 char *kwnames[] = {
6678 (char *) "self",(char *) "pt", NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6684 {
6685 arg2 = &temp2;
6686 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 (arg1)->Move((wxPoint const &)*arg2);
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 Py_INCREF(Py_None); resultobj = Py_None;
6696 return resultobj;
6697 fail:
6698 return NULL;
6699}
6700
6701
c32bde28 6702static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6703 PyObject *resultobj;
6704 wxCaret *arg1 = (wxCaret *) 0 ;
6705 int arg2 ;
6706 int arg3 ;
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 PyObject * obj2 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self",(char *) "width",(char *) "height", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6716 if (SWIG_arg_fail(1)) SWIG_fail;
6717 {
6718 arg2 = (int)(SWIG_As_int(obj1));
6719 if (SWIG_arg_fail(2)) SWIG_fail;
6720 }
6721 {
6722 arg3 = (int)(SWIG_As_int(obj2));
6723 if (SWIG_arg_fail(3)) SWIG_fail;
6724 }
d55e5bfc
RD
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 (arg1)->SetSize(arg2,arg3);
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 Py_INCREF(Py_None); resultobj = Py_None;
6733 return resultobj;
6734 fail:
6735 return NULL;
6736}
6737
6738
c32bde28 6739static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6740 PyObject *resultobj;
6741 wxCaret *arg1 = (wxCaret *) 0 ;
6742 wxSize *arg2 = 0 ;
6743 wxSize temp2 ;
6744 PyObject * obj0 = 0 ;
6745 PyObject * obj1 = 0 ;
6746 char *kwnames[] = {
6747 (char *) "self",(char *) "size", NULL
6748 };
6749
6750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6753 {
6754 arg2 = &temp2;
6755 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6756 }
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 (arg1)->SetSize((wxSize const &)*arg2);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 Py_INCREF(Py_None); resultobj = Py_None;
6765 return resultobj;
6766 fail:
6767 return NULL;
6768}
6769
6770
c32bde28 6771static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6772 PyObject *resultobj;
6773 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 6774 int arg2 = (int) true ;
d55e5bfc
RD
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self",(char *) "show", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6784 if (obj1) {
093d3ff1
RD
6785 {
6786 arg2 = (int)(SWIG_As_int(obj1));
6787 if (SWIG_arg_fail(2)) SWIG_fail;
6788 }
d55e5bfc
RD
6789 }
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 (arg1)->Show(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
c32bde28 6804static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6805 PyObject *resultobj;
6806 wxCaret *arg1 = (wxCaret *) 0 ;
6807 PyObject * obj0 = 0 ;
6808 char *kwnames[] = {
6809 (char *) "self", NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
6813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->Hide();
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826}
6827
6828
c32bde28 6829static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6830 PyObject *resultobj;
6831 int result;
6832 char *kwnames[] = {
6833 NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6839 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
093d3ff1
RD
6844 {
6845 resultobj = SWIG_From_int((int)(result));
6846 }
d55e5bfc
RD
6847 return resultobj;
6848 fail:
6849 return NULL;
6850}
6851
6852
c32bde28 6853static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6854 PyObject *resultobj;
6855 int arg1 ;
6856 PyObject * obj0 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "milliseconds", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
6862 {
6863 arg1 = (int)(SWIG_As_int(obj0));
6864 if (SWIG_arg_fail(1)) SWIG_fail;
6865 }
d55e5bfc
RD
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6868 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 return resultobj;
6875 fail:
6876 return NULL;
6877}
6878
6879
091fdbfa
RD
6880static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
6881 PyObject *obj;
6882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6883 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
6884 Py_INCREF(obj);
6885 return Py_BuildValue((char *)"");
6886}
c32bde28 6887static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6888 PyObject *resultobj;
6889 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
6890 wxBusyCursor *result;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "cursor", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
6897 if (obj0) {
093d3ff1
RD
6898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6900 }
6901 {
0439c23b 6902 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (wxBusyCursor *)new wxBusyCursor(arg1);
6905
6906 wxPyEndAllowThreads(__tstate);
110da5b0 6907 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6908 }
6909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
6910 return resultobj;
6911 fail:
6912 return NULL;
6913}
6914
6915
c32bde28 6916static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6917 PyObject *resultobj;
6918 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 delete arg1;
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938}
6939
6940
c32bde28 6941static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6942 PyObject *obj;
6943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
6945 Py_INCREF(obj);
6946 return Py_BuildValue((char *)"");
6947}
c32bde28 6948static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6949 PyObject *resultobj;
6950 wxWindow *arg1 = (wxWindow *) NULL ;
6951 wxWindowDisabler *result;
6952 PyObject * obj0 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "winToSkip", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
6958 if (obj0) {
093d3ff1
RD
6959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6961 }
6962 {
0439c23b 6963 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
6966
6967 wxPyEndAllowThreads(__tstate);
110da5b0 6968 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6969 }
6970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
6971 return resultobj;
6972 fail:
6973 return NULL;
6974}
6975
6976
c32bde28 6977static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6978 PyObject *resultobj;
6979 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
6980 PyObject * obj0 = 0 ;
6981 char *kwnames[] = {
6982 (char *) "self", NULL
6983 };
6984
6985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
6986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
6987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 delete arg1;
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999}
7000
7001
c32bde28 7002static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7003 PyObject *obj;
7004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7005 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7006 Py_INCREF(obj);
7007 return Py_BuildValue((char *)"");
7008}
c32bde28 7009static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7010 PyObject *resultobj;
7011 wxString *arg1 = 0 ;
7012 wxBusyInfo *result;
ae8162c8 7013 bool temp1 = false ;
d55e5bfc
RD
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "message", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7020 {
7021 arg1 = wxString_in_helper(obj0);
7022 if (arg1 == NULL) SWIG_fail;
ae8162c8 7023 temp1 = true;
d55e5bfc
RD
7024 }
7025 {
0439c23b 7026 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7029
7030 wxPyEndAllowThreads(__tstate);
110da5b0 7031 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7032 }
7033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7034 {
7035 if (temp1)
7036 delete arg1;
7037 }
7038 return resultobj;
7039 fail:
7040 {
7041 if (temp1)
7042 delete arg1;
7043 }
7044 return NULL;
7045}
7046
7047
c32bde28 7048static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7049 PyObject *resultobj;
7050 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7051 PyObject * obj0 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 delete arg1;
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 Py_INCREF(Py_None); resultobj = Py_None;
7067 return resultobj;
7068 fail:
7069 return NULL;
7070}
7071
7072
c32bde28 7073static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7074 PyObject *obj;
7075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7076 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7077 Py_INCREF(obj);
7078 return Py_BuildValue((char *)"");
7079}
c32bde28 7080static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7081 PyObject *resultobj;
7082 wxStopWatch *result;
7083 char *kwnames[] = {
7084 NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxStopWatch *)new wxStopWatch();
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099}
7100
7101
c32bde28 7102static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7103 PyObject *resultobj;
7104 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7105 long arg2 = (long) 0 ;
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "t0", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7115 if (obj1) {
093d3ff1
RD
7116 {
7117 arg2 = (long)(SWIG_As_long(obj1));
7118 if (SWIG_arg_fail(2)) SWIG_fail;
7119 }
d55e5bfc
RD
7120 }
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 (arg1)->Start(arg2);
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 Py_INCREF(Py_None); resultobj = Py_None;
7129 return resultobj;
7130 fail:
7131 return NULL;
7132}
7133
7134
c32bde28 7135static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7136 PyObject *resultobj;
7137 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
7144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->Pause();
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157}
7158
7159
c32bde28 7160static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7161 PyObject *resultobj;
7162 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7163 PyObject * obj0 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
7169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 (arg1)->Resume();
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 Py_INCREF(Py_None); resultobj = Py_None;
7179 return resultobj;
7180 fail:
7181 return NULL;
7182}
7183
7184
c32bde28 7185static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7186 PyObject *resultobj;
7187 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7188 long result;
7189 PyObject * obj0 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
7195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7197 {
7198 PyThreadState* __tstate = wxPyBeginAllowThreads();
7199 result = (long)((wxStopWatch const *)arg1)->Time();
7200
7201 wxPyEndAllowThreads(__tstate);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 }
093d3ff1
RD
7204 {
7205 resultobj = SWIG_From_long((long)(result));
7206 }
d55e5bfc
RD
7207 return resultobj;
7208 fail:
7209 return NULL;
7210}
7211
7212
c32bde28 7213static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7214 PyObject *obj;
7215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7216 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
7217 Py_INCREF(obj);
7218 return Py_BuildValue((char *)"");
7219}
c32bde28 7220static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7221 PyObject *resultobj;
7222 int arg1 = (int) 9 ;
4cf4100f 7223 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
7224 wxFileHistory *result;
7225 PyObject * obj0 = 0 ;
4cf4100f 7226 PyObject * obj1 = 0 ;
d55e5bfc 7227 char *kwnames[] = {
4cf4100f 7228 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
7229 };
7230
4cf4100f 7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 7232 if (obj0) {
093d3ff1
RD
7233 {
7234 arg1 = (int)(SWIG_As_int(obj0));
7235 if (SWIG_arg_fail(1)) SWIG_fail;
7236 }
d55e5bfc 7237 }
4cf4100f 7238 if (obj1) {
093d3ff1
RD
7239 {
7240 arg2 = (int)(SWIG_As_int(obj1));
7241 if (SWIG_arg_fail(2)) SWIG_fail;
7242 }
4cf4100f 7243 }
d55e5bfc
RD
7244 {
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 7246 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255}
7256
7257
c32bde28 7258static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7259 PyObject *resultobj;
7260 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
7267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 delete arg1;
7272
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 Py_INCREF(Py_None); resultobj = Py_None;
7277 return resultobj;
7278 fail:
7279 return NULL;
7280}
7281
7282
c32bde28 7283static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7284 PyObject *resultobj;
7285 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7286 wxString *arg2 = 0 ;
ae8162c8 7287 bool temp2 = false ;
d55e5bfc
RD
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self",(char *) "file", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7297 {
7298 arg2 = wxString_in_helper(obj1);
7299 if (arg2 == NULL) SWIG_fail;
ae8162c8 7300 temp2 = true;
d55e5bfc
RD
7301 }
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 (arg1)->AddFileToHistory((wxString const &)*arg2);
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) SWIG_fail;
7308 }
7309 Py_INCREF(Py_None); resultobj = Py_None;
7310 {
7311 if (temp2)
7312 delete arg2;
7313 }
7314 return resultobj;
7315 fail:
7316 {
7317 if (temp2)
7318 delete arg2;
7319 }
7320 return NULL;
7321}
7322
7323
c32bde28 7324static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7325 PyObject *resultobj;
7326 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7327 int arg2 ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "i", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7336 if (SWIG_arg_fail(1)) SWIG_fail;
7337 {
7338 arg2 = (int)(SWIG_As_int(obj1));
7339 if (SWIG_arg_fail(2)) SWIG_fail;
7340 }
d55e5bfc
RD
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 (arg1)->RemoveFileFromHistory(arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 Py_INCREF(Py_None); resultobj = Py_None;
7349 return resultobj;
7350 fail:
7351 return NULL;
7352}
7353
7354
c32bde28 7355static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7356 PyObject *resultobj;
7357 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7358 int result;
7359 PyObject * obj0 = 0 ;
7360 char *kwnames[] = {
7361 (char *) "self", NULL
7362 };
7363
7364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
7365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7367 {
7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
7369 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
7370
7371 wxPyEndAllowThreads(__tstate);
7372 if (PyErr_Occurred()) SWIG_fail;
7373 }
093d3ff1
RD
7374 {
7375 resultobj = SWIG_From_int((int)(result));
7376 }
d55e5bfc
RD
7377 return resultobj;
7378 fail:
7379 return NULL;
7380}
7381
7382
c32bde28 7383static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7384 PyObject *resultobj;
7385 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7386 wxMenu *arg2 = (wxMenu *) 0 ;
7387 PyObject * obj0 = 0 ;
7388 PyObject * obj1 = 0 ;
7389 char *kwnames[] = {
7390 (char *) "self",(char *) "menu", NULL
7391 };
7392
7393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7395 if (SWIG_arg_fail(1)) SWIG_fail;
7396 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7397 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 (arg1)->UseMenu(arg2);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 Py_INCREF(Py_None); resultobj = Py_None;
7406 return resultobj;
7407 fail:
7408 return NULL;
7409}
7410
7411
c32bde28 7412static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7413 PyObject *resultobj;
7414 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7415 wxMenu *arg2 = (wxMenu *) 0 ;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "self",(char *) "menu", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7424 if (SWIG_arg_fail(1)) SWIG_fail;
7425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7426 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->RemoveMenu(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438}
7439
7440
c32bde28 7441static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7442 PyObject *resultobj;
7443 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7444 wxConfigBase *arg2 = 0 ;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "config", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7453 if (SWIG_arg_fail(1)) SWIG_fail;
7454 {
7455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7456 if (SWIG_arg_fail(2)) SWIG_fail;
7457 if (arg2 == NULL) {
7458 SWIG_null_ref("wxConfigBase");
7459 }
7460 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->Load(*arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473}
7474
7475
c32bde28 7476static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7477 PyObject *resultobj;
7478 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7479 wxConfigBase *arg2 = 0 ;
7480 PyObject * obj0 = 0 ;
7481 PyObject * obj1 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self",(char *) "config", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7488 if (SWIG_arg_fail(1)) SWIG_fail;
7489 {
7490 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7491 if (SWIG_arg_fail(2)) SWIG_fail;
7492 if (arg2 == NULL) {
7493 SWIG_null_ref("wxConfigBase");
7494 }
7495 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->Save(*arg2);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508}
7509
7510
c32bde28 7511static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7512 PyObject *resultobj;
7513 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7514 PyObject * obj0 = 0 ;
7515 char *kwnames[] = {
7516 (char *) "self", NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
7520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 (arg1)->AddFilesToMenu();
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 Py_INCREF(Py_None); resultobj = Py_None;
7530 return resultobj;
7531 fail:
7532 return NULL;
7533}
7534
7535
c32bde28 7536static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7537 PyObject *resultobj;
7538 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7539 wxMenu *arg2 = (wxMenu *) 0 ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "menu", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail;
7549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 (arg1)->AddFilesToMenu(arg2);
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 Py_INCREF(Py_None); resultobj = Py_None;
7559 return resultobj;
7560 fail:
7561 return NULL;
7562}
7563
7564
c32bde28 7565static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7566 PyObject *resultobj;
7567 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7568 int arg2 ;
7569 wxString result;
7570 PyObject * obj0 = 0 ;
7571 PyObject * obj1 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self",(char *) "i", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7578 if (SWIG_arg_fail(1)) SWIG_fail;
7579 {
7580 arg2 = (int)(SWIG_As_int(obj1));
7581 if (SWIG_arg_fail(2)) SWIG_fail;
7582 }
d55e5bfc
RD
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
7586
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 {
7591#if wxUSE_UNICODE
7592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7593#else
7594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7595#endif
7596 }
7597 return resultobj;
7598 fail:
7599 return NULL;
7600}
7601
7602
c32bde28 7603static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7604 PyObject *resultobj;
7605 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7606 int result;
7607 PyObject * obj0 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "self", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 result = (int)((wxFileHistory const *)arg1)->GetCount();
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
093d3ff1
RD
7622 {
7623 resultobj = SWIG_From_int((int)(result));
7624 }
d55e5bfc
RD
7625 return resultobj;
7626 fail:
7627 return NULL;
7628}
7629
7630
c32bde28 7631static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7632 PyObject *obj;
7633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7634 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
7635 Py_INCREF(obj);
7636 return Py_BuildValue((char *)"");
7637}
c32bde28 7638static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7639 PyObject *resultobj;
7640 wxString *arg1 = 0 ;
7641 wxString const &arg2_defvalue = wxPyEmptyString ;
7642 wxString *arg2 = (wxString *) &arg2_defvalue ;
7643 wxSingleInstanceChecker *result;
ae8162c8
RD
7644 bool temp1 = false ;
7645 bool temp2 = false ;
d55e5bfc
RD
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "name",(char *) "path", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
7653 {
7654 arg1 = wxString_in_helper(obj0);
7655 if (arg1 == NULL) SWIG_fail;
ae8162c8 7656 temp1 = true;
d55e5bfc
RD
7657 }
7658 if (obj1) {
7659 {
7660 arg2 = wxString_in_helper(obj1);
7661 if (arg2 == NULL) SWIG_fail;
ae8162c8 7662 temp2 = true;
d55e5bfc
RD
7663 }
7664 }
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7673 {
7674 if (temp1)
7675 delete arg1;
7676 }
7677 {
7678 if (temp2)
7679 delete arg2;
7680 }
7681 return resultobj;
7682 fail:
7683 {
7684 if (temp1)
7685 delete arg1;
7686 }
7687 {
7688 if (temp2)
7689 delete arg2;
7690 }
7691 return NULL;
7692}
7693
7694
c32bde28 7695static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7696 PyObject *resultobj;
7697 wxSingleInstanceChecker *result;
7698 char *kwnames[] = {
7699 NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714}
7715
7716
c32bde28 7717static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7718 PyObject *resultobj;
7719 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
7726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7727 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 delete arg1;
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 Py_INCREF(Py_None); resultobj = Py_None;
7736 return resultobj;
7737 fail:
7738 return NULL;
7739}
7740
7741
c32bde28 7742static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7743 PyObject *resultobj;
7744 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7745 wxString *arg2 = 0 ;
7746 wxString const &arg3_defvalue = wxPyEmptyString ;
7747 wxString *arg3 = (wxString *) &arg3_defvalue ;
7748 bool result;
ae8162c8
RD
7749 bool temp2 = false ;
7750 bool temp3 = false ;
d55e5bfc
RD
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 PyObject * obj2 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "name",(char *) "path", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7761 {
7762 arg2 = wxString_in_helper(obj1);
7763 if (arg2 == NULL) SWIG_fail;
ae8162c8 7764 temp2 = true;
d55e5bfc
RD
7765 }
7766 if (obj2) {
7767 {
7768 arg3 = wxString_in_helper(obj2);
7769 if (arg3 == NULL) SWIG_fail;
ae8162c8 7770 temp3 = true;
d55e5bfc
RD
7771 }
7772 }
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 {
7781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7782 }
7783 {
7784 if (temp2)
7785 delete arg2;
7786 }
7787 {
7788 if (temp3)
7789 delete arg3;
7790 }
7791 return resultobj;
7792 fail:
7793 {
7794 if (temp2)
7795 delete arg2;
7796 }
7797 {
7798 if (temp3)
7799 delete arg3;
7800 }
7801 return NULL;
7802}
7803
7804
c32bde28 7805static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7806 PyObject *resultobj;
7807 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7808 bool result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
7815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7816 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
c32bde28 7833static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7834 PyObject *obj;
7835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7836 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
7837 Py_INCREF(obj);
7838 return Py_BuildValue((char *)"");
7839}
68350608
RD
7840static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxWindow *arg1 = (wxWindow *) 0 ;
7843 wxDC *arg2 = 0 ;
7844 bool result;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "window",(char *) "dc", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
7852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail;
7854 {
7855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7856 if (SWIG_arg_fail(2)) SWIG_fail;
7857 if (arg2 == NULL) {
7858 SWIG_null_ref("wxDC");
7859 }
7860 if (SWIG_arg_fail(2)) SWIG_fail;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 {
7870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7871 }
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
c32bde28 7878static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7879 PyObject *resultobj;
7880 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
7887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 delete arg1;
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 Py_INCREF(Py_None); resultobj = Py_None;
7897 return resultobj;
7898 fail:
7899 return NULL;
7900}
7901
7902
c32bde28 7903static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7904 PyObject *resultobj;
7905 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7906 wxString result;
7907 PyObject * obj0 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 result = (arg1)->GetTip();
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 {
7923#if wxUSE_UNICODE
7924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7925#else
7926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7927#endif
7928 }
7929 return resultobj;
7930 fail:
7931 return NULL;
7932}
7933
7934
c32bde28 7935static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7936 PyObject *resultobj;
7937 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7938 size_t result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (size_t)(arg1)->GetCurrentTip();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
093d3ff1
RD
7954 {
7955 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
7956 }
d55e5bfc
RD
7957 return resultobj;
7958 fail:
7959 return NULL;
7960}
7961
7962
c32bde28 7963static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7964 PyObject *resultobj;
7965 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7966 wxString *arg2 = 0 ;
7967 wxString result;
ae8162c8 7968 bool temp2 = false ;
d55e5bfc
RD
7969 PyObject * obj0 = 0 ;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self",(char *) "tip", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7978 {
7979 arg2 = wxString_in_helper(obj1);
7980 if (arg2 == NULL) SWIG_fail;
ae8162c8 7981 temp2 = true;
d55e5bfc
RD
7982 }
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = (arg1)->PreprocessTip((wxString const &)*arg2);
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991#if wxUSE_UNICODE
7992 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7993#else
7994 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7995#endif
7996 }
7997 {
7998 if (temp2)
7999 delete arg2;
8000 }
8001 return resultobj;
8002 fail:
8003 {
8004 if (temp2)
8005 delete arg2;
8006 }
8007 return NULL;
8008}
8009
8010
c32bde28 8011static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8012 PyObject *obj;
8013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8014 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8015 Py_INCREF(obj);
8016 return Py_BuildValue((char *)"");
8017}
c32bde28 8018static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8019 PyObject *resultobj;
8020 size_t arg1 ;
8021 wxPyTipProvider *result;
8022 PyObject * obj0 = 0 ;
8023 char *kwnames[] = {
8024 (char *) "currentTip", NULL
8025 };
8026
8027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8028 {
8029 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 }
d55e5bfc
RD
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043}
8044
8045
c32bde28 8046static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8047 PyObject *resultobj;
8048 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8049 PyObject *arg2 = (PyObject *) 0 ;
8050 PyObject *arg3 = (PyObject *) 0 ;
8051 PyObject * obj0 = 0 ;
8052 PyObject * obj1 = 0 ;
8053 PyObject * obj2 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self",(char *) "self",(char *) "_class", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8061 arg2 = obj1;
8062 arg3 = obj2;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->_setCallbackInfo(arg2,arg3);
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074}
8075
8076
c32bde28 8077static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8078 PyObject *obj;
8079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8080 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8081 Py_INCREF(obj);
8082 return Py_BuildValue((char *)"");
8083}
c32bde28 8084static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8085 PyObject *resultobj;
8086 wxWindow *arg1 = (wxWindow *) 0 ;
8087 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8088 bool arg3 = (bool) true ;
d55e5bfc
RD
8089 bool result;
8090 PyObject * obj0 = 0 ;
8091 PyObject * obj1 = 0 ;
8092 PyObject * obj2 = 0 ;
8093 char *kwnames[] = {
8094 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8095 };
8096
8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail;
8100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8101 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8102 if (obj2) {
093d3ff1
RD
8103 {
8104 arg3 = (bool)(SWIG_As_bool(obj2));
8105 if (SWIG_arg_fail(3)) SWIG_fail;
8106 }
d55e5bfc
RD
8107 }
8108 {
0439c23b 8109 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 result = (bool)wxShowTip(arg1,arg2,arg3);
8112
8113 wxPyEndAllowThreads(__tstate);
110da5b0 8114 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8115 }
8116 {
8117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8118 }
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
c32bde28 8125static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8126 PyObject *resultobj;
8127 wxString *arg1 = 0 ;
8128 size_t arg2 ;
8129 wxTipProvider *result;
ae8162c8 8130 bool temp1 = false ;
d55e5bfc
RD
8131 PyObject * obj0 = 0 ;
8132 PyObject * obj1 = 0 ;
8133 char *kwnames[] = {
8134 (char *) "filename",(char *) "currentTip", NULL
8135 };
8136
8137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
8138 {
8139 arg1 = wxString_in_helper(obj0);
8140 if (arg1 == NULL) SWIG_fail;
ae8162c8 8141 temp1 = true;
d55e5bfc 8142 }
093d3ff1
RD
8143 {
8144 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
8145 if (SWIG_arg_fail(2)) SWIG_fail;
8146 }
d55e5bfc 8147 {
0439c23b 8148 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
8151
8152 wxPyEndAllowThreads(__tstate);
110da5b0 8153 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8154 }
8155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
8156 {
8157 if (temp1)
8158 delete arg1;
8159 }
8160 return resultobj;
8161 fail:
8162 {
8163 if (temp1)
8164 delete arg1;
8165 }
8166 return NULL;
8167}
8168
8169
c32bde28 8170static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8171 PyObject *resultobj;
8172 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8173 int arg2 = (int) -1 ;
8174 wxPyTimer *result;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "owner",(char *) "id", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
8182 if (obj0) {
093d3ff1
RD
8183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8185 }
8186 if (obj1) {
093d3ff1
RD
8187 {
8188 arg2 = (int)(SWIG_As_int(obj1));
8189 if (SWIG_arg_fail(2)) SWIG_fail;
8190 }
d55e5bfc
RD
8191 }
8192 {
0439c23b 8193 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
8196
8197 wxPyEndAllowThreads(__tstate);
110da5b0 8198 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8199 }
8200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
8201 return resultobj;
8202 fail:
8203 return NULL;
8204}
8205
8206
c32bde28 8207static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8208 PyObject *resultobj;
8209 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "self", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 delete arg1;
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229}
8230
8231
c32bde28 8232static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8233 PyObject *resultobj;
8234 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8235 PyObject *arg2 = (PyObject *) 0 ;
8236 PyObject *arg3 = (PyObject *) 0 ;
8237 int arg4 = (int) 1 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 PyObject * obj2 = 0 ;
8241 PyObject * obj3 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8249 arg2 = obj1;
8250 arg3 = obj2;
8251 if (obj3) {
093d3ff1
RD
8252 {
8253 arg4 = (int)(SWIG_As_int(obj3));
8254 if (SWIG_arg_fail(4)) SWIG_fail;
8255 }
d55e5bfc
RD
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 return resultobj;
8266 fail:
8267 return NULL;
8268}
8269
8270
c32bde28 8271static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8272 PyObject *resultobj;
8273 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8274 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
8275 int arg3 = (int) -1 ;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 PyObject * obj2 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self",(char *) "owner",(char *) "id", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8285 if (SWIG_arg_fail(1)) SWIG_fail;
8286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8287 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8288 if (obj2) {
093d3ff1
RD
8289 {
8290 arg3 = (int)(SWIG_As_int(obj2));
8291 if (SWIG_arg_fail(3)) SWIG_fail;
8292 }
d55e5bfc
RD
8293 }
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 (arg1)->SetOwner(arg2,arg3);
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 return resultobj;
8303 fail:
8304 return NULL;
8305}
8306
8307
c32bde28 8308static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
8309 PyObject *resultobj;
8310 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8311 wxEvtHandler *result;
8312 PyObject * obj0 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (wxEvtHandler *)(arg1)->GetOwner();
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 {
412d302d 8328 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
8329 }
8330 return resultobj;
8331 fail:
8332 return NULL;
8333}
8334
8335
c32bde28 8336static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8337 PyObject *resultobj;
8338 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8339 int arg2 = (int) -1 ;
ae8162c8 8340 bool arg3 = (bool) false ;
d55e5bfc
RD
8341 bool result;
8342 PyObject * obj0 = 0 ;
8343 PyObject * obj1 = 0 ;
8344 PyObject * obj2 = 0 ;
8345 char *kwnames[] = {
8346 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8347 };
8348
8349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8352 if (obj1) {
093d3ff1
RD
8353 {
8354 arg2 = (int)(SWIG_As_int(obj1));
8355 if (SWIG_arg_fail(2)) SWIG_fail;
8356 }
d55e5bfc
RD
8357 }
8358 if (obj2) {
093d3ff1
RD
8359 {
8360 arg3 = (bool)(SWIG_As_bool(obj2));
8361 if (SWIG_arg_fail(3)) SWIG_fail;
8362 }
d55e5bfc
RD
8363 }
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (bool)(arg1)->Start(arg2,arg3);
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 {
8372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8373 }
8374 return resultobj;
8375 fail:
8376 return NULL;
8377}
8378
8379
c32bde28 8380static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8381 PyObject *resultobj;
8382 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
8389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->Stop();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 Py_INCREF(Py_None); resultobj = Py_None;
8399 return resultobj;
8400 fail:
8401 return NULL;
8402}
8403
8404
c32bde28 8405static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8406 PyObject *resultobj;
8407 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8408 bool result;
8409 PyObject * obj0 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8426 }
8427 return resultobj;
8428 fail:
8429 return NULL;
8430}
8431
8432
c32bde28 8433static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8434 PyObject *resultobj;
8435 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8436 int result;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (int)((wxPyTimer const *)arg1)->GetInterval();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
093d3ff1
RD
8452 {
8453 resultobj = SWIG_From_int((int)(result));
8454 }
d55e5bfc
RD
8455 return resultobj;
8456 fail:
8457 return NULL;
8458}
8459
8460
c32bde28 8461static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8462 PyObject *resultobj;
8463 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8464 bool result;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
8471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8473 {
8474 PyThreadState* __tstate = wxPyBeginAllowThreads();
8475 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
8476
8477 wxPyEndAllowThreads(__tstate);
8478 if (PyErr_Occurred()) SWIG_fail;
8479 }
8480 {
8481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8482 }
8483 return resultobj;
8484 fail:
8485 return NULL;
8486}
8487
8488
c32bde28 8489static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8490 PyObject *resultobj;
8491 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8492 int result;
8493 PyObject * obj0 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
8499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = (int)((wxPyTimer const *)arg1)->GetId();
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
093d3ff1
RD
8508 {
8509 resultobj = SWIG_From_int((int)(result));
8510 }
d55e5bfc
RD
8511 return resultobj;
8512 fail:
8513 return NULL;
8514}
8515
8516
c32bde28 8517static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8518 PyObject *obj;
8519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8520 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
8521 Py_INCREF(obj);
8522 return Py_BuildValue((char *)"");
8523}
c32bde28 8524static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8525 PyObject *resultobj;
8526 int arg1 = (int) 0 ;
8527 int arg2 = (int) 0 ;
8528 wxTimerEvent *result;
8529 PyObject * obj0 = 0 ;
8530 PyObject * obj1 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "timerid",(char *) "interval", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
8536 if (obj0) {
093d3ff1
RD
8537 {
8538 arg1 = (int)(SWIG_As_int(obj0));
8539 if (SWIG_arg_fail(1)) SWIG_fail;
8540 }
d55e5bfc
RD
8541 }
8542 if (obj1) {
093d3ff1
RD
8543 {
8544 arg2 = (int)(SWIG_As_int(obj1));
8545 if (SWIG_arg_fail(2)) SWIG_fail;
8546 }
d55e5bfc
RD
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
8556 return resultobj;
8557 fail:
8558 return NULL;
8559}
8560
8561
c32bde28 8562static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8563 PyObject *resultobj;
8564 wxTimerEvent *arg1 = (wxTimerEvent *) 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:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
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 * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8591 PyObject *obj;
8592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8593 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
8594 Py_INCREF(obj);
8595 return Py_BuildValue((char *)"");
8596}
c32bde28 8597static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
8598 PyObject *resultobj;
8599 wxTimer *arg1 = 0 ;
8600 wxTimerRunner *result;
8601 PyObject * obj0 = 0 ;
8602
8603 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
8604 {
8605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8606 if (SWIG_arg_fail(1)) SWIG_fail;
8607 if (arg1 == NULL) {
8608 SWIG_null_ref("wxTimer");
8609 }
8610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8611 }
8612 {
0439c23b 8613 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
8616
8617 wxPyEndAllowThreads(__tstate);
110da5b0 8618 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8619 }
8620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
c32bde28 8627static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
8628 PyObject *resultobj;
8629 wxTimer *arg1 = 0 ;
8630 int arg2 ;
ae8162c8 8631 bool arg3 = (bool) false ;
d55e5bfc
RD
8632 wxTimerRunner *result;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 PyObject * obj2 = 0 ;
8636
8637 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8638 {
8639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8640 if (SWIG_arg_fail(1)) SWIG_fail;
8641 if (arg1 == NULL) {
8642 SWIG_null_ref("wxTimer");
8643 }
8644 if (SWIG_arg_fail(1)) SWIG_fail;
8645 }
8646 {
8647 arg2 = (int)(SWIG_As_int(obj1));
8648 if (SWIG_arg_fail(2)) SWIG_fail;
8649 }
d55e5bfc 8650 if (obj2) {
093d3ff1
RD
8651 {
8652 arg3 = (bool)(SWIG_As_bool(obj2));
8653 if (SWIG_arg_fail(3)) SWIG_fail;
8654 }
d55e5bfc
RD
8655 }
8656 {
0439c23b 8657 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
8660
8661 wxPyEndAllowThreads(__tstate);
110da5b0 8662 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8663 }
8664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668}
8669
8670
8671static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
8672 int argc;
8673 PyObject *argv[4];
8674 int ii;
8675
8676 argc = PyObject_Length(args);
8677 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8678 argv[ii] = PyTuple_GetItem(args,ii);
8679 }
8680 if (argc == 1) {
8681 int _v;
8682 {
093d3ff1 8683 void *ptr = 0;
d55e5bfc
RD
8684 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8685 _v = 0;
8686 PyErr_Clear();
8687 } else {
093d3ff1 8688 _v = (ptr != 0);
d55e5bfc
RD
8689 }
8690 }
8691 if (_v) {
8692 return _wrap_new_TimerRunner__SWIG_0(self,args);
8693 }
8694 }
8695 if ((argc >= 2) && (argc <= 3)) {
8696 int _v;
8697 {
093d3ff1 8698 void *ptr = 0;
d55e5bfc
RD
8699 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8700 _v = 0;
8701 PyErr_Clear();
8702 } else {
093d3ff1 8703 _v = (ptr != 0);
d55e5bfc
RD
8704 }
8705 }
8706 if (_v) {
c32bde28 8707 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
8708 if (_v) {
8709 if (argc <= 2) {
8710 return _wrap_new_TimerRunner__SWIG_1(self,args);
8711 }
c32bde28 8712 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
8713 if (_v) {
8714 return _wrap_new_TimerRunner__SWIG_1(self,args);
8715 }
8716 }
8717 }
8718 }
8719
093d3ff1 8720 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
8721 return NULL;
8722}
8723
8724
c32bde28 8725static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8726 PyObject *resultobj;
8727 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 delete arg1;
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
c32bde28 8750static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8751 PyObject *resultobj;
8752 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8753 int arg2 ;
ae8162c8 8754 bool arg3 = (bool) false ;
d55e5bfc
RD
8755 PyObject * obj0 = 0 ;
8756 PyObject * obj1 = 0 ;
8757 PyObject * obj2 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8764 if (SWIG_arg_fail(1)) SWIG_fail;
8765 {
8766 arg2 = (int)(SWIG_As_int(obj1));
8767 if (SWIG_arg_fail(2)) SWIG_fail;
8768 }
d55e5bfc 8769 if (obj2) {
093d3ff1
RD
8770 {
8771 arg3 = (bool)(SWIG_As_bool(obj2));
8772 if (SWIG_arg_fail(3)) SWIG_fail;
8773 }
d55e5bfc
RD
8774 }
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 (arg1)->Start(arg2,arg3);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
c32bde28 8789static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8790 PyObject *obj;
8791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8792 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
8793 Py_INCREF(obj);
8794 return Py_BuildValue((char *)"");
8795}
c32bde28 8796static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8797 PyObject *resultobj;
8798 wxLog *result;
8799 char *kwnames[] = {
8800 NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 result = (wxLog *)new wxLog();
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
8812 return resultobj;
8813 fail:
8814 return NULL;
8815}
8816
8817
c32bde28 8818static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8819 PyObject *resultobj;
8820 bool result;
8821 char *kwnames[] = {
8822 NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = (bool)wxLog::IsEnabled();
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8835 }
8836 return resultobj;
8837 fail:
8838 return NULL;
8839}
8840
8841
c32bde28 8842static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8843 PyObject *resultobj;
ae8162c8 8844 bool arg1 = (bool) true ;
d55e5bfc
RD
8845 bool result;
8846 PyObject * obj0 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "doIt", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
8852 if (obj0) {
093d3ff1
RD
8853 {
8854 arg1 = (bool)(SWIG_As_bool(obj0));
8855 if (SWIG_arg_fail(1)) SWIG_fail;
8856 }
d55e5bfc
RD
8857 }
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 result = (bool)wxLog::EnableLogging(arg1);
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 {
8866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8867 }
8868 return resultobj;
8869 fail:
8870 return NULL;
8871}
8872
8873
c32bde28 8874static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8875 PyObject *resultobj;
8876 wxLogLevel arg1 ;
8877 wxChar *arg2 = (wxChar *) 0 ;
8878 time_t arg3 ;
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
8881 PyObject * obj2 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "level",(char *) "szString",(char *) "t", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8887 {
8888 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
8889 if (SWIG_arg_fail(1)) SWIG_fail;
8890 }
8891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
8892 if (SWIG_arg_fail(2)) SWIG_fail;
8893 {
8894 arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
8895 if (SWIG_arg_fail(3)) SWIG_fail;
8896 }
d55e5bfc
RD
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 Py_INCREF(Py_None); resultobj = Py_None;
8905 return resultobj;
8906 fail:
8907 return NULL;
8908}
8909
8910
c32bde28 8911static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8912 PyObject *resultobj;
8913 wxLog *arg1 = (wxLog *) 0 ;
8914 PyObject * obj0 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
8920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 (arg1)->Flush();
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 Py_INCREF(Py_None); resultobj = Py_None;
8930 return resultobj;
8931 fail:
8932 return NULL;
8933}
8934
8935
c32bde28 8936static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8937 PyObject *resultobj;
8938 char *kwnames[] = {
8939 NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 wxLog::FlushActive();
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 Py_INCREF(Py_None); resultobj = Py_None;
8951 return resultobj;
8952 fail:
8953 return NULL;
8954}
8955
8956
c32bde28 8957static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8958 PyObject *resultobj;
8959 wxLog *result;
8960 char *kwnames[] = {
8961 NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 result = (wxLog *)wxLog::GetActiveTarget();
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
c32bde28 8979static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8980 PyObject *resultobj;
8981 wxLog *arg1 = (wxLog *) 0 ;
8982 wxLog *result;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "pLogger", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (wxLog *)wxLog::SetActiveTarget(arg1);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8999 return resultobj;
9000 fail:
9001 return NULL;
9002}
9003
9004
c32bde28 9005static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9006 PyObject *resultobj;
9007 char *kwnames[] = {
9008 NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 wxLog::Suspend();
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023}
9024
9025
c32bde28 9026static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9027 PyObject *resultobj;
9028 char *kwnames[] = {
9029 NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 wxLog::Resume();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 Py_INCREF(Py_None); resultobj = Py_None;
9041 return resultobj;
9042 fail:
9043 return NULL;
9044}
9045
9046
c32bde28 9047static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 9048 PyObject *resultobj;
ae8162c8 9049 bool arg1 = (bool) true ;
d55e5bfc
RD
9050 PyObject * obj0 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "bVerbose", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9056 if (obj0) {
093d3ff1
RD
9057 {
9058 arg1 = (bool)(SWIG_As_bool(obj0));
9059 if (SWIG_arg_fail(1)) SWIG_fail;
9060 }
d55e5bfc
RD
9061 }
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 wxLog::SetVerbose(arg1);
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 Py_INCREF(Py_None); resultobj = Py_None;
9070 return resultobj;
9071 fail:
9072 return NULL;
9073}
9074
9075
c32bde28 9076static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9077 PyObject *resultobj;
9078 wxLogLevel arg1 ;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "logLevel", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
9085 {
9086 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9087 if (SWIG_arg_fail(1)) SWIG_fail;
9088 }
d55e5bfc
RD
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 wxLog::SetLogLevel(arg1);
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 Py_INCREF(Py_None); resultobj = Py_None;
9097 return resultobj;
9098 fail:
9099 return NULL;
9100}
9101
9102
c32bde28 9103static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9104 PyObject *resultobj;
9105 char *kwnames[] = {
9106 NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
9110 {
9111 PyThreadState* __tstate = wxPyBeginAllowThreads();
9112 wxLog::DontCreateOnDemand();
9113
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 Py_INCREF(Py_None); resultobj = Py_None;
9118 return resultobj;
9119 fail:
9120 return NULL;
9121}
9122
9123
c32bde28 9124static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9125 PyObject *resultobj;
9126 wxTraceMask arg1 ;
9127 PyObject * obj0 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "ulMask", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9133 {
9134 arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
9135 if (SWIG_arg_fail(1)) SWIG_fail;
9136 }
d55e5bfc
RD
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 wxLog::SetTraceMask(arg1);
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 Py_INCREF(Py_None); resultobj = Py_None;
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
c32bde28 9151static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9152 PyObject *resultobj;
9153 wxString *arg1 = 0 ;
ae8162c8 9154 bool temp1 = false ;
d55e5bfc
RD
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "str", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
9161 {
9162 arg1 = wxString_in_helper(obj0);
9163 if (arg1 == NULL) SWIG_fail;
ae8162c8 9164 temp1 = true;
d55e5bfc
RD
9165 }
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 wxLog::AddTraceMask((wxString const &)*arg1);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 {
9175 if (temp1)
9176 delete arg1;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (temp1)
9182 delete arg1;
9183 }
9184 return NULL;
9185}
9186
9187
c32bde28 9188static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9189 PyObject *resultobj;
9190 wxString *arg1 = 0 ;
ae8162c8 9191 bool temp1 = false ;
d55e5bfc
RD
9192 PyObject * obj0 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "str", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
9198 {
9199 arg1 = wxString_in_helper(obj0);
9200 if (arg1 == NULL) SWIG_fail;
ae8162c8 9201 temp1 = true;
d55e5bfc
RD
9202 }
9203 {
9204 PyThreadState* __tstate = wxPyBeginAllowThreads();
9205 wxLog::RemoveTraceMask((wxString const &)*arg1);
9206
9207 wxPyEndAllowThreads(__tstate);
9208 if (PyErr_Occurred()) SWIG_fail;
9209 }
9210 Py_INCREF(Py_None); resultobj = Py_None;
9211 {
9212 if (temp1)
9213 delete arg1;
9214 }
9215 return resultobj;
9216 fail:
9217 {
9218 if (temp1)
9219 delete arg1;
9220 }
9221 return NULL;
9222}
9223
9224
c32bde28 9225static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9226 PyObject *resultobj;
9227 char *kwnames[] = {
9228 NULL
9229 };
9230
9231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 wxLog::ClearTraceMasks();
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
c32bde28 9246static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9247 PyObject *resultobj;
9248 wxArrayString *result;
9249 char *kwnames[] = {
9250 NULL
9251 };
9252
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 {
9257 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
9258 result = (wxArrayString *) &_result_ref;
9259 }
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 {
9265 resultobj = wxArrayString2PyList_helper(*result);
9266 }
9267 return resultobj;
9268 fail:
9269 return NULL;
9270}
9271
9272
c32bde28 9273static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9274 PyObject *resultobj;
9275 wxChar *arg1 = (wxChar *) 0 ;
9276 PyObject * obj0 = 0 ;
9277 char *kwnames[] = {
9278 (char *) "ts", NULL
9279 };
9280
9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
9282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 wxLog::SetTimestamp((wxChar const *)arg1);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 Py_INCREF(Py_None); resultobj = Py_None;
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
c32bde28 9298static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9299 PyObject *resultobj;
9300 bool result;
9301 char *kwnames[] = {
9302 NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 result = (bool)wxLog::GetVerbose();
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 {
9314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9315 }
9316 return resultobj;
9317 fail:
9318 return NULL;
9319}
9320
9321
c32bde28 9322static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9323 PyObject *resultobj;
9324 wxTraceMask result;
9325 char *kwnames[] = {
9326 NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 result = (wxTraceMask)wxLog::GetTraceMask();
9333
9334 wxPyEndAllowThreads(__tstate);
9335 if (PyErr_Occurred()) SWIG_fail;
9336 }
093d3ff1
RD
9337 {
9338 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9339 }
d55e5bfc
RD
9340 return resultobj;
9341 fail:
9342 return NULL;
9343}
9344
9345
c32bde28 9346static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9347 PyObject *resultobj;
9348 wxChar *arg1 = (wxChar *) 0 ;
9349 bool result;
9350 PyObject * obj0 = 0 ;
9351 char *kwnames[] = {
9352 (char *) "mask", NULL
9353 };
9354
9355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
9365 {
9366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9367 }
9368 return resultobj;
9369 fail:
9370 return NULL;
9371}
9372
9373
c32bde28 9374static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9375 PyObject *resultobj;
9376 wxLogLevel result;
9377 char *kwnames[] = {
9378 NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 result = (wxLogLevel)wxLog::GetLogLevel();
9385
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
093d3ff1
RD
9389 {
9390 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9391 }
d55e5bfc
RD
9392 return resultobj;
9393 fail:
9394 return NULL;
9395}
9396
9397
c32bde28 9398static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9399 PyObject *resultobj;
9400 wxChar *result;
9401 char *kwnames[] = {
9402 NULL
9403 };
9404
9405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (wxChar *)wxLog::GetTimestamp();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
9414 return resultobj;
9415 fail:
9416 return NULL;
9417}
9418
9419
c32bde28 9420static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9421 PyObject *resultobj;
9422 wxString result;
9423 char *kwnames[] = {
9424 NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = Log_TimeStamp();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 {
9436#if wxUSE_UNICODE
9437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9438#else
9439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9440#endif
9441 }
9442 return resultobj;
9443 fail:
9444 return NULL;
9445}
9446
9447
c32bde28 9448static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9449 PyObject *resultobj;
9450 wxLog *arg1 = (wxLog *) 0 ;
9451 PyObject * obj0 = 0 ;
9452 char *kwnames[] = {
9453 (char *) "self", NULL
9454 };
9455
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
9457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9459 {
9460 PyThreadState* __tstate = wxPyBeginAllowThreads();
9461 wxLog_Destroy(arg1);
9462
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 Py_INCREF(Py_None); resultobj = Py_None;
9467 return resultobj;
9468 fail:
9469 return NULL;
9470}
9471
9472
c32bde28 9473static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9474 PyObject *obj;
9475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9476 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
9477 Py_INCREF(obj);
9478 return Py_BuildValue((char *)"");
9479}
c32bde28 9480static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9481 PyObject *resultobj;
9482 wxLogStderr *result;
9483 char *kwnames[] = {
9484 NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 result = (wxLogStderr *)new wxLogStderr();
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
9496 return resultobj;
9497 fail:
9498 return NULL;
9499}
9500
9501
c32bde28 9502static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9503 PyObject *obj;
9504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9505 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
9506 Py_INCREF(obj);
9507 return Py_BuildValue((char *)"");
9508}
c32bde28 9509static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9510 PyObject *resultobj;
9511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9512 wxLogTextCtrl *result;
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "pTextCtrl", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
9519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
9528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
c32bde28 9535static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9536 PyObject *obj;
9537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9538 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
9539 Py_INCREF(obj);
9540 return Py_BuildValue((char *)"");
9541}
c32bde28 9542static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9543 PyObject *resultobj;
9544 wxLogGui *result;
9545 char *kwnames[] = {
9546 NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (wxLogGui *)new wxLogGui();
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
9558 return resultobj;
9559 fail:
9560 return NULL;
9561}
9562
9563
c32bde28 9564static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9565 PyObject *obj;
9566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9567 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
9568 Py_INCREF(obj);
9569 return Py_BuildValue((char *)"");
9570}
c32bde28 9571static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9572 PyObject *resultobj;
9573 wxFrame *arg1 = (wxFrame *) 0 ;
9574 wxString *arg2 = 0 ;
ae8162c8
RD
9575 bool arg3 = (bool) true ;
9576 bool arg4 = (bool) true ;
d55e5bfc 9577 wxLogWindow *result;
ae8162c8 9578 bool temp2 = false ;
d55e5bfc
RD
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj1 = 0 ;
9581 PyObject * obj2 = 0 ;
9582 PyObject * obj3 = 0 ;
9583 char *kwnames[] = {
9584 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9585 };
9586
9587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
9589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9590 {
9591 arg2 = wxString_in_helper(obj1);
9592 if (arg2 == NULL) SWIG_fail;
ae8162c8 9593 temp2 = true;
d55e5bfc
RD
9594 }
9595 if (obj2) {
093d3ff1
RD
9596 {
9597 arg3 = (bool)(SWIG_As_bool(obj2));
9598 if (SWIG_arg_fail(3)) SWIG_fail;
9599 }
d55e5bfc
RD
9600 }
9601 if (obj3) {
093d3ff1
RD
9602 {
9603 arg4 = (bool)(SWIG_As_bool(obj3));
9604 if (SWIG_arg_fail(4)) SWIG_fail;
9605 }
d55e5bfc
RD
9606 }
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
9615 {
9616 if (temp2)
9617 delete arg2;
9618 }
9619 return resultobj;
9620 fail:
9621 {
9622 if (temp2)
9623 delete arg2;
9624 }
9625 return NULL;
9626}
9627
9628
c32bde28 9629static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9630 PyObject *resultobj;
9631 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 9632 bool arg2 = (bool) true ;
d55e5bfc
RD
9633 PyObject * obj0 = 0 ;
9634 PyObject * obj1 = 0 ;
9635 char *kwnames[] = {
9636 (char *) "self",(char *) "bShow", NULL
9637 };
9638
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9642 if (obj1) {
093d3ff1
RD
9643 {
9644 arg2 = (bool)(SWIG_As_bool(obj1));
9645 if (SWIG_arg_fail(2)) SWIG_fail;
9646 }
d55e5bfc
RD
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 (arg1)->Show(arg2);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 Py_INCREF(Py_None); resultobj = Py_None;
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
c32bde28 9662static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9663 PyObject *resultobj;
9664 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9665 wxFrame *result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
9672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
412d302d 9682 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
9683 }
9684 return resultobj;
9685 fail:
9686 return NULL;
9687}
9688
9689
c32bde28 9690static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9691 PyObject *resultobj;
9692 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9693 wxLog *result;
9694 PyObject * obj0 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9710 return resultobj;
9711 fail:
9712 return NULL;
9713}
9714
9715
c32bde28 9716static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9717 PyObject *resultobj;
9718 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9719 bool result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9727 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9737 }
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
c32bde28 9744static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9745 PyObject *resultobj;
9746 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9747 bool arg2 ;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj1 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self",(char *) "bDoPass", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9756 if (SWIG_arg_fail(1)) SWIG_fail;
9757 {
9758 arg2 = (bool)(SWIG_As_bool(obj1));
9759 if (SWIG_arg_fail(2)) SWIG_fail;
9760 }
d55e5bfc
RD
9761 {
9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
9763 (arg1)->PassMessages(arg2);
9764
9765 wxPyEndAllowThreads(__tstate);
9766 if (PyErr_Occurred()) SWIG_fail;
9767 }
9768 Py_INCREF(Py_None); resultobj = Py_None;
9769 return resultobj;
9770 fail:
9771 return NULL;
9772}
9773
9774
c32bde28 9775static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9776 PyObject *obj;
9777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9778 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
9779 Py_INCREF(obj);
9780 return Py_BuildValue((char *)"");
9781}
c32bde28 9782static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9783 PyObject *resultobj;
9784 wxLog *arg1 = (wxLog *) 0 ;
9785 wxLogChain *result;
9786 PyObject * obj0 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "logger", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
9792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9794 {
9795 PyThreadState* __tstate = wxPyBeginAllowThreads();
9796 result = (wxLogChain *)new wxLogChain(arg1);
9797
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
9802 return resultobj;
9803 fail:
9804 return NULL;
9805}
9806
9807
c32bde28 9808static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9809 PyObject *resultobj;
9810 wxLogChain *arg1 = (wxLogChain *) 0 ;
9811 wxLog *arg2 = (wxLog *) 0 ;
9812 PyObject * obj0 = 0 ;
9813 PyObject * obj1 = 0 ;
9814 char *kwnames[] = {
9815 (char *) "self",(char *) "logger", NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9820 if (SWIG_arg_fail(1)) SWIG_fail;
9821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9822 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 (arg1)->SetLog(arg2);
9826
9827 wxPyEndAllowThreads(__tstate);
9828 if (PyErr_Occurred()) SWIG_fail;
9829 }
9830 Py_INCREF(Py_None); resultobj = Py_None;
9831 return resultobj;
9832 fail:
9833 return NULL;
9834}
9835
9836
c32bde28 9837static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9838 PyObject *resultobj;
9839 wxLogChain *arg1 = (wxLogChain *) 0 ;
9840 bool arg2 ;
9841 PyObject * obj0 = 0 ;
9842 PyObject * obj1 = 0 ;
9843 char *kwnames[] = {
9844 (char *) "self",(char *) "bDoPass", NULL
9845 };
9846
9847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9849 if (SWIG_arg_fail(1)) SWIG_fail;
9850 {
9851 arg2 = (bool)(SWIG_As_bool(obj1));
9852 if (SWIG_arg_fail(2)) SWIG_fail;
9853 }
d55e5bfc
RD
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 (arg1)->PassMessages(arg2);
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 Py_INCREF(Py_None); resultobj = Py_None;
9862 return resultobj;
9863 fail:
9864 return NULL;
9865}
9866
9867
c32bde28 9868static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9869 PyObject *resultobj;
9870 wxLogChain *arg1 = (wxLogChain *) 0 ;
9871 bool result;
9872 PyObject * obj0 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (bool)(arg1)->IsPassingMessages();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 {
9888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9889 }
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
c32bde28 9896static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9897 PyObject *resultobj;
9898 wxLogChain *arg1 = (wxLogChain *) 0 ;
9899 wxLog *result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (wxLog *)(arg1)->GetOldLog();
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
9915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9916 return resultobj;
9917 fail:
9918 return NULL;
9919}
9920
9921
c32bde28 9922static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9923 PyObject *obj;
9924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9925 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
9926 Py_INCREF(obj);
9927 return Py_BuildValue((char *)"");
9928}
be9b1dca
RD
9929static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
9930 PyObject *resultobj;
9931 wxLogBuffer *result;
9932 char *kwnames[] = {
9933 NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (wxLogBuffer *)new wxLogBuffer();
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
9945 return resultobj;
9946 fail:
9947 return NULL;
9948}
9949
9950
9951static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
9954 wxString *result;
9955 PyObject * obj0 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
9961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 {
9966 wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
9967 result = (wxString *) &_result_ref;
9968 }
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 {
9974#if wxUSE_UNICODE
9975 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
9976#else
9977 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
9978#endif
9979 }
9980 return resultobj;
9981 fail:
9982 return NULL;
9983}
9984
9985
9986static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
9987 PyObject *resultobj;
9988 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
9995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 (arg1)->Flush();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 Py_INCREF(Py_None); resultobj = Py_None;
10005 return resultobj;
10006 fail:
10007 return NULL;
10008}
10009
10010
10011static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
10012 PyObject *obj;
10013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10014 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
10015 Py_INCREF(obj);
10016 return Py_BuildValue((char *)"");
10017}
c32bde28 10018static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10019 PyObject *resultobj;
10020 unsigned long result;
10021 char *kwnames[] = {
10022 NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (unsigned long)wxSysErrorCode();
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
093d3ff1
RD
10033 {
10034 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10035 }
d55e5bfc
RD
10036 return resultobj;
10037 fail:
10038 return NULL;
10039}
10040
10041
c32bde28 10042static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10043 PyObject *resultobj;
10044 unsigned long arg1 = (unsigned long) 0 ;
10045 wxString result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "nErrCode", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10052 if (obj0) {
093d3ff1
RD
10053 {
10054 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10055 if (SWIG_arg_fail(1)) SWIG_fail;
10056 }
d55e5bfc
RD
10057 }
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 result = wxSysErrorMsg(arg1);
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 {
10066#if wxUSE_UNICODE
10067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10068#else
10069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10070#endif
10071 }
10072 return resultobj;
10073 fail:
10074 return NULL;
10075}
10076
10077
c32bde28 10078static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10079 PyObject *resultobj;
10080 wxString *arg1 = 0 ;
ae8162c8 10081 bool temp1 = false ;
d55e5bfc
RD
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "msg", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
10088 {
10089 arg1 = wxString_in_helper(obj0);
10090 if (arg1 == NULL) SWIG_fail;
ae8162c8 10091 temp1 = true;
d55e5bfc
RD
10092 }
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10095 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
10096
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 Py_INCREF(Py_None); resultobj = Py_None;
10101 {
10102 if (temp1)
10103 delete arg1;
10104 }
10105 return resultobj;
10106 fail:
10107 {
10108 if (temp1)
10109 delete arg1;
10110 }
10111 return NULL;
10112}
10113
10114
c32bde28 10115static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10116 PyObject *resultobj;
10117 wxString *arg1 = 0 ;
ae8162c8 10118 bool temp1 = false ;
d55e5bfc
RD
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "msg", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
10125 {
10126 arg1 = wxString_in_helper(obj0);
10127 if (arg1 == NULL) SWIG_fail;
ae8162c8 10128 temp1 = true;
d55e5bfc
RD
10129 }
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10132 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 Py_INCREF(Py_None); resultobj = Py_None;
10138 {
10139 if (temp1)
10140 delete arg1;
10141 }
10142 return resultobj;
10143 fail:
10144 {
10145 if (temp1)
10146 delete arg1;
10147 }
10148 return NULL;
10149}
10150
10151
c32bde28 10152static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10153 PyObject *resultobj;
10154 wxString *arg1 = 0 ;
ae8162c8 10155 bool temp1 = false ;
d55e5bfc
RD
10156 PyObject * obj0 = 0 ;
10157 char *kwnames[] = {
10158 (char *) "msg", NULL
10159 };
10160
10161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
10162 {
10163 arg1 = wxString_in_helper(obj0);
10164 if (arg1 == NULL) SWIG_fail;
ae8162c8 10165 temp1 = true;
d55e5bfc
RD
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10169 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 Py_INCREF(Py_None); resultobj = Py_None;
10175 {
10176 if (temp1)
10177 delete arg1;
10178 }
10179 return resultobj;
10180 fail:
10181 {
10182 if (temp1)
10183 delete arg1;
10184 }
10185 return NULL;
10186}
10187
10188
c32bde28 10189static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10190 PyObject *resultobj;
10191 wxString *arg1 = 0 ;
ae8162c8 10192 bool temp1 = false ;
d55e5bfc
RD
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "msg", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
10199 {
10200 arg1 = wxString_in_helper(obj0);
10201 if (arg1 == NULL) SWIG_fail;
ae8162c8 10202 temp1 = true;
d55e5bfc
RD
10203 }
10204 {
10205 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10206 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
10207
10208 wxPyEndAllowThreads(__tstate);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 }
10211 Py_INCREF(Py_None); resultobj = Py_None;
10212 {
10213 if (temp1)
10214 delete arg1;
10215 }
10216 return resultobj;
10217 fail:
10218 {
10219 if (temp1)
10220 delete arg1;
10221 }
10222 return NULL;
10223}
10224
10225
c32bde28 10226static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10227 PyObject *resultobj;
10228 wxString *arg1 = 0 ;
ae8162c8 10229 bool temp1 = false ;
d55e5bfc
RD
10230 PyObject * obj0 = 0 ;
10231 char *kwnames[] = {
10232 (char *) "msg", NULL
10233 };
10234
10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
10236 {
10237 arg1 = wxString_in_helper(obj0);
10238 if (arg1 == NULL) SWIG_fail;
ae8162c8 10239 temp1 = true;
d55e5bfc
RD
10240 }
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10243 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 Py_INCREF(Py_None); resultobj = Py_None;
10249 {
10250 if (temp1)
10251 delete arg1;
10252 }
10253 return resultobj;
10254 fail:
10255 {
10256 if (temp1)
10257 delete arg1;
10258 }
10259 return NULL;
10260}
10261
10262
c32bde28 10263static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10264 PyObject *resultobj;
10265 wxString *arg1 = 0 ;
ae8162c8 10266 bool temp1 = false ;
d55e5bfc
RD
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "msg", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
10273 {
10274 arg1 = wxString_in_helper(obj0);
10275 if (arg1 == NULL) SWIG_fail;
ae8162c8 10276 temp1 = true;
d55e5bfc
RD
10277 }
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10280 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 {
10287 if (temp1)
10288 delete arg1;
10289 }
10290 return resultobj;
10291 fail:
10292 {
10293 if (temp1)
10294 delete arg1;
10295 }
10296 return NULL;
10297}
10298
10299
c32bde28 10300static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10301 PyObject *resultobj;
10302 wxString *arg1 = 0 ;
ae8162c8 10303 bool temp1 = false ;
d55e5bfc
RD
10304 PyObject * obj0 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "msg", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
10310 {
10311 arg1 = wxString_in_helper(obj0);
10312 if (arg1 == NULL) SWIG_fail;
ae8162c8 10313 temp1 = true;
d55e5bfc
RD
10314 }
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10317 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 Py_INCREF(Py_None); resultobj = Py_None;
10323 {
10324 if (temp1)
10325 delete arg1;
10326 }
10327 return resultobj;
10328 fail:
10329 {
10330 if (temp1)
10331 delete arg1;
10332 }
10333 return NULL;
10334}
10335
10336
c32bde28 10337static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10338 PyObject *resultobj;
10339 wxString *arg1 = 0 ;
ae8162c8 10340 bool temp1 = false ;
d55e5bfc
RD
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "msg", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
10347 {
10348 arg1 = wxString_in_helper(obj0);
10349 if (arg1 == NULL) SWIG_fail;
ae8162c8 10350 temp1 = true;
d55e5bfc
RD
10351 }
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10354 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 Py_INCREF(Py_None); resultobj = Py_None;
10360 {
10361 if (temp1)
10362 delete arg1;
10363 }
10364 return resultobj;
10365 fail:
10366 {
10367 if (temp1)
10368 delete arg1;
10369 }
10370 return NULL;
10371}
10372
10373
c32bde28 10374static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10375 PyObject *resultobj;
10376 wxFrame *arg1 = (wxFrame *) 0 ;
10377 wxString *arg2 = 0 ;
ae8162c8 10378 bool temp2 = false ;
d55e5bfc
RD
10379 PyObject * obj0 = 0 ;
10380 PyObject * obj1 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "pFrame",(char *) "msg", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10388 {
10389 arg2 = wxString_in_helper(obj1);
10390 if (arg2 == NULL) SWIG_fail;
ae8162c8 10391 temp2 = true;
d55e5bfc
RD
10392 }
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10395 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 Py_INCREF(Py_None); resultobj = Py_None;
10401 {
10402 if (temp2)
10403 delete arg2;
10404 }
10405 return resultobj;
10406 fail:
10407 {
10408 if (temp2)
10409 delete arg2;
10410 }
10411 return NULL;
10412}
10413
10414
c32bde28 10415static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10416 PyObject *resultobj;
10417 wxString *arg1 = 0 ;
ae8162c8 10418 bool temp1 = false ;
d55e5bfc
RD
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "msg", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
10425 {
10426 arg1 = wxString_in_helper(obj0);
10427 if (arg1 == NULL) SWIG_fail;
ae8162c8 10428 temp1 = true;
d55e5bfc
RD
10429 }
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10432 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 Py_INCREF(Py_None); resultobj = Py_None;
10438 {
10439 if (temp1)
10440 delete arg1;
10441 }
10442 return resultobj;
10443 fail:
10444 {
10445 if (temp1)
10446 delete arg1;
10447 }
10448 return NULL;
10449}
10450
10451
f78cc896
RD
10452static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 unsigned long arg1 ;
10455 wxString *arg2 = 0 ;
10456 bool temp2 = false ;
10457 PyObject * obj0 = 0 ;
10458 PyObject * obj1 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "level",(char *) "msg", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10464 {
10465 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10466 if (SWIG_arg_fail(1)) SWIG_fail;
10467 }
f78cc896
RD
10468 {
10469 arg2 = wxString_in_helper(obj1);
10470 if (arg2 == NULL) SWIG_fail;
10471 temp2 = true;
10472 }
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 wxPyLogGeneric(arg1,(wxString const &)*arg2);
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 Py_INCREF(Py_None); resultobj = Py_None;
10481 {
10482 if (temp2)
10483 delete arg2;
10484 }
10485 return resultobj;
10486 fail:
10487 {
10488 if (temp2)
10489 delete arg2;
10490 }
10491 return NULL;
10492}
10493
10494
c32bde28 10495static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
10496 PyObject *resultobj;
10497 unsigned long arg1 ;
10498 wxString *arg2 = 0 ;
ae8162c8 10499 bool temp2 = false ;
d55e5bfc
RD
10500 PyObject * obj0 = 0 ;
10501 PyObject * obj1 = 0 ;
10502
10503 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1
RD
10504 {
10505 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10506 if (SWIG_arg_fail(1)) SWIG_fail;
10507 }
d55e5bfc
RD
10508 {
10509 arg2 = wxString_in_helper(obj1);
10510 if (arg2 == NULL) SWIG_fail;
ae8162c8 10511 temp2 = true;
d55e5bfc
RD
10512 }
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10515 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 Py_INCREF(Py_None); resultobj = Py_None;
10521 {
10522 if (temp2)
10523 delete arg2;
10524 }
10525 return resultobj;
10526 fail:
10527 {
10528 if (temp2)
10529 delete arg2;
10530 }
10531 return NULL;
10532}
10533
10534
c32bde28 10535static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
10536 PyObject *resultobj;
10537 wxString *arg1 = 0 ;
10538 wxString *arg2 = 0 ;
ae8162c8
RD
10539 bool temp1 = false ;
10540 bool temp2 = false ;
d55e5bfc
RD
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543
10544 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
10545 {
10546 arg1 = wxString_in_helper(obj0);
10547 if (arg1 == NULL) SWIG_fail;
ae8162c8 10548 temp1 = true;
d55e5bfc
RD
10549 }
10550 {
10551 arg2 = wxString_in_helper(obj1);
10552 if (arg2 == NULL) SWIG_fail;
ae8162c8 10553 temp2 = true;
d55e5bfc
RD
10554 }
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10557 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
10562 Py_INCREF(Py_None); resultobj = Py_None;
10563 {
10564 if (temp1)
10565 delete arg1;
10566 }
10567 {
10568 if (temp2)
10569 delete arg2;
10570 }
10571 return resultobj;
10572 fail:
10573 {
10574 if (temp1)
10575 delete arg1;
10576 }
10577 {
10578 if (temp2)
10579 delete arg2;
10580 }
10581 return NULL;
10582}
10583
10584
10585static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
10586 int argc;
10587 PyObject *argv[3];
10588 int ii;
10589
10590 argc = PyObject_Length(args);
10591 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
10592 argv[ii] = PyTuple_GetItem(args,ii);
10593 }
10594 if (argc == 2) {
10595 int _v;
10596 {
10597 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
10598 }
10599 if (_v) {
10600 {
10601 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10602 }
10603 if (_v) {
10604 return _wrap_LogTrace__SWIG_1(self,args);
10605 }
10606 }
10607 }
10608 if (argc == 2) {
10609 int _v;
c32bde28 10610 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
10611 if (_v) {
10612 {
10613 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10614 }
10615 if (_v) {
10616 return _wrap_LogTrace__SWIG_0(self,args);
10617 }
10618 }
10619 }
10620
093d3ff1 10621 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
10622 return NULL;
10623}
10624
10625
c32bde28 10626static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10627 PyObject *resultobj;
10628 wxString *arg1 = 0 ;
10629 wxString *arg2 = 0 ;
ae8162c8
RD
10630 bool temp1 = false ;
10631 bool temp2 = false ;
d55e5bfc
RD
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "title",(char *) "text", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
10639 {
10640 arg1 = wxString_in_helper(obj0);
10641 if (arg1 == NULL) SWIG_fail;
ae8162c8 10642 temp1 = true;
d55e5bfc
RD
10643 }
10644 {
10645 arg2 = wxString_in_helper(obj1);
10646 if (arg2 == NULL) SWIG_fail;
ae8162c8 10647 temp2 = true;
d55e5bfc
RD
10648 }
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 {
10658 if (temp1)
10659 delete arg1;
10660 }
10661 {
10662 if (temp2)
10663 delete arg2;
10664 }
10665 return resultobj;
10666 fail:
10667 {
10668 if (temp1)
10669 delete arg1;
10670 }
10671 {
10672 if (temp2)
10673 delete arg2;
10674 }
10675 return NULL;
10676}
10677
10678
c32bde28 10679static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10680 PyObject *resultobj;
10681 wxLogNull *result;
10682 char *kwnames[] = {
10683 NULL
10684 };
10685
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 result = (wxLogNull *)new wxLogNull();
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
10695 return resultobj;
10696 fail:
10697 return NULL;
10698}
10699
10700
c32bde28 10701static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10702 PyObject *resultobj;
10703 wxLogNull *arg1 = (wxLogNull *) 0 ;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
10710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
10711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 delete arg1;
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 Py_INCREF(Py_None); resultobj = Py_None;
10720 return resultobj;
10721 fail:
10722 return NULL;
10723}
10724
10725
c32bde28 10726static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10727 PyObject *obj;
10728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10729 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
10730 Py_INCREF(obj);
10731 return Py_BuildValue((char *)"");
10732}
c32bde28 10733static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10734 PyObject *resultobj;
10735 wxPyLog *result;
10736 char *kwnames[] = {
10737 NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (wxPyLog *)new wxPyLog();
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
10749 return resultobj;
10750 fail:
10751 return NULL;
10752}
10753
10754
c32bde28 10755static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10756 PyObject *resultobj;
10757 wxPyLog *arg1 = (wxPyLog *) 0 ;
10758 PyObject *arg2 = (PyObject *) 0 ;
10759 PyObject *arg3 = (PyObject *) 0 ;
10760 PyObject * obj0 = 0 ;
10761 PyObject * obj1 = 0 ;
10762 PyObject * obj2 = 0 ;
10763 char *kwnames[] = {
10764 (char *) "self",(char *) "self",(char *) "_class", NULL
10765 };
10766
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10770 arg2 = obj1;
10771 arg3 = obj2;
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 (arg1)->_setCallbackInfo(arg2,arg3);
10775
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 Py_INCREF(Py_None); resultobj = Py_None;
10780 return resultobj;
10781 fail:
10782 return NULL;
10783}
10784
10785
c32bde28 10786static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10787 PyObject *obj;
10788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10789 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
10790 Py_INCREF(obj);
10791 return Py_BuildValue((char *)"");
10792}
c32bde28 10793static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10794 PyObject *resultobj;
10795 int arg1 ;
093d3ff1 10796 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70 10797 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 10798 wxKillError result;
d55e5bfc
RD
10799 PyObject * obj0 = 0 ;
10800 PyObject * obj1 = 0 ;
c9c2cf70 10801 PyObject * obj2 = 0 ;
d55e5bfc 10802 char *kwnames[] = {
c9c2cf70 10803 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
10804 };
10805
c9c2cf70 10806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10807 {
10808 arg1 = (int)(SWIG_As_int(obj0));
10809 if (SWIG_arg_fail(1)) SWIG_fail;
10810 }
d55e5bfc 10811 if (obj1) {
093d3ff1
RD
10812 {
10813 arg2 = (wxSignal)(SWIG_As_int(obj1));
10814 if (SWIG_arg_fail(2)) SWIG_fail;
10815 }
d55e5bfc 10816 }
c9c2cf70 10817 if (obj2) {
093d3ff1
RD
10818 {
10819 arg3 = (int)(SWIG_As_int(obj2));
10820 if (SWIG_arg_fail(3)) SWIG_fail;
10821 }
c9c2cf70 10822 }
d55e5bfc
RD
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10825 result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
d55e5bfc
RD
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
093d3ff1 10830 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10831 return resultobj;
10832 fail:
10833 return NULL;
10834}
10835
10836
c32bde28 10837static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10838 PyObject *resultobj;
10839 int arg1 ;
10840 bool result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "pid", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1
RD
10847 {
10848 arg1 = (int)(SWIG_As_int(obj0));
10849 if (SWIG_arg_fail(1)) SWIG_fail;
10850 }
d55e5bfc
RD
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (bool)wxPyProcess::Exists(arg1);
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10860 }
10861 return resultobj;
10862 fail:
10863 return NULL;
10864}
10865
10866
c32bde28 10867static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10868 PyObject *resultobj;
10869 wxString *arg1 = 0 ;
10870 int arg2 = (int) wxEXEC_ASYNC ;
10871 wxPyProcess *result;
ae8162c8 10872 bool temp1 = false ;
d55e5bfc
RD
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "cmd",(char *) "flags", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
10880 {
10881 arg1 = wxString_in_helper(obj0);
10882 if (arg1 == NULL) SWIG_fail;
ae8162c8 10883 temp1 = true;
d55e5bfc
RD
10884 }
10885 if (obj1) {
093d3ff1
RD
10886 {
10887 arg2 = (int)(SWIG_As_int(obj1));
10888 if (SWIG_arg_fail(2)) SWIG_fail;
10889 }
d55e5bfc
RD
10890 }
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
10899 {
10900 if (temp1)
10901 delete arg1;
10902 }
10903 return resultobj;
10904 fail:
10905 {
10906 if (temp1)
10907 delete arg1;
10908 }
10909 return NULL;
10910}
10911
10912
c32bde28 10913static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10914 PyObject *resultobj;
10915 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
10916 int arg2 = (int) -1 ;
10917 wxPyProcess *result;
10918 PyObject * obj0 = 0 ;
10919 PyObject * obj1 = 0 ;
10920 char *kwnames[] = {
10921 (char *) "parent",(char *) "id", NULL
10922 };
10923
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
10925 if (obj0) {
093d3ff1
RD
10926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
10927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10928 }
10929 if (obj1) {
093d3ff1
RD
10930 {
10931 arg2 = (int)(SWIG_As_int(obj1));
10932 if (SWIG_arg_fail(2)) SWIG_fail;
10933 }
d55e5bfc
RD
10934 }
10935 {
10936 PyThreadState* __tstate = wxPyBeginAllowThreads();
10937 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
10938
10939 wxPyEndAllowThreads(__tstate);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 }
10942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
10943 return resultobj;
10944 fail:
10945 return NULL;
10946}
10947
10948
c32bde28 10949static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10950 PyObject *resultobj;
10951 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10952 PyObject *arg2 = (PyObject *) 0 ;
10953 PyObject *arg3 = (PyObject *) 0 ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 PyObject * obj2 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self",(char *) "self",(char *) "_class", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10964 arg2 = obj1;
10965 arg3 = obj2;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 (arg1)->_setCallbackInfo(arg2,arg3);
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 Py_INCREF(Py_None); resultobj = Py_None;
10974 return resultobj;
10975 fail:
10976 return NULL;
10977}
10978
10979
c32bde28 10980static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10981 PyObject *resultobj;
10982 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10983 int arg2 ;
10984 int arg3 ;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 PyObject * obj2 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self",(char *) "pid",(char *) "status", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10994 if (SWIG_arg_fail(1)) SWIG_fail;
10995 {
10996 arg2 = (int)(SWIG_As_int(obj1));
10997 if (SWIG_arg_fail(2)) SWIG_fail;
10998 }
10999 {
11000 arg3 = (int)(SWIG_As_int(obj2));
11001 if (SWIG_arg_fail(3)) SWIG_fail;
11002 }
d55e5bfc
RD
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 (arg1)->base_OnTerminate(arg2,arg3);
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 Py_INCREF(Py_None); resultobj = Py_None;
11011 return resultobj;
11012 fail:
11013 return NULL;
11014}
11015
11016
c32bde28 11017static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11018 PyObject *resultobj;
11019 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
11026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 (arg1)->Redirect();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 Py_INCREF(Py_None); resultobj = Py_None;
11036 return resultobj;
11037 fail:
11038 return NULL;
11039}
11040
11041
c32bde28 11042static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11043 PyObject *resultobj;
11044 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11045 bool result;
11046 PyObject * obj0 = 0 ;
11047 char *kwnames[] = {
11048 (char *) "self", NULL
11049 };
11050
11051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
11052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)(arg1)->IsRedirected();
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 {
11062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11063 }
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
c32bde28 11070static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11071 PyObject *resultobj;
11072 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
11079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 (arg1)->Detach();
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 Py_INCREF(Py_None); resultobj = Py_None;
11089 return resultobj;
11090 fail:
11091 return NULL;
11092}
11093
11094
c32bde28 11095static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11096 PyObject *resultobj;
11097 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11098 wxInputStream *result;
11099 PyObject * obj0 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "self", NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11107 {
11108 PyThreadState* __tstate = wxPyBeginAllowThreads();
11109 result = (wxInputStream *)(arg1)->GetInputStream();
11110
11111 wxPyEndAllowThreads(__tstate);
11112 if (PyErr_Occurred()) SWIG_fail;
11113 }
11114 {
11115 wxPyInputStream * _ptr = NULL;
11116
11117 if (result) {
11118 _ptr = new wxPyInputStream(result);
11119 }
fc71d09b 11120 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11121 }
11122 return resultobj;
11123 fail:
11124 return NULL;
11125}
11126
11127
c32bde28 11128static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11129 PyObject *resultobj;
11130 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11131 wxInputStream *result;
11132 PyObject * obj0 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 result = (wxInputStream *)(arg1)->GetErrorStream();
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 {
11148 wxPyInputStream * _ptr = NULL;
11149
11150 if (result) {
11151 _ptr = new wxPyInputStream(result);
11152 }
fc71d09b 11153 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11154 }
11155 return resultobj;
11156 fail:
11157 return NULL;
11158}
11159
11160
c32bde28 11161static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11162 PyObject *resultobj;
11163 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11164 wxOutputStream *result;
11165 PyObject * obj0 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = (wxOutputStream *)(arg1)->GetOutputStream();
11176
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
11181 return resultobj;
11182 fail:
11183 return NULL;
11184}
11185
11186
c32bde28 11187static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11188 PyObject *resultobj;
11189 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11190 PyObject * obj0 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
11196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->CloseOutput();
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 Py_INCREF(Py_None); resultobj = Py_None;
11206 return resultobj;
11207 fail:
11208 return NULL;
11209}
11210
11211
c32bde28 11212static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11213 PyObject *resultobj;
11214 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11215 bool result;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
11222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
c32bde28 11240static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11241 PyObject *resultobj;
11242 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11243 bool result;
11244 PyObject * obj0 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 {
11260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11261 }
11262 return resultobj;
11263 fail:
11264 return NULL;
11265}
11266
11267
c32bde28 11268static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11269 PyObject *resultobj;
11270 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11271 bool result;
11272 PyObject * obj0 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11280 {
11281 PyThreadState* __tstate = wxPyBeginAllowThreads();
11282 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
11283
11284 wxPyEndAllowThreads(__tstate);
11285 if (PyErr_Occurred()) SWIG_fail;
11286 }
11287 {
11288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11289 }
11290 return resultobj;
11291 fail:
11292 return NULL;
11293}
11294
11295
c32bde28 11296static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11297 PyObject *obj;
11298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11299 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
11300 Py_INCREF(obj);
11301 return Py_BuildValue((char *)"");
11302}
c32bde28 11303static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11304 PyObject *resultobj;
11305 int arg1 = (int) 0 ;
11306 int arg2 = (int) 0 ;
11307 int arg3 = (int) 0 ;
11308 wxProcessEvent *result;
11309 PyObject * obj0 = 0 ;
11310 PyObject * obj1 = 0 ;
11311 PyObject * obj2 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
11317 if (obj0) {
093d3ff1
RD
11318 {
11319 arg1 = (int)(SWIG_As_int(obj0));
11320 if (SWIG_arg_fail(1)) SWIG_fail;
11321 }
d55e5bfc
RD
11322 }
11323 if (obj1) {
093d3ff1
RD
11324 {
11325 arg2 = (int)(SWIG_As_int(obj1));
11326 if (SWIG_arg_fail(2)) SWIG_fail;
11327 }
d55e5bfc
RD
11328 }
11329 if (obj2) {
093d3ff1
RD
11330 {
11331 arg3 = (int)(SWIG_As_int(obj2));
11332 if (SWIG_arg_fail(3)) SWIG_fail;
11333 }
d55e5bfc
RD
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
11343 return resultobj;
11344 fail:
11345 return NULL;
11346}
11347
11348
c32bde28 11349static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11350 PyObject *resultobj;
11351 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11352 int result;
11353 PyObject * obj0 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
11359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (int)(arg1)->GetPid();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
093d3ff1
RD
11368 {
11369 resultobj = SWIG_From_int((int)(result));
11370 }
d55e5bfc
RD
11371 return resultobj;
11372 fail:
11373 return NULL;
11374}
11375
11376
c32bde28 11377static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11378 PyObject *resultobj;
11379 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11380 int result;
11381 PyObject * obj0 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
11387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 result = (int)(arg1)->GetExitCode();
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
093d3ff1
RD
11396 {
11397 resultobj = SWIG_From_int((int)(result));
11398 }
d55e5bfc
RD
11399 return resultobj;
11400 fail:
11401 return NULL;
11402}
11403
11404
c32bde28 11405static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11406 PyObject *resultobj;
11407 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11408 int arg2 ;
11409 PyObject * obj0 = 0 ;
11410 PyObject * obj1 = 0 ;
11411 char *kwnames[] = {
11412 (char *) "self",(char *) "m_pid", NULL
11413 };
11414
11415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail;
11418 {
11419 arg2 = (int)(SWIG_As_int(obj1));
11420 if (SWIG_arg_fail(2)) SWIG_fail;
11421 }
d55e5bfc
RD
11422 if (arg1) (arg1)->m_pid = arg2;
11423
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 return resultobj;
11426 fail:
11427 return NULL;
11428}
11429
11430
c32bde28 11431static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11432 PyObject *resultobj;
11433 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11434 int result;
11435 PyObject * obj0 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self", NULL
11438 };
11439
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11443 result = (int) ((arg1)->m_pid);
11444
093d3ff1
RD
11445 {
11446 resultobj = SWIG_From_int((int)(result));
11447 }
d55e5bfc
RD
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
c32bde28 11454static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11455 PyObject *resultobj;
11456 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11457 int arg2 ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "m_exitcode", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11466 if (SWIG_arg_fail(1)) SWIG_fail;
11467 {
11468 arg2 = (int)(SWIG_As_int(obj1));
11469 if (SWIG_arg_fail(2)) SWIG_fail;
11470 }
d55e5bfc
RD
11471 if (arg1) (arg1)->m_exitcode = arg2;
11472
11473 Py_INCREF(Py_None); resultobj = Py_None;
11474 return resultobj;
11475 fail:
11476 return NULL;
11477}
11478
11479
c32bde28 11480static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11481 PyObject *resultobj;
11482 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11483 int result;
11484 PyObject * obj0 = 0 ;
11485 char *kwnames[] = {
11486 (char *) "self", NULL
11487 };
11488
11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11492 result = (int) ((arg1)->m_exitcode);
11493
093d3ff1
RD
11494 {
11495 resultobj = SWIG_From_int((int)(result));
11496 }
d55e5bfc
RD
11497 return resultobj;
11498 fail:
11499 return NULL;
11500}
11501
11502
c32bde28 11503static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11504 PyObject *obj;
11505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11506 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
11507 Py_INCREF(obj);
11508 return Py_BuildValue((char *)"");
11509}
c32bde28 11510static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11511 PyObject *resultobj;
11512 wxString *arg1 = 0 ;
11513 int arg2 = (int) wxEXEC_ASYNC ;
11514 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
11515 long result;
ae8162c8 11516 bool temp1 = false ;
d55e5bfc
RD
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 PyObject * obj2 = 0 ;
11520 char *kwnames[] = {
11521 (char *) "command",(char *) "flags",(char *) "process", NULL
11522 };
11523
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
11525 {
11526 arg1 = wxString_in_helper(obj0);
11527 if (arg1 == NULL) SWIG_fail;
ae8162c8 11528 temp1 = true;
d55e5bfc
RD
11529 }
11530 if (obj1) {
093d3ff1
RD
11531 {
11532 arg2 = (int)(SWIG_As_int(obj1));
11533 if (SWIG_arg_fail(2)) SWIG_fail;
11534 }
d55e5bfc
RD
11535 }
11536 if (obj2) {
093d3ff1
RD
11537 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11538 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
11539 }
11540 {
0439c23b 11541 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
11544
11545 wxPyEndAllowThreads(__tstate);
110da5b0 11546 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11547 }
093d3ff1
RD
11548 {
11549 resultobj = SWIG_From_long((long)(result));
11550 }
d55e5bfc
RD
11551 {
11552 if (temp1)
11553 delete arg1;
11554 }
11555 return resultobj;
11556 fail:
11557 {
11558 if (temp1)
11559 delete arg1;
11560 }
11561 return NULL;
11562}
11563
11564
c9c2cf70
RD
11565static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 long arg1 ;
093d3ff1 11568 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70
RD
11569 wxKillError *arg3 = (wxKillError *) 0 ;
11570 int arg4 = (int) wxKILL_NOCHILDREN ;
11571 int result;
11572 wxKillError temp3 ;
11573 PyObject * obj0 = 0 ;
11574 PyObject * obj1 = 0 ;
11575 PyObject * obj2 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11578 };
11579
11580 {
11581 arg3 = &temp3;
11582 }
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11584 {
11585 arg1 = (long)(SWIG_As_long(obj0));
11586 if (SWIG_arg_fail(1)) SWIG_fail;
11587 }
c9c2cf70 11588 if (obj1) {
093d3ff1
RD
11589 {
11590 arg2 = (wxSignal)(SWIG_As_int(obj1));
11591 if (SWIG_arg_fail(2)) SWIG_fail;
11592 }
c9c2cf70
RD
11593 }
11594 if (obj2) {
093d3ff1
RD
11595 {
11596 arg4 = (int)(SWIG_As_int(obj2));
11597 if (SWIG_arg_fail(4)) SWIG_fail;
11598 }
c9c2cf70
RD
11599 }
11600 {
11601 PyThreadState* __tstate = wxPyBeginAllowThreads();
11602 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
11603
11604 wxPyEndAllowThreads(__tstate);
11605 if (PyErr_Occurred()) SWIG_fail;
11606 }
093d3ff1
RD
11607 {
11608 resultobj = SWIG_From_int((int)(result));
11609 }
c9c2cf70
RD
11610 {
11611 PyObject* o;
11612 o = PyInt_FromLong((long) (*arg3));
11613 resultobj = t_output_helper(resultobj, o);
11614 }
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
c32bde28 11621static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11622 PyObject *resultobj;
11623 int arg1 = (int) wxJOYSTICK1 ;
11624 wxJoystick *result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "joystick", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
11631 if (obj0) {
093d3ff1
RD
11632 {
11633 arg1 = (int)(SWIG_As_int(obj0));
11634 if (SWIG_arg_fail(1)) SWIG_fail;
11635 }
d55e5bfc
RD
11636 }
11637 {
0439c23b 11638 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
11640 result = (wxJoystick *)new wxJoystick(arg1);
11641
11642 wxPyEndAllowThreads(__tstate);
110da5b0 11643 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11644 }
11645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
11646 return resultobj;
11647 fail:
11648 return NULL;
11649}
11650
11651
c32bde28 11652static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11653 PyObject *resultobj;
11654 wxJoystick *arg1 = (wxJoystick *) 0 ;
11655 PyObject * obj0 = 0 ;
11656 char *kwnames[] = {
11657 (char *) "self", NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
11661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 delete arg1;
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 Py_INCREF(Py_None); resultobj = Py_None;
11671 return resultobj;
11672 fail:
11673 return NULL;
11674}
11675
11676
c32bde28 11677static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11678 PyObject *resultobj;
11679 wxJoystick *arg1 = (wxJoystick *) 0 ;
11680 wxPoint result;
11681 PyObject * obj0 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "self", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 result = (arg1)->GetPosition();
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 {
11697 wxPoint * resultptr;
093d3ff1 11698 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
11699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11700 }
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
c32bde28 11707static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11708 PyObject *resultobj;
11709 wxJoystick *arg1 = (wxJoystick *) 0 ;
11710 int result;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (int)(arg1)->GetZPosition();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
093d3ff1
RD
11726 {
11727 resultobj = SWIG_From_int((int)(result));
11728 }
d55e5bfc
RD
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
c32bde28 11735static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11736 PyObject *resultobj;
11737 wxJoystick *arg1 = (wxJoystick *) 0 ;
11738 int result;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
11745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 result = (int)(arg1)->GetButtonState();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
093d3ff1
RD
11754 {
11755 resultobj = SWIG_From_int((int)(result));
11756 }
d55e5bfc
RD
11757 return resultobj;
11758 fail:
11759 return NULL;
11760}
11761
11762
c32bde28 11763static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11764 PyObject *resultobj;
11765 wxJoystick *arg1 = (wxJoystick *) 0 ;
11766 int result;
11767 PyObject * obj0 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (int)(arg1)->GetPOVPosition();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
093d3ff1
RD
11782 {
11783 resultobj = SWIG_From_int((int)(result));
11784 }
d55e5bfc
RD
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
c32bde28 11791static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11792 PyObject *resultobj;
11793 wxJoystick *arg1 = (wxJoystick *) 0 ;
11794 int result;
11795 PyObject * obj0 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (int)(arg1)->GetPOVCTSPosition();
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
093d3ff1
RD
11810 {
11811 resultobj = SWIG_From_int((int)(result));
11812 }
d55e5bfc
RD
11813 return resultobj;
11814 fail:
11815 return NULL;
11816}
11817
11818
c32bde28 11819static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11820 PyObject *resultobj;
11821 wxJoystick *arg1 = (wxJoystick *) 0 ;
11822 int result;
11823 PyObject * obj0 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "self", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (int)(arg1)->GetRudderPosition();
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
093d3ff1
RD
11838 {
11839 resultobj = SWIG_From_int((int)(result));
11840 }
d55e5bfc
RD
11841 return resultobj;
11842 fail:
11843 return NULL;
11844}
11845
11846
c32bde28 11847static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11848 PyObject *resultobj;
11849 wxJoystick *arg1 = (wxJoystick *) 0 ;
11850 int result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (int)(arg1)->GetUPosition();
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
093d3ff1
RD
11866 {
11867 resultobj = SWIG_From_int((int)(result));
11868 }
d55e5bfc
RD
11869 return resultobj;
11870 fail:
11871 return NULL;
11872}
11873
11874
c32bde28 11875static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11876 PyObject *resultobj;
11877 wxJoystick *arg1 = (wxJoystick *) 0 ;
11878 int result;
11879 PyObject * obj0 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "self", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (int)(arg1)->GetVPosition();
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
093d3ff1
RD
11894 {
11895 resultobj = SWIG_From_int((int)(result));
11896 }
d55e5bfc
RD
11897 return resultobj;
11898 fail:
11899 return NULL;
11900}
11901
11902
c32bde28 11903static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11904 PyObject *resultobj;
11905 wxJoystick *arg1 = (wxJoystick *) 0 ;
11906 int result;
11907 PyObject * obj0 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
11913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11915 {
11916 PyThreadState* __tstate = wxPyBeginAllowThreads();
11917 result = (int)(arg1)->GetMovementThreshold();
11918
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
093d3ff1
RD
11922 {
11923 resultobj = SWIG_From_int((int)(result));
11924 }
d55e5bfc
RD
11925 return resultobj;
11926 fail:
11927 return NULL;
11928}
11929
11930
c32bde28 11931static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11932 PyObject *resultobj;
11933 wxJoystick *arg1 = (wxJoystick *) 0 ;
11934 int arg2 ;
11935 PyObject * obj0 = 0 ;
11936 PyObject * obj1 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self",(char *) "threshold", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail;
11944 {
11945 arg2 = (int)(SWIG_As_int(obj1));
11946 if (SWIG_arg_fail(2)) SWIG_fail;
11947 }
d55e5bfc
RD
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 (arg1)->SetMovementThreshold(arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 Py_INCREF(Py_None); resultobj = Py_None;
11956 return resultobj;
11957 fail:
11958 return NULL;
11959}
11960
11961
c32bde28 11962static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11963 PyObject *resultobj;
11964 wxJoystick *arg1 = (wxJoystick *) 0 ;
11965 bool result;
11966 PyObject * obj0 = 0 ;
11967 char *kwnames[] = {
11968 (char *) "self", NULL
11969 };
11970
11971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
11972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (bool)(arg1)->IsOk();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 {
11982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11983 }
11984 return resultobj;
11985 fail:
11986 return NULL;
11987}
11988
11989
c32bde28 11990static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11991 PyObject *resultobj;
11992 wxJoystick *arg1 = (wxJoystick *) 0 ;
11993 int result;
11994 PyObject * obj0 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
12000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = (int)(arg1)->GetNumberJoysticks();
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
093d3ff1
RD
12009 {
12010 resultobj = SWIG_From_int((int)(result));
12011 }
d55e5bfc
RD
12012 return resultobj;
12013 fail:
12014 return NULL;
12015}
12016
12017
c32bde28 12018static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12019 PyObject *resultobj;
12020 wxJoystick *arg1 = (wxJoystick *) 0 ;
12021 int result;
12022 PyObject * obj0 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (int)(arg1)->GetManufacturerId();
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
093d3ff1
RD
12037 {
12038 resultobj = SWIG_From_int((int)(result));
12039 }
d55e5bfc
RD
12040 return resultobj;
12041 fail:
12042 return NULL;
12043}
12044
12045
c32bde28 12046static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12047 PyObject *resultobj;
12048 wxJoystick *arg1 = (wxJoystick *) 0 ;
12049 int result;
12050 PyObject * obj0 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (int)(arg1)->GetProductId();
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
093d3ff1
RD
12065 {
12066 resultobj = SWIG_From_int((int)(result));
12067 }
d55e5bfc
RD
12068 return resultobj;
12069 fail:
12070 return NULL;
12071}
12072
12073
c32bde28 12074static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12075 PyObject *resultobj;
12076 wxJoystick *arg1 = (wxJoystick *) 0 ;
12077 wxString result;
12078 PyObject * obj0 = 0 ;
12079 char *kwnames[] = {
12080 (char *) "self", NULL
12081 };
12082
12083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
12084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (arg1)->GetProductName();
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 {
12094#if wxUSE_UNICODE
12095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12096#else
12097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12098#endif
12099 }
12100 return resultobj;
12101 fail:
12102 return NULL;
12103}
12104
12105
c32bde28 12106static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12107 PyObject *resultobj;
12108 wxJoystick *arg1 = (wxJoystick *) 0 ;
12109 int result;
12110 PyObject * obj0 = 0 ;
12111 char *kwnames[] = {
12112 (char *) "self", NULL
12113 };
12114
12115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (int)(arg1)->GetXMin();
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
093d3ff1
RD
12125 {
12126 resultobj = SWIG_From_int((int)(result));
12127 }
d55e5bfc
RD
12128 return resultobj;
12129 fail:
12130 return NULL;
12131}
12132
12133
c32bde28 12134static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12135 PyObject *resultobj;
12136 wxJoystick *arg1 = (wxJoystick *) 0 ;
12137 int result;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12146 {
12147 PyThreadState* __tstate = wxPyBeginAllowThreads();
12148 result = (int)(arg1)->GetYMin();
12149
12150 wxPyEndAllowThreads(__tstate);
12151 if (PyErr_Occurred()) SWIG_fail;
12152 }
093d3ff1
RD
12153 {
12154 resultobj = SWIG_From_int((int)(result));
12155 }
d55e5bfc
RD
12156 return resultobj;
12157 fail:
12158 return NULL;
12159}
12160
12161
c32bde28 12162static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12163 PyObject *resultobj;
12164 wxJoystick *arg1 = (wxJoystick *) 0 ;
12165 int result;
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (int)(arg1)->GetZMin();
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
093d3ff1
RD
12181 {
12182 resultobj = SWIG_From_int((int)(result));
12183 }
d55e5bfc
RD
12184 return resultobj;
12185 fail:
12186 return NULL;
12187}
12188
12189
c32bde28 12190static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12191 PyObject *resultobj;
12192 wxJoystick *arg1 = (wxJoystick *) 0 ;
12193 int result;
12194 PyObject * obj0 = 0 ;
12195 char *kwnames[] = {
12196 (char *) "self", NULL
12197 };
12198
12199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (int)(arg1)->GetXMax();
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
093d3ff1
RD
12209 {
12210 resultobj = SWIG_From_int((int)(result));
12211 }
d55e5bfc
RD
12212 return resultobj;
12213 fail:
12214 return NULL;
12215}
12216
12217
c32bde28 12218static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12219 PyObject *resultobj;
12220 wxJoystick *arg1 = (wxJoystick *) 0 ;
12221 int result;
12222 PyObject * obj0 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = (int)(arg1)->GetYMax();
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
093d3ff1
RD
12237 {
12238 resultobj = SWIG_From_int((int)(result));
12239 }
d55e5bfc
RD
12240 return resultobj;
12241 fail:
12242 return NULL;
12243}
12244
12245
c32bde28 12246static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12247 PyObject *resultobj;
12248 wxJoystick *arg1 = (wxJoystick *) 0 ;
12249 int result;
12250 PyObject * obj0 = 0 ;
12251 char *kwnames[] = {
12252 (char *) "self", NULL
12253 };
12254
12255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12258 {
12259 PyThreadState* __tstate = wxPyBeginAllowThreads();
12260 result = (int)(arg1)->GetZMax();
12261
12262 wxPyEndAllowThreads(__tstate);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 }
093d3ff1
RD
12265 {
12266 resultobj = SWIG_From_int((int)(result));
12267 }
d55e5bfc
RD
12268 return resultobj;
12269 fail:
12270 return NULL;
12271}
12272
12273
c32bde28 12274static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12275 PyObject *resultobj;
12276 wxJoystick *arg1 = (wxJoystick *) 0 ;
12277 int result;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = (int)(arg1)->GetNumberButtons();
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
093d3ff1
RD
12293 {
12294 resultobj = SWIG_From_int((int)(result));
12295 }
d55e5bfc
RD
12296 return resultobj;
12297 fail:
12298 return NULL;
12299}
12300
12301
c32bde28 12302static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12303 PyObject *resultobj;
12304 wxJoystick *arg1 = (wxJoystick *) 0 ;
12305 int result;
12306 PyObject * obj0 = 0 ;
12307 char *kwnames[] = {
12308 (char *) "self", NULL
12309 };
12310
12311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12313 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12314 {
12315 PyThreadState* __tstate = wxPyBeginAllowThreads();
12316 result = (int)(arg1)->GetNumberAxes();
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
093d3ff1
RD
12321 {
12322 resultobj = SWIG_From_int((int)(result));
12323 }
d55e5bfc
RD
12324 return resultobj;
12325 fail:
12326 return NULL;
12327}
12328
12329
c32bde28 12330static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12331 PyObject *resultobj;
12332 wxJoystick *arg1 = (wxJoystick *) 0 ;
12333 int result;
12334 PyObject * obj0 = 0 ;
12335 char *kwnames[] = {
12336 (char *) "self", NULL
12337 };
12338
12339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 result = (int)(arg1)->GetMaxButtons();
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
093d3ff1
RD
12349 {
12350 resultobj = SWIG_From_int((int)(result));
12351 }
d55e5bfc
RD
12352 return resultobj;
12353 fail:
12354 return NULL;
12355}
12356
12357
c32bde28 12358static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12359 PyObject *resultobj;
12360 wxJoystick *arg1 = (wxJoystick *) 0 ;
12361 int result;
12362 PyObject * obj0 = 0 ;
12363 char *kwnames[] = {
12364 (char *) "self", NULL
12365 };
12366
12367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 result = (int)(arg1)->GetMaxAxes();
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
093d3ff1
RD
12377 {
12378 resultobj = SWIG_From_int((int)(result));
12379 }
d55e5bfc
RD
12380 return resultobj;
12381 fail:
12382 return NULL;
12383}
12384
12385
c32bde28 12386static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12387 PyObject *resultobj;
12388 wxJoystick *arg1 = (wxJoystick *) 0 ;
12389 int result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (int)(arg1)->GetPollingMin();
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
093d3ff1
RD
12405 {
12406 resultobj = SWIG_From_int((int)(result));
12407 }
d55e5bfc
RD
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
c32bde28 12414static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12415 PyObject *resultobj;
12416 wxJoystick *arg1 = (wxJoystick *) 0 ;
12417 int result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (int)(arg1)->GetPollingMax();
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
093d3ff1
RD
12433 {
12434 resultobj = SWIG_From_int((int)(result));
12435 }
d55e5bfc
RD
12436 return resultobj;
12437 fail:
12438 return NULL;
12439}
12440
12441
c32bde28 12442static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12443 PyObject *resultobj;
12444 wxJoystick *arg1 = (wxJoystick *) 0 ;
12445 int result;
12446 PyObject * obj0 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (int)(arg1)->GetRudderMin();
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
093d3ff1
RD
12461 {
12462 resultobj = SWIG_From_int((int)(result));
12463 }
d55e5bfc
RD
12464 return resultobj;
12465 fail:
12466 return NULL;
12467}
12468
12469
c32bde28 12470static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12471 PyObject *resultobj;
12472 wxJoystick *arg1 = (wxJoystick *) 0 ;
12473 int result;
12474 PyObject * obj0 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (int)(arg1)->GetRudderMax();
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
093d3ff1
RD
12489 {
12490 resultobj = SWIG_From_int((int)(result));
12491 }
d55e5bfc
RD
12492 return resultobj;
12493 fail:
12494 return NULL;
12495}
12496
12497
c32bde28 12498static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12499 PyObject *resultobj;
12500 wxJoystick *arg1 = (wxJoystick *) 0 ;
12501 int result;
12502 PyObject * obj0 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = (int)(arg1)->GetUMin();
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
093d3ff1
RD
12517 {
12518 resultobj = SWIG_From_int((int)(result));
12519 }
d55e5bfc
RD
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
c32bde28 12526static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12527 PyObject *resultobj;
12528 wxJoystick *arg1 = (wxJoystick *) 0 ;
12529 int result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (int)(arg1)->GetUMax();
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
093d3ff1
RD
12545 {
12546 resultobj = SWIG_From_int((int)(result));
12547 }
d55e5bfc
RD
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
c32bde28 12554static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12555 PyObject *resultobj;
12556 wxJoystick *arg1 = (wxJoystick *) 0 ;
12557 int result;
12558 PyObject * obj0 = 0 ;
12559 char *kwnames[] = {
12560 (char *) "self", NULL
12561 };
12562
12563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (int)(arg1)->GetVMin();
12569
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
093d3ff1
RD
12573 {
12574 resultobj = SWIG_From_int((int)(result));
12575 }
d55e5bfc
RD
12576 return resultobj;
12577 fail:
12578 return NULL;
12579}
12580
12581
c32bde28 12582static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12583 PyObject *resultobj;
12584 wxJoystick *arg1 = (wxJoystick *) 0 ;
12585 int result;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 result = (int)(arg1)->GetVMax();
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
093d3ff1
RD
12601 {
12602 resultobj = SWIG_From_int((int)(result));
12603 }
d55e5bfc
RD
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
c32bde28 12610static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12611 PyObject *resultobj;
12612 wxJoystick *arg1 = (wxJoystick *) 0 ;
12613 bool result;
12614 PyObject * obj0 = 0 ;
12615 char *kwnames[] = {
12616 (char *) "self", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
12620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (bool)(arg1)->HasRudder();
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12631 }
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
c32bde28 12638static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12639 PyObject *resultobj;
12640 wxJoystick *arg1 = (wxJoystick *) 0 ;
12641 bool result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
12648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (bool)(arg1)->HasZ();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 {
12658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12659 }
12660 return resultobj;
12661 fail:
12662 return NULL;
12663}
12664
12665
c32bde28 12666static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12667 PyObject *resultobj;
12668 wxJoystick *arg1 = (wxJoystick *) 0 ;
12669 bool result;
12670 PyObject * obj0 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
12676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12678 {
12679 PyThreadState* __tstate = wxPyBeginAllowThreads();
12680 result = (bool)(arg1)->HasU();
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 {
12686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12687 }
12688 return resultobj;
12689 fail:
12690 return NULL;
12691}
12692
12693
c32bde28 12694static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12695 PyObject *resultobj;
12696 wxJoystick *arg1 = (wxJoystick *) 0 ;
12697 bool result;
12698 PyObject * obj0 = 0 ;
12699 char *kwnames[] = {
12700 (char *) "self", NULL
12701 };
12702
12703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 result = (bool)(arg1)->HasV();
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 {
12714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12715 }
12716 return resultobj;
12717 fail:
12718 return NULL;
12719}
12720
12721
c32bde28 12722static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12723 PyObject *resultobj;
12724 wxJoystick *arg1 = (wxJoystick *) 0 ;
12725 bool result;
12726 PyObject * obj0 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (bool)(arg1)->HasPOV();
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 {
12742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12743 }
12744 return resultobj;
12745 fail:
12746 return NULL;
12747}
12748
12749
c32bde28 12750static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12751 PyObject *resultobj;
12752 wxJoystick *arg1 = (wxJoystick *) 0 ;
12753 bool result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
12760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12761 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (bool)(arg1)->HasPOV4Dir();
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 {
12770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12771 }
12772 return resultobj;
12773 fail:
12774 return NULL;
12775}
12776
12777
c32bde28 12778static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12779 PyObject *resultobj;
12780 wxJoystick *arg1 = (wxJoystick *) 0 ;
12781 bool result;
12782 PyObject * obj0 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
12788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12790 {
12791 PyThreadState* __tstate = wxPyBeginAllowThreads();
12792 result = (bool)(arg1)->HasPOVCTS();
12793
12794 wxPyEndAllowThreads(__tstate);
12795 if (PyErr_Occurred()) SWIG_fail;
12796 }
12797 {
12798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12799 }
12800 return resultobj;
12801 fail:
12802 return NULL;
12803}
12804
12805
c32bde28 12806static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12807 PyObject *resultobj;
12808 wxJoystick *arg1 = (wxJoystick *) 0 ;
12809 wxWindow *arg2 = (wxWindow *) 0 ;
12810 int arg3 = (int) 0 ;
12811 bool result;
12812 PyObject * obj0 = 0 ;
12813 PyObject * obj1 = 0 ;
12814 PyObject * obj2 = 0 ;
12815 char *kwnames[] = {
12816 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12817 };
12818
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail;
12822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12823 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12824 if (obj2) {
093d3ff1
RD
12825 {
12826 arg3 = (int)(SWIG_As_int(obj2));
12827 if (SWIG_arg_fail(3)) SWIG_fail;
12828 }
d55e5bfc
RD
12829 }
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (bool)(arg1)->SetCapture(arg2,arg3);
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12839 }
12840 return resultobj;
12841 fail:
12842 return NULL;
12843}
12844
12845
c32bde28 12846static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12847 PyObject *resultobj;
12848 wxJoystick *arg1 = (wxJoystick *) 0 ;
12849 bool result;
12850 PyObject * obj0 = 0 ;
12851 char *kwnames[] = {
12852 (char *) "self", NULL
12853 };
12854
12855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
12856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (bool)(arg1)->ReleaseCapture();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12867 }
12868 return resultobj;
12869 fail:
12870 return NULL;
12871}
12872
12873
c32bde28 12874static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12875 PyObject *obj;
12876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12877 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
12878 Py_INCREF(obj);
12879 return Py_BuildValue((char *)"");
12880}
c32bde28 12881static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12882 PyObject *resultobj;
12883 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12884 int arg2 = (int) 0 ;
12885 int arg3 = (int) wxJOYSTICK1 ;
12886 int arg4 = (int) 0 ;
12887 wxJoystickEvent *result;
12888 PyObject * obj0 = 0 ;
12889 PyObject * obj1 = 0 ;
12890 PyObject * obj2 = 0 ;
12891 PyObject * obj3 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12897 if (obj0) {
093d3ff1
RD
12898 {
12899 arg1 = (wxEventType)(SWIG_As_int(obj0));
12900 if (SWIG_arg_fail(1)) SWIG_fail;
12901 }
d55e5bfc
RD
12902 }
12903 if (obj1) {
093d3ff1
RD
12904 {
12905 arg2 = (int)(SWIG_As_int(obj1));
12906 if (SWIG_arg_fail(2)) SWIG_fail;
12907 }
d55e5bfc
RD
12908 }
12909 if (obj2) {
093d3ff1
RD
12910 {
12911 arg3 = (int)(SWIG_As_int(obj2));
12912 if (SWIG_arg_fail(3)) SWIG_fail;
12913 }
d55e5bfc
RD
12914 }
12915 if (obj3) {
093d3ff1
RD
12916 {
12917 arg4 = (int)(SWIG_As_int(obj3));
12918 if (SWIG_arg_fail(4)) SWIG_fail;
12919 }
d55e5bfc
RD
12920 }
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
12929 return resultobj;
12930 fail:
12931 return NULL;
12932}
12933
12934
c32bde28 12935static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12936 PyObject *resultobj;
12937 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12938 wxPoint result;
12939 PyObject * obj0 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = ((wxJoystickEvent const *)arg1)->GetPosition();
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 {
12955 wxPoint * resultptr;
093d3ff1 12956 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12958 }
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
c32bde28 12965static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12966 PyObject *resultobj;
12967 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12968 int result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
093d3ff1
RD
12984 {
12985 resultobj = SWIG_From_int((int)(result));
12986 }
d55e5bfc
RD
12987 return resultobj;
12988 fail:
12989 return NULL;
12990}
12991
12992
c32bde28 12993static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12994 PyObject *resultobj;
12995 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12996 int result;
12997 PyObject * obj0 = 0 ;
12998 char *kwnames[] = {
12999 (char *) "self", NULL
13000 };
13001
13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
13003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
093d3ff1
RD
13012 {
13013 resultobj = SWIG_From_int((int)(result));
13014 }
d55e5bfc
RD
13015 return resultobj;
13016 fail:
13017 return NULL;
13018}
13019
13020
c32bde28 13021static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13022 PyObject *resultobj;
13023 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13024 int result;
13025 PyObject * obj0 = 0 ;
13026 char *kwnames[] = {
13027 (char *) "self", NULL
13028 };
13029
13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
13031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13036
13037 wxPyEndAllowThreads(__tstate);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 }
093d3ff1
RD
13040 {
13041 resultobj = SWIG_From_int((int)(result));
13042 }
d55e5bfc
RD
13043 return resultobj;
13044 fail:
13045 return NULL;
13046}
13047
13048
c32bde28 13049static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13050 PyObject *resultobj;
13051 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13052 int result;
13053 PyObject * obj0 = 0 ;
13054 char *kwnames[] = {
13055 (char *) "self", NULL
13056 };
13057
13058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
13059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13064
13065 wxPyEndAllowThreads(__tstate);
13066 if (PyErr_Occurred()) SWIG_fail;
13067 }
093d3ff1
RD
13068 {
13069 resultobj = SWIG_From_int((int)(result));
13070 }
d55e5bfc
RD
13071 return resultobj;
13072 fail:
13073 return NULL;
13074}
13075
13076
c32bde28 13077static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13078 PyObject *resultobj;
13079 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13080 int arg2 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self",(char *) "stick", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail;
13090 {
13091 arg2 = (int)(SWIG_As_int(obj1));
13092 if (SWIG_arg_fail(2)) SWIG_fail;
13093 }
d55e5bfc
RD
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 (arg1)->SetJoystick(arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 Py_INCREF(Py_None); resultobj = Py_None;
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
c32bde28 13108static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13109 PyObject *resultobj;
13110 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13111 int arg2 ;
13112 PyObject * obj0 = 0 ;
13113 PyObject * obj1 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self",(char *) "state", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13120 if (SWIG_arg_fail(1)) SWIG_fail;
13121 {
13122 arg2 = (int)(SWIG_As_int(obj1));
13123 if (SWIG_arg_fail(2)) SWIG_fail;
13124 }
d55e5bfc
RD
13125 {
13126 PyThreadState* __tstate = wxPyBeginAllowThreads();
13127 (arg1)->SetButtonState(arg2);
13128
13129 wxPyEndAllowThreads(__tstate);
13130 if (PyErr_Occurred()) SWIG_fail;
13131 }
13132 Py_INCREF(Py_None); resultobj = Py_None;
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
c32bde28 13139static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13140 PyObject *resultobj;
13141 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13142 int arg2 ;
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
13145 char *kwnames[] = {
13146 (char *) "self",(char *) "change", NULL
13147 };
13148
13149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13151 if (SWIG_arg_fail(1)) SWIG_fail;
13152 {
13153 arg2 = (int)(SWIG_As_int(obj1));
13154 if (SWIG_arg_fail(2)) SWIG_fail;
13155 }
d55e5bfc
RD
13156 {
13157 PyThreadState* __tstate = wxPyBeginAllowThreads();
13158 (arg1)->SetButtonChange(arg2);
13159
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 Py_INCREF(Py_None); resultobj = Py_None;
13164 return resultobj;
13165 fail:
13166 return NULL;
13167}
13168
13169
c32bde28 13170static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13171 PyObject *resultobj;
13172 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13173 wxPoint *arg2 = 0 ;
13174 wxPoint temp2 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 char *kwnames[] = {
13178 (char *) "self",(char *) "pos", NULL
13179 };
13180
13181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13184 {
13185 arg2 = &temp2;
13186 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 (arg1)->SetPosition((wxPoint const &)*arg2);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 Py_INCREF(Py_None); resultobj = Py_None;
13196 return resultobj;
13197 fail:
13198 return NULL;
13199}
13200
13201
c32bde28 13202static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13203 PyObject *resultobj;
13204 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13205 int arg2 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "zPos", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13214 if (SWIG_arg_fail(1)) SWIG_fail;
13215 {
13216 arg2 = (int)(SWIG_As_int(obj1));
13217 if (SWIG_arg_fail(2)) SWIG_fail;
13218 }
d55e5bfc
RD
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 (arg1)->SetZPosition(arg2);
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 Py_INCREF(Py_None); resultobj = Py_None;
13227 return resultobj;
13228 fail:
13229 return NULL;
13230}
13231
13232
c32bde28 13233static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13234 PyObject *resultobj;
13235 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13236 bool result;
13237 PyObject * obj0 = 0 ;
13238 char *kwnames[] = {
13239 (char *) "self", NULL
13240 };
13241
13242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
13243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 {
13253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13254 }
13255 return resultobj;
13256 fail:
13257 return NULL;
13258}
13259
13260
c32bde28 13261static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13262 PyObject *resultobj;
13263 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13264 bool result;
13265 PyObject * obj0 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 {
13281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13282 }
13283 return resultobj;
13284 fail:
13285 return NULL;
13286}
13287
13288
c32bde28 13289static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13290 PyObject *resultobj;
13291 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13292 bool result;
13293 PyObject * obj0 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 {
13309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13310 }
13311 return resultobj;
13312 fail:
13313 return NULL;
13314}
13315
13316
c32bde28 13317static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13318 PyObject *resultobj;
13319 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13320 int arg2 = (int) wxJOY_BUTTON_ANY ;
13321 bool result;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "but", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13331 if (obj1) {
093d3ff1
RD
13332 {
13333 arg2 = (int)(SWIG_As_int(obj1));
13334 if (SWIG_arg_fail(2)) SWIG_fail;
13335 }
d55e5bfc
RD
13336 }
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 {
13345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13346 }
13347 return resultobj;
13348 fail:
13349 return NULL;
13350}
13351
13352
c32bde28 13353static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13354 PyObject *resultobj;
13355 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13356 int arg2 = (int) wxJOY_BUTTON_ANY ;
13357 bool result;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "but", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13367 if (obj1) {
093d3ff1
RD
13368 {
13369 arg2 = (int)(SWIG_As_int(obj1));
13370 if (SWIG_arg_fail(2)) SWIG_fail;
13371 }
d55e5bfc
RD
13372 }
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 {
13381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13382 }
13383 return resultobj;
13384 fail:
13385 return NULL;
13386}
13387
13388
c32bde28 13389static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13390 PyObject *resultobj;
13391 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13392 int arg2 = (int) wxJOY_BUTTON_ANY ;
13393 bool result;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "but", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13402 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13403 if (obj1) {
093d3ff1
RD
13404 {
13405 arg2 = (int)(SWIG_As_int(obj1));
13406 if (SWIG_arg_fail(2)) SWIG_fail;
13407 }
d55e5bfc
RD
13408 }
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 {
13417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13418 }
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
c32bde28 13425static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13426 PyObject *obj;
13427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13428 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
13429 Py_INCREF(obj);
13430 return Py_BuildValue((char *)"");
13431}
c32bde28 13432static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13433 PyObject *resultobj;
b1f29bf7
RD
13434 wxString const &arg1_defvalue = wxPyEmptyString ;
13435 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 13436 wxSound *result;
ae8162c8 13437 bool temp1 = false ;
d55e5bfc 13438 PyObject * obj0 = 0 ;
b1f29bf7
RD
13439 char *kwnames[] = {
13440 (char *) "fileName", NULL
13441 };
d55e5bfc 13442
b1f29bf7
RD
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
13444 if (obj0) {
13445 {
13446 arg1 = wxString_in_helper(obj0);
13447 if (arg1 == NULL) SWIG_fail;
ae8162c8 13448 temp1 = true;
b1f29bf7 13449 }
d55e5bfc
RD
13450 }
13451 {
0439c23b 13452 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13453 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13454 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
13455
13456 wxPyEndAllowThreads(__tstate);
110da5b0 13457 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13458 }
13459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13460 {
13461 if (temp1)
13462 delete arg1;
13463 }
13464 return resultobj;
13465 fail:
13466 {
13467 if (temp1)
13468 delete arg1;
13469 }
13470 return NULL;
13471}
13472
13473
c32bde28 13474static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13475 PyObject *resultobj;
b1f29bf7 13476 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
13477 wxSound *result;
13478 PyObject * obj0 = 0 ;
b1f29bf7
RD
13479 char *kwnames[] = {
13480 (char *) "data", NULL
13481 };
d55e5bfc 13482
b1f29bf7
RD
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
13484 arg1 = obj0;
d55e5bfc 13485 {
0439c23b 13486 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13488 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
13489
13490 wxPyEndAllowThreads(__tstate);
110da5b0 13491 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13492 }
13493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13494 return resultobj;
13495 fail:
13496 return NULL;
13497}
13498
13499
c32bde28 13500static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13501 PyObject *resultobj;
13502 wxSound *arg1 = (wxSound *) 0 ;
13503 PyObject * obj0 = 0 ;
13504 char *kwnames[] = {
13505 (char *) "self", NULL
13506 };
13507
13508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
13509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13511 {
13512 PyThreadState* __tstate = wxPyBeginAllowThreads();
13513 delete arg1;
13514
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 Py_INCREF(Py_None); resultobj = Py_None;
13519 return resultobj;
13520 fail:
13521 return NULL;
13522}
13523
13524
c32bde28 13525static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13526 PyObject *resultobj;
13527 wxSound *arg1 = (wxSound *) 0 ;
13528 wxString *arg2 = 0 ;
d55e5bfc 13529 bool result;
ae8162c8 13530 bool temp2 = false ;
d55e5bfc
RD
13531 PyObject * obj0 = 0 ;
13532 PyObject * obj1 = 0 ;
b1f29bf7
RD
13533 char *kwnames[] = {
13534 (char *) "self",(char *) "fileName", NULL
13535 };
d55e5bfc 13536
b1f29bf7 13537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13540 {
13541 arg2 = wxString_in_helper(obj1);
13542 if (arg2 == NULL) SWIG_fail;
ae8162c8 13543 temp2 = true;
d55e5bfc 13544 }
d55e5bfc
RD
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13547 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 {
13553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13554 }
13555 {
13556 if (temp2)
13557 delete arg2;
13558 }
13559 return resultobj;
13560 fail:
13561 {
13562 if (temp2)
13563 delete arg2;
13564 }
13565 return NULL;
13566}
13567
13568
c32bde28 13569static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13570 PyObject *resultobj;
13571 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 13572 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
13573 bool result;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
b1f29bf7
RD
13576 char *kwnames[] = {
13577 (char *) "self",(char *) "data", NULL
13578 };
d55e5bfc 13579
b1f29bf7 13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13582 if (SWIG_arg_fail(1)) SWIG_fail;
b1f29bf7 13583 arg2 = obj1;
d55e5bfc
RD
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13586 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 {
13592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13593 }
13594 return resultobj;
13595 fail:
13596 return NULL;
13597}
13598
13599
c32bde28 13600static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13601 PyObject *resultobj;
13602 wxSound *arg1 = (wxSound *) 0 ;
13603 bool result;
13604 PyObject * obj0 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13612 {
13613 PyThreadState* __tstate = wxPyBeginAllowThreads();
13614 result = (bool)(arg1)->IsOk();
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 {
13620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13621 }
13622 return resultobj;
13623 fail:
13624 return NULL;
13625}
13626
13627
c32bde28 13628static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13629 PyObject *resultobj;
13630 wxSound *arg1 = (wxSound *) 0 ;
13631 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13632 bool result;
13633 PyObject * obj0 = 0 ;
13634 PyObject * obj1 = 0 ;
b1f29bf7
RD
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "flags", NULL
13637 };
d55e5bfc 13638
b1f29bf7 13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13642 if (obj1) {
093d3ff1
RD
13643 {
13644 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13645 if (SWIG_arg_fail(2)) SWIG_fail;
13646 }
d55e5bfc
RD
13647 }
13648 {
0439c23b 13649 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (bool)((wxSound const *)arg1)->Play(arg2);
13652
13653 wxPyEndAllowThreads(__tstate);
110da5b0 13654 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13655 }
13656 {
13657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13658 }
13659 return resultobj;
13660 fail:
13661 return NULL;
13662}
13663
13664
c32bde28 13665static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13666 PyObject *resultobj;
13667 wxString *arg1 = 0 ;
13668 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13669 bool result;
ae8162c8 13670 bool temp1 = false ;
d55e5bfc
RD
13671 PyObject * obj0 = 0 ;
13672 PyObject * obj1 = 0 ;
b1f29bf7
RD
13673 char *kwnames[] = {
13674 (char *) "filename",(char *) "flags", NULL
13675 };
d55e5bfc 13676
b1f29bf7 13677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
13678 {
13679 arg1 = wxString_in_helper(obj0);
13680 if (arg1 == NULL) SWIG_fail;
ae8162c8 13681 temp1 = true;
d55e5bfc
RD
13682 }
13683 if (obj1) {
093d3ff1
RD
13684 {
13685 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13686 if (SWIG_arg_fail(2)) SWIG_fail;
13687 }
d55e5bfc
RD
13688 }
13689 {
0439c23b 13690 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
13693
13694 wxPyEndAllowThreads(__tstate);
110da5b0 13695 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13696 }
13697 {
13698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13699 }
13700 {
13701 if (temp1)
13702 delete arg1;
13703 }
13704 return resultobj;
13705 fail:
13706 {
13707 if (temp1)
13708 delete arg1;
13709 }
13710 return NULL;
13711}
13712
13713
c32bde28 13714static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13715 PyObject *resultobj;
13716 char *kwnames[] = {
13717 NULL
13718 };
13719
13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
13721 {
0439c23b 13722 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 wxSound::Stop();
13725
13726 wxPyEndAllowThreads(__tstate);
110da5b0 13727 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13728 }
13729 Py_INCREF(Py_None); resultobj = Py_None;
13730 return resultobj;
13731 fail:
13732 return NULL;
13733}
13734
13735
c32bde28 13736static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13737 PyObject *obj;
13738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
13740 Py_INCREF(obj);
13741 return Py_BuildValue((char *)"");
13742}
c32bde28 13743static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13744 PyObject *resultobj;
13745 wxString *arg1 = 0 ;
13746 wxString *arg2 = 0 ;
13747 wxString *arg3 = 0 ;
13748 wxString *arg4 = 0 ;
13749 wxFileTypeInfo *result;
ae8162c8
RD
13750 bool temp1 = false ;
13751 bool temp2 = false ;
13752 bool temp3 = false ;
13753 bool temp4 = false ;
d55e5bfc
RD
13754 PyObject * obj0 = 0 ;
13755 PyObject * obj1 = 0 ;
13756 PyObject * obj2 = 0 ;
13757 PyObject * obj3 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13763 {
13764 arg1 = wxString_in_helper(obj0);
13765 if (arg1 == NULL) SWIG_fail;
ae8162c8 13766 temp1 = true;
d55e5bfc
RD
13767 }
13768 {
13769 arg2 = wxString_in_helper(obj1);
13770 if (arg2 == NULL) SWIG_fail;
ae8162c8 13771 temp2 = true;
d55e5bfc
RD
13772 }
13773 {
13774 arg3 = wxString_in_helper(obj2);
13775 if (arg3 == NULL) SWIG_fail;
ae8162c8 13776 temp3 = true;
d55e5bfc
RD
13777 }
13778 {
13779 arg4 = wxString_in_helper(obj3);
13780 if (arg4 == NULL) SWIG_fail;
ae8162c8 13781 temp4 = true;
d55e5bfc
RD
13782 }
13783 {
13784 PyThreadState* __tstate = wxPyBeginAllowThreads();
13785 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13786
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13791 {
13792 if (temp1)
13793 delete arg1;
13794 }
13795 {
13796 if (temp2)
13797 delete arg2;
13798 }
13799 {
13800 if (temp3)
13801 delete arg3;
13802 }
13803 {
13804 if (temp4)
13805 delete arg4;
13806 }
13807 return resultobj;
13808 fail:
13809 {
13810 if (temp1)
13811 delete arg1;
13812 }
13813 {
13814 if (temp2)
13815 delete arg2;
13816 }
13817 {
13818 if (temp3)
13819 delete arg3;
13820 }
13821 {
13822 if (temp4)
13823 delete arg4;
13824 }
13825 return NULL;
13826}
13827
13828
c32bde28 13829static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13830 PyObject *resultobj;
13831 wxArrayString *arg1 = 0 ;
13832 wxFileTypeInfo *result;
ae8162c8 13833 bool temp1 = false ;
d55e5bfc
RD
13834 PyObject * obj0 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "sArray", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
13840 {
13841 if (! PySequence_Check(obj0)) {
13842 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13843 SWIG_fail;
13844 }
13845 arg1 = new wxArrayString;
ae8162c8 13846 temp1 = true;
d55e5bfc
RD
13847 int i, len=PySequence_Length(obj0);
13848 for (i=0; i<len; i++) {
13849 PyObject* item = PySequence_GetItem(obj0, i);
71237536 13850 wxString* s = wxString_in_helper(item);
d55e5bfc 13851 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13852 arg1->Add(*s);
13853 delete s;
d55e5bfc 13854 Py_DECREF(item);
d55e5bfc
RD
13855 }
13856 }
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
13864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13865 {
13866 if (temp1) delete arg1;
13867 }
13868 return resultobj;
13869 fail:
13870 {
13871 if (temp1) delete arg1;
13872 }
13873 return NULL;
13874}
13875
13876
c32bde28 13877static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13878 PyObject *resultobj;
13879 wxFileTypeInfo *result;
13880 char *kwnames[] = {
13881 NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
13885 {
13886 PyThreadState* __tstate = wxPyBeginAllowThreads();
13887 result = (wxFileTypeInfo *)new wxFileTypeInfo();
13888
13889 wxPyEndAllowThreads(__tstate);
13890 if (PyErr_Occurred()) SWIG_fail;
13891 }
13892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13893 return resultobj;
13894 fail:
13895 return NULL;
13896}
13897
13898
c32bde28 13899static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13900 PyObject *resultobj;
13901 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13902 bool result;
13903 PyObject * obj0 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
13909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13910 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 {
13919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13920 }
13921 return resultobj;
13922 fail:
13923 return NULL;
13924}
13925
13926
c32bde28 13927static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13928 PyObject *resultobj;
13929 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13930 wxString *arg2 = 0 ;
13931 int arg3 = (int) 0 ;
ae8162c8 13932 bool temp2 = false ;
d55e5bfc
RD
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj1 = 0 ;
13935 PyObject * obj2 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13943 {
13944 arg2 = wxString_in_helper(obj1);
13945 if (arg2 == NULL) SWIG_fail;
ae8162c8 13946 temp2 = true;
d55e5bfc
RD
13947 }
13948 if (obj2) {
093d3ff1
RD
13949 {
13950 arg3 = (int)(SWIG_As_int(obj2));
13951 if (SWIG_arg_fail(3)) SWIG_fail;
13952 }
d55e5bfc
RD
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->SetIcon((wxString const &)*arg2,arg3);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 {
13963 if (temp2)
13964 delete arg2;
13965 }
13966 return resultobj;
13967 fail:
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return NULL;
13973}
13974
13975
c32bde28 13976static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13977 PyObject *resultobj;
13978 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13979 wxString *arg2 = 0 ;
ae8162c8 13980 bool temp2 = false ;
d55e5bfc
RD
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "shortDesc", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13990 {
13991 arg2 = wxString_in_helper(obj1);
13992 if (arg2 == NULL) SWIG_fail;
ae8162c8 13993 temp2 = true;
d55e5bfc
RD
13994 }
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 (arg1)->SetShortDesc((wxString const &)*arg2);
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 Py_INCREF(Py_None); resultobj = Py_None;
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return resultobj;
14008 fail:
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return NULL;
14014}
14015
14016
c32bde28 14017static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14018 PyObject *resultobj;
14019 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14020 wxString *result;
14021 PyObject * obj0 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 {
14032 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14033 result = (wxString *) &_result_ref;
14034 }
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 {
14040#if wxUSE_UNICODE
14041 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14042#else
14043 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14044#endif
14045 }
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
c32bde28 14052static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14053 PyObject *resultobj;
14054 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14055 wxString *result;
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 {
14067 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14068 result = (wxString *) &_result_ref;
14069 }
14070
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 {
14075#if wxUSE_UNICODE
14076 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14077#else
14078 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14079#endif
14080 }
14081 return resultobj;
14082 fail:
14083 return NULL;
14084}
14085
14086
c32bde28 14087static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14088 PyObject *resultobj;
14089 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14090 wxString *result;
14091 PyObject * obj0 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 {
14102 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
14103 result = (wxString *) &_result_ref;
14104 }
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 {
14110#if wxUSE_UNICODE
14111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14112#else
14113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14114#endif
14115 }
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
c32bde28 14122static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14123 PyObject *resultobj;
14124 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14125 wxString *result;
14126 PyObject * obj0 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
14132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14134 {
14135 PyThreadState* __tstate = wxPyBeginAllowThreads();
14136 {
14137 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
14138 result = (wxString *) &_result_ref;
14139 }
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 {
14145#if wxUSE_UNICODE
14146 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14147#else
14148 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14149#endif
14150 }
14151 return resultobj;
14152 fail:
14153 return NULL;
14154}
14155
14156
c32bde28 14157static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14158 PyObject *resultobj;
14159 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14160 wxString *result;
14161 PyObject * obj0 = 0 ;
14162 char *kwnames[] = {
14163 (char *) "self", NULL
14164 };
14165
14166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 {
14172 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
14173 result = (wxString *) &_result_ref;
14174 }
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180#if wxUSE_UNICODE
14181 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14182#else
14183 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14184#endif
14185 }
14186 return resultobj;
14187 fail:
14188 return NULL;
14189}
14190
14191
c32bde28 14192static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14193 PyObject *resultobj;
14194 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14195 wxArrayString *result;
14196 PyObject * obj0 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 {
14207 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
14208 result = (wxArrayString *) &_result_ref;
14209 }
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 resultobj = wxArrayString2PyList_helper(*result);
14216 }
14217 return resultobj;
14218 fail:
14219 return NULL;
14220}
14221
14222
c32bde28 14223static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14224 PyObject *resultobj;
14225 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14226 int result;
14227 PyObject * obj0 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14235 {
14236 PyThreadState* __tstate = wxPyBeginAllowThreads();
14237 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
14238
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
093d3ff1
RD
14242 {
14243 resultobj = SWIG_From_int((int)(result));
14244 }
d55e5bfc
RD
14245 return resultobj;
14246 fail:
14247 return NULL;
14248}
14249
14250
c32bde28 14251static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14252 PyObject *resultobj;
14253 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14254 wxString *result;
14255 PyObject * obj0 = 0 ;
14256 char *kwnames[] = {
14257 (char *) "self", NULL
14258 };
14259
14260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
14261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 {
14266 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
14267 result = (wxString *) &_result_ref;
14268 }
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 {
14274#if wxUSE_UNICODE
14275 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14276#else
14277 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14278#endif
14279 }
14280 return resultobj;
14281 fail:
14282 return NULL;
14283}
14284
14285
c32bde28 14286static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14287 PyObject *resultobj;
14288 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14289 int result;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
093d3ff1
RD
14305 {
14306 resultobj = SWIG_From_int((int)(result));
14307 }
d55e5bfc
RD
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
c32bde28 14314static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14315 PyObject *obj;
14316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
14318 Py_INCREF(obj);
14319 return Py_BuildValue((char *)"");
14320}
c32bde28 14321static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14322 PyObject *resultobj;
14323 wxFileTypeInfo *arg1 = 0 ;
14324 wxFileType *result;
14325 PyObject * obj0 = 0 ;
14326 char *kwnames[] = {
14327 (char *) "ftInfo", NULL
14328 };
14329
14330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14331 {
14332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail;
14334 if (arg1 == NULL) {
14335 SWIG_null_ref("wxFileTypeInfo");
14336 }
14337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14338 }
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
c32bde28 14353static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14354 PyObject *resultobj;
14355 wxFileType *arg1 = (wxFileType *) 0 ;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 delete arg1;
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 Py_INCREF(Py_None); resultobj = Py_None;
14372 return resultobj;
14373 fail:
14374 return NULL;
14375}
14376
14377
c32bde28 14378static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14379 PyObject *resultobj;
14380 wxFileType *arg1 = (wxFileType *) 0 ;
14381 PyObject *result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (PyObject *)wxFileType_GetMimeType(arg1);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = result;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
c32bde28 14404static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14405 PyObject *resultobj;
14406 wxFileType *arg1 = (wxFileType *) 0 ;
14407 PyObject *result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
14414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
14423 resultobj = result;
14424 return resultobj;
14425 fail:
14426 return NULL;
14427}
14428
14429
c32bde28 14430static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14431 PyObject *resultobj;
14432 wxFileType *arg1 = (wxFileType *) 0 ;
14433 PyObject *result;
14434 PyObject * obj0 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 result = (PyObject *)wxFileType_GetExtensions(arg1);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 resultobj = result;
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
c32bde28 14456static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14457 PyObject *resultobj;
14458 wxFileType *arg1 = (wxFileType *) 0 ;
14459 wxIcon *result;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
14466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14468 {
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = (wxIcon *)wxFileType_GetIcon(arg1);
14471
14472 wxPyEndAllowThreads(__tstate);
14473 if (PyErr_Occurred()) SWIG_fail;
14474 }
14475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
14476 return resultobj;
14477 fail:
14478 return NULL;
14479}
14480
14481
c32bde28 14482static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14483 PyObject *resultobj;
14484 wxFileType *arg1 = (wxFileType *) 0 ;
14485 PyObject *result;
14486 PyObject * obj0 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
14492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 result = (PyObject *)wxFileType_GetIconInfo(arg1);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 resultobj = result;
14502 return resultobj;
14503 fail:
14504 return NULL;
14505}
14506
14507
c32bde28 14508static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14509 PyObject *resultobj;
14510 wxFileType *arg1 = (wxFileType *) 0 ;
14511 PyObject *result;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 result = (PyObject *)wxFileType_GetDescription(arg1);
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 resultobj = result;
14528 return resultobj;
14529 fail:
14530 return NULL;
14531}
14532
14533
c32bde28 14534static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14535 PyObject *resultobj;
14536 wxFileType *arg1 = (wxFileType *) 0 ;
14537 wxString *arg2 = 0 ;
14538 wxString const &arg3_defvalue = wxPyEmptyString ;
14539 wxString *arg3 = (wxString *) &arg3_defvalue ;
14540 PyObject *result;
ae8162c8
RD
14541 bool temp2 = false ;
14542 bool temp3 = false ;
d55e5bfc
RD
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 PyObject * obj2 = 0 ;
14546 char *kwnames[] = {
14547 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14548 };
14549
14550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14553 {
14554 arg2 = wxString_in_helper(obj1);
14555 if (arg2 == NULL) SWIG_fail;
ae8162c8 14556 temp2 = true;
d55e5bfc
RD
14557 }
14558 if (obj2) {
14559 {
14560 arg3 = wxString_in_helper(obj2);
14561 if (arg3 == NULL) SWIG_fail;
ae8162c8 14562 temp3 = true;
d55e5bfc
RD
14563 }
14564 }
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 resultobj = result;
14573 {
14574 if (temp2)
14575 delete arg2;
14576 }
14577 {
14578 if (temp3)
14579 delete arg3;
14580 }
14581 return resultobj;
14582 fail:
14583 {
14584 if (temp2)
14585 delete arg2;
14586 }
14587 {
14588 if (temp3)
14589 delete arg3;
14590 }
14591 return NULL;
14592}
14593
14594
c32bde28 14595static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14596 PyObject *resultobj;
14597 wxFileType *arg1 = (wxFileType *) 0 ;
14598 wxString *arg2 = 0 ;
14599 wxString const &arg3_defvalue = wxPyEmptyString ;
14600 wxString *arg3 = (wxString *) &arg3_defvalue ;
14601 PyObject *result;
ae8162c8
RD
14602 bool temp2 = false ;
14603 bool temp3 = false ;
d55e5bfc
RD
14604 PyObject * obj0 = 0 ;
14605 PyObject * obj1 = 0 ;
14606 PyObject * obj2 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14614 {
14615 arg2 = wxString_in_helper(obj1);
14616 if (arg2 == NULL) SWIG_fail;
ae8162c8 14617 temp2 = true;
d55e5bfc
RD
14618 }
14619 if (obj2) {
14620 {
14621 arg3 = wxString_in_helper(obj2);
14622 if (arg3 == NULL) SWIG_fail;
ae8162c8 14623 temp3 = true;
d55e5bfc
RD
14624 }
14625 }
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = result;
14634 {
14635 if (temp2)
14636 delete arg2;
14637 }
14638 {
14639 if (temp3)
14640 delete arg3;
14641 }
14642 return resultobj;
14643 fail:
14644 {
14645 if (temp2)
14646 delete arg2;
14647 }
14648 {
14649 if (temp3)
14650 delete arg3;
14651 }
14652 return NULL;
14653}
14654
14655
c32bde28 14656static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14657 PyObject *resultobj;
14658 wxFileType *arg1 = (wxFileType *) 0 ;
14659 wxString *arg2 = 0 ;
14660 wxString const &arg3_defvalue = wxPyEmptyString ;
14661 wxString *arg3 = (wxString *) &arg3_defvalue ;
14662 PyObject *result;
ae8162c8
RD
14663 bool temp2 = false ;
14664 bool temp3 = false ;
d55e5bfc
RD
14665 PyObject * obj0 = 0 ;
14666 PyObject * obj1 = 0 ;
14667 PyObject * obj2 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14675 {
14676 arg2 = wxString_in_helper(obj1);
14677 if (arg2 == NULL) SWIG_fail;
ae8162c8 14678 temp2 = true;
d55e5bfc
RD
14679 }
14680 if (obj2) {
14681 {
14682 arg3 = wxString_in_helper(obj2);
14683 if (arg3 == NULL) SWIG_fail;
ae8162c8 14684 temp3 = true;
d55e5bfc
RD
14685 }
14686 }
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 resultobj = result;
14695 {
14696 if (temp2)
14697 delete arg2;
14698 }
14699 {
14700 if (temp3)
14701 delete arg3;
14702 }
14703 return resultobj;
14704 fail:
14705 {
14706 if (temp2)
14707 delete arg2;
14708 }
14709 {
14710 if (temp3)
14711 delete arg3;
14712 }
14713 return NULL;
14714}
14715
14716
c32bde28 14717static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14718 PyObject *resultobj;
14719 wxFileType *arg1 = (wxFileType *) 0 ;
14720 wxString *arg2 = 0 ;
14721 wxString *arg3 = 0 ;
ae8162c8 14722 bool arg4 = (bool) true ;
d55e5bfc 14723 bool result;
ae8162c8
RD
14724 bool temp2 = false ;
14725 bool temp3 = false ;
d55e5bfc
RD
14726 PyObject * obj0 = 0 ;
14727 PyObject * obj1 = 0 ;
14728 PyObject * obj2 = 0 ;
14729 PyObject * obj3 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14737 {
14738 arg2 = wxString_in_helper(obj1);
14739 if (arg2 == NULL) SWIG_fail;
ae8162c8 14740 temp2 = true;
d55e5bfc
RD
14741 }
14742 {
14743 arg3 = wxString_in_helper(obj2);
14744 if (arg3 == NULL) SWIG_fail;
ae8162c8 14745 temp3 = true;
d55e5bfc
RD
14746 }
14747 if (obj3) {
093d3ff1
RD
14748 {
14749 arg4 = (bool)(SWIG_As_bool(obj3));
14750 if (SWIG_arg_fail(4)) SWIG_fail;
14751 }
d55e5bfc
RD
14752 }
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
14756
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 {
14761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14762 }
14763 {
14764 if (temp2)
14765 delete arg2;
14766 }
14767 {
14768 if (temp3)
14769 delete arg3;
14770 }
14771 return resultobj;
14772 fail:
14773 {
14774 if (temp2)
14775 delete arg2;
14776 }
14777 {
14778 if (temp3)
14779 delete arg3;
14780 }
14781 return NULL;
14782}
14783
14784
c32bde28 14785static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14786 PyObject *resultobj;
14787 wxFileType *arg1 = (wxFileType *) 0 ;
14788 wxString const &arg2_defvalue = wxPyEmptyString ;
14789 wxString *arg2 = (wxString *) &arg2_defvalue ;
14790 int arg3 = (int) 0 ;
14791 bool result;
ae8162c8 14792 bool temp2 = false ;
d55e5bfc
RD
14793 PyObject * obj0 = 0 ;
14794 PyObject * obj1 = 0 ;
14795 PyObject * obj2 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self",(char *) "cmd",(char *) "index", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14803 if (obj1) {
14804 {
14805 arg2 = wxString_in_helper(obj1);
14806 if (arg2 == NULL) SWIG_fail;
ae8162c8 14807 temp2 = true;
d55e5bfc
RD
14808 }
14809 }
14810 if (obj2) {
093d3ff1
RD
14811 {
14812 arg3 = (int)(SWIG_As_int(obj2));
14813 if (SWIG_arg_fail(3)) SWIG_fail;
14814 }
d55e5bfc
RD
14815 }
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
14819
14820 wxPyEndAllowThreads(__tstate);
14821 if (PyErr_Occurred()) SWIG_fail;
14822 }
14823 {
14824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14825 }
14826 {
14827 if (temp2)
14828 delete arg2;
14829 }
14830 return resultobj;
14831 fail:
14832 {
14833 if (temp2)
14834 delete arg2;
14835 }
14836 return NULL;
14837}
14838
14839
c32bde28 14840static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14841 PyObject *resultobj;
14842 wxFileType *arg1 = (wxFileType *) 0 ;
14843 bool result;
14844 PyObject * obj0 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
14850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (bool)(arg1)->Unassociate();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865}
14866
14867
c32bde28 14868static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14869 PyObject *resultobj;
14870 wxString *arg1 = 0 ;
14871 wxString *arg2 = 0 ;
14872 wxString const &arg3_defvalue = wxPyEmptyString ;
14873 wxString *arg3 = (wxString *) &arg3_defvalue ;
14874 wxString result;
ae8162c8
RD
14875 bool temp1 = false ;
14876 bool temp2 = false ;
14877 bool temp3 = false ;
d55e5bfc
RD
14878 PyObject * obj0 = 0 ;
14879 PyObject * obj1 = 0 ;
14880 PyObject * obj2 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14886 {
14887 arg1 = wxString_in_helper(obj0);
14888 if (arg1 == NULL) SWIG_fail;
ae8162c8 14889 temp1 = true;
d55e5bfc
RD
14890 }
14891 {
14892 arg2 = wxString_in_helper(obj1);
14893 if (arg2 == NULL) SWIG_fail;
ae8162c8 14894 temp2 = true;
d55e5bfc
RD
14895 }
14896 if (obj2) {
14897 {
14898 arg3 = wxString_in_helper(obj2);
14899 if (arg3 == NULL) SWIG_fail;
ae8162c8 14900 temp3 = true;
d55e5bfc
RD
14901 }
14902 }
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 {
14911#if wxUSE_UNICODE
14912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14913#else
14914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14915#endif
14916 }
14917 {
14918 if (temp1)
14919 delete arg1;
14920 }
14921 {
14922 if (temp2)
14923 delete arg2;
14924 }
14925 {
14926 if (temp3)
14927 delete arg3;
14928 }
14929 return resultobj;
14930 fail:
14931 {
14932 if (temp1)
14933 delete arg1;
14934 }
14935 {
14936 if (temp2)
14937 delete arg2;
14938 }
14939 {
14940 if (temp3)
14941 delete arg3;
14942 }
14943 return NULL;
14944}
14945
14946
c32bde28 14947static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14948 PyObject *obj;
14949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
14951 Py_INCREF(obj);
14952 return Py_BuildValue((char *)"");
14953}
c32bde28 14954static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
14955 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
14956 return 1;
14957}
14958
14959
093d3ff1 14960static PyObject *_wrap_TheMimeTypesManager_get(void) {
d55e5bfc
RD
14961 PyObject *pyobj;
14962
14963 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
14964 return pyobj;
14965}
14966
14967
c32bde28 14968static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14969 PyObject *resultobj;
14970 wxString *arg1 = 0 ;
14971 wxString *arg2 = 0 ;
14972 bool result;
ae8162c8
RD
14973 bool temp1 = false ;
14974 bool temp2 = false ;
d55e5bfc
RD
14975 PyObject * obj0 = 0 ;
14976 PyObject * obj1 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "mimeType",(char *) "wildcard", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
14982 {
14983 arg1 = wxString_in_helper(obj0);
14984 if (arg1 == NULL) SWIG_fail;
ae8162c8 14985 temp1 = true;
d55e5bfc
RD
14986 }
14987 {
14988 arg2 = wxString_in_helper(obj1);
14989 if (arg2 == NULL) SWIG_fail;
ae8162c8 14990 temp2 = true;
d55e5bfc
RD
14991 }
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
14995
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15001 }
15002 {
15003 if (temp1)
15004 delete arg1;
15005 }
15006 {
15007 if (temp2)
15008 delete arg2;
15009 }
15010 return resultobj;
15011 fail:
15012 {
15013 if (temp1)
15014 delete arg1;
15015 }
15016 {
15017 if (temp2)
15018 delete arg2;
15019 }
15020 return NULL;
15021}
15022
15023
c32bde28 15024static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15025 PyObject *resultobj;
15026 wxMimeTypesManager *result;
15027 char *kwnames[] = {
15028 NULL
15029 };
15030
15031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
15040 return resultobj;
15041 fail:
15042 return NULL;
15043}
15044
15045
c32bde28 15046static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15047 PyObject *resultobj;
15048 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15049 int arg2 = (int) wxMAILCAP_ALL ;
15050 wxString const &arg3_defvalue = wxPyEmptyString ;
15051 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 15052 bool temp3 = false ;
d55e5bfc
RD
15053 PyObject * obj0 = 0 ;
15054 PyObject * obj1 = 0 ;
15055 PyObject * obj2 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15063 if (obj1) {
093d3ff1
RD
15064 {
15065 arg2 = (int)(SWIG_As_int(obj1));
15066 if (SWIG_arg_fail(2)) SWIG_fail;
15067 }
d55e5bfc
RD
15068 }
15069 if (obj2) {
15070 {
15071 arg3 = wxString_in_helper(obj2);
15072 if (arg3 == NULL) SWIG_fail;
ae8162c8 15073 temp3 = true;
d55e5bfc
RD
15074 }
15075 }
15076 {
15077 PyThreadState* __tstate = wxPyBeginAllowThreads();
15078 (arg1)->Initialize(arg2,(wxString const &)*arg3);
15079
15080 wxPyEndAllowThreads(__tstate);
15081 if (PyErr_Occurred()) SWIG_fail;
15082 }
15083 Py_INCREF(Py_None); resultobj = Py_None;
15084 {
15085 if (temp3)
15086 delete arg3;
15087 }
15088 return resultobj;
15089 fail:
15090 {
15091 if (temp3)
15092 delete arg3;
15093 }
15094 return NULL;
15095}
15096
15097
c32bde28 15098static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15099 PyObject *resultobj;
15100 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15109 {
15110 PyThreadState* __tstate = wxPyBeginAllowThreads();
15111 (arg1)->ClearData();
15112
15113 wxPyEndAllowThreads(__tstate);
15114 if (PyErr_Occurred()) SWIG_fail;
15115 }
15116 Py_INCREF(Py_None); resultobj = Py_None;
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
c32bde28 15123static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15124 PyObject *resultobj;
15125 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15126 wxString *arg2 = 0 ;
15127 wxFileType *result;
ae8162c8 15128 bool temp2 = false ;
d55e5bfc
RD
15129 PyObject * obj0 = 0 ;
15130 PyObject * obj1 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "ext", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15138 {
15139 arg2 = wxString_in_helper(obj1);
15140 if (arg2 == NULL) SWIG_fail;
ae8162c8 15141 temp2 = true;
d55e5bfc
RD
15142 }
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15151 {
15152 if (temp2)
15153 delete arg2;
15154 }
15155 return resultobj;
15156 fail:
15157 {
15158 if (temp2)
15159 delete arg2;
15160 }
15161 return NULL;
15162}
15163
15164
c32bde28 15165static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15166 PyObject *resultobj;
15167 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15168 wxString *arg2 = 0 ;
15169 wxFileType *result;
ae8162c8 15170 bool temp2 = false ;
d55e5bfc
RD
15171 PyObject * obj0 = 0 ;
15172 PyObject * obj1 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self",(char *) "mimeType", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15180 {
15181 arg2 = wxString_in_helper(obj1);
15182 if (arg2 == NULL) SWIG_fail;
ae8162c8 15183 temp2 = true;
d55e5bfc
RD
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15193 {
15194 if (temp2)
15195 delete arg2;
15196 }
15197 return resultobj;
15198 fail:
15199 {
15200 if (temp2)
15201 delete arg2;
15202 }
15203 return NULL;
15204}
15205
15206
c32bde28 15207static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15208 PyObject *resultobj;
15209 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15210 wxString *arg2 = 0 ;
ae8162c8 15211 bool arg3 = (bool) false ;
d55e5bfc 15212 bool result;
ae8162c8 15213 bool temp2 = false ;
d55e5bfc
RD
15214 PyObject * obj0 = 0 ;
15215 PyObject * obj1 = 0 ;
15216 PyObject * obj2 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15224 {
15225 arg2 = wxString_in_helper(obj1);
15226 if (arg2 == NULL) SWIG_fail;
ae8162c8 15227 temp2 = true;
d55e5bfc
RD
15228 }
15229 if (obj2) {
093d3ff1
RD
15230 {
15231 arg3 = (bool)(SWIG_As_bool(obj2));
15232 if (SWIG_arg_fail(3)) SWIG_fail;
15233 }
d55e5bfc
RD
15234 }
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 {
15243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15244 }
15245 {
15246 if (temp2)
15247 delete arg2;
15248 }
15249 return resultobj;
15250 fail:
15251 {
15252 if (temp2)
15253 delete arg2;
15254 }
15255 return NULL;
15256}
15257
15258
c32bde28 15259static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15260 PyObject *resultobj;
15261 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15262 wxString *arg2 = 0 ;
15263 bool result;
ae8162c8 15264 bool temp2 = false ;
d55e5bfc
RD
15265 PyObject * obj0 = 0 ;
15266 PyObject * obj1 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self",(char *) "filename", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15274 {
15275 arg2 = wxString_in_helper(obj1);
15276 if (arg2 == NULL) SWIG_fail;
ae8162c8 15277 temp2 = true;
d55e5bfc
RD
15278 }
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 {
15287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15288 }
15289 {
15290 if (temp2)
15291 delete arg2;
15292 }
15293 return resultobj;
15294 fail:
15295 {
15296 if (temp2)
15297 delete arg2;
15298 }
15299 return NULL;
15300}
15301
15302
c32bde28 15303static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15304 PyObject *resultobj;
15305 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15306 PyObject *result;
15307 PyObject * obj0 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 resultobj = result;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326}
15327
15328
c32bde28 15329static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15330 PyObject *resultobj;
15331 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15332 wxFileTypeInfo *arg2 = 0 ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "ft", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail;
15342 {
15343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15344 if (SWIG_arg_fail(2)) SWIG_fail;
15345 if (arg2 == NULL) {
15346 SWIG_null_ref("wxFileTypeInfo");
15347 }
15348 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15349 }
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
c32bde28 15364static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15365 PyObject *resultobj;
15366 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15367 wxFileTypeInfo *arg2 = 0 ;
15368 wxFileType *result;
15369 PyObject * obj0 = 0 ;
15370 PyObject * obj1 = 0 ;
15371 char *kwnames[] = {
15372 (char *) "self",(char *) "ftInfo", NULL
15373 };
15374
15375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail;
15378 {
15379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15380 if (SWIG_arg_fail(2)) SWIG_fail;
15381 if (arg2 == NULL) {
15382 SWIG_null_ref("wxFileTypeInfo");
15383 }
15384 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15385 }
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
c32bde28 15400static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15401 PyObject *resultobj;
15402 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15403 wxFileType *arg2 = (wxFileType *) 0 ;
15404 bool result;
15405 PyObject * obj0 = 0 ;
15406 PyObject * obj1 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "ft", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail;
15414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15415 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (bool)(arg1)->Unassociate(arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 {
15424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15425 }
15426 return resultobj;
15427 fail:
15428 return NULL;
15429}
15430
15431
c32bde28 15432static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15433 PyObject *resultobj;
15434 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
15441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 delete arg1;
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
c32bde28 15457static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15458 PyObject *obj;
15459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15460 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
15461 Py_INCREF(obj);
15462 return Py_BuildValue((char *)"");
15463}
c32bde28 15464static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
15465 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
15466 return 1;
15467}
15468
15469
093d3ff1 15470static PyObject *_wrap_ART_TOOLBAR_get(void) {
d55e5bfc
RD
15471 PyObject *pyobj;
15472
15473 {
15474#if wxUSE_UNICODE
15475 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15476#else
15477 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15478#endif
15479 }
15480 return pyobj;
15481}
15482
15483
c32bde28 15484static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
15485 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
15486 return 1;
15487}
15488
15489
093d3ff1 15490static PyObject *_wrap_ART_MENU_get(void) {
d55e5bfc
RD
15491 PyObject *pyobj;
15492
15493 {
15494#if wxUSE_UNICODE
15495 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15496#else
15497 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15498#endif
15499 }
15500 return pyobj;
15501}
15502
15503
c32bde28 15504static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
15505 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
15506 return 1;
15507}
15508
15509
093d3ff1 15510static PyObject *_wrap_ART_FRAME_ICON_get(void) {
d55e5bfc
RD
15511 PyObject *pyobj;
15512
15513 {
15514#if wxUSE_UNICODE
15515 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15516#else
15517 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15518#endif
15519 }
15520 return pyobj;
15521}
15522
15523
c32bde28 15524static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
15525 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
15526 return 1;
15527}
15528
15529
093d3ff1 15530static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
d55e5bfc
RD
15531 PyObject *pyobj;
15532
15533 {
15534#if wxUSE_UNICODE
15535 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15536#else
15537 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15538#endif
15539 }
15540 return pyobj;
15541}
15542
15543
c32bde28 15544static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
15545 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
15546 return 1;
15547}
15548
15549
093d3ff1 15550static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
d55e5bfc
RD
15551 PyObject *pyobj;
15552
15553 {
15554#if wxUSE_UNICODE
15555 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15556#else
15557 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15558#endif
15559 }
15560 return pyobj;
15561}
15562
15563
c32bde28 15564static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
15565 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
15566 return 1;
15567}
15568
15569
093d3ff1 15570static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
d55e5bfc
RD
15571 PyObject *pyobj;
15572
15573 {
15574#if wxUSE_UNICODE
15575 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15576#else
15577 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15578#endif
15579 }
15580 return pyobj;
15581}
15582
15583
c32bde28 15584static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
15585 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
15586 return 1;
15587}
15588
15589
093d3ff1 15590static PyObject *_wrap_ART_BUTTON_get(void) {
4cf4100f
RD
15591 PyObject *pyobj;
15592
15593 {
15594#if wxUSE_UNICODE
15595 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15596#else
15597 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15598#endif
15599 }
15600 return pyobj;
15601}
15602
15603
c32bde28 15604static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
15605 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
15606 return 1;
15607}
15608
15609
093d3ff1 15610static PyObject *_wrap_ART_OTHER_get(void) {
d55e5bfc
RD
15611 PyObject *pyobj;
15612
15613 {
15614#if wxUSE_UNICODE
15615 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15616#else
15617 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15618#endif
15619 }
15620 return pyobj;
15621}
15622
15623
c32bde28 15624static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15625 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
15626 return 1;
15627}
15628
15629
093d3ff1 15630static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
d55e5bfc
RD
15631 PyObject *pyobj;
15632
15633 {
15634#if wxUSE_UNICODE
15635 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15636#else
15637 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15638#endif
15639 }
15640 return pyobj;
15641}
15642
15643
c32bde28 15644static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15645 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
15646 return 1;
15647}
15648
15649
093d3ff1 15650static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
d55e5bfc
RD
15651 PyObject *pyobj;
15652
15653 {
15654#if wxUSE_UNICODE
15655 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15656#else
15657 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15658#endif
15659 }
15660 return pyobj;
15661}
15662
15663
c32bde28 15664static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
15665 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
15666 return 1;
15667}
15668
15669
093d3ff1 15670static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
d55e5bfc
RD
15671 PyObject *pyobj;
15672
15673 {
15674#if wxUSE_UNICODE
15675 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15676#else
15677 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15678#endif
15679 }
15680 return pyobj;
15681}
15682
15683
c32bde28 15684static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
15685 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
15686 return 1;
15687}
15688
15689
093d3ff1 15690static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
d55e5bfc
RD
15691 PyObject *pyobj;
15692
15693 {
15694#if wxUSE_UNICODE
15695 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15696#else
15697 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15698#endif
15699 }
15700 return pyobj;
15701}
15702
15703
c32bde28 15704static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
15705 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
15706 return 1;
15707}
15708
15709
093d3ff1 15710static PyObject *_wrap_ART_HELP_BOOK_get(void) {
d55e5bfc
RD
15711 PyObject *pyobj;
15712
15713 {
15714#if wxUSE_UNICODE
15715 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15716#else
15717 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15718#endif
15719 }
15720 return pyobj;
15721}
15722
15723
c32bde28 15724static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
15725 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
15726 return 1;
15727}
15728
15729
093d3ff1 15730static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
d55e5bfc
RD
15731 PyObject *pyobj;
15732
15733 {
15734#if wxUSE_UNICODE
15735 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15736#else
15737 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15738#endif
15739 }
15740 return pyobj;
15741}
15742
15743
c32bde28 15744static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
15745 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
15746 return 1;
15747}
15748
15749
093d3ff1 15750static PyObject *_wrap_ART_HELP_PAGE_get(void) {
d55e5bfc
RD
15751 PyObject *pyobj;
15752
15753 {
15754#if wxUSE_UNICODE
15755 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15756#else
15757 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15758#endif
15759 }
15760 return pyobj;
15761}
15762
15763
c32bde28 15764static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
15765 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
15766 return 1;
15767}
15768
15769
093d3ff1 15770static PyObject *_wrap_ART_GO_BACK_get(void) {
d55e5bfc
RD
15771 PyObject *pyobj;
15772
15773 {
15774#if wxUSE_UNICODE
15775 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15776#else
15777 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15778#endif
15779 }
15780 return pyobj;
15781}
15782
15783
c32bde28 15784static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
15785 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
15786 return 1;
15787}
15788
15789
093d3ff1 15790static PyObject *_wrap_ART_GO_FORWARD_get(void) {
d55e5bfc
RD
15791 PyObject *pyobj;
15792
15793 {
15794#if wxUSE_UNICODE
15795 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15796#else
15797 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15798#endif
15799 }
15800 return pyobj;
15801}
15802
15803
c32bde28 15804static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
15805 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
15806 return 1;
15807}
15808
15809
093d3ff1 15810static PyObject *_wrap_ART_GO_UP_get(void) {
d55e5bfc
RD
15811 PyObject *pyobj;
15812
15813 {
15814#if wxUSE_UNICODE
15815 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15816#else
15817 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15818#endif
15819 }
15820 return pyobj;
15821}
15822
15823
c32bde28 15824static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
15825 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
15826 return 1;
15827}
15828
15829
093d3ff1 15830static PyObject *_wrap_ART_GO_DOWN_get(void) {
d55e5bfc
RD
15831 PyObject *pyobj;
15832
15833 {
15834#if wxUSE_UNICODE
15835 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15836#else
15837 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15838#endif
15839 }
15840 return pyobj;
15841}
15842
15843
c32bde28 15844static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
15845 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
15846 return 1;
15847}
15848
15849
093d3ff1 15850static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
d55e5bfc
RD
15851 PyObject *pyobj;
15852
15853 {
15854#if wxUSE_UNICODE
15855 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15856#else
15857 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15858#endif
15859 }
15860 return pyobj;
15861}
15862
15863
c32bde28 15864static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
15865 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
15866 return 1;
15867}
15868
15869
093d3ff1 15870static PyObject *_wrap_ART_GO_HOME_get(void) {
d55e5bfc
RD
15871 PyObject *pyobj;
15872
15873 {
15874#if wxUSE_UNICODE
15875 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15876#else
15877 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15878#endif
15879 }
15880 return pyobj;
15881}
15882
15883
c32bde28 15884static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
15885 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
15886 return 1;
15887}
15888
15889
093d3ff1 15890static PyObject *_wrap_ART_FILE_OPEN_get(void) {
d55e5bfc
RD
15891 PyObject *pyobj;
15892
15893 {
15894#if wxUSE_UNICODE
15895 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15896#else
15897 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15898#endif
15899 }
15900 return pyobj;
15901}
15902
15903
68350608
RD
15904static int _wrap_ART_FILE_SAVE_set(PyObject *) {
15905 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
15906 return 1;
15907}
15908
15909
15910static PyObject *_wrap_ART_FILE_SAVE_get(void) {
15911 PyObject *pyobj;
15912
15913 {
15914#if wxUSE_UNICODE
15915 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15916#else
15917 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15918#endif
15919 }
15920 return pyobj;
15921}
15922
15923
15924static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
15925 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
15926 return 1;
15927}
15928
15929
15930static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
15931 PyObject *pyobj;
15932
15933 {
15934#if wxUSE_UNICODE
15935 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15936#else
15937 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15938#endif
15939 }
15940 return pyobj;
15941}
15942
15943
c32bde28 15944static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
15945 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
15946 return 1;
15947}
15948
15949
093d3ff1 15950static PyObject *_wrap_ART_PRINT_get(void) {
d55e5bfc
RD
15951 PyObject *pyobj;
15952
15953 {
15954#if wxUSE_UNICODE
15955 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15956#else
15957 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15958#endif
15959 }
15960 return pyobj;
15961}
15962
15963
c32bde28 15964static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
15965 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
15966 return 1;
15967}
15968
15969
093d3ff1 15970static PyObject *_wrap_ART_HELP_get(void) {
d55e5bfc
RD
15971 PyObject *pyobj;
15972
15973 {
15974#if wxUSE_UNICODE
15975 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15976#else
15977 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15978#endif
15979 }
15980 return pyobj;
15981}
15982
15983
c32bde28 15984static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
15985 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
15986 return 1;
15987}
15988
15989
093d3ff1 15990static PyObject *_wrap_ART_TIP_get(void) {
d55e5bfc
RD
15991 PyObject *pyobj;
15992
15993 {
15994#if wxUSE_UNICODE
15995 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15996#else
15997 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15998#endif
15999 }
16000 return pyobj;
16001}
16002
16003
c32bde28 16004static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
16005 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
16006 return 1;
16007}
16008
16009
093d3ff1 16010static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
d55e5bfc
RD
16011 PyObject *pyobj;
16012
16013 {
16014#if wxUSE_UNICODE
16015 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16016#else
16017 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16018#endif
16019 }
16020 return pyobj;
16021}
16022
16023
c32bde28 16024static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
16025 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16026 return 1;
16027}
16028
16029
093d3ff1 16030static PyObject *_wrap_ART_LIST_VIEW_get(void) {
d55e5bfc
RD
16031 PyObject *pyobj;
16032
16033 {
16034#if wxUSE_UNICODE
16035 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16036#else
16037 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16038#endif
16039 }
16040 return pyobj;
16041}
16042
16043
c32bde28 16044static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
16045 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16046 return 1;
16047}
16048
16049
093d3ff1 16050static PyObject *_wrap_ART_NEW_DIR_get(void) {
d55e5bfc
RD
16051 PyObject *pyobj;
16052
16053 {
16054#if wxUSE_UNICODE
16055 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16056#else
16057 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16058#endif
16059 }
16060 return pyobj;
16061}
16062
16063
f78cc896
RD
16064static int _wrap_ART_HARDDISK_set(PyObject *) {
16065 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16066 return 1;
16067}
16068
16069
093d3ff1 16070static PyObject *_wrap_ART_HARDDISK_get(void) {
f78cc896
RD
16071 PyObject *pyobj;
16072
16073 {
16074#if wxUSE_UNICODE
16075 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16076#else
16077 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16078#endif
16079 }
16080 return pyobj;
16081}
16082
16083
16084static int _wrap_ART_FLOPPY_set(PyObject *) {
16085 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
16086 return 1;
16087}
16088
16089
093d3ff1 16090static PyObject *_wrap_ART_FLOPPY_get(void) {
f78cc896
RD
16091 PyObject *pyobj;
16092
16093 {
16094#if wxUSE_UNICODE
16095 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16096#else
16097 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16098#endif
16099 }
16100 return pyobj;
16101}
16102
16103
16104static int _wrap_ART_CDROM_set(PyObject *) {
16105 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
16106 return 1;
16107}
16108
16109
093d3ff1 16110static PyObject *_wrap_ART_CDROM_get(void) {
f78cc896
RD
16111 PyObject *pyobj;
16112
16113 {
16114#if wxUSE_UNICODE
16115 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16116#else
16117 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16118#endif
16119 }
16120 return pyobj;
16121}
16122
16123
16124static int _wrap_ART_REMOVABLE_set(PyObject *) {
16125 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
16126 return 1;
16127}
16128
16129
093d3ff1 16130static PyObject *_wrap_ART_REMOVABLE_get(void) {
f78cc896
RD
16131 PyObject *pyobj;
16132
16133 {
16134#if wxUSE_UNICODE
16135 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16136#else
16137 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16138#endif
16139 }
16140 return pyobj;
16141}
16142
16143
c32bde28 16144static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
16145 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
16146 return 1;
16147}
16148
16149
093d3ff1 16150static PyObject *_wrap_ART_FOLDER_get(void) {
d55e5bfc
RD
16151 PyObject *pyobj;
16152
16153 {
16154#if wxUSE_UNICODE
16155 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16156#else
16157 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16158#endif
16159 }
16160 return pyobj;
16161}
16162
16163
f78cc896
RD
16164static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
16165 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
16166 return 1;
16167}
16168
16169
093d3ff1 16170static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
f78cc896
RD
16171 PyObject *pyobj;
16172
16173 {
16174#if wxUSE_UNICODE
16175 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16176#else
16177 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16178#endif
16179 }
16180 return pyobj;
16181}
16182
16183
c32bde28 16184static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
16185 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
16186 return 1;
16187}
16188
16189
093d3ff1 16190static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
d55e5bfc
RD
16191 PyObject *pyobj;
16192
16193 {
16194#if wxUSE_UNICODE
16195 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16196#else
16197 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16198#endif
16199 }
16200 return pyobj;
16201}
16202
16203
c32bde28 16204static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
16205 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
16206 return 1;
16207}
16208
16209
093d3ff1 16210static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
d55e5bfc
RD
16211 PyObject *pyobj;
16212
16213 {
16214#if wxUSE_UNICODE
16215 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16216#else
16217 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16218#endif
16219 }
16220 return pyobj;
16221}
16222
16223
c32bde28 16224static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
16225 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
16226 return 1;
16227}
16228
16229
093d3ff1 16230static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
d55e5bfc
RD
16231 PyObject *pyobj;
16232
16233 {
16234#if wxUSE_UNICODE
16235 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16236#else
16237 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16238#endif
16239 }
16240 return pyobj;
16241}
16242
16243
c32bde28 16244static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
16245 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
16246 return 1;
16247}
16248
16249
093d3ff1 16250static PyObject *_wrap_ART_TICK_MARK_get(void) {
d55e5bfc
RD
16251 PyObject *pyobj;
16252
16253 {
16254#if wxUSE_UNICODE
16255 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16256#else
16257 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16258#endif
16259 }
16260 return pyobj;
16261}
16262
16263
c32bde28 16264static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
16265 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
16266 return 1;
16267}
16268
16269
093d3ff1 16270static PyObject *_wrap_ART_CROSS_MARK_get(void) {
d55e5bfc
RD
16271 PyObject *pyobj;
16272
16273 {
16274#if wxUSE_UNICODE
16275 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16276#else
16277 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16278#endif
16279 }
16280 return pyobj;
16281}
16282
16283
c32bde28 16284static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
16285 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
16286 return 1;
16287}
16288
16289
093d3ff1 16290static PyObject *_wrap_ART_ERROR_get(void) {
d55e5bfc
RD
16291 PyObject *pyobj;
16292
16293 {
16294#if wxUSE_UNICODE
16295 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16296#else
16297 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16298#endif
16299 }
16300 return pyobj;
16301}
16302
16303
c32bde28 16304static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
16305 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
16306 return 1;
16307}
16308
16309
093d3ff1 16310static PyObject *_wrap_ART_QUESTION_get(void) {
d55e5bfc
RD
16311 PyObject *pyobj;
16312
16313 {
16314#if wxUSE_UNICODE
16315 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16316#else
16317 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16318#endif
16319 }
16320 return pyobj;
16321}
16322
16323
c32bde28 16324static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
16325 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
16326 return 1;
16327}
16328
16329
093d3ff1 16330static PyObject *_wrap_ART_WARNING_get(void) {
d55e5bfc
RD
16331 PyObject *pyobj;
16332
16333 {
16334#if wxUSE_UNICODE
16335 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16336#else
16337 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16338#endif
16339 }
16340 return pyobj;
16341}
16342
16343
c32bde28 16344static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
16345 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
16346 return 1;
16347}
16348
16349
093d3ff1 16350static PyObject *_wrap_ART_INFORMATION_get(void) {
d55e5bfc
RD
16351 PyObject *pyobj;
16352
16353 {
16354#if wxUSE_UNICODE
16355 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16356#else
16357 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16358#endif
16359 }
16360 return pyobj;
16361}
16362
16363
c32bde28 16364static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
16365 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
16366 return 1;
16367}
16368
16369
093d3ff1 16370static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
d55e5bfc
RD
16371 PyObject *pyobj;
16372
16373 {
16374#if wxUSE_UNICODE
16375 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16376#else
16377 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16378#endif
16379 }
16380 return pyobj;
16381}
16382
16383
68350608
RD
16384static int _wrap_ART_COPY_set(PyObject *) {
16385 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
16386 return 1;
16387}
16388
16389
16390static PyObject *_wrap_ART_COPY_get(void) {
16391 PyObject *pyobj;
16392
16393 {
16394#if wxUSE_UNICODE
16395 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16396#else
16397 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16398#endif
16399 }
16400 return pyobj;
16401}
16402
16403
16404static int _wrap_ART_CUT_set(PyObject *) {
16405 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
16406 return 1;
16407}
16408
16409
16410static PyObject *_wrap_ART_CUT_get(void) {
16411 PyObject *pyobj;
16412
16413 {
16414#if wxUSE_UNICODE
16415 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16416#else
16417 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16418#endif
16419 }
16420 return pyobj;
16421}
16422
16423
16424static int _wrap_ART_PASTE_set(PyObject *) {
16425 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
16426 return 1;
16427}
16428
16429
16430static PyObject *_wrap_ART_PASTE_get(void) {
16431 PyObject *pyobj;
16432
16433 {
16434#if wxUSE_UNICODE
16435 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16436#else
16437 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16438#endif
16439 }
16440 return pyobj;
16441}
16442
16443
16444static int _wrap_ART_DELETE_set(PyObject *) {
16445 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
16446 return 1;
16447}
16448
16449
16450static PyObject *_wrap_ART_DELETE_get(void) {
16451 PyObject *pyobj;
16452
16453 {
16454#if wxUSE_UNICODE
16455 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16456#else
16457 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16458#endif
16459 }
16460 return pyobj;
16461}
16462
16463
a187dc0b
RD
16464static int _wrap_ART_NEW_set(PyObject *) {
16465 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
16466 return 1;
16467}
16468
16469
16470static PyObject *_wrap_ART_NEW_get(void) {
16471 PyObject *pyobj;
16472
16473 {
16474#if wxUSE_UNICODE
16475 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
16476#else
16477 pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
16478#endif
16479 }
16480 return pyobj;
16481}
16482
16483
68350608
RD
16484static int _wrap_ART_UNDO_set(PyObject *) {
16485 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
16486 return 1;
16487}
16488
16489
16490static PyObject *_wrap_ART_UNDO_get(void) {
16491 PyObject *pyobj;
16492
16493 {
16494#if wxUSE_UNICODE
16495 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16496#else
16497 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16498#endif
16499 }
16500 return pyobj;
16501}
16502
16503
16504static int _wrap_ART_REDO_set(PyObject *) {
16505 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
16506 return 1;
16507}
16508
16509
16510static PyObject *_wrap_ART_REDO_get(void) {
16511 PyObject *pyobj;
16512
16513 {
16514#if wxUSE_UNICODE
16515 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16516#else
16517 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16518#endif
16519 }
16520 return pyobj;
16521}
16522
16523
16524static int _wrap_ART_QUIT_set(PyObject *) {
16525 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
16526 return 1;
16527}
16528
16529
16530static PyObject *_wrap_ART_QUIT_get(void) {
16531 PyObject *pyobj;
16532
16533 {
16534#if wxUSE_UNICODE
16535 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16536#else
16537 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16538#endif
16539 }
16540 return pyobj;
16541}
16542
16543
16544static int _wrap_ART_FIND_set(PyObject *) {
16545 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
16546 return 1;
16547}
16548
16549
16550static PyObject *_wrap_ART_FIND_get(void) {
16551 PyObject *pyobj;
16552
16553 {
16554#if wxUSE_UNICODE
16555 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16556#else
16557 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16558#endif
16559 }
16560 return pyobj;
16561}
16562
16563
16564static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
16565 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
16566 return 1;
16567}
16568
16569
16570static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
16571 PyObject *pyobj;
16572
16573 {
16574#if wxUSE_UNICODE
16575 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16576#else
16577 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16578#endif
16579 }
16580 return pyobj;
16581}
16582
16583
c32bde28 16584static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16585 PyObject *resultobj;
16586 wxPyArtProvider *result;
16587 char *kwnames[] = {
16588 NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
16592 {
0439c23b 16593 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 result = (wxPyArtProvider *)new wxPyArtProvider();
16596
16597 wxPyEndAllowThreads(__tstate);
110da5b0 16598 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16599 }
16600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
16601 return resultobj;
16602 fail:
16603 return NULL;
16604}
16605
16606
c32bde28 16607static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16608 PyObject *resultobj;
16609 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16610 PyObject *arg2 = (PyObject *) 0 ;
16611 PyObject *arg3 = (PyObject *) 0 ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 PyObject * obj2 = 0 ;
16615 char *kwnames[] = {
16616 (char *) "self",(char *) "self",(char *) "_class", NULL
16617 };
16618
16619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16622 arg2 = obj1;
16623 arg3 = obj2;
16624 {
16625 PyThreadState* __tstate = wxPyBeginAllowThreads();
16626 (arg1)->_setCallbackInfo(arg2,arg3);
16627
16628 wxPyEndAllowThreads(__tstate);
16629 if (PyErr_Occurred()) SWIG_fail;
16630 }
16631 Py_INCREF(Py_None); resultobj = Py_None;
16632 return resultobj;
16633 fail:
16634 return NULL;
16635}
16636
16637
c32bde28 16638static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16639 PyObject *resultobj;
16640 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "provider", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16649 {
16650 PyThreadState* __tstate = wxPyBeginAllowThreads();
16651 wxPyArtProvider::PushProvider(arg1);
16652
16653 wxPyEndAllowThreads(__tstate);
16654 if (PyErr_Occurred()) SWIG_fail;
16655 }
16656 Py_INCREF(Py_None); resultobj = Py_None;
16657 return resultobj;
16658 fail:
16659 return NULL;
16660}
16661
16662
c32bde28 16663static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16664 PyObject *resultobj;
16665 bool result;
16666 char *kwnames[] = {
16667 NULL
16668 };
16669
16670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
16671 {
16672 PyThreadState* __tstate = wxPyBeginAllowThreads();
16673 result = (bool)wxPyArtProvider::PopProvider();
16674
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16680 }
16681 return resultobj;
16682 fail:
16683 return NULL;
16684}
16685
16686
c32bde28 16687static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16688 PyObject *resultobj;
16689 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16690 bool result;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "provider", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 {
16707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16708 }
16709 return resultobj;
16710 fail:
16711 return NULL;
16712}
16713
16714
c32bde28 16715static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16716 PyObject *resultobj;
16717 wxString *arg1 = 0 ;
16718 wxString const &arg2_defvalue = wxPyART_OTHER ;
16719 wxString *arg2 = (wxString *) &arg2_defvalue ;
16720 wxSize const &arg3_defvalue = wxDefaultSize ;
16721 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16722 wxBitmap result;
ae8162c8
RD
16723 bool temp1 = false ;
16724 bool temp2 = false ;
d55e5bfc
RD
16725 wxSize temp3 ;
16726 PyObject * obj0 = 0 ;
16727 PyObject * obj1 = 0 ;
16728 PyObject * obj2 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "id",(char *) "client",(char *) "size", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
16734 {
16735 arg1 = wxString_in_helper(obj0);
16736 if (arg1 == NULL) SWIG_fail;
ae8162c8 16737 temp1 = true;
d55e5bfc
RD
16738 }
16739 if (obj1) {
16740 {
16741 arg2 = wxString_in_helper(obj1);
16742 if (arg2 == NULL) SWIG_fail;
ae8162c8 16743 temp2 = true;
d55e5bfc
RD
16744 }
16745 }
16746 if (obj2) {
16747 {
16748 arg3 = &temp3;
16749 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16750 }
16751 }
16752 {
0439c23b 16753 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16756
16757 wxPyEndAllowThreads(__tstate);
110da5b0 16758 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16759 }
16760 {
16761 wxBitmap * resultptr;
093d3ff1 16762 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
16763 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16764 }
16765 {
16766 if (temp1)
16767 delete arg1;
16768 }
16769 {
16770 if (temp2)
16771 delete arg2;
16772 }
16773 return resultobj;
16774 fail:
16775 {
16776 if (temp1)
16777 delete arg1;
16778 }
16779 {
16780 if (temp2)
16781 delete arg2;
16782 }
16783 return NULL;
16784}
16785
16786
c32bde28 16787static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16788 PyObject *resultobj;
16789 wxString *arg1 = 0 ;
16790 wxString const &arg2_defvalue = wxPyART_OTHER ;
16791 wxString *arg2 = (wxString *) &arg2_defvalue ;
16792 wxSize const &arg3_defvalue = wxDefaultSize ;
16793 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16794 wxIcon result;
ae8162c8
RD
16795 bool temp1 = false ;
16796 bool temp2 = false ;
d55e5bfc
RD
16797 wxSize temp3 ;
16798 PyObject * obj0 = 0 ;
16799 PyObject * obj1 = 0 ;
16800 PyObject * obj2 = 0 ;
16801 char *kwnames[] = {
16802 (char *) "id",(char *) "client",(char *) "size", NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
16806 {
16807 arg1 = wxString_in_helper(obj0);
16808 if (arg1 == NULL) SWIG_fail;
ae8162c8 16809 temp1 = true;
d55e5bfc
RD
16810 }
16811 if (obj1) {
16812 {
16813 arg2 = wxString_in_helper(obj1);
16814 if (arg2 == NULL) SWIG_fail;
ae8162c8 16815 temp2 = true;
d55e5bfc
RD
16816 }
16817 }
16818 if (obj2) {
16819 {
16820 arg3 = &temp3;
16821 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16822 }
16823 }
16824 {
0439c23b 16825 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16826 PyThreadState* __tstate = wxPyBeginAllowThreads();
16827 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16828
16829 wxPyEndAllowThreads(__tstate);
110da5b0 16830 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16831 }
16832 {
16833 wxIcon * resultptr;
093d3ff1 16834 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
16835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
16836 }
16837 {
16838 if (temp1)
16839 delete arg1;
16840 }
16841 {
16842 if (temp2)
16843 delete arg2;
16844 }
16845 return resultobj;
16846 fail:
16847 {
16848 if (temp1)
16849 delete arg1;
16850 }
16851 {
16852 if (temp2)
16853 delete arg2;
16854 }
16855 return NULL;
16856}
16857
16858
0c549c5f 16859static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
9c874b48
RD
16860 PyObject *resultobj;
16861 wxString *arg1 = 0 ;
16862 bool arg2 = (bool) false ;
16863 wxSize result;
16864 bool temp1 = false ;
16865 PyObject * obj0 = 0 ;
16866 PyObject * obj1 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "client",(char *) "platform_dependent", NULL
16869 };
16870
0c549c5f 16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
16872 {
16873 arg1 = wxString_in_helper(obj0);
16874 if (arg1 == NULL) SWIG_fail;
16875 temp1 = true;
16876 }
16877 if (obj1) {
16878 {
16879 arg2 = (bool)(SWIG_As_bool(obj1));
16880 if (SWIG_arg_fail(2)) SWIG_fail;
16881 }
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
0c549c5f 16885 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 wxSize * resultptr;
16892 resultptr = new wxSize((wxSize &)(result));
16893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16894 }
16895 {
16896 if (temp1)
16897 delete arg1;
16898 }
16899 return resultobj;
16900 fail:
16901 {
16902 if (temp1)
16903 delete arg1;
16904 }
16905 return NULL;
16906}
16907
16908
c32bde28 16909static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16910 PyObject *resultobj;
16911 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16912 PyObject * obj0 = 0 ;
16913 char *kwnames[] = {
16914 (char *) "self", NULL
16915 };
16916
16917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
16918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16919 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 wxPyArtProvider_Destroy(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 * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16935 PyObject *obj;
16936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16937 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
16938 Py_INCREF(obj);
16939 return Py_BuildValue((char *)"");
16940}
c32bde28 16941static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16942 PyObject *resultobj;
16943 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16944 PyObject * obj0 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
16950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 delete arg1;
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 Py_INCREF(Py_None); resultobj = Py_None;
16960 return resultobj;
16961 fail:
16962 return NULL;
16963}
16964
16965
c32bde28 16966static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16967 PyObject *resultobj;
16968 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16969 wxConfigBase *result;
16970 PyObject * obj0 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "config", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 16976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 16977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (wxConfigBase *)wxConfigBase::Set(arg1);
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
c32bde28 16992static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16993 PyObject *resultobj;
ae8162c8 16994 bool arg1 = (bool) true ;
d55e5bfc
RD
16995 wxConfigBase *result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "createOnDemand", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
17002 if (obj0) {
093d3ff1
RD
17003 {
17004 arg1 = (bool)(SWIG_As_bool(obj0));
17005 if (SWIG_arg_fail(1)) SWIG_fail;
17006 }
d55e5bfc
RD
17007 }
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (wxConfigBase *)wxConfigBase::Get(arg1);
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019}
17020
17021
c32bde28 17022static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17023 PyObject *resultobj;
17024 wxConfigBase *result;
17025 char *kwnames[] = {
17026 NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (wxConfigBase *)wxConfigBase::Create();
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17038 return resultobj;
17039 fail:
17040 return NULL;
17041}
17042
17043
c32bde28 17044static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17045 PyObject *resultobj;
17046 char *kwnames[] = {
17047 NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17051 {
17052 PyThreadState* __tstate = wxPyBeginAllowThreads();
17053 wxConfigBase::DontCreateOnDemand();
17054
17055 wxPyEndAllowThreads(__tstate);
17056 if (PyErr_Occurred()) SWIG_fail;
17057 }
17058 Py_INCREF(Py_None); resultobj = Py_None;
17059 return resultobj;
17060 fail:
17061 return NULL;
17062}
17063
17064
c32bde28 17065static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17066 PyObject *resultobj;
17067 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17068 wxString *arg2 = 0 ;
ae8162c8 17069 bool temp2 = false ;
d55e5bfc
RD
17070 PyObject * obj0 = 0 ;
17071 PyObject * obj1 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "path", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17079 {
17080 arg2 = wxString_in_helper(obj1);
17081 if (arg2 == NULL) SWIG_fail;
ae8162c8 17082 temp2 = true;
d55e5bfc
RD
17083 }
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->SetPath((wxString const &)*arg2);
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 Py_INCREF(Py_None); resultobj = Py_None;
17092 {
17093 if (temp2)
17094 delete arg2;
17095 }
17096 return resultobj;
17097 fail:
17098 {
17099 if (temp2)
17100 delete arg2;
17101 }
17102 return NULL;
17103}
17104
17105
c32bde28 17106static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17107 PyObject *resultobj;
17108 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17109 wxString *result;
17110 PyObject * obj0 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
17116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 {
17121 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
17122 result = (wxString *) &_result_ref;
17123 }
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 {
17129#if wxUSE_UNICODE
17130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17131#else
17132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17133#endif
17134 }
17135 return resultobj;
17136 fail:
17137 return NULL;
17138}
17139
17140
c32bde28 17141static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17142 PyObject *resultobj;
17143 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17144 PyObject *result;
17145 PyObject * obj0 = 0 ;
17146 char *kwnames[] = {
17147 (char *) "self", NULL
17148 };
17149
17150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
17151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
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_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17168 PyObject *resultobj;
17169 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17170 long arg2 ;
17171 PyObject *result;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self",(char *) "index", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17180 if (SWIG_arg_fail(1)) SWIG_fail;
17181 {
17182 arg2 = (long)(SWIG_As_long(obj1));
17183 if (SWIG_arg_fail(2)) SWIG_fail;
17184 }
d55e5bfc
RD
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
17188
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = result;
17193 return resultobj;
17194 fail:
17195 return NULL;
17196}
17197
17198
c32bde28 17199static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17200 PyObject *resultobj;
17201 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17202 PyObject *result;
17203 PyObject * obj0 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "self", NULL
17206 };
17207
17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
17209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
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_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17226 PyObject *resultobj;
17227 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17228 long arg2 ;
17229 PyObject *result;
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "index", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",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;
17239 {
17240 arg2 = (long)(SWIG_As_long(obj1));
17241 if (SWIG_arg_fail(2)) SWIG_fail;
17242 }
d55e5bfc
RD
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 resultobj = result;
17251 return resultobj;
17252 fail:
17253 return NULL;
17254}
17255
17256
c32bde28 17257static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17258 PyObject *resultobj;
17259 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17260 bool arg2 = (bool) false ;
d55e5bfc
RD
17261 size_t result;
17262 PyObject * obj0 = 0 ;
17263 PyObject * obj1 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self",(char *) "recursive", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17271 if (obj1) {
093d3ff1
RD
17272 {
17273 arg2 = (bool)(SWIG_As_bool(obj1));
17274 if (SWIG_arg_fail(2)) SWIG_fail;
17275 }
d55e5bfc
RD
17276 }
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
093d3ff1
RD
17284 {
17285 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17286 }
d55e5bfc
RD
17287 return resultobj;
17288 fail:
17289 return NULL;
17290}
17291
17292
c32bde28 17293static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17294 PyObject *resultobj;
17295 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17296 bool arg2 = (bool) false ;
d55e5bfc
RD
17297 size_t result;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self",(char *) "recursive", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17307 if (obj1) {
093d3ff1
RD
17308 {
17309 arg2 = (bool)(SWIG_As_bool(obj1));
17310 if (SWIG_arg_fail(2)) SWIG_fail;
17311 }
d55e5bfc
RD
17312 }
17313 {
17314 PyThreadState* __tstate = wxPyBeginAllowThreads();
17315 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
17316
17317 wxPyEndAllowThreads(__tstate);
17318 if (PyErr_Occurred()) SWIG_fail;
17319 }
093d3ff1
RD
17320 {
17321 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17322 }
d55e5bfc
RD
17323 return resultobj;
17324 fail:
17325 return NULL;
17326}
17327
17328
c32bde28 17329static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17330 PyObject *resultobj;
17331 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17332 wxString *arg2 = 0 ;
17333 bool result;
ae8162c8 17334 bool temp2 = false ;
d55e5bfc
RD
17335 PyObject * obj0 = 0 ;
17336 PyObject * obj1 = 0 ;
17337 char *kwnames[] = {
17338 (char *) "self",(char *) "name", NULL
17339 };
17340
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17344 {
17345 arg2 = wxString_in_helper(obj1);
17346 if (arg2 == NULL) SWIG_fail;
ae8162c8 17347 temp2 = true;
d55e5bfc
RD
17348 }
17349 {
17350 PyThreadState* __tstate = wxPyBeginAllowThreads();
17351 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 {
17357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17358 }
17359 {
17360 if (temp2)
17361 delete arg2;
17362 }
17363 return resultobj;
17364 fail:
17365 {
17366 if (temp2)
17367 delete arg2;
17368 }
17369 return NULL;
17370}
17371
17372
c32bde28 17373static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17374 PyObject *resultobj;
17375 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17376 wxString *arg2 = 0 ;
17377 bool result;
ae8162c8 17378 bool temp2 = false ;
d55e5bfc
RD
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self",(char *) "name", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17388 {
17389 arg2 = wxString_in_helper(obj1);
17390 if (arg2 == NULL) SWIG_fail;
ae8162c8 17391 temp2 = true;
d55e5bfc
RD
17392 }
17393 {
17394 PyThreadState* __tstate = wxPyBeginAllowThreads();
17395 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
17396
17397 wxPyEndAllowThreads(__tstate);
17398 if (PyErr_Occurred()) SWIG_fail;
17399 }
17400 {
17401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17402 }
17403 {
17404 if (temp2)
17405 delete arg2;
17406 }
17407 return resultobj;
17408 fail:
17409 {
17410 if (temp2)
17411 delete arg2;
17412 }
17413 return NULL;
17414}
17415
17416
c32bde28 17417static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17418 PyObject *resultobj;
17419 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17420 wxString *arg2 = 0 ;
17421 bool result;
ae8162c8 17422 bool temp2 = false ;
d55e5bfc
RD
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "name", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17432 {
17433 arg2 = wxString_in_helper(obj1);
17434 if (arg2 == NULL) SWIG_fail;
ae8162c8 17435 temp2 = true;
d55e5bfc
RD
17436 }
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 {
17445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17446 }
17447 {
17448 if (temp2)
17449 delete arg2;
17450 }
17451 return resultobj;
17452 fail:
17453 {
17454 if (temp2)
17455 delete arg2;
17456 }
17457 return NULL;
17458}
17459
17460
c32bde28 17461static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17462 PyObject *resultobj;
17463 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17464 wxString *arg2 = 0 ;
093d3ff1 17465 wxConfigBase::EntryType result;
ae8162c8 17466 bool temp2 = false ;
d55e5bfc
RD
17467 PyObject * obj0 = 0 ;
17468 PyObject * obj1 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "self",(char *) "name", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17476 {
17477 arg2 = wxString_in_helper(obj1);
17478 if (arg2 == NULL) SWIG_fail;
ae8162c8 17479 temp2 = true;
d55e5bfc
RD
17480 }
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17483 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
093d3ff1 17488 resultobj = SWIG_From_int((result));
d55e5bfc
RD
17489 {
17490 if (temp2)
17491 delete arg2;
17492 }
17493 return resultobj;
17494 fail:
17495 {
17496 if (temp2)
17497 delete arg2;
17498 }
17499 return NULL;
17500}
17501
17502
c32bde28 17503static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17504 PyObject *resultobj;
17505 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17506 wxString *arg2 = 0 ;
17507 wxString const &arg3_defvalue = wxPyEmptyString ;
17508 wxString *arg3 = (wxString *) &arg3_defvalue ;
17509 wxString result;
ae8162c8
RD
17510 bool temp2 = false ;
17511 bool temp3 = false ;
d55e5bfc
RD
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 PyObject * obj2 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17522 {
17523 arg2 = wxString_in_helper(obj1);
17524 if (arg2 == NULL) SWIG_fail;
ae8162c8 17525 temp2 = true;
d55e5bfc
RD
17526 }
17527 if (obj2) {
17528 {
17529 arg3 = wxString_in_helper(obj2);
17530 if (arg3 == NULL) SWIG_fail;
ae8162c8 17531 temp3 = true;
d55e5bfc
RD
17532 }
17533 }
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 {
17542#if wxUSE_UNICODE
17543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17544#else
17545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17546#endif
17547 }
17548 {
17549 if (temp2)
17550 delete arg2;
17551 }
17552 {
17553 if (temp3)
17554 delete arg3;
17555 }
17556 return resultobj;
17557 fail:
17558 {
17559 if (temp2)
17560 delete arg2;
17561 }
17562 {
17563 if (temp3)
17564 delete arg3;
17565 }
17566 return NULL;
17567}
17568
17569
c32bde28 17570static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17571 PyObject *resultobj;
17572 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17573 wxString *arg2 = 0 ;
17574 long arg3 = (long) 0 ;
17575 long result;
ae8162c8 17576 bool temp2 = false ;
d55e5bfc
RD
17577 PyObject * obj0 = 0 ;
17578 PyObject * obj1 = 0 ;
17579 PyObject * obj2 = 0 ;
17580 char *kwnames[] = {
17581 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17582 };
17583
17584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17587 {
17588 arg2 = wxString_in_helper(obj1);
17589 if (arg2 == NULL) SWIG_fail;
ae8162c8 17590 temp2 = true;
d55e5bfc
RD
17591 }
17592 if (obj2) {
093d3ff1
RD
17593 {
17594 arg3 = (long)(SWIG_As_long(obj2));
17595 if (SWIG_arg_fail(3)) SWIG_fail;
17596 }
d55e5bfc
RD
17597 }
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
093d3ff1
RD
17605 {
17606 resultobj = SWIG_From_long((long)(result));
17607 }
d55e5bfc
RD
17608 {
17609 if (temp2)
17610 delete arg2;
17611 }
17612 return resultobj;
17613 fail:
17614 {
17615 if (temp2)
17616 delete arg2;
17617 }
17618 return NULL;
17619}
17620
17621
c32bde28 17622static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17623 PyObject *resultobj;
17624 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17625 wxString *arg2 = 0 ;
17626 double arg3 = (double) 0.0 ;
17627 double result;
ae8162c8 17628 bool temp2 = false ;
d55e5bfc
RD
17629 PyObject * obj0 = 0 ;
17630 PyObject * obj1 = 0 ;
17631 PyObject * obj2 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17639 {
17640 arg2 = wxString_in_helper(obj1);
17641 if (arg2 == NULL) SWIG_fail;
ae8162c8 17642 temp2 = true;
d55e5bfc
RD
17643 }
17644 if (obj2) {
093d3ff1
RD
17645 {
17646 arg3 = (double)(SWIG_As_double(obj2));
17647 if (SWIG_arg_fail(3)) SWIG_fail;
17648 }
d55e5bfc
RD
17649 }
17650 {
17651 PyThreadState* __tstate = wxPyBeginAllowThreads();
17652 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
17653
17654 wxPyEndAllowThreads(__tstate);
17655 if (PyErr_Occurred()) SWIG_fail;
17656 }
093d3ff1
RD
17657 {
17658 resultobj = SWIG_From_double((double)(result));
17659 }
d55e5bfc
RD
17660 {
17661 if (temp2)
17662 delete arg2;
17663 }
17664 return resultobj;
17665 fail:
17666 {
17667 if (temp2)
17668 delete arg2;
17669 }
17670 return NULL;
17671}
17672
17673
c32bde28 17674static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17675 PyObject *resultobj;
17676 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17677 wxString *arg2 = 0 ;
ae8162c8 17678 bool arg3 = (bool) false ;
d55e5bfc 17679 bool result;
ae8162c8 17680 bool temp2 = false ;
d55e5bfc
RD
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 PyObject * obj2 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17691 {
17692 arg2 = wxString_in_helper(obj1);
17693 if (arg2 == NULL) SWIG_fail;
ae8162c8 17694 temp2 = true;
d55e5bfc
RD
17695 }
17696 if (obj2) {
093d3ff1
RD
17697 {
17698 arg3 = (bool)(SWIG_As_bool(obj2));
17699 if (SWIG_arg_fail(3)) SWIG_fail;
17700 }
d55e5bfc
RD
17701 }
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
17705
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17711 }
17712 {
17713 if (temp2)
17714 delete arg2;
17715 }
17716 return resultobj;
17717 fail:
17718 {
17719 if (temp2)
17720 delete arg2;
17721 }
17722 return NULL;
17723}
17724
17725
c32bde28 17726static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17727 PyObject *resultobj;
17728 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17729 wxString *arg2 = 0 ;
17730 wxString *arg3 = 0 ;
17731 bool result;
ae8162c8
RD
17732 bool temp2 = false ;
17733 bool temp3 = false ;
d55e5bfc
RD
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 PyObject * obj2 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "key",(char *) "value", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17744 {
17745 arg2 = wxString_in_helper(obj1);
17746 if (arg2 == NULL) SWIG_fail;
ae8162c8 17747 temp2 = true;
d55e5bfc
RD
17748 }
17749 {
17750 arg3 = wxString_in_helper(obj2);
17751 if (arg3 == NULL) SWIG_fail;
ae8162c8 17752 temp3 = true;
d55e5bfc
RD
17753 }
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 {
17762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17763 }
17764 {
17765 if (temp2)
17766 delete arg2;
17767 }
17768 {
17769 if (temp3)
17770 delete arg3;
17771 }
17772 return resultobj;
17773 fail:
17774 {
17775 if (temp2)
17776 delete arg2;
17777 }
17778 {
17779 if (temp3)
17780 delete arg3;
17781 }
17782 return NULL;
17783}
17784
17785
c32bde28 17786static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17787 PyObject *resultobj;
17788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17789 wxString *arg2 = 0 ;
17790 long arg3 ;
17791 bool result;
ae8162c8 17792 bool temp2 = false ;
d55e5bfc
RD
17793 PyObject * obj0 = 0 ;
17794 PyObject * obj1 = 0 ;
17795 PyObject * obj2 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "key",(char *) "value", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17803 {
17804 arg2 = wxString_in_helper(obj1);
17805 if (arg2 == NULL) SWIG_fail;
ae8162c8 17806 temp2 = true;
d55e5bfc 17807 }
093d3ff1
RD
17808 {
17809 arg3 = (long)(SWIG_As_long(obj2));
17810 if (SWIG_arg_fail(3)) SWIG_fail;
17811 }
d55e5bfc
RD
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 {
17820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17821 }
17822 {
17823 if (temp2)
17824 delete arg2;
17825 }
17826 return resultobj;
17827 fail:
17828 {
17829 if (temp2)
17830 delete arg2;
17831 }
17832 return NULL;
17833}
17834
17835
c32bde28 17836static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17837 PyObject *resultobj;
17838 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17839 wxString *arg2 = 0 ;
17840 double arg3 ;
17841 bool result;
ae8162c8 17842 bool temp2 = false ;
d55e5bfc
RD
17843 PyObject * obj0 = 0 ;
17844 PyObject * obj1 = 0 ;
17845 PyObject * obj2 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self",(char *) "key",(char *) "value", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17853 {
17854 arg2 = wxString_in_helper(obj1);
17855 if (arg2 == NULL) SWIG_fail;
ae8162c8 17856 temp2 = true;
d55e5bfc 17857 }
093d3ff1
RD
17858 {
17859 arg3 = (double)(SWIG_As_double(obj2));
17860 if (SWIG_arg_fail(3)) SWIG_fail;
17861 }
d55e5bfc
RD
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 {
17870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17871 }
17872 {
17873 if (temp2)
17874 delete arg2;
17875 }
17876 return resultobj;
17877 fail:
17878 {
17879 if (temp2)
17880 delete arg2;
17881 }
17882 return NULL;
17883}
17884
17885
c32bde28 17886static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17887 PyObject *resultobj;
17888 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17889 wxString *arg2 = 0 ;
17890 bool arg3 ;
17891 bool result;
ae8162c8 17892 bool temp2 = false ;
d55e5bfc
RD
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 PyObject * obj2 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self",(char *) "key",(char *) "value", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17903 {
17904 arg2 = wxString_in_helper(obj1);
17905 if (arg2 == NULL) SWIG_fail;
ae8162c8 17906 temp2 = true;
d55e5bfc 17907 }
093d3ff1
RD
17908 {
17909 arg3 = (bool)(SWIG_As_bool(obj2));
17910 if (SWIG_arg_fail(3)) SWIG_fail;
17911 }
d55e5bfc
RD
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 {
17920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17921 }
17922 {
17923 if (temp2)
17924 delete arg2;
17925 }
17926 return resultobj;
17927 fail:
17928 {
17929 if (temp2)
17930 delete arg2;
17931 }
17932 return NULL;
17933}
17934
17935
c32bde28 17936static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17937 PyObject *resultobj;
17938 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17939 bool arg2 = (bool) false ;
d55e5bfc
RD
17940 bool result;
17941 PyObject * obj0 = 0 ;
17942 PyObject * obj1 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "self",(char *) "currentOnly", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17950 if (obj1) {
093d3ff1
RD
17951 {
17952 arg2 = (bool)(SWIG_As_bool(obj1));
17953 if (SWIG_arg_fail(2)) SWIG_fail;
17954 }
d55e5bfc
RD
17955 }
17956 {
17957 PyThreadState* __tstate = wxPyBeginAllowThreads();
17958 result = (bool)(arg1)->Flush(arg2);
17959
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 {
17964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969}
17970
17971
c32bde28 17972static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17973 PyObject *resultobj;
17974 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17975 wxString *arg2 = 0 ;
17976 wxString *arg3 = 0 ;
17977 bool result;
ae8162c8
RD
17978 bool temp2 = false ;
17979 bool temp3 = false ;
d55e5bfc
RD
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 PyObject * obj2 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17990 {
17991 arg2 = wxString_in_helper(obj1);
17992 if (arg2 == NULL) SWIG_fail;
ae8162c8 17993 temp2 = true;
d55e5bfc
RD
17994 }
17995 {
17996 arg3 = wxString_in_helper(obj2);
17997 if (arg3 == NULL) SWIG_fail;
ae8162c8 17998 temp3 = true;
d55e5bfc
RD
17999 }
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 {
18008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18009 }
18010 {
18011 if (temp2)
18012 delete arg2;
18013 }
18014 {
18015 if (temp3)
18016 delete arg3;
18017 }
18018 return resultobj;
18019 fail:
18020 {
18021 if (temp2)
18022 delete arg2;
18023 }
18024 {
18025 if (temp3)
18026 delete arg3;
18027 }
18028 return NULL;
18029}
18030
18031
c32bde28 18032static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18033 PyObject *resultobj;
18034 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18035 wxString *arg2 = 0 ;
18036 wxString *arg3 = 0 ;
18037 bool result;
ae8162c8
RD
18038 bool temp2 = false ;
18039 bool temp3 = false ;
d55e5bfc
RD
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 PyObject * obj2 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18050 {
18051 arg2 = wxString_in_helper(obj1);
18052 if (arg2 == NULL) SWIG_fail;
ae8162c8 18053 temp2 = true;
d55e5bfc
RD
18054 }
18055 {
18056 arg3 = wxString_in_helper(obj2);
18057 if (arg3 == NULL) SWIG_fail;
ae8162c8 18058 temp3 = true;
d55e5bfc
RD
18059 }
18060 {
18061 PyThreadState* __tstate = wxPyBeginAllowThreads();
18062 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
18063
18064 wxPyEndAllowThreads(__tstate);
18065 if (PyErr_Occurred()) SWIG_fail;
18066 }
18067 {
18068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18069 }
18070 {
18071 if (temp2)
18072 delete arg2;
18073 }
18074 {
18075 if (temp3)
18076 delete arg3;
18077 }
18078 return resultobj;
18079 fail:
18080 {
18081 if (temp2)
18082 delete arg2;
18083 }
18084 {
18085 if (temp3)
18086 delete arg3;
18087 }
18088 return NULL;
18089}
18090
18091
c32bde28 18092static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18093 PyObject *resultobj;
18094 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18095 wxString *arg2 = 0 ;
ae8162c8 18096 bool arg3 = (bool) true ;
d55e5bfc 18097 bool result;
ae8162c8 18098 bool temp2 = false ;
d55e5bfc
RD
18099 PyObject * obj0 = 0 ;
18100 PyObject * obj1 = 0 ;
18101 PyObject * obj2 = 0 ;
18102 char *kwnames[] = {
18103 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
18104 };
18105
18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18109 {
18110 arg2 = wxString_in_helper(obj1);
18111 if (arg2 == NULL) SWIG_fail;
ae8162c8 18112 temp2 = true;
d55e5bfc
RD
18113 }
18114 if (obj2) {
093d3ff1
RD
18115 {
18116 arg3 = (bool)(SWIG_As_bool(obj2));
18117 if (SWIG_arg_fail(3)) SWIG_fail;
18118 }
d55e5bfc
RD
18119 }
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 {
18128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18129 }
18130 {
18131 if (temp2)
18132 delete arg2;
18133 }
18134 return resultobj;
18135 fail:
18136 {
18137 if (temp2)
18138 delete arg2;
18139 }
18140 return NULL;
18141}
18142
18143
c32bde28 18144static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18145 PyObject *resultobj;
18146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18147 wxString *arg2 = 0 ;
18148 bool result;
ae8162c8 18149 bool temp2 = false ;
d55e5bfc
RD
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self",(char *) "key", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18159 {
18160 arg2 = wxString_in_helper(obj1);
18161 if (arg2 == NULL) SWIG_fail;
ae8162c8 18162 temp2 = true;
d55e5bfc
RD
18163 }
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18173 }
18174 {
18175 if (temp2)
18176 delete arg2;
18177 }
18178 return resultobj;
18179 fail:
18180 {
18181 if (temp2)
18182 delete arg2;
18183 }
18184 return NULL;
18185}
18186
18187
c32bde28 18188static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18189 PyObject *resultobj;
18190 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18191 bool result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
18198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 result = (bool)(arg1)->DeleteAll();
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 {
18208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18209 }
18210 return resultobj;
18211 fail:
18212 return NULL;
18213}
18214
18215
c32bde28 18216static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18217 PyObject *resultobj;
18218 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18219 bool arg2 = (bool) true ;
d55e5bfc
RD
18220 PyObject * obj0 = 0 ;
18221 PyObject * obj1 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "doIt", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) 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 18229 if (obj1) {
093d3ff1
RD
18230 {
18231 arg2 = (bool)(SWIG_As_bool(obj1));
18232 if (SWIG_arg_fail(2)) SWIG_fail;
18233 }
d55e5bfc
RD
18234 }
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 (arg1)->SetExpandEnvVars(arg2);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246}
18247
18248
c32bde28 18249static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18250 PyObject *resultobj;
18251 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18252 bool result;
18253 PyObject * obj0 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
18259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18270 }
18271 return resultobj;
18272 fail:
18273 return NULL;
18274}
18275
18276
c32bde28 18277static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18278 PyObject *resultobj;
18279 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18280 bool arg2 = (bool) true ;
d55e5bfc
RD
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self",(char *) "doIt", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) 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 18290 if (obj1) {
093d3ff1
RD
18291 {
18292 arg2 = (bool)(SWIG_As_bool(obj1));
18293 if (SWIG_arg_fail(2)) SWIG_fail;
18294 }
d55e5bfc
RD
18295 }
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 (arg1)->SetRecordDefaults(arg2);
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 Py_INCREF(Py_None); resultobj = Py_None;
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
c32bde28 18310static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18311 PyObject *resultobj;
18312 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18313 bool result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
18320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 {
18330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18331 }
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
c32bde28 18338static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18339 PyObject *resultobj;
18340 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18341 wxString *arg2 = 0 ;
18342 wxString result;
ae8162c8 18343 bool temp2 = false ;
d55e5bfc
RD
18344 PyObject * obj0 = 0 ;
18345 PyObject * obj1 = 0 ;
18346 char *kwnames[] = {
18347 (char *) "self",(char *) "str", NULL
18348 };
18349
18350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18352 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18353 {
18354 arg2 = wxString_in_helper(obj1);
18355 if (arg2 == NULL) SWIG_fail;
ae8162c8 18356 temp2 = true;
d55e5bfc
RD
18357 }
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
18361
18362 wxPyEndAllowThreads(__tstate);
18363 if (PyErr_Occurred()) SWIG_fail;
18364 }
18365 {
18366#if wxUSE_UNICODE
18367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18368#else
18369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18370#endif
18371 }
18372 {
18373 if (temp2)
18374 delete arg2;
18375 }
18376 return resultobj;
18377 fail:
18378 {
18379 if (temp2)
18380 delete arg2;
18381 }
18382 return NULL;
18383}
18384
18385
c32bde28 18386static PyObject *_wrap_ConfigBase_GetAppName(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_GetAppName",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)->GetAppName();
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_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18419 PyObject *resultobj;
18420 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18421 wxString result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18430 {
18431 PyThreadState* __tstate = wxPyBeginAllowThreads();
18432 result = ((wxConfigBase const *)arg1)->GetVendorName();
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 {
18438#if wxUSE_UNICODE
18439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18440#else
18441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18442#endif
18443 }
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
c32bde28 18450static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18451 PyObject *resultobj;
18452 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18453 wxString *arg2 = 0 ;
ae8162c8 18454 bool temp2 = false ;
d55e5bfc
RD
18455 PyObject * obj0 = 0 ;
18456 PyObject * obj1 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "appName", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18464 {
18465 arg2 = wxString_in_helper(obj1);
18466 if (arg2 == NULL) SWIG_fail;
ae8162c8 18467 temp2 = true;
d55e5bfc
RD
18468 }
18469 {
18470 PyThreadState* __tstate = wxPyBeginAllowThreads();
18471 (arg1)->SetAppName((wxString const &)*arg2);
18472
18473 wxPyEndAllowThreads(__tstate);
18474 if (PyErr_Occurred()) SWIG_fail;
18475 }
18476 Py_INCREF(Py_None); resultobj = Py_None;
18477 {
18478 if (temp2)
18479 delete arg2;
18480 }
18481 return resultobj;
18482 fail:
18483 {
18484 if (temp2)
18485 delete arg2;
18486 }
18487 return NULL;
18488}
18489
18490
c32bde28 18491static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18492 PyObject *resultobj;
18493 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18494 wxString *arg2 = 0 ;
ae8162c8 18495 bool temp2 = false ;
d55e5bfc
RD
18496 PyObject * obj0 = 0 ;
18497 PyObject * obj1 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self",(char *) "vendorName", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18505 {
18506 arg2 = wxString_in_helper(obj1);
18507 if (arg2 == NULL) SWIG_fail;
ae8162c8 18508 temp2 = true;
d55e5bfc
RD
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->SetVendorName((wxString const &)*arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 {
18519 if (temp2)
18520 delete arg2;
18521 }
18522 return resultobj;
18523 fail:
18524 {
18525 if (temp2)
18526 delete arg2;
18527 }
18528 return NULL;
18529}
18530
18531
c32bde28 18532static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18533 PyObject *resultobj;
18534 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18535 long arg2 ;
18536 PyObject * obj0 = 0 ;
18537 PyObject * obj1 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self",(char *) "style", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18544 if (SWIG_arg_fail(1)) SWIG_fail;
18545 {
18546 arg2 = (long)(SWIG_As_long(obj1));
18547 if (SWIG_arg_fail(2)) SWIG_fail;
18548 }
d55e5bfc
RD
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 (arg1)->SetStyle(arg2);
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 Py_INCREF(Py_None); resultobj = Py_None;
18557 return resultobj;
18558 fail:
18559 return NULL;
18560}
18561
18562
c32bde28 18563static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18564 PyObject *resultobj;
18565 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18566 long result;
18567 PyObject * obj0 = 0 ;
18568 char *kwnames[] = {
18569 (char *) "self", NULL
18570 };
18571
18572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 result = (long)((wxConfigBase const *)arg1)->GetStyle();
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
093d3ff1
RD
18582 {
18583 resultobj = SWIG_From_long((long)(result));
18584 }
d55e5bfc
RD
18585 return resultobj;
18586 fail:
18587 return NULL;
18588}
18589
18590
c32bde28 18591static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18592 PyObject *obj;
18593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18594 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
18595 Py_INCREF(obj);
18596 return Py_BuildValue((char *)"");
18597}
c32bde28 18598static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18599 PyObject *resultobj;
18600 wxString const &arg1_defvalue = wxPyEmptyString ;
18601 wxString *arg1 = (wxString *) &arg1_defvalue ;
18602 wxString const &arg2_defvalue = wxPyEmptyString ;
18603 wxString *arg2 = (wxString *) &arg2_defvalue ;
18604 wxString const &arg3_defvalue = wxPyEmptyString ;
18605 wxString *arg3 = (wxString *) &arg3_defvalue ;
18606 wxString const &arg4_defvalue = wxPyEmptyString ;
18607 wxString *arg4 = (wxString *) &arg4_defvalue ;
18608 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18609 wxConfig *result;
ae8162c8
RD
18610 bool temp1 = false ;
18611 bool temp2 = false ;
18612 bool temp3 = false ;
18613 bool temp4 = false ;
d55e5bfc
RD
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 PyObject * obj2 = 0 ;
18617 PyObject * obj3 = 0 ;
18618 PyObject * obj4 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18624 if (obj0) {
18625 {
18626 arg1 = wxString_in_helper(obj0);
18627 if (arg1 == NULL) SWIG_fail;
ae8162c8 18628 temp1 = true;
d55e5bfc
RD
18629 }
18630 }
18631 if (obj1) {
18632 {
18633 arg2 = wxString_in_helper(obj1);
18634 if (arg2 == NULL) SWIG_fail;
ae8162c8 18635 temp2 = true;
d55e5bfc
RD
18636 }
18637 }
18638 if (obj2) {
18639 {
18640 arg3 = wxString_in_helper(obj2);
18641 if (arg3 == NULL) SWIG_fail;
ae8162c8 18642 temp3 = true;
d55e5bfc
RD
18643 }
18644 }
18645 if (obj3) {
18646 {
18647 arg4 = wxString_in_helper(obj3);
18648 if (arg4 == NULL) SWIG_fail;
ae8162c8 18649 temp4 = true;
d55e5bfc
RD
18650 }
18651 }
18652 if (obj4) {
093d3ff1
RD
18653 {
18654 arg5 = (long)(SWIG_As_long(obj4));
18655 if (SWIG_arg_fail(5)) SWIG_fail;
18656 }
d55e5bfc
RD
18657 }
18658 {
18659 PyThreadState* __tstate = wxPyBeginAllowThreads();
18660 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18661
18662 wxPyEndAllowThreads(__tstate);
18663 if (PyErr_Occurred()) SWIG_fail;
18664 }
18665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
18666 {
18667 if (temp1)
18668 delete arg1;
18669 }
18670 {
18671 if (temp2)
18672 delete arg2;
18673 }
18674 {
18675 if (temp3)
18676 delete arg3;
18677 }
18678 {
18679 if (temp4)
18680 delete arg4;
18681 }
18682 return resultobj;
18683 fail:
18684 {
18685 if (temp1)
18686 delete arg1;
18687 }
18688 {
18689 if (temp2)
18690 delete arg2;
18691 }
18692 {
18693 if (temp3)
18694 delete arg3;
18695 }
18696 {
18697 if (temp4)
18698 delete arg4;
18699 }
18700 return NULL;
18701}
18702
18703
c32bde28 18704static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18705 PyObject *resultobj;
18706 wxConfig *arg1 = (wxConfig *) 0 ;
18707 PyObject * obj0 = 0 ;
18708 char *kwnames[] = {
18709 (char *) "self", NULL
18710 };
18711
18712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
18713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
18714 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18715 {
18716 PyThreadState* __tstate = wxPyBeginAllowThreads();
18717 delete arg1;
18718
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 Py_INCREF(Py_None); resultobj = Py_None;
18723 return resultobj;
18724 fail:
18725 return NULL;
18726}
18727
18728
c32bde28 18729static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18730 PyObject *obj;
18731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18732 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
18733 Py_INCREF(obj);
18734 return Py_BuildValue((char *)"");
18735}
c32bde28 18736static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18737 PyObject *resultobj;
18738 wxString const &arg1_defvalue = wxPyEmptyString ;
18739 wxString *arg1 = (wxString *) &arg1_defvalue ;
18740 wxString const &arg2_defvalue = wxPyEmptyString ;
18741 wxString *arg2 = (wxString *) &arg2_defvalue ;
18742 wxString const &arg3_defvalue = wxPyEmptyString ;
18743 wxString *arg3 = (wxString *) &arg3_defvalue ;
18744 wxString const &arg4_defvalue = wxPyEmptyString ;
18745 wxString *arg4 = (wxString *) &arg4_defvalue ;
18746 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18747 wxFileConfig *result;
ae8162c8
RD
18748 bool temp1 = false ;
18749 bool temp2 = false ;
18750 bool temp3 = false ;
18751 bool temp4 = false ;
d55e5bfc
RD
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 PyObject * obj2 = 0 ;
18755 PyObject * obj3 = 0 ;
18756 PyObject * obj4 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18762 if (obj0) {
18763 {
18764 arg1 = wxString_in_helper(obj0);
18765 if (arg1 == NULL) SWIG_fail;
ae8162c8 18766 temp1 = true;
d55e5bfc
RD
18767 }
18768 }
18769 if (obj1) {
18770 {
18771 arg2 = wxString_in_helper(obj1);
18772 if (arg2 == NULL) SWIG_fail;
ae8162c8 18773 temp2 = true;
d55e5bfc
RD
18774 }
18775 }
18776 if (obj2) {
18777 {
18778 arg3 = wxString_in_helper(obj2);
18779 if (arg3 == NULL) SWIG_fail;
ae8162c8 18780 temp3 = true;
d55e5bfc
RD
18781 }
18782 }
18783 if (obj3) {
18784 {
18785 arg4 = wxString_in_helper(obj3);
18786 if (arg4 == NULL) SWIG_fail;
ae8162c8 18787 temp4 = true;
d55e5bfc
RD
18788 }
18789 }
18790 if (obj4) {
093d3ff1
RD
18791 {
18792 arg5 = (long)(SWIG_As_long(obj4));
18793 if (SWIG_arg_fail(5)) SWIG_fail;
18794 }
d55e5bfc
RD
18795 }
18796 {
18797 PyThreadState* __tstate = wxPyBeginAllowThreads();
18798 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18799
18800 wxPyEndAllowThreads(__tstate);
18801 if (PyErr_Occurred()) SWIG_fail;
18802 }
18803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
18804 {
18805 if (temp1)
18806 delete arg1;
18807 }
18808 {
18809 if (temp2)
18810 delete arg2;
18811 }
18812 {
18813 if (temp3)
18814 delete arg3;
18815 }
18816 {
18817 if (temp4)
18818 delete arg4;
18819 }
18820 return resultobj;
18821 fail:
18822 {
18823 if (temp1)
18824 delete arg1;
18825 }
18826 {
18827 if (temp2)
18828 delete arg2;
18829 }
18830 {
18831 if (temp3)
18832 delete arg3;
18833 }
18834 {
18835 if (temp4)
18836 delete arg4;
18837 }
18838 return NULL;
18839}
18840
18841
c32bde28 18842static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18843 PyObject *resultobj;
18844 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
18845 PyObject * obj0 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
18851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
18852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 delete arg1;
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 Py_INCREF(Py_None); resultobj = Py_None;
18861 return resultobj;
18862 fail:
18863 return NULL;
18864}
18865
18866
c32bde28 18867static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18868 PyObject *obj;
18869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18870 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
18871 Py_INCREF(obj);
18872 return Py_BuildValue((char *)"");
18873}
c32bde28 18874static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18875 PyObject *resultobj;
18876 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18877 wxString *arg2 = 0 ;
18878 wxConfigPathChanger *result;
ae8162c8 18879 bool temp2 = false ;
d55e5bfc
RD
18880 PyObject * obj0 = 0 ;
18881 PyObject * obj1 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "config",(char *) "entry", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18889 {
18890 arg2 = wxString_in_helper(obj1);
18891 if (arg2 == NULL) SWIG_fail;
ae8162c8 18892 temp2 = true;
d55e5bfc
RD
18893 }
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
18902 {
18903 if (temp2)
18904 delete arg2;
18905 }
18906 return resultobj;
18907 fail:
18908 {
18909 if (temp2)
18910 delete arg2;
18911 }
18912 return NULL;
18913}
18914
18915
c32bde28 18916static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18917 PyObject *resultobj;
18918 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
18925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18927 {
18928 PyThreadState* __tstate = wxPyBeginAllowThreads();
18929 delete arg1;
18930
18931 wxPyEndAllowThreads(__tstate);
18932 if (PyErr_Occurred()) SWIG_fail;
18933 }
18934 Py_INCREF(Py_None); resultobj = Py_None;
18935 return resultobj;
18936 fail:
18937 return NULL;
18938}
18939
18940
c32bde28 18941static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18942 PyObject *resultobj;
18943 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18944 wxString *result;
18945 PyObject * obj0 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
18951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 {
18956 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
18957 result = (wxString *) &_result_ref;
18958 }
18959
18960 wxPyEndAllowThreads(__tstate);
18961 if (PyErr_Occurred()) SWIG_fail;
18962 }
18963 {
18964#if wxUSE_UNICODE
18965 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18966#else
18967 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18968#endif
18969 }
18970 return resultobj;
18971 fail:
18972 return NULL;
18973}
18974
18975
c32bde28 18976static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18977 PyObject *obj;
18978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18979 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
18980 Py_INCREF(obj);
18981 return Py_BuildValue((char *)"");
18982}
c32bde28 18983static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18984 PyObject *resultobj;
18985 wxString *arg1 = 0 ;
18986 wxString result;
ae8162c8 18987 bool temp1 = false ;
d55e5bfc
RD
18988 PyObject * obj0 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "sz", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
18994 {
18995 arg1 = wxString_in_helper(obj0);
18996 if (arg1 == NULL) SWIG_fail;
ae8162c8 18997 temp1 = true;
d55e5bfc
RD
18998 }
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 result = wxExpandEnvVars((wxString const &)*arg1);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 {
19007#if wxUSE_UNICODE
19008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19009#else
19010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19011#endif
19012 }
19013 {
19014 if (temp1)
19015 delete arg1;
19016 }
19017 return resultobj;
19018 fail:
19019 {
19020 if (temp1)
19021 delete arg1;
19022 }
19023 return NULL;
19024}
19025
19026
fef4c27a
RD
19027static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
19028 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
19029 return 1;
19030}
19031
19032
fef4c27a 19033static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
d55e5bfc
RD
19034 PyObject *pyobj;
19035
19036 {
19037#if wxUSE_UNICODE
fef4c27a 19038 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 19039#else
fef4c27a 19040 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
19041#endif
19042 }
19043 return pyobj;
19044}
19045
19046
fef4c27a
RD
19047static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19048 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
19049 return 1;
19050}
19051
19052
fef4c27a 19053static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
d55e5bfc
RD
19054 PyObject *pyobj;
19055
19056 {
19057#if wxUSE_UNICODE
fef4c27a 19058 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 19059#else
fef4c27a 19060 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
19061#endif
19062 }
19063 return pyobj;
19064}
19065
19066
c32bde28 19067static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19068 PyObject *resultobj;
093d3ff1 19069 wxDateTime::Country arg1 ;
d55e5bfc
RD
19070 PyObject * obj0 = 0 ;
19071 char *kwnames[] = {
19072 (char *) "country", NULL
19073 };
19074
19075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1
RD
19076 {
19077 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19078 if (SWIG_arg_fail(1)) SWIG_fail;
19079 }
d55e5bfc
RD
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 wxDateTime::SetCountry((wxDateTime::Country )arg1);
19083
19084 wxPyEndAllowThreads(__tstate);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 Py_INCREF(Py_None); resultobj = Py_None;
19088 return resultobj;
19089 fail:
19090 return NULL;
19091}
19092
19093
c32bde28 19094static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19095 PyObject *resultobj;
093d3ff1 19096 wxDateTime::Country result;
d55e5bfc
RD
19097 char *kwnames[] = {
19098 NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19104 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
093d3ff1 19109 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19110 return resultobj;
19111 fail:
19112 return NULL;
19113}
19114
19115
c32bde28 19116static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19117 PyObject *resultobj;
093d3ff1 19118 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19119 bool result;
19120 PyObject * obj0 = 0 ;
19121 char *kwnames[] = {
19122 (char *) "country", NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
19126 if (obj0) {
093d3ff1
RD
19127 {
19128 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19129 if (SWIG_arg_fail(1)) SWIG_fail;
19130 }
d55e5bfc
RD
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 {
19140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19141 }
19142 return resultobj;
19143 fail:
19144 return NULL;
19145}
19146
19147
c32bde28 19148static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19149 PyObject *resultobj;
093d3ff1 19150 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19151 int result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "cal", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
19158 if (obj0) {
093d3ff1
RD
19159 {
19160 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19161 if (SWIG_arg_fail(1)) SWIG_fail;
19162 }
d55e5bfc
RD
19163 }
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
093d3ff1
RD
19171 {
19172 resultobj = SWIG_From_int((int)(result));
19173 }
d55e5bfc
RD
19174 return resultobj;
19175 fail:
19176 return NULL;
19177}
19178
19179
c32bde28 19180static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19181 PyObject *resultobj;
19182 int arg1 ;
19183 int result;
19184 PyObject * obj0 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "year", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1
RD
19190 {
19191 arg1 = (int)(SWIG_As_int(obj0));
19192 if (SWIG_arg_fail(1)) SWIG_fail;
19193 }
d55e5bfc
RD
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (int)wxDateTime::ConvertYearToBC(arg1);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
093d3ff1
RD
19201 {
19202 resultobj = SWIG_From_int((int)(result));
19203 }
d55e5bfc
RD
19204 return resultobj;
19205 fail:
19206 return NULL;
19207}
19208
19209
c32bde28 19210static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19211 PyObject *resultobj;
093d3ff1
RD
19212 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19213 wxDateTime::Month result;
d55e5bfc
RD
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "cal", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
19220 if (obj0) {
093d3ff1
RD
19221 {
19222 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19223 if (SWIG_arg_fail(1)) SWIG_fail;
19224 }
d55e5bfc
RD
19225 }
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19228 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
d55e5bfc
RD
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
093d3ff1 19233 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19234 return resultobj;
19235 fail:
19236 return NULL;
19237}
19238
19239
c32bde28 19240static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19241 PyObject *resultobj;
19242 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19243 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19244 bool result;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "year",(char *) "cal", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
19252 if (obj0) {
093d3ff1
RD
19253 {
19254 arg1 = (int)(SWIG_As_int(obj0));
19255 if (SWIG_arg_fail(1)) SWIG_fail;
19256 }
d55e5bfc
RD
19257 }
19258 if (obj1) {
093d3ff1
RD
19259 {
19260 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19261 if (SWIG_arg_fail(2)) SWIG_fail;
19262 }
d55e5bfc
RD
19263 }
19264 {
19265 PyThreadState* __tstate = wxPyBeginAllowThreads();
19266 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
19267
19268 wxPyEndAllowThreads(__tstate);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19273 }
19274 return resultobj;
19275 fail:
19276 return NULL;
19277}
19278
19279
c32bde28 19280static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19281 PyObject *resultobj;
19282 int arg1 = (int) wxDateTime::Inv_Year ;
19283 int result;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "year", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
19290 if (obj0) {
093d3ff1
RD
19291 {
19292 arg1 = (int)(SWIG_As_int(obj0));
19293 if (SWIG_arg_fail(1)) SWIG_fail;
19294 }
d55e5bfc
RD
19295 }
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (int)wxDateTime::GetCentury(arg1);
19299
19300 wxPyEndAllowThreads(__tstate);
19301 if (PyErr_Occurred()) SWIG_fail;
19302 }
093d3ff1
RD
19303 {
19304 resultobj = SWIG_From_int((int)(result));
19305 }
d55e5bfc
RD
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
c32bde28 19312static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19313 PyObject *resultobj;
19314 int arg1 ;
093d3ff1 19315 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19316 int result;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj1 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "year",(char *) "cal", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19324 {
19325 arg1 = (int)(SWIG_As_int(obj0));
19326 if (SWIG_arg_fail(1)) SWIG_fail;
19327 }
d55e5bfc 19328 if (obj1) {
093d3ff1
RD
19329 {
19330 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19331 if (SWIG_arg_fail(2)) SWIG_fail;
19332 }
d55e5bfc
RD
19333 }
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
093d3ff1
RD
19341 {
19342 resultobj = SWIG_From_int((int)(result));
19343 }
d55e5bfc
RD
19344 return resultobj;
19345 fail:
19346 return NULL;
19347}
19348
19349
c32bde28 19350static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19351 PyObject *resultobj;
093d3ff1 19352 wxDateTime::Month arg1 ;
d55e5bfc 19353 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 19354 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19355 int result;
19356 PyObject * obj0 = 0 ;
19357 PyObject * obj1 = 0 ;
19358 PyObject * obj2 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "month",(char *) "year",(char *) "cal", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19364 {
19365 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19366 if (SWIG_arg_fail(1)) SWIG_fail;
19367 }
d55e5bfc 19368 if (obj1) {
093d3ff1
RD
19369 {
19370 arg2 = (int)(SWIG_As_int(obj1));
19371 if (SWIG_arg_fail(2)) SWIG_fail;
19372 }
d55e5bfc
RD
19373 }
19374 if (obj2) {
093d3ff1
RD
19375 {
19376 arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
19377 if (SWIG_arg_fail(3)) SWIG_fail;
19378 }
d55e5bfc
RD
19379 }
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
093d3ff1
RD
19387 {
19388 resultobj = SWIG_From_int((int)(result));
19389 }
d55e5bfc
RD
19390 return resultobj;
19391 fail:
19392 return NULL;
19393}
19394
19395
c32bde28 19396static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19397 PyObject *resultobj;
093d3ff1
RD
19398 wxDateTime::Month arg1 ;
19399 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19400 wxString result;
19401 PyObject * obj0 = 0 ;
19402 PyObject * obj1 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "month",(char *) "flags", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19408 {
19409 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19410 if (SWIG_arg_fail(1)) SWIG_fail;
19411 }
d55e5bfc 19412 if (obj1) {
093d3ff1
RD
19413 {
19414 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19415 if (SWIG_arg_fail(2)) SWIG_fail;
19416 }
d55e5bfc
RD
19417 }
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
19421
19422 wxPyEndAllowThreads(__tstate);
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
19425 {
19426#if wxUSE_UNICODE
19427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19428#else
19429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19430#endif
19431 }
19432 return resultobj;
19433 fail:
19434 return NULL;
19435}
19436
19437
c32bde28 19438static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19439 PyObject *resultobj;
093d3ff1
RD
19440 wxDateTime::WeekDay arg1 ;
19441 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19442 wxString result;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "weekday",(char *) "flags", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19450 {
19451 arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
19452 if (SWIG_arg_fail(1)) SWIG_fail;
19453 }
d55e5bfc 19454 if (obj1) {
093d3ff1
RD
19455 {
19456 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19457 if (SWIG_arg_fail(2)) SWIG_fail;
19458 }
d55e5bfc
RD
19459 }
19460 {
19461 PyThreadState* __tstate = wxPyBeginAllowThreads();
19462 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
19463
19464 wxPyEndAllowThreads(__tstate);
19465 if (PyErr_Occurred()) SWIG_fail;
19466 }
19467 {
19468#if wxUSE_UNICODE
19469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19470#else
19471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19472#endif
19473 }
19474 return resultobj;
19475 fail:
19476 return NULL;
19477}
19478
19479
c32bde28 19480static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19481 PyObject *resultobj;
b9d6a5f3 19482 PyObject *result;
d55e5bfc 19483 char *kwnames[] = {
b9d6a5f3 19484 NULL
d55e5bfc
RD
19485 };
19486
b9d6a5f3 19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
b9d6a5f3 19490 result = (PyObject *)DateTime_GetAmPmStrings();
d55e5bfc
RD
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
b9d6a5f3 19495 resultobj = result;
d55e5bfc
RD
19496 return resultobj;
19497 fail:
d55e5bfc
RD
19498 return NULL;
19499}
19500
19501
c32bde28 19502static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19503 PyObject *resultobj;
19504 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19505 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19506 bool result;
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "year",(char *) "country", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
19514 if (obj0) {
093d3ff1
RD
19515 {
19516 arg1 = (int)(SWIG_As_int(obj0));
19517 if (SWIG_arg_fail(1)) SWIG_fail;
19518 }
d55e5bfc
RD
19519 }
19520 if (obj1) {
093d3ff1
RD
19521 {
19522 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19523 if (SWIG_arg_fail(2)) SWIG_fail;
19524 }
d55e5bfc
RD
19525 }
19526 {
19527 PyThreadState* __tstate = wxPyBeginAllowThreads();
19528 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
19529
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 {
19534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19535 }
19536 return resultobj;
19537 fail:
19538 return NULL;
19539}
19540
19541
c32bde28 19542static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19543 PyObject *resultobj;
19544 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19545 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19546 wxDateTime result;
19547 PyObject * obj0 = 0 ;
19548 PyObject * obj1 = 0 ;
19549 char *kwnames[] = {
19550 (char *) "year",(char *) "country", NULL
19551 };
19552
19553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
19554 if (obj0) {
093d3ff1
RD
19555 {
19556 arg1 = (int)(SWIG_As_int(obj0));
19557 if (SWIG_arg_fail(1)) SWIG_fail;
19558 }
d55e5bfc
RD
19559 }
19560 if (obj1) {
093d3ff1
RD
19561 {
19562 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19563 if (SWIG_arg_fail(2)) SWIG_fail;
19564 }
d55e5bfc
RD
19565 }
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
19569
19570 wxPyEndAllowThreads(__tstate);
19571 if (PyErr_Occurred()) SWIG_fail;
19572 }
19573 {
19574 wxDateTime * resultptr;
093d3ff1 19575 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19577 }
19578 return resultobj;
19579 fail:
19580 return NULL;
19581}
19582
19583
c32bde28 19584static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19585 PyObject *resultobj;
19586 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19587 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19588 wxDateTime result;
19589 PyObject * obj0 = 0 ;
19590 PyObject * obj1 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "year",(char *) "country", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
19596 if (obj0) {
093d3ff1
RD
19597 {
19598 arg1 = (int)(SWIG_As_int(obj0));
19599 if (SWIG_arg_fail(1)) SWIG_fail;
19600 }
d55e5bfc
RD
19601 }
19602 if (obj1) {
093d3ff1
RD
19603 {
19604 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19605 if (SWIG_arg_fail(2)) SWIG_fail;
19606 }
d55e5bfc
RD
19607 }
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
19611
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 {
19616 wxDateTime * resultptr;
093d3ff1 19617 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19619 }
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
c32bde28 19626static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19627 PyObject *resultobj;
19628 wxDateTime result;
19629 char *kwnames[] = {
19630 NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
19634 {
19635 PyThreadState* __tstate = wxPyBeginAllowThreads();
19636 result = wxDateTime::Now();
19637
19638 wxPyEndAllowThreads(__tstate);
19639 if (PyErr_Occurred()) SWIG_fail;
19640 }
19641 {
19642 wxDateTime * resultptr;
093d3ff1 19643 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19645 }
19646 return resultobj;
19647 fail:
19648 return NULL;
19649}
19650
19651
c32bde28 19652static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19653 PyObject *resultobj;
19654 wxDateTime result;
19655 char *kwnames[] = {
19656 NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = wxDateTime::UNow();
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 {
19668 wxDateTime * resultptr;
093d3ff1 19669 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19671 }
19672 return resultobj;
19673 fail:
19674 return NULL;
19675}
19676
19677
c32bde28 19678static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19679 PyObject *resultobj;
19680 wxDateTime result;
19681 char *kwnames[] = {
19682 NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 result = wxDateTime::Today();
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 {
19694 wxDateTime * resultptr;
093d3ff1 19695 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19696 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19697 }
19698 return resultobj;
19699 fail:
19700 return NULL;
19701}
19702
19703
c32bde28 19704static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19705 PyObject *resultobj;
19706 wxDateTime *result;
19707 char *kwnames[] = {
19708 NULL
19709 };
19710
19711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (wxDateTime *)new wxDateTime();
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19720 return resultobj;
19721 fail:
19722 return NULL;
19723}
19724
19725
c32bde28 19726static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19727 PyObject *resultobj;
19728 time_t arg1 ;
19729 wxDateTime *result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "timet", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1
RD
19736 {
19737 arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
19738 if (SWIG_arg_fail(1)) SWIG_fail;
19739 }
d55e5bfc
RD
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (wxDateTime *)new wxDateTime(arg1);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
c32bde28 19754static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19755 PyObject *resultobj;
19756 double arg1 ;
19757 wxDateTime *result;
19758 PyObject * obj0 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "jdn", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
19764 {
19765 arg1 = (double)(SWIG_As_double(obj0));
19766 if (SWIG_arg_fail(1)) SWIG_fail;
19767 }
d55e5bfc
RD
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (wxDateTime *)new wxDateTime(arg1);
19771
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19776 return resultobj;
19777 fail:
19778 return NULL;
19779}
19780
19781
c32bde28 19782static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19783 PyObject *resultobj;
19784 int arg1 ;
19785 int arg2 = (int) 0 ;
19786 int arg3 = (int) 0 ;
19787 int arg4 = (int) 0 ;
19788 wxDateTime *result;
19789 PyObject * obj0 = 0 ;
19790 PyObject * obj1 = 0 ;
19791 PyObject * obj2 = 0 ;
19792 PyObject * obj3 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
19798 {
19799 arg1 = (int)(SWIG_As_int(obj0));
19800 if (SWIG_arg_fail(1)) SWIG_fail;
19801 }
d55e5bfc 19802 if (obj1) {
093d3ff1
RD
19803 {
19804 arg2 = (int)(SWIG_As_int(obj1));
19805 if (SWIG_arg_fail(2)) SWIG_fail;
19806 }
d55e5bfc
RD
19807 }
19808 if (obj2) {
093d3ff1
RD
19809 {
19810 arg3 = (int)(SWIG_As_int(obj2));
19811 if (SWIG_arg_fail(3)) SWIG_fail;
19812 }
d55e5bfc
RD
19813 }
19814 if (obj3) {
093d3ff1
RD
19815 {
19816 arg4 = (int)(SWIG_As_int(obj3));
19817 if (SWIG_arg_fail(4)) SWIG_fail;
19818 }
d55e5bfc
RD
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19828 return resultobj;
19829 fail:
19830 return NULL;
19831}
19832
19833
c32bde28 19834static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19835 PyObject *resultobj;
19836 int arg1 ;
093d3ff1 19837 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
19838 int arg3 = (int) wxDateTime::Inv_Year ;
19839 int arg4 = (int) 0 ;
19840 int arg5 = (int) 0 ;
19841 int arg6 = (int) 0 ;
19842 int arg7 = (int) 0 ;
19843 wxDateTime *result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 PyObject * obj2 = 0 ;
19847 PyObject * obj3 = 0 ;
19848 PyObject * obj4 = 0 ;
19849 PyObject * obj5 = 0 ;
19850 PyObject * obj6 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
19856 {
19857 arg1 = (int)(SWIG_As_int(obj0));
19858 if (SWIG_arg_fail(1)) SWIG_fail;
19859 }
d55e5bfc 19860 if (obj1) {
093d3ff1
RD
19861 {
19862 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
19863 if (SWIG_arg_fail(2)) SWIG_fail;
19864 }
d55e5bfc
RD
19865 }
19866 if (obj2) {
093d3ff1
RD
19867 {
19868 arg3 = (int)(SWIG_As_int(obj2));
19869 if (SWIG_arg_fail(3)) SWIG_fail;
19870 }
d55e5bfc
RD
19871 }
19872 if (obj3) {
093d3ff1
RD
19873 {
19874 arg4 = (int)(SWIG_As_int(obj3));
19875 if (SWIG_arg_fail(4)) SWIG_fail;
19876 }
d55e5bfc
RD
19877 }
19878 if (obj4) {
093d3ff1
RD
19879 {
19880 arg5 = (int)(SWIG_As_int(obj4));
19881 if (SWIG_arg_fail(5)) SWIG_fail;
19882 }
d55e5bfc
RD
19883 }
19884 if (obj5) {
093d3ff1
RD
19885 {
19886 arg6 = (int)(SWIG_As_int(obj5));
19887 if (SWIG_arg_fail(6)) SWIG_fail;
19888 }
d55e5bfc
RD
19889 }
19890 if (obj6) {
093d3ff1
RD
19891 {
19892 arg7 = (int)(SWIG_As_int(obj6));
19893 if (SWIG_arg_fail(7)) SWIG_fail;
19894 }
d55e5bfc
RD
19895 }
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19904 return resultobj;
19905 fail:
19906 return NULL;
19907}
19908
19909
c32bde28 19910static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19911 PyObject *resultobj;
19912 wxDateTime *arg1 = (wxDateTime *) 0 ;
19913 PyObject * obj0 = 0 ;
19914 char *kwnames[] = {
19915 (char *) "self", NULL
19916 };
19917
19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
19919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 delete arg1;
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 Py_INCREF(Py_None); resultobj = Py_None;
19929 return resultobj;
19930 fail:
19931 return NULL;
19932}
19933
19934
c32bde28 19935static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19936 PyObject *resultobj;
19937 wxDateTime *arg1 = (wxDateTime *) 0 ;
19938 wxDateTime *result;
19939 PyObject * obj0 = 0 ;
19940 char *kwnames[] = {
19941 (char *) "self", NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
19945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 {
19950 wxDateTime &_result_ref = (arg1)->SetToCurrent();
19951 result = (wxDateTime *) &_result_ref;
19952 }
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19958 return resultobj;
19959 fail:
19960 return NULL;
19961}
19962
19963
c32bde28 19964static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19965 PyObject *resultobj;
19966 wxDateTime *arg1 = (wxDateTime *) 0 ;
19967 time_t arg2 ;
19968 wxDateTime *result;
19969 PyObject * obj0 = 0 ;
19970 PyObject * obj1 = 0 ;
19971 char *kwnames[] = {
19972 (char *) "self",(char *) "timet", NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19977 if (SWIG_arg_fail(1)) SWIG_fail;
19978 {
19979 arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
19980 if (SWIG_arg_fail(2)) SWIG_fail;
19981 }
d55e5bfc
RD
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 {
19985 wxDateTime &_result_ref = (arg1)->Set(arg2);
19986 result = (wxDateTime *) &_result_ref;
19987 }
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
c32bde28 19999static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20000 PyObject *resultobj;
20001 wxDateTime *arg1 = (wxDateTime *) 0 ;
20002 double arg2 ;
20003 wxDateTime *result;
20004 PyObject * obj0 = 0 ;
20005 PyObject * obj1 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self",(char *) "jdn", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20012 if (SWIG_arg_fail(1)) SWIG_fail;
20013 {
20014 arg2 = (double)(SWIG_As_double(obj1));
20015 if (SWIG_arg_fail(2)) SWIG_fail;
20016 }
d55e5bfc
RD
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 {
20020 wxDateTime &_result_ref = (arg1)->Set(arg2);
20021 result = (wxDateTime *) &_result_ref;
20022 }
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
c32bde28 20034static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20035 PyObject *resultobj;
20036 wxDateTime *arg1 = (wxDateTime *) 0 ;
20037 int arg2 ;
20038 int arg3 = (int) 0 ;
20039 int arg4 = (int) 0 ;
20040 int arg5 = (int) 0 ;
20041 wxDateTime *result;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 PyObject * obj2 = 0 ;
20045 PyObject * obj3 = 0 ;
20046 PyObject * obj4 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20053 if (SWIG_arg_fail(1)) SWIG_fail;
20054 {
20055 arg2 = (int)(SWIG_As_int(obj1));
20056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 20057 }
093d3ff1
RD
20058 if (obj2) {
20059 {
20060 arg3 = (int)(SWIG_As_int(obj2));
20061 if (SWIG_arg_fail(3)) SWIG_fail;
20062 }
20063 }
20064 if (obj3) {
20065 {
20066 arg4 = (int)(SWIG_As_int(obj3));
20067 if (SWIG_arg_fail(4)) SWIG_fail;
20068 }
d55e5bfc
RD
20069 }
20070 if (obj4) {
093d3ff1
RD
20071 {
20072 arg5 = (int)(SWIG_As_int(obj4));
20073 if (SWIG_arg_fail(5)) SWIG_fail;
20074 }
d55e5bfc
RD
20075 }
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
20078 {
20079 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
20080 result = (wxDateTime *) &_result_ref;
20081 }
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
c32bde28 20093static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20094 PyObject *resultobj;
20095 wxDateTime *arg1 = (wxDateTime *) 0 ;
20096 int arg2 ;
093d3ff1 20097 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20098 int arg4 = (int) wxDateTime::Inv_Year ;
20099 int arg5 = (int) 0 ;
20100 int arg6 = (int) 0 ;
20101 int arg7 = (int) 0 ;
20102 int arg8 = (int) 0 ;
20103 wxDateTime *result;
20104 PyObject * obj0 = 0 ;
20105 PyObject * obj1 = 0 ;
20106 PyObject * obj2 = 0 ;
20107 PyObject * obj3 = 0 ;
20108 PyObject * obj4 = 0 ;
20109 PyObject * obj5 = 0 ;
20110 PyObject * obj6 = 0 ;
20111 PyObject * obj7 = 0 ;
20112 char *kwnames[] = {
20113 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20114 };
20115
20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20118 if (SWIG_arg_fail(1)) SWIG_fail;
20119 {
20120 arg2 = (int)(SWIG_As_int(obj1));
20121 if (SWIG_arg_fail(2)) SWIG_fail;
20122 }
d55e5bfc 20123 if (obj2) {
093d3ff1
RD
20124 {
20125 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20126 if (SWIG_arg_fail(3)) SWIG_fail;
20127 }
d55e5bfc
RD
20128 }
20129 if (obj3) {
093d3ff1
RD
20130 {
20131 arg4 = (int)(SWIG_As_int(obj3));
20132 if (SWIG_arg_fail(4)) SWIG_fail;
20133 }
d55e5bfc
RD
20134 }
20135 if (obj4) {
093d3ff1
RD
20136 {
20137 arg5 = (int)(SWIG_As_int(obj4));
20138 if (SWIG_arg_fail(5)) SWIG_fail;
20139 }
d55e5bfc
RD
20140 }
20141 if (obj5) {
093d3ff1
RD
20142 {
20143 arg6 = (int)(SWIG_As_int(obj5));
20144 if (SWIG_arg_fail(6)) SWIG_fail;
20145 }
d55e5bfc
RD
20146 }
20147 if (obj6) {
093d3ff1
RD
20148 {
20149 arg7 = (int)(SWIG_As_int(obj6));
20150 if (SWIG_arg_fail(7)) SWIG_fail;
20151 }
d55e5bfc
RD
20152 }
20153 if (obj7) {
093d3ff1
RD
20154 {
20155 arg8 = (int)(SWIG_As_int(obj7));
20156 if (SWIG_arg_fail(8)) SWIG_fail;
20157 }
d55e5bfc
RD
20158 }
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 {
20162 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
20163 result = (wxDateTime *) &_result_ref;
20164 }
20165
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20170 return resultobj;
20171 fail:
20172 return NULL;
20173}
20174
20175
c32bde28 20176static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20177 PyObject *resultobj;
20178 wxDateTime *arg1 = (wxDateTime *) 0 ;
20179 wxDateTime *result;
20180 PyObject * obj0 = 0 ;
20181 char *kwnames[] = {
20182 (char *) "self", NULL
20183 };
20184
20185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 {
20191 wxDateTime &_result_ref = (arg1)->ResetTime();
20192 result = (wxDateTime *) &_result_ref;
20193 }
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
c32bde28 20205static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20206 PyObject *resultobj;
20207 wxDateTime *arg1 = (wxDateTime *) 0 ;
20208 int arg2 ;
20209 wxDateTime *result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "year", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
20219 {
20220 arg2 = (int)(SWIG_As_int(obj1));
20221 if (SWIG_arg_fail(2)) SWIG_fail;
20222 }
d55e5bfc
RD
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 {
20226 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
20227 result = (wxDateTime *) &_result_ref;
20228 }
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20234 return resultobj;
20235 fail:
20236 return NULL;
20237}
20238
20239
c32bde28 20240static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20241 PyObject *resultobj;
20242 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20243 wxDateTime::Month arg2 ;
d55e5bfc
RD
20244 wxDateTime *result;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247 char *kwnames[] = {
20248 (char *) "self",(char *) "month", NULL
20249 };
20250
20251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20253 if (SWIG_arg_fail(1)) SWIG_fail;
20254 {
20255 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20256 if (SWIG_arg_fail(2)) SWIG_fail;
20257 }
d55e5bfc
RD
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 {
20261 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
20262 result = (wxDateTime *) &_result_ref;
20263 }
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20269 return resultobj;
20270 fail:
20271 return NULL;
20272}
20273
20274
c32bde28 20275static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20276 PyObject *resultobj;
20277 wxDateTime *arg1 = (wxDateTime *) 0 ;
20278 int arg2 ;
20279 wxDateTime *result;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char *kwnames[] = {
20283 (char *) "self",(char *) "day", NULL
20284 };
20285
20286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20288 if (SWIG_arg_fail(1)) SWIG_fail;
20289 {
20290 arg2 = (int)(SWIG_As_int(obj1));
20291 if (SWIG_arg_fail(2)) SWIG_fail;
20292 }
d55e5bfc
RD
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 {
20296 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
20297 result = (wxDateTime *) &_result_ref;
20298 }
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20304 return resultobj;
20305 fail:
20306 return NULL;
20307}
20308
20309
c32bde28 20310static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20311 PyObject *resultobj;
20312 wxDateTime *arg1 = (wxDateTime *) 0 ;
20313 int arg2 ;
20314 wxDateTime *result;
20315 PyObject * obj0 = 0 ;
20316 PyObject * obj1 = 0 ;
20317 char *kwnames[] = {
20318 (char *) "self",(char *) "hour", NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail;
20324 {
20325 arg2 = (int)(SWIG_As_int(obj1));
20326 if (SWIG_arg_fail(2)) SWIG_fail;
20327 }
d55e5bfc
RD
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 {
20331 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
20332 result = (wxDateTime *) &_result_ref;
20333 }
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20339 return resultobj;
20340 fail:
20341 return NULL;
20342}
20343
20344
c32bde28 20345static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20346 PyObject *resultobj;
20347 wxDateTime *arg1 = (wxDateTime *) 0 ;
20348 int arg2 ;
20349 wxDateTime *result;
20350 PyObject * obj0 = 0 ;
20351 PyObject * obj1 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "minute", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail;
20359 {
20360 arg2 = (int)(SWIG_As_int(obj1));
20361 if (SWIG_arg_fail(2)) SWIG_fail;
20362 }
d55e5bfc
RD
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 {
20366 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
20367 result = (wxDateTime *) &_result_ref;
20368 }
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
c32bde28 20380static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20381 PyObject *resultobj;
20382 wxDateTime *arg1 = (wxDateTime *) 0 ;
20383 int arg2 ;
20384 wxDateTime *result;
20385 PyObject * obj0 = 0 ;
20386 PyObject * obj1 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "second", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail;
20394 {
20395 arg2 = (int)(SWIG_As_int(obj1));
20396 if (SWIG_arg_fail(2)) SWIG_fail;
20397 }
d55e5bfc
RD
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 {
20401 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
20402 result = (wxDateTime *) &_result_ref;
20403 }
20404
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20409 return resultobj;
20410 fail:
20411 return NULL;
20412}
20413
20414
c32bde28 20415static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20416 PyObject *resultobj;
20417 wxDateTime *arg1 = (wxDateTime *) 0 ;
20418 int arg2 ;
20419 wxDateTime *result;
20420 PyObject * obj0 = 0 ;
20421 PyObject * obj1 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self",(char *) "millisecond", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20428 if (SWIG_arg_fail(1)) SWIG_fail;
20429 {
20430 arg2 = (int)(SWIG_As_int(obj1));
20431 if (SWIG_arg_fail(2)) SWIG_fail;
20432 }
d55e5bfc
RD
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 {
20436 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
20437 result = (wxDateTime *) &_result_ref;
20438 }
20439
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20444 return resultobj;
20445 fail:
20446 return NULL;
20447}
20448
20449
c32bde28 20450static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20451 PyObject *resultobj;
20452 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20453 wxDateTime::WeekDay arg2 ;
20454 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20455 wxDateTime *result;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20465 if (SWIG_arg_fail(1)) SWIG_fail;
20466 {
20467 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20468 if (SWIG_arg_fail(2)) SWIG_fail;
20469 }
d55e5bfc 20470 if (obj2) {
093d3ff1
RD
20471 {
20472 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20473 if (SWIG_arg_fail(3)) SWIG_fail;
20474 }
d55e5bfc
RD
20475 }
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 {
20479 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20480 result = (wxDateTime *) &_result_ref;
20481 }
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20487 return resultobj;
20488 fail:
20489 return NULL;
20490}
20491
20492
c32bde28 20493static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20494 PyObject *resultobj;
20495 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20496 wxDateTime::WeekDay arg2 ;
20497 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20498 wxDateTime result;
20499 PyObject * obj0 = 0 ;
20500 PyObject * obj1 = 0 ;
20501 PyObject * obj2 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail;
20509 {
20510 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20511 if (SWIG_arg_fail(2)) SWIG_fail;
20512 }
d55e5bfc 20513 if (obj2) {
093d3ff1
RD
20514 {
20515 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20516 if (SWIG_arg_fail(3)) SWIG_fail;
20517 }
d55e5bfc
RD
20518 }
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 {
20527 wxDateTime * resultptr;
093d3ff1 20528 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20530 }
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
c32bde28 20537static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20538 PyObject *resultobj;
20539 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20540 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20541 wxDateTime *result;
20542 PyObject * obj0 = 0 ;
20543 PyObject * obj1 = 0 ;
20544 char *kwnames[] = {
20545 (char *) "self",(char *) "weekday", NULL
20546 };
20547
20548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20550 if (SWIG_arg_fail(1)) SWIG_fail;
20551 {
20552 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20553 if (SWIG_arg_fail(2)) SWIG_fail;
20554 }
d55e5bfc
RD
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
20557 {
20558 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
20559 result = (wxDateTime *) &_result_ref;
20560 }
20561
20562 wxPyEndAllowThreads(__tstate);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20566 return resultobj;
20567 fail:
20568 return NULL;
20569}
20570
20571
c32bde28 20572static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20573 PyObject *resultobj;
20574 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20575 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20576 wxDateTime result;
20577 PyObject * obj0 = 0 ;
20578 PyObject * obj1 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self",(char *) "weekday", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20585 if (SWIG_arg_fail(1)) SWIG_fail;
20586 {
20587 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20588 if (SWIG_arg_fail(2)) SWIG_fail;
20589 }
d55e5bfc
RD
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 wxDateTime * resultptr;
093d3ff1 20599 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20601 }
20602 return resultobj;
20603 fail:
20604 return NULL;
20605}
20606
20607
c32bde28 20608static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20609 PyObject *resultobj;
20610 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20611 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20612 wxDateTime *result;
20613 PyObject * obj0 = 0 ;
20614 PyObject * obj1 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self",(char *) "weekday", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail;
20622 {
20623 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20624 if (SWIG_arg_fail(2)) SWIG_fail;
20625 }
d55e5bfc
RD
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 {
20629 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
20630 result = (wxDateTime *) &_result_ref;
20631 }
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20637 return resultobj;
20638 fail:
20639 return NULL;
20640}
20641
20642
c32bde28 20643static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20644 PyObject *resultobj;
20645 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20646 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20647 wxDateTime result;
20648 PyObject * obj0 = 0 ;
20649 PyObject * obj1 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self",(char *) "weekday", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20656 if (SWIG_arg_fail(1)) SWIG_fail;
20657 {
20658 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20659 if (SWIG_arg_fail(2)) SWIG_fail;
20660 }
d55e5bfc
RD
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 {
20669 wxDateTime * resultptr;
093d3ff1 20670 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20672 }
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
c32bde28 20679static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20680 PyObject *resultobj;
20681 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20682 wxDateTime::WeekDay arg2 ;
d55e5bfc 20683 int arg3 = (int) 1 ;
093d3ff1 20684 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20685 int arg5 = (int) wxDateTime::Inv_Year ;
20686 bool result;
20687 PyObject * obj0 = 0 ;
20688 PyObject * obj1 = 0 ;
20689 PyObject * obj2 = 0 ;
20690 PyObject * obj3 = 0 ;
20691 PyObject * obj4 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20698 if (SWIG_arg_fail(1)) SWIG_fail;
20699 {
20700 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20701 if (SWIG_arg_fail(2)) SWIG_fail;
20702 }
d55e5bfc 20703 if (obj2) {
093d3ff1
RD
20704 {
20705 arg3 = (int)(SWIG_As_int(obj2));
20706 if (SWIG_arg_fail(3)) SWIG_fail;
20707 }
d55e5bfc
RD
20708 }
20709 if (obj3) {
093d3ff1
RD
20710 {
20711 arg4 = (wxDateTime::Month)(SWIG_As_int(obj3));
20712 if (SWIG_arg_fail(4)) SWIG_fail;
20713 }
d55e5bfc
RD
20714 }
20715 if (obj4) {
093d3ff1
RD
20716 {
20717 arg5 = (int)(SWIG_As_int(obj4));
20718 if (SWIG_arg_fail(5)) SWIG_fail;
20719 }
d55e5bfc
RD
20720 }
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 {
20729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20730 }
20731 return resultobj;
20732 fail:
20733 return NULL;
20734}
20735
20736
c32bde28 20737static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20738 PyObject *resultobj;
20739 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20740 wxDateTime::WeekDay arg2 ;
20741 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20742 int arg4 = (int) wxDateTime::Inv_Year ;
20743 bool result;
20744 PyObject * obj0 = 0 ;
20745 PyObject * obj1 = 0 ;
20746 PyObject * obj2 = 0 ;
20747 PyObject * obj3 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20754 if (SWIG_arg_fail(1)) SWIG_fail;
20755 {
20756 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20757 if (SWIG_arg_fail(2)) SWIG_fail;
20758 }
d55e5bfc 20759 if (obj2) {
093d3ff1
RD
20760 {
20761 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20762 if (SWIG_arg_fail(3)) SWIG_fail;
20763 }
d55e5bfc
RD
20764 }
20765 if (obj3) {
093d3ff1
RD
20766 {
20767 arg4 = (int)(SWIG_As_int(obj3));
20768 if (SWIG_arg_fail(4)) SWIG_fail;
20769 }
d55e5bfc
RD
20770 }
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
20778 {
20779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20780 }
20781 return resultobj;
20782 fail:
20783 return NULL;
20784}
20785
20786
c32bde28 20787static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20788 PyObject *resultobj;
20789 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20790 wxDateTime::WeekDay arg2 ;
20791 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20792 int arg4 = (int) wxDateTime::Inv_Year ;
20793 wxDateTime result;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 PyObject * obj2 = 0 ;
20797 PyObject * obj3 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20804 if (SWIG_arg_fail(1)) SWIG_fail;
20805 {
20806 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20807 if (SWIG_arg_fail(2)) SWIG_fail;
20808 }
d55e5bfc 20809 if (obj2) {
093d3ff1
RD
20810 {
20811 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20812 if (SWIG_arg_fail(3)) SWIG_fail;
20813 }
d55e5bfc
RD
20814 }
20815 if (obj3) {
093d3ff1
RD
20816 {
20817 arg4 = (int)(SWIG_As_int(obj3));
20818 if (SWIG_arg_fail(4)) SWIG_fail;
20819 }
d55e5bfc
RD
20820 }
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 {
20829 wxDateTime * resultptr;
093d3ff1 20830 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20832 }
20833 return resultobj;
20834 fail:
20835 return NULL;
20836}
20837
20838
c32bde28 20839static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20840 PyObject *resultobj;
20841 wxDateTime *arg1 = (wxDateTime *) 0 ;
20842 int arg2 ;
093d3ff1
RD
20843 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20844 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20845 bool result;
20846 PyObject * obj0 = 0 ;
20847 PyObject * obj1 = 0 ;
20848 PyObject * obj2 = 0 ;
20849 PyObject * obj3 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20856 if (SWIG_arg_fail(1)) SWIG_fail;
20857 {
20858 arg2 = (int)(SWIG_As_int(obj1));
20859 if (SWIG_arg_fail(2)) SWIG_fail;
20860 }
d55e5bfc 20861 if (obj2) {
093d3ff1
RD
20862 {
20863 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20864 if (SWIG_arg_fail(3)) SWIG_fail;
20865 }
d55e5bfc
RD
20866 }
20867 if (obj3) {
093d3ff1
RD
20868 {
20869 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20870 if (SWIG_arg_fail(4)) SWIG_fail;
20871 }
d55e5bfc
RD
20872 }
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20876
20877 wxPyEndAllowThreads(__tstate);
20878 if (PyErr_Occurred()) SWIG_fail;
20879 }
20880 {
20881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20882 }
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
c32bde28 20889static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20890 PyObject *resultobj;
20891 wxDateTime *arg1 = (wxDateTime *) 0 ;
20892 int arg2 ;
093d3ff1
RD
20893 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20894 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20895 wxDateTime result;
20896 PyObject * obj0 = 0 ;
20897 PyObject * obj1 = 0 ;
20898 PyObject * obj2 = 0 ;
20899 PyObject * obj3 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20906 if (SWIG_arg_fail(1)) SWIG_fail;
20907 {
20908 arg2 = (int)(SWIG_As_int(obj1));
20909 if (SWIG_arg_fail(2)) SWIG_fail;
20910 }
d55e5bfc 20911 if (obj2) {
093d3ff1
RD
20912 {
20913 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20914 if (SWIG_arg_fail(3)) SWIG_fail;
20915 }
d55e5bfc
RD
20916 }
20917 if (obj3) {
093d3ff1
RD
20918 {
20919 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20920 if (SWIG_arg_fail(4)) SWIG_fail;
20921 }
d55e5bfc
RD
20922 }
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 {
20931 wxDateTime * resultptr;
093d3ff1 20932 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20934 }
20935 return resultobj;
20936 fail:
20937 return NULL;
20938}
20939
20940
7e63a440
RD
20941static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
20942 PyObject *resultobj;
20943 int arg1 ;
20944 int arg2 ;
093d3ff1 20945 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
20946 wxDateTime result;
20947 PyObject * obj0 = 0 ;
20948 PyObject * obj1 = 0 ;
20949 PyObject * obj2 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20955 {
20956 arg1 = (int)(SWIG_As_int(obj0));
20957 if (SWIG_arg_fail(1)) SWIG_fail;
20958 }
20959 {
20960 arg2 = (int)(SWIG_As_int(obj1));
20961 if (SWIG_arg_fail(2)) SWIG_fail;
20962 }
7e63a440 20963 if (obj2) {
093d3ff1
RD
20964 {
20965 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20966 if (SWIG_arg_fail(3)) SWIG_fail;
20967 }
7e63a440
RD
20968 }
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 wxDateTime * resultptr;
093d3ff1 20978 resultptr = new wxDateTime((wxDateTime &)(result));
7e63a440
RD
20979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20980 }
20981 return resultobj;
20982 fail:
20983 return NULL;
20984}
20985
20986
c32bde28 20987static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20988 PyObject *resultobj;
20989 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20990 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20991 int arg3 = (int) wxDateTime::Inv_Year ;
20992 wxDateTime *result;
20993 PyObject * obj0 = 0 ;
20994 PyObject * obj1 = 0 ;
20995 PyObject * obj2 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "month",(char *) "year", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21002 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21003 if (obj1) {
093d3ff1
RD
21004 {
21005 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
21006 if (SWIG_arg_fail(2)) SWIG_fail;
21007 }
d55e5bfc
RD
21008 }
21009 if (obj2) {
093d3ff1
RD
21010 {
21011 arg3 = (int)(SWIG_As_int(obj2));
21012 if (SWIG_arg_fail(3)) SWIG_fail;
21013 }
d55e5bfc
RD
21014 }
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 {
21018 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
21019 result = (wxDateTime *) &_result_ref;
21020 }
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21026 return resultobj;
21027 fail:
21028 return NULL;
21029}
21030
21031
c32bde28 21032static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21033 PyObject *resultobj;
21034 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21035 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21036 int arg3 = (int) wxDateTime::Inv_Year ;
21037 wxDateTime result;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 PyObject * obj2 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self",(char *) "month",(char *) "year", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21048 if (obj1) {
093d3ff1
RD
21049 {
21050 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
21051 if (SWIG_arg_fail(2)) SWIG_fail;
21052 }
d55e5bfc
RD
21053 }
21054 if (obj2) {
093d3ff1
RD
21055 {
21056 arg3 = (int)(SWIG_As_int(obj2));
21057 if (SWIG_arg_fail(3)) SWIG_fail;
21058 }
d55e5bfc
RD
21059 }
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 {
21068 wxDateTime * resultptr;
093d3ff1 21069 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21071 }
21072 return resultobj;
21073 fail:
21074 return NULL;
21075}
21076
21077
c32bde28 21078static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21079 PyObject *resultobj;
21080 wxDateTime *arg1 = (wxDateTime *) 0 ;
21081 int arg2 ;
21082 wxDateTime *result;
21083 PyObject * obj0 = 0 ;
21084 PyObject * obj1 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self",(char *) "yday", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21091 if (SWIG_arg_fail(1)) SWIG_fail;
21092 {
21093 arg2 = (int)(SWIG_As_int(obj1));
21094 if (SWIG_arg_fail(2)) SWIG_fail;
21095 }
d55e5bfc
RD
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 {
21099 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
21100 result = (wxDateTime *) &_result_ref;
21101 }
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21107 return resultobj;
21108 fail:
21109 return NULL;
21110}
21111
21112
c32bde28 21113static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21114 PyObject *resultobj;
21115 wxDateTime *arg1 = (wxDateTime *) 0 ;
21116 int arg2 ;
21117 wxDateTime result;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "yday", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21126 if (SWIG_arg_fail(1)) SWIG_fail;
21127 {
21128 arg2 = (int)(SWIG_As_int(obj1));
21129 if (SWIG_arg_fail(2)) SWIG_fail;
21130 }
d55e5bfc
RD
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = (arg1)->GetYearDay(arg2);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 wxDateTime * resultptr;
093d3ff1 21140 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21141 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21142 }
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
c32bde28 21149static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21150 PyObject *resultobj;
21151 wxDateTime *arg1 = (wxDateTime *) 0 ;
21152 double result;
21153 PyObject * obj0 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (double)(arg1)->GetJulianDayNumber();
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
093d3ff1
RD
21168 {
21169 resultobj = SWIG_From_double((double)(result));
21170 }
d55e5bfc
RD
21171 return resultobj;
21172 fail:
21173 return NULL;
21174}
21175
21176
c32bde28 21177static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21178 PyObject *resultobj;
21179 wxDateTime *arg1 = (wxDateTime *) 0 ;
21180 double result;
21181 PyObject * obj0 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
21187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21189 {
21190 PyThreadState* __tstate = wxPyBeginAllowThreads();
21191 result = (double)(arg1)->GetJDN();
21192
21193 wxPyEndAllowThreads(__tstate);
21194 if (PyErr_Occurred()) SWIG_fail;
21195 }
093d3ff1
RD
21196 {
21197 resultobj = SWIG_From_double((double)(result));
21198 }
d55e5bfc
RD
21199 return resultobj;
21200 fail:
21201 return NULL;
21202}
21203
21204
c32bde28 21205static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21206 PyObject *resultobj;
21207 wxDateTime *arg1 = (wxDateTime *) 0 ;
21208 double result;
21209 PyObject * obj0 = 0 ;
21210 char *kwnames[] = {
21211 (char *) "self", NULL
21212 };
21213
21214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21217 {
21218 PyThreadState* __tstate = wxPyBeginAllowThreads();
21219 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
21220
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
093d3ff1
RD
21224 {
21225 resultobj = SWIG_From_double((double)(result));
21226 }
d55e5bfc
RD
21227 return resultobj;
21228 fail:
21229 return NULL;
21230}
21231
21232
c32bde28 21233static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21234 PyObject *resultobj;
21235 wxDateTime *arg1 = (wxDateTime *) 0 ;
21236 double result;
21237 PyObject * obj0 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
21243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21245 {
21246 PyThreadState* __tstate = wxPyBeginAllowThreads();
21247 result = (double)(arg1)->GetMJD();
21248
21249 wxPyEndAllowThreads(__tstate);
21250 if (PyErr_Occurred()) SWIG_fail;
21251 }
093d3ff1
RD
21252 {
21253 resultobj = SWIG_From_double((double)(result));
21254 }
d55e5bfc
RD
21255 return resultobj;
21256 fail:
21257 return NULL;
21258}
21259
21260
c32bde28 21261static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21262 PyObject *resultobj;
21263 wxDateTime *arg1 = (wxDateTime *) 0 ;
21264 double result;
21265 PyObject * obj0 = 0 ;
21266 char *kwnames[] = {
21267 (char *) "self", NULL
21268 };
21269
21270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
21271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 result = (double)(arg1)->GetRataDie();
21276
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
093d3ff1
RD
21280 {
21281 resultobj = SWIG_From_double((double)(result));
21282 }
d55e5bfc
RD
21283 return resultobj;
21284 fail:
21285 return NULL;
21286}
21287
21288
c32bde28 21289static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21290 PyObject *resultobj;
21291 wxDateTime *arg1 = (wxDateTime *) 0 ;
21292 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21293 bool arg3 = (bool) false ;
d55e5bfc 21294 wxDateTime result;
ae8162c8 21295 bool temp2 = false ;
d55e5bfc
RD
21296 PyObject * obj0 = 0 ;
21297 PyObject * obj1 = 0 ;
21298 PyObject * obj2 = 0 ;
21299 char *kwnames[] = {
21300 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21301 };
21302
21303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21306 {
21307 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21308 temp2 = true;
d55e5bfc
RD
21309 }
21310 if (obj2) {
093d3ff1
RD
21311 {
21312 arg3 = (bool)(SWIG_As_bool(obj2));
21313 if (SWIG_arg_fail(3)) SWIG_fail;
21314 }
d55e5bfc
RD
21315 }
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324 wxDateTime * resultptr;
093d3ff1 21325 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21327 }
21328 {
21329 if (temp2) delete arg2;
21330 }
21331 return resultobj;
21332 fail:
21333 {
21334 if (temp2) delete arg2;
21335 }
21336 return NULL;
21337}
21338
21339
c32bde28 21340static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21341 PyObject *resultobj;
21342 wxDateTime *arg1 = (wxDateTime *) 0 ;
21343 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21344 bool arg3 = (bool) false ;
d55e5bfc 21345 wxDateTime *result;
ae8162c8 21346 bool temp2 = false ;
d55e5bfc
RD
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 PyObject * obj2 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21357 {
21358 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21359 temp2 = true;
d55e5bfc
RD
21360 }
21361 if (obj2) {
093d3ff1
RD
21362 {
21363 arg3 = (bool)(SWIG_As_bool(obj2));
21364 if (SWIG_arg_fail(3)) SWIG_fail;
21365 }
d55e5bfc
RD
21366 }
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 {
21370 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21371 result = (wxDateTime *) &_result_ref;
21372 }
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21378 {
21379 if (temp2) delete arg2;
21380 }
21381 return resultobj;
21382 fail:
21383 {
21384 if (temp2) delete arg2;
21385 }
21386 return NULL;
21387}
21388
21389
9d7dfdff
RD
21390static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
21391 PyObject *resultobj;
21392 wxDateTime *arg1 = (wxDateTime *) 0 ;
21393 wxDateTime::TimeZone *arg2 = 0 ;
21394 bool arg3 = (bool) false ;
21395 wxDateTime result;
21396 bool temp2 = false ;
21397 PyObject * obj0 = 0 ;
21398 PyObject * obj1 = 0 ;
21399 PyObject * obj2 = 0 ;
21400 char *kwnames[] = {
21401 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21402 };
21403
21404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
21405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail;
21407 {
21408 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21409 temp2 = true;
21410 }
21411 if (obj2) {
21412 {
21413 arg3 = (bool)(SWIG_As_bool(obj2));
21414 if (SWIG_arg_fail(3)) SWIG_fail;
21415 }
21416 }
21417 {
21418 PyThreadState* __tstate = wxPyBeginAllowThreads();
21419 result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 {
21425 wxDateTime * resultptr;
21426 resultptr = new wxDateTime((wxDateTime &)(result));
21427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21428 }
21429 {
21430 if (temp2) delete arg2;
21431 }
21432 return resultobj;
21433 fail:
21434 {
21435 if (temp2) delete arg2;
21436 }
21437 return NULL;
21438}
21439
21440
21441static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxDateTime *arg1 = (wxDateTime *) 0 ;
21444 wxDateTime::TimeZone *arg2 = 0 ;
21445 bool arg3 = (bool) false ;
21446 wxDateTime *result;
21447 bool temp2 = false ;
21448 PyObject * obj0 = 0 ;
21449 PyObject * obj1 = 0 ;
21450 PyObject * obj2 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
21456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21457 if (SWIG_arg_fail(1)) SWIG_fail;
21458 {
21459 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21460 temp2 = true;
21461 }
21462 if (obj2) {
21463 {
21464 arg3 = (bool)(SWIG_As_bool(obj2));
21465 if (SWIG_arg_fail(3)) SWIG_fail;
21466 }
21467 }
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 {
21471 wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21472 result = (wxDateTime *) &_result_ref;
21473 }
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21479 {
21480 if (temp2) delete arg2;
21481 }
21482 return resultobj;
21483 fail:
21484 {
21485 if (temp2) delete arg2;
21486 }
21487 return NULL;
21488}
21489
21490
21491static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxDateTime *arg1 = (wxDateTime *) 0 ;
21494 bool arg2 = (bool) false ;
21495 wxDateTime result;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "noDST", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail;
21503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21504 if (SWIG_arg_fail(1)) SWIG_fail;
21505 if (obj1) {
21506 {
21507 arg2 = (bool)(SWIG_As_bool(obj1));
21508 if (SWIG_arg_fail(2)) SWIG_fail;
21509 }
21510 }
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = ((wxDateTime const *)arg1)->ToUTC(arg2);
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 wxDateTime * resultptr;
21520 resultptr = new wxDateTime((wxDateTime &)(result));
21521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21522 }
21523 return resultobj;
21524 fail:
21525 return NULL;
21526}
21527
21528
21529static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) {
21530 PyObject *resultobj;
21531 wxDateTime *arg1 = (wxDateTime *) 0 ;
21532 bool arg2 = (bool) false ;
21533 wxDateTime *result;
21534 PyObject * obj0 = 0 ;
21535 PyObject * obj1 = 0 ;
21536 char *kwnames[] = {
21537 (char *) "self",(char *) "noDST", NULL
21538 };
21539
21540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail;
21541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail;
21543 if (obj1) {
21544 {
21545 arg2 = (bool)(SWIG_As_bool(obj1));
21546 if (SWIG_arg_fail(2)) SWIG_fail;
21547 }
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 {
21552 wxDateTime &_result_ref = (arg1)->MakeUTC(arg2);
21553 result = (wxDateTime *) &_result_ref;
21554 }
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21560 return resultobj;
21561 fail:
21562 return NULL;
21563}
21564
21565
c32bde28 21566static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21567 PyObject *resultobj;
21568 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21569 bool arg2 = (bool) false ;
d55e5bfc
RD
21570 wxDateTime result;
21571 PyObject * obj0 = 0 ;
21572 PyObject * obj1 = 0 ;
21573 char *kwnames[] = {
21574 (char *) "self",(char *) "noDST", NULL
21575 };
21576
21577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21579 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21580 if (obj1) {
093d3ff1
RD
21581 {
21582 arg2 = (bool)(SWIG_As_bool(obj1));
21583 if (SWIG_arg_fail(2)) SWIG_fail;
21584 }
d55e5bfc
RD
21585 }
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9d7dfdff 21588 result = ((wxDateTime const *)arg1)->ToGMT(arg2);
d55e5bfc
RD
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 {
21594 wxDateTime * resultptr;
093d3ff1 21595 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21597 }
21598 return resultobj;
21599 fail:
21600 return NULL;
21601}
21602
21603
c32bde28 21604static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21605 PyObject *resultobj;
21606 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21607 bool arg2 = (bool) false ;
d55e5bfc
RD
21608 wxDateTime *result;
21609 PyObject * obj0 = 0 ;
21610 PyObject * obj1 = 0 ;
21611 char *kwnames[] = {
21612 (char *) "self",(char *) "noDST", NULL
21613 };
21614
21615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21618 if (obj1) {
093d3ff1
RD
21619 {
21620 arg2 = (bool)(SWIG_As_bool(obj1));
21621 if (SWIG_arg_fail(2)) SWIG_fail;
21622 }
d55e5bfc
RD
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 {
21627 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
21628 result = (wxDateTime *) &_result_ref;
21629 }
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21635 return resultobj;
21636 fail:
21637 return NULL;
21638}
21639
21640
9d7dfdff
RD
21641static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxDateTime *arg1 = (wxDateTime *) 0 ;
21644 bool arg2 = (bool) false ;
21645 wxDateTime result;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "noDST", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail;
21653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21654 if (SWIG_arg_fail(1)) SWIG_fail;
21655 if (obj1) {
21656 {
21657 arg2 = (bool)(SWIG_As_bool(obj1));
21658 if (SWIG_arg_fail(2)) SWIG_fail;
21659 }
21660 }
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 result = ((wxDateTime const *)arg1)->FromUTC(arg2);
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 {
21669 wxDateTime * resultptr;
21670 resultptr = new wxDateTime((wxDateTime &)(result));
21671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21672 }
21673 return resultobj;
21674 fail:
21675 return NULL;
21676}
21677
21678
21679static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxDateTime *arg1 = (wxDateTime *) 0 ;
21682 bool arg2 = (bool) false ;
21683 wxDateTime *result;
21684 PyObject * obj0 = 0 ;
21685 PyObject * obj1 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "noDST", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail;
21691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail;
21693 if (obj1) {
21694 {
21695 arg2 = (bool)(SWIG_As_bool(obj1));
21696 if (SWIG_arg_fail(2)) SWIG_fail;
21697 }
21698 }
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 {
21702 wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2);
21703 result = (wxDateTime *) &_result_ref;
21704 }
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21710 return resultobj;
21711 fail:
21712 return NULL;
21713}
21714
21715
c32bde28 21716static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21717 PyObject *resultobj;
21718 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21719 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
21720 int result;
21721 PyObject * obj0 = 0 ;
21722 PyObject * obj1 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "country", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21730 if (obj1) {
093d3ff1
RD
21731 {
21732 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21733 if (SWIG_arg_fail(2)) SWIG_fail;
21734 }
d55e5bfc
RD
21735 }
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
093d3ff1
RD
21743 {
21744 resultobj = SWIG_From_int((int)(result));
21745 }
d55e5bfc
RD
21746 return resultobj;
21747 fail:
21748 return NULL;
21749}
21750
21751
c32bde28 21752static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21753 PyObject *resultobj;
21754 wxDateTime *arg1 = (wxDateTime *) 0 ;
21755 bool result;
21756 PyObject * obj0 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
21762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 result = (bool)((wxDateTime const *)arg1)->IsValid();
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 {
21772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21773 }
21774 return resultobj;
21775 fail:
21776 return NULL;
21777}
21778
21779
c32bde28 21780static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21781 PyObject *resultobj;
21782 wxDateTime *arg1 = (wxDateTime *) 0 ;
21783 time_t result;
21784 PyObject * obj0 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
21790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
093d3ff1
RD
21799 {
21800 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
21801 }
d55e5bfc
RD
21802 return resultobj;
21803 fail:
21804 return NULL;
21805}
21806
21807
c32bde28 21808static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21809 PyObject *resultobj;
21810 wxDateTime *arg1 = (wxDateTime *) 0 ;
21811 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21812 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21813 int result;
ae8162c8 21814 bool temp2 = false ;
d55e5bfc
RD
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 char *kwnames[] = {
21818 (char *) "self",(char *) "tz", NULL
21819 };
21820
21821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21824 if (obj1) {
21825 {
21826 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21827 temp2 = true;
d55e5bfc
RD
21828 }
21829 }
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
093d3ff1
RD
21837 {
21838 resultobj = SWIG_From_int((int)(result));
21839 }
d55e5bfc
RD
21840 {
21841 if (temp2) delete arg2;
21842 }
21843 return resultobj;
21844 fail:
21845 {
21846 if (temp2) delete arg2;
21847 }
21848 return NULL;
21849}
21850
21851
c32bde28 21852static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21853 PyObject *resultobj;
21854 wxDateTime *arg1 = (wxDateTime *) 0 ;
21855 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21856 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21857 wxDateTime::Month result;
ae8162c8 21858 bool temp2 = false ;
d55e5bfc
RD
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "tz", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21868 if (obj1) {
21869 {
21870 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21871 temp2 = true;
d55e5bfc
RD
21872 }
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21876 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
093d3ff1 21881 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21882 {
21883 if (temp2) delete arg2;
21884 }
21885 return resultobj;
21886 fail:
21887 {
21888 if (temp2) delete arg2;
21889 }
21890 return NULL;
21891}
21892
21893
c32bde28 21894static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21895 PyObject *resultobj;
21896 wxDateTime *arg1 = (wxDateTime *) 0 ;
21897 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21898 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21899 int result;
ae8162c8 21900 bool temp2 = false ;
d55e5bfc
RD
21901 PyObject * obj0 = 0 ;
21902 PyObject * obj1 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self",(char *) "tz", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21910 if (obj1) {
21911 {
21912 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21913 temp2 = true;
d55e5bfc
RD
21914 }
21915 }
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
093d3ff1
RD
21923 {
21924 resultobj = SWIG_From_int((int)(result));
21925 }
d55e5bfc
RD
21926 {
21927 if (temp2) delete arg2;
21928 }
21929 return resultobj;
21930 fail:
21931 {
21932 if (temp2) delete arg2;
21933 }
21934 return NULL;
21935}
21936
21937
c32bde28 21938static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21939 PyObject *resultobj;
21940 wxDateTime *arg1 = (wxDateTime *) 0 ;
21941 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21942 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21943 wxDateTime::WeekDay result;
ae8162c8 21944 bool temp2 = false ;
d55e5bfc
RD
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "tz", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21954 if (obj1) {
21955 {
21956 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21957 temp2 = true;
d55e5bfc
RD
21958 }
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21962 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
093d3ff1 21967 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21968 {
21969 if (temp2) delete arg2;
21970 }
21971 return resultobj;
21972 fail:
21973 {
21974 if (temp2) delete arg2;
21975 }
21976 return NULL;
21977}
21978
21979
c32bde28 21980static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21981 PyObject *resultobj;
21982 wxDateTime *arg1 = (wxDateTime *) 0 ;
21983 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21984 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21985 int result;
ae8162c8 21986 bool temp2 = false ;
d55e5bfc
RD
21987 PyObject * obj0 = 0 ;
21988 PyObject * obj1 = 0 ;
21989 char *kwnames[] = {
21990 (char *) "self",(char *) "tz", NULL
21991 };
21992
21993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21996 if (obj1) {
21997 {
21998 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21999 temp2 = true;
d55e5bfc
RD
22000 }
22001 }
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
093d3ff1
RD
22009 {
22010 resultobj = SWIG_From_int((int)(result));
22011 }
d55e5bfc
RD
22012 {
22013 if (temp2) delete arg2;
22014 }
22015 return resultobj;
22016 fail:
22017 {
22018 if (temp2) delete arg2;
22019 }
22020 return NULL;
22021}
22022
22023
c32bde28 22024static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22025 PyObject *resultobj;
22026 wxDateTime *arg1 = (wxDateTime *) 0 ;
22027 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22028 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22029 int result;
ae8162c8 22030 bool temp2 = false ;
d55e5bfc
RD
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self",(char *) "tz", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22040 if (obj1) {
22041 {
22042 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22043 temp2 = true;
d55e5bfc
RD
22044 }
22045 }
22046 {
22047 PyThreadState* __tstate = wxPyBeginAllowThreads();
22048 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
22049
22050 wxPyEndAllowThreads(__tstate);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
093d3ff1
RD
22053 {
22054 resultobj = SWIG_From_int((int)(result));
22055 }
d55e5bfc
RD
22056 {
22057 if (temp2) delete arg2;
22058 }
22059 return resultobj;
22060 fail:
22061 {
22062 if (temp2) delete arg2;
22063 }
22064 return NULL;
22065}
22066
22067
c32bde28 22068static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22069 PyObject *resultobj;
22070 wxDateTime *arg1 = (wxDateTime *) 0 ;
22071 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22072 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22073 int result;
ae8162c8 22074 bool temp2 = false ;
d55e5bfc
RD
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "tz", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22084 if (obj1) {
22085 {
22086 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22087 temp2 = true;
d55e5bfc
RD
22088 }
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
093d3ff1
RD
22097 {
22098 resultobj = SWIG_From_int((int)(result));
22099 }
d55e5bfc
RD
22100 {
22101 if (temp2) delete arg2;
22102 }
22103 return resultobj;
22104 fail:
22105 {
22106 if (temp2) delete arg2;
22107 }
22108 return NULL;
22109}
22110
22111
c32bde28 22112static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22113 PyObject *resultobj;
22114 wxDateTime *arg1 = (wxDateTime *) 0 ;
22115 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22116 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22117 int result;
ae8162c8 22118 bool temp2 = false ;
d55e5bfc
RD
22119 PyObject * obj0 = 0 ;
22120 PyObject * obj1 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "self",(char *) "tz", NULL
22123 };
22124
22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22128 if (obj1) {
22129 {
22130 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22131 temp2 = true;
d55e5bfc
RD
22132 }
22133 }
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
093d3ff1
RD
22141 {
22142 resultobj = SWIG_From_int((int)(result));
22143 }
d55e5bfc
RD
22144 {
22145 if (temp2) delete arg2;
22146 }
22147 return resultobj;
22148 fail:
22149 {
22150 if (temp2) delete arg2;
22151 }
22152 return NULL;
22153}
22154
22155
c32bde28 22156static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22157 PyObject *resultobj;
22158 wxDateTime *arg1 = (wxDateTime *) 0 ;
22159 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22160 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22161 int result;
ae8162c8 22162 bool temp2 = false ;
d55e5bfc
RD
22163 PyObject * obj0 = 0 ;
22164 PyObject * obj1 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "tz", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22172 if (obj1) {
22173 {
22174 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22175 temp2 = true;
d55e5bfc
RD
22176 }
22177 }
22178 {
22179 PyThreadState* __tstate = wxPyBeginAllowThreads();
22180 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
22181
22182 wxPyEndAllowThreads(__tstate);
22183 if (PyErr_Occurred()) SWIG_fail;
22184 }
093d3ff1
RD
22185 {
22186 resultobj = SWIG_From_int((int)(result));
22187 }
d55e5bfc
RD
22188 {
22189 if (temp2) delete arg2;
22190 }
22191 return resultobj;
22192 fail:
22193 {
22194 if (temp2) delete arg2;
22195 }
22196 return NULL;
22197}
22198
22199
c32bde28 22200static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22201 PyObject *resultobj;
22202 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22203 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
22204 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
22205 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
22206 int result;
ae8162c8 22207 bool temp3 = false ;
d55e5bfc
RD
22208 PyObject * obj0 = 0 ;
22209 PyObject * obj1 = 0 ;
22210 PyObject * obj2 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self",(char *) "flags",(char *) "tz", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22218 if (obj1) {
093d3ff1
RD
22219 {
22220 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
22221 if (SWIG_arg_fail(2)) SWIG_fail;
22222 }
d55e5bfc
RD
22223 }
22224 if (obj2) {
22225 {
22226 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 22227 temp3 = true;
d55e5bfc
RD
22228 }
22229 }
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
093d3ff1
RD
22237 {
22238 resultobj = SWIG_From_int((int)(result));
22239 }
d55e5bfc
RD
22240 {
22241 if (temp3) delete arg3;
22242 }
22243 return resultobj;
22244 fail:
22245 {
22246 if (temp3) delete arg3;
22247 }
22248 return NULL;
22249}
22250
22251
c32bde28 22252static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22253 PyObject *resultobj;
22254 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22255 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
22256 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
22257 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
22258 int result;
ae8162c8 22259 bool temp3 = false ;
d55e5bfc
RD
22260 PyObject * obj0 = 0 ;
22261 PyObject * obj1 = 0 ;
22262 PyObject * obj2 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "flags",(char *) "tz", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22270 if (obj1) {
093d3ff1
RD
22271 {
22272 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
22273 if (SWIG_arg_fail(2)) SWIG_fail;
22274 }
d55e5bfc
RD
22275 }
22276 if (obj2) {
22277 {
22278 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 22279 temp3 = true;
d55e5bfc
RD
22280 }
22281 }
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
093d3ff1
RD
22289 {
22290 resultobj = SWIG_From_int((int)(result));
22291 }
d55e5bfc
RD
22292 {
22293 if (temp3) delete arg3;
22294 }
22295 return resultobj;
22296 fail:
22297 {
22298 if (temp3) delete arg3;
22299 }
22300 return NULL;
22301}
22302
22303
c32bde28 22304static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22305 PyObject *resultobj;
22306 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22307 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
22308 bool result;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "country", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22318 if (obj1) {
093d3ff1
RD
22319 {
22320 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
22321 if (SWIG_arg_fail(2)) SWIG_fail;
22322 }
d55e5bfc
RD
22323 }
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22333 }
22334 return resultobj;
22335 fail:
22336 return NULL;
22337}
22338
22339
c32bde28 22340static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22341 PyObject *resultobj;
22342 wxDateTime *arg1 = (wxDateTime *) 0 ;
22343 wxDateTime *arg2 = 0 ;
22344 bool result;
22345 PyObject * obj0 = 0 ;
22346 PyObject * obj1 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self",(char *) "datetime", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22353 if (SWIG_arg_fail(1)) SWIG_fail;
22354 {
22355 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22356 if (SWIG_arg_fail(2)) SWIG_fail;
22357 if (arg2 == NULL) {
22358 SWIG_null_ref("wxDateTime");
22359 }
22360 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22361 }
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
22365
22366 wxPyEndAllowThreads(__tstate);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 }
22369 {
22370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22371 }
22372 return resultobj;
22373 fail:
22374 return NULL;
22375}
22376
22377
c32bde28 22378static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22379 PyObject *resultobj;
22380 wxDateTime *arg1 = (wxDateTime *) 0 ;
22381 wxDateTime *arg2 = 0 ;
22382 bool result;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "datetime", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
22392 {
22393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22394 if (SWIG_arg_fail(2)) SWIG_fail;
22395 if (arg2 == NULL) {
22396 SWIG_null_ref("wxDateTime");
22397 }
22398 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22399 }
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 {
22408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22409 }
22410 return resultobj;
22411 fail:
22412 return NULL;
22413}
22414
22415
c32bde28 22416static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22417 PyObject *resultobj;
22418 wxDateTime *arg1 = (wxDateTime *) 0 ;
22419 wxDateTime *arg2 = 0 ;
22420 bool result;
22421 PyObject * obj0 = 0 ;
22422 PyObject * obj1 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self",(char *) "datetime", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22429 if (SWIG_arg_fail(1)) SWIG_fail;
22430 {
22431 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(2)) SWIG_fail;
22433 if (arg2 == NULL) {
22434 SWIG_null_ref("wxDateTime");
22435 }
22436 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22437 }
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 {
22446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22447 }
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
c32bde28 22454static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22455 PyObject *resultobj;
22456 wxDateTime *arg1 = (wxDateTime *) 0 ;
22457 wxDateTime *arg2 = 0 ;
22458 wxDateTime *arg3 = 0 ;
22459 bool result;
22460 PyObject * obj0 = 0 ;
22461 PyObject * obj1 = 0 ;
22462 PyObject * obj2 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self",(char *) "t1",(char *) "t2", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22469 if (SWIG_arg_fail(1)) SWIG_fail;
22470 {
22471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22472 if (SWIG_arg_fail(2)) SWIG_fail;
22473 if (arg2 == NULL) {
22474 SWIG_null_ref("wxDateTime");
22475 }
22476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22477 }
093d3ff1
RD
22478 {
22479 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22480 if (SWIG_arg_fail(3)) SWIG_fail;
22481 if (arg3 == NULL) {
22482 SWIG_null_ref("wxDateTime");
22483 }
22484 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22485 }
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 {
22494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22495 }
22496 return resultobj;
22497 fail:
22498 return NULL;
22499}
22500
22501
c32bde28 22502static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22503 PyObject *resultobj;
22504 wxDateTime *arg1 = (wxDateTime *) 0 ;
22505 wxDateTime *arg2 = 0 ;
22506 wxDateTime *arg3 = 0 ;
22507 bool result;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 PyObject * obj2 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self",(char *) "t1",(char *) "t2", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22517 if (SWIG_arg_fail(1)) SWIG_fail;
22518 {
22519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22520 if (SWIG_arg_fail(2)) SWIG_fail;
22521 if (arg2 == NULL) {
22522 SWIG_null_ref("wxDateTime");
22523 }
22524 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22525 }
093d3ff1
RD
22526 {
22527 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22528 if (SWIG_arg_fail(3)) SWIG_fail;
22529 if (arg3 == NULL) {
22530 SWIG_null_ref("wxDateTime");
22531 }
22532 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22533 }
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 {
22542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22543 }
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
c32bde28 22550static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22551 PyObject *resultobj;
22552 wxDateTime *arg1 = (wxDateTime *) 0 ;
22553 wxDateTime *arg2 = 0 ;
22554 bool result;
22555 PyObject * obj0 = 0 ;
22556 PyObject * obj1 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self",(char *) "dt", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail;
22564 {
22565 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22566 if (SWIG_arg_fail(2)) SWIG_fail;
22567 if (arg2 == NULL) {
22568 SWIG_null_ref("wxDateTime");
22569 }
22570 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 {
22580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22581 }
22582 return resultobj;
22583 fail:
22584 return NULL;
22585}
22586
22587
c32bde28 22588static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22589 PyObject *resultobj;
22590 wxDateTime *arg1 = (wxDateTime *) 0 ;
22591 wxDateTime *arg2 = 0 ;
22592 bool result;
22593 PyObject * obj0 = 0 ;
22594 PyObject * obj1 = 0 ;
22595 char *kwnames[] = {
22596 (char *) "self",(char *) "dt", NULL
22597 };
22598
22599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22601 if (SWIG_arg_fail(1)) SWIG_fail;
22602 {
22603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22604 if (SWIG_arg_fail(2)) SWIG_fail;
22605 if (arg2 == NULL) {
22606 SWIG_null_ref("wxDateTime");
22607 }
22608 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22609 }
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22619 }
22620 return resultobj;
22621 fail:
22622 return NULL;
22623}
22624
22625
c32bde28 22626static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22627 PyObject *resultobj;
22628 wxDateTime *arg1 = (wxDateTime *) 0 ;
22629 wxDateTime *arg2 = 0 ;
22630 wxTimeSpan *arg3 = 0 ;
22631 bool result;
22632 PyObject * obj0 = 0 ;
22633 PyObject * obj1 = 0 ;
22634 PyObject * obj2 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "dt",(char *) "ts", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail;
22642 {
22643 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22644 if (SWIG_arg_fail(2)) SWIG_fail;
22645 if (arg2 == NULL) {
22646 SWIG_null_ref("wxDateTime");
22647 }
22648 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22649 }
093d3ff1
RD
22650 {
22651 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22652 if (SWIG_arg_fail(3)) SWIG_fail;
22653 if (arg3 == NULL) {
22654 SWIG_null_ref("wxTimeSpan");
22655 }
22656 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22657 }
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 {
22666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22667 }
22668 return resultobj;
22669 fail:
22670 return NULL;
22671}
22672
22673
c32bde28 22674static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22675 PyObject *resultobj;
22676 wxDateTime *arg1 = (wxDateTime *) 0 ;
22677 wxTimeSpan *arg2 = 0 ;
22678 wxDateTime *result;
22679 PyObject * obj0 = 0 ;
22680 PyObject * obj1 = 0 ;
22681 char *kwnames[] = {
22682 (char *) "self",(char *) "diff", NULL
22683 };
22684
22685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22687 if (SWIG_arg_fail(1)) SWIG_fail;
22688 {
22689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22690 if (SWIG_arg_fail(2)) SWIG_fail;
22691 if (arg2 == NULL) {
22692 SWIG_null_ref("wxTimeSpan");
22693 }
22694 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22695 }
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 {
22699 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22700 result = (wxDateTime *) &_result_ref;
22701 }
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22707 return resultobj;
22708 fail:
22709 return NULL;
22710}
22711
22712
c32bde28 22713static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22714 PyObject *resultobj;
22715 wxDateTime *arg1 = (wxDateTime *) 0 ;
22716 wxDateSpan *arg2 = 0 ;
22717 wxDateTime *result;
22718 PyObject * obj0 = 0 ;
22719 PyObject * obj1 = 0 ;
22720 char *kwnames[] = {
22721 (char *) "self",(char *) "diff", NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail;
22727 {
22728 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22729 if (SWIG_arg_fail(2)) SWIG_fail;
22730 if (arg2 == NULL) {
22731 SWIG_null_ref("wxDateSpan");
22732 }
22733 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22734 }
22735 {
22736 PyThreadState* __tstate = wxPyBeginAllowThreads();
22737 {
22738 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22739 result = (wxDateTime *) &_result_ref;
22740 }
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
c32bde28 22752static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22753 PyObject *resultobj;
22754 wxDateTime *arg1 = (wxDateTime *) 0 ;
22755 wxTimeSpan *arg2 = 0 ;
22756 wxDateTime *result;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self",(char *) "diff", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail;
22766 {
22767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22768 if (SWIG_arg_fail(2)) SWIG_fail;
22769 if (arg2 == NULL) {
22770 SWIG_null_ref("wxTimeSpan");
22771 }
22772 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22773 }
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 {
22777 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22778 result = (wxDateTime *) &_result_ref;
22779 }
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22785 return resultobj;
22786 fail:
22787 return NULL;
22788}
22789
22790
c32bde28 22791static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22792 PyObject *resultobj;
22793 wxDateTime *arg1 = (wxDateTime *) 0 ;
22794 wxDateSpan *arg2 = 0 ;
22795 wxDateTime *result;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "diff", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail;
22805 {
22806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22807 if (SWIG_arg_fail(2)) SWIG_fail;
22808 if (arg2 == NULL) {
22809 SWIG_null_ref("wxDateSpan");
22810 }
22811 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22812 }
22813 {
22814 PyThreadState* __tstate = wxPyBeginAllowThreads();
22815 {
22816 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22817 result = (wxDateTime *) &_result_ref;
22818 }
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22824 return resultobj;
22825 fail:
22826 return NULL;
22827}
22828
22829
c32bde28 22830static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22831 PyObject *resultobj;
22832 wxDateTime *arg1 = (wxDateTime *) 0 ;
22833 wxDateTime *arg2 = 0 ;
22834 wxTimeSpan result;
22835 PyObject * obj0 = 0 ;
22836 PyObject * obj1 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self",(char *) "dt", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail;
22844 {
22845 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22846 if (SWIG_arg_fail(2)) SWIG_fail;
22847 if (arg2 == NULL) {
22848 SWIG_null_ref("wxDateTime");
22849 }
22850 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22851 }
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 {
22860 wxTimeSpan * resultptr;
093d3ff1 22861 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
22862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22863 }
22864 return resultobj;
22865 fail:
22866 return NULL;
22867}
22868
22869
c32bde28 22870static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22871 PyObject *resultobj;
22872 wxDateTime *arg1 = (wxDateTime *) 0 ;
22873 wxTimeSpan *arg2 = 0 ;
22874 wxDateTime *result;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877
22878 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22880 if (SWIG_arg_fail(1)) SWIG_fail;
22881 {
22882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22883 if (SWIG_arg_fail(2)) SWIG_fail;
22884 if (arg2 == NULL) {
22885 SWIG_null_ref("wxTimeSpan");
22886 }
22887 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22888 }
22889 {
22890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22891 {
22892 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22893 result = (wxDateTime *) &_result_ref;
22894 }
22895
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
c32bde28 22899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22900 return resultobj;
22901 fail:
22902 return NULL;
22903}
22904
22905
c32bde28 22906static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22907 PyObject *resultobj;
22908 wxDateTime *arg1 = (wxDateTime *) 0 ;
22909 wxDateSpan *arg2 = 0 ;
22910 wxDateTime *result;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913
22914 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22916 if (SWIG_arg_fail(1)) SWIG_fail;
22917 {
22918 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22919 if (SWIG_arg_fail(2)) SWIG_fail;
22920 if (arg2 == NULL) {
22921 SWIG_null_ref("wxDateSpan");
22922 }
22923 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22924 }
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 {
22928 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22929 result = (wxDateTime *) &_result_ref;
22930 }
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
c32bde28 22935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22936 return resultobj;
22937 fail:
22938 return NULL;
22939}
22940
22941
22942static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
22943 int argc;
22944 PyObject *argv[3];
22945 int ii;
22946
22947 argc = PyObject_Length(args);
22948 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22949 argv[ii] = PyTuple_GetItem(args,ii);
22950 }
22951 if (argc == 2) {
22952 int _v;
22953 {
22954 void *ptr;
22955 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22956 _v = 0;
22957 PyErr_Clear();
22958 } else {
22959 _v = 1;
22960 }
22961 }
22962 if (_v) {
22963 {
093d3ff1 22964 void *ptr = 0;
d55e5bfc
RD
22965 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22966 _v = 0;
22967 PyErr_Clear();
22968 } else {
093d3ff1 22969 _v = (ptr != 0);
d55e5bfc
RD
22970 }
22971 }
22972 if (_v) {
22973 return _wrap_DateTime___iadd____SWIG_0(self,args);
22974 }
22975 }
22976 }
22977 if (argc == 2) {
22978 int _v;
22979 {
22980 void *ptr;
22981 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22982 _v = 0;
22983 PyErr_Clear();
22984 } else {
22985 _v = 1;
22986 }
22987 }
22988 if (_v) {
22989 {
093d3ff1 22990 void *ptr = 0;
d55e5bfc
RD
22991 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22992 _v = 0;
22993 PyErr_Clear();
22994 } else {
093d3ff1 22995 _v = (ptr != 0);
d55e5bfc
RD
22996 }
22997 }
22998 if (_v) {
22999 return _wrap_DateTime___iadd____SWIG_1(self,args);
23000 }
23001 }
23002 }
23003
093d3ff1 23004 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
23005 return NULL;
23006}
23007
23008
c32bde28 23009static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23010 PyObject *resultobj;
23011 wxDateTime *arg1 = (wxDateTime *) 0 ;
23012 wxTimeSpan *arg2 = 0 ;
23013 wxDateTime *result;
23014 PyObject * obj0 = 0 ;
23015 PyObject * obj1 = 0 ;
23016
23017 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23019 if (SWIG_arg_fail(1)) SWIG_fail;
23020 {
23021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23022 if (SWIG_arg_fail(2)) SWIG_fail;
23023 if (arg2 == NULL) {
23024 SWIG_null_ref("wxTimeSpan");
23025 }
23026 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23027 }
23028 {
23029 PyThreadState* __tstate = wxPyBeginAllowThreads();
23030 {
23031 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
23032 result = (wxDateTime *) &_result_ref;
23033 }
23034
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
c32bde28 23038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23039 return resultobj;
23040 fail:
23041 return NULL;
23042}
23043
23044
c32bde28 23045static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23046 PyObject *resultobj;
23047 wxDateTime *arg1 = (wxDateTime *) 0 ;
23048 wxDateSpan *arg2 = 0 ;
23049 wxDateTime *result;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052
23053 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23056 {
093d3ff1
RD
23057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23058 if (SWIG_arg_fail(2)) SWIG_fail;
23059 if (arg2 == NULL) {
23060 SWIG_null_ref("wxDateSpan");
23061 }
23062 if (SWIG_arg_fail(2)) SWIG_fail;
23063 }
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
23066 {
23067 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23068 result = (wxDateTime *) &_result_ref;
23069 }
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
c32bde28 23074 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23075 return resultobj;
23076 fail:
23077 return NULL;
23078}
23079
23080
23081static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
23082 int argc;
23083 PyObject *argv[3];
23084 int ii;
23085
23086 argc = PyObject_Length(args);
23087 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23088 argv[ii] = PyTuple_GetItem(args,ii);
23089 }
23090 if (argc == 2) {
23091 int _v;
23092 {
23093 void *ptr;
23094 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23095 _v = 0;
23096 PyErr_Clear();
23097 } else {
23098 _v = 1;
23099 }
23100 }
23101 if (_v) {
23102 {
093d3ff1 23103 void *ptr = 0;
d55e5bfc
RD
23104 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23105 _v = 0;
23106 PyErr_Clear();
23107 } else {
093d3ff1 23108 _v = (ptr != 0);
d55e5bfc
RD
23109 }
23110 }
23111 if (_v) {
23112 return _wrap_DateTime___isub____SWIG_0(self,args);
23113 }
23114 }
23115 }
23116 if (argc == 2) {
23117 int _v;
23118 {
23119 void *ptr;
23120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23121 _v = 0;
23122 PyErr_Clear();
23123 } else {
23124 _v = 1;
23125 }
23126 }
23127 if (_v) {
23128 {
093d3ff1 23129 void *ptr = 0;
d55e5bfc
RD
23130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23131 _v = 0;
23132 PyErr_Clear();
23133 } else {
093d3ff1 23134 _v = (ptr != 0);
d55e5bfc
RD
23135 }
23136 }
23137 if (_v) {
23138 return _wrap_DateTime___isub____SWIG_1(self,args);
23139 }
23140 }
23141 }
23142
093d3ff1 23143 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
23144 return NULL;
23145}
23146
23147
c32bde28 23148static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23149 PyObject *resultobj;
23150 wxDateTime *arg1 = (wxDateTime *) 0 ;
23151 wxTimeSpan *arg2 = 0 ;
23152 wxDateTime result;
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155
23156 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23158 if (SWIG_arg_fail(1)) SWIG_fail;
23159 {
23160 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(2)) SWIG_fail;
23162 if (arg2 == NULL) {
23163 SWIG_null_ref("wxTimeSpan");
23164 }
23165 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 {
23175 wxDateTime * resultptr;
093d3ff1 23176 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23178 }
23179 return resultobj;
23180 fail:
23181 return NULL;
23182}
23183
23184
c32bde28 23185static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23186 PyObject *resultobj;
23187 wxDateTime *arg1 = (wxDateTime *) 0 ;
23188 wxDateSpan *arg2 = 0 ;
23189 wxDateTime result;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192
23193 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23195 if (SWIG_arg_fail(1)) SWIG_fail;
23196 {
23197 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23198 if (SWIG_arg_fail(2)) SWIG_fail;
23199 if (arg2 == NULL) {
23200 SWIG_null_ref("wxDateSpan");
23201 }
23202 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23203 }
23204 {
23205 PyThreadState* __tstate = wxPyBeginAllowThreads();
23206 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
23207
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 {
23212 wxDateTime * resultptr;
093d3ff1 23213 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23215 }
23216 return resultobj;
23217 fail:
23218 return NULL;
23219}
23220
23221
23222static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
23223 int argc;
23224 PyObject *argv[3];
23225 int ii;
23226
23227 argc = PyObject_Length(args);
23228 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23229 argv[ii] = PyTuple_GetItem(args,ii);
23230 }
23231 if (argc == 2) {
23232 int _v;
23233 {
23234 void *ptr;
23235 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23236 _v = 0;
23237 PyErr_Clear();
23238 } else {
23239 _v = 1;
23240 }
23241 }
23242 if (_v) {
23243 {
093d3ff1 23244 void *ptr = 0;
d55e5bfc
RD
23245 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23246 _v = 0;
23247 PyErr_Clear();
23248 } else {
093d3ff1 23249 _v = (ptr != 0);
d55e5bfc
RD
23250 }
23251 }
23252 if (_v) {
23253 return _wrap_DateTime___add____SWIG_0(self,args);
23254 }
23255 }
23256 }
23257 if (argc == 2) {
23258 int _v;
23259 {
23260 void *ptr;
23261 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23262 _v = 0;
23263 PyErr_Clear();
23264 } else {
23265 _v = 1;
23266 }
23267 }
23268 if (_v) {
23269 {
093d3ff1 23270 void *ptr = 0;
d55e5bfc
RD
23271 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23272 _v = 0;
23273 PyErr_Clear();
23274 } else {
093d3ff1 23275 _v = (ptr != 0);
d55e5bfc
RD
23276 }
23277 }
23278 if (_v) {
23279 return _wrap_DateTime___add____SWIG_1(self,args);
23280 }
23281 }
23282 }
23283
093d3ff1
RD
23284 Py_INCREF(Py_NotImplemented);
23285 return Py_NotImplemented;
d55e5bfc
RD
23286}
23287
23288
c32bde28 23289static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23290 PyObject *resultobj;
23291 wxDateTime *arg1 = (wxDateTime *) 0 ;
23292 wxDateTime *arg2 = 0 ;
23293 wxTimeSpan result;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296
23297 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail;
23300 {
23301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(2)) SWIG_fail;
23303 if (arg2 == NULL) {
23304 SWIG_null_ref("wxDateTime");
23305 }
23306 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23307 }
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 {
23316 wxTimeSpan * resultptr;
093d3ff1 23317 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23319 }
23320 return resultobj;
23321 fail:
23322 return NULL;
23323}
23324
23325
c32bde28 23326static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23327 PyObject *resultobj;
23328 wxDateTime *arg1 = (wxDateTime *) 0 ;
23329 wxTimeSpan *arg2 = 0 ;
23330 wxDateTime result;
23331 PyObject * obj0 = 0 ;
23332 PyObject * obj1 = 0 ;
23333
23334 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail;
23337 {
23338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23339 if (SWIG_arg_fail(2)) SWIG_fail;
23340 if (arg2 == NULL) {
23341 SWIG_null_ref("wxTimeSpan");
23342 }
23343 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23344 }
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 {
23353 wxDateTime * resultptr;
093d3ff1 23354 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23356 }
23357 return resultobj;
23358 fail:
23359 return NULL;
23360}
23361
23362
c32bde28 23363static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
23364 PyObject *resultobj;
23365 wxDateTime *arg1 = (wxDateTime *) 0 ;
23366 wxDateSpan *arg2 = 0 ;
23367 wxDateTime result;
23368 PyObject * obj0 = 0 ;
23369 PyObject * obj1 = 0 ;
23370
23371 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail;
23374 {
23375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23376 if (SWIG_arg_fail(2)) SWIG_fail;
23377 if (arg2 == NULL) {
23378 SWIG_null_ref("wxDateSpan");
23379 }
23380 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23381 }
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 {
23390 wxDateTime * resultptr;
093d3ff1 23391 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397}
23398
23399
23400static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
23401 int argc;
23402 PyObject *argv[3];
23403 int ii;
23404
23405 argc = PyObject_Length(args);
23406 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23407 argv[ii] = PyTuple_GetItem(args,ii);
23408 }
23409 if (argc == 2) {
23410 int _v;
23411 {
23412 void *ptr;
23413 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23414 _v = 0;
23415 PyErr_Clear();
23416 } else {
23417 _v = 1;
23418 }
23419 }
23420 if (_v) {
23421 {
093d3ff1 23422 void *ptr = 0;
d55e5bfc
RD
23423 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23424 _v = 0;
23425 PyErr_Clear();
23426 } else {
093d3ff1 23427 _v = (ptr != 0);
d55e5bfc
RD
23428 }
23429 }
23430 if (_v) {
23431 return _wrap_DateTime___sub____SWIG_0(self,args);
23432 }
23433 }
23434 }
23435 if (argc == 2) {
23436 int _v;
23437 {
23438 void *ptr;
23439 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23440 _v = 0;
23441 PyErr_Clear();
23442 } else {
23443 _v = 1;
23444 }
23445 }
23446 if (_v) {
23447 {
093d3ff1 23448 void *ptr = 0;
d55e5bfc
RD
23449 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23450 _v = 0;
23451 PyErr_Clear();
23452 } else {
093d3ff1 23453 _v = (ptr != 0);
d55e5bfc
RD
23454 }
23455 }
23456 if (_v) {
23457 return _wrap_DateTime___sub____SWIG_1(self,args);
23458 }
23459 }
23460 }
23461 if (argc == 2) {
23462 int _v;
23463 {
23464 void *ptr;
23465 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23466 _v = 0;
23467 PyErr_Clear();
23468 } else {
23469 _v = 1;
23470 }
23471 }
23472 if (_v) {
23473 {
093d3ff1 23474 void *ptr = 0;
d55e5bfc
RD
23475 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23476 _v = 0;
23477 PyErr_Clear();
23478 } else {
093d3ff1 23479 _v = (ptr != 0);
d55e5bfc
RD
23480 }
23481 }
23482 if (_v) {
23483 return _wrap_DateTime___sub____SWIG_2(self,args);
23484 }
23485 }
23486 }
23487
093d3ff1
RD
23488 Py_INCREF(Py_NotImplemented);
23489 return Py_NotImplemented;
d55e5bfc
RD
23490}
23491
23492
fef4c27a 23493static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23494 PyObject *resultobj;
23495 wxDateTime *arg1 = (wxDateTime *) 0 ;
23496 wxDateTime *arg2 = (wxDateTime *) 0 ;
23497 bool result;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
fef4c27a
RD
23500 char *kwnames[] = {
23501 (char *) "self",(char *) "other", NULL
23502 };
d55e5bfc 23503
fef4c27a 23504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23506 if (SWIG_arg_fail(1)) SWIG_fail;
23507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23508 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 {
23517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23518 }
23519 return resultobj;
23520 fail:
23521 return NULL;
23522}
23523
23524
fef4c27a 23525static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23526 PyObject *resultobj;
23527 wxDateTime *arg1 = (wxDateTime *) 0 ;
23528 wxDateTime *arg2 = (wxDateTime *) 0 ;
23529 bool result;
23530 PyObject * obj0 = 0 ;
23531 PyObject * obj1 = 0 ;
fef4c27a
RD
23532 char *kwnames[] = {
23533 (char *) "self",(char *) "other", NULL
23534 };
d55e5bfc 23535
fef4c27a 23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail;
23539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
23544
23545 wxPyEndAllowThreads(__tstate);
23546 if (PyErr_Occurred()) SWIG_fail;
23547 }
23548 {
23549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23550 }
23551 return resultobj;
23552 fail:
23553 return NULL;
23554}
23555
23556
fef4c27a 23557static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23558 PyObject *resultobj;
23559 wxDateTime *arg1 = (wxDateTime *) 0 ;
23560 wxDateTime *arg2 = (wxDateTime *) 0 ;
23561 bool result;
23562 PyObject * obj0 = 0 ;
23563 PyObject * obj1 = 0 ;
fef4c27a
RD
23564 char *kwnames[] = {
23565 (char *) "self",(char *) "other", NULL
23566 };
d55e5bfc 23567
fef4c27a 23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23570 if (SWIG_arg_fail(1)) SWIG_fail;
23571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23572 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23573 {
23574 PyThreadState* __tstate = wxPyBeginAllowThreads();
23575 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
23576
23577 wxPyEndAllowThreads(__tstate);
23578 if (PyErr_Occurred()) SWIG_fail;
23579 }
23580 {
23581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23582 }
23583 return resultobj;
23584 fail:
23585 return NULL;
23586}
23587
23588
fef4c27a 23589static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23590 PyObject *resultobj;
23591 wxDateTime *arg1 = (wxDateTime *) 0 ;
23592 wxDateTime *arg2 = (wxDateTime *) 0 ;
23593 bool result;
23594 PyObject * obj0 = 0 ;
23595 PyObject * obj1 = 0 ;
fef4c27a
RD
23596 char *kwnames[] = {
23597 (char *) "self",(char *) "other", NULL
23598 };
d55e5bfc 23599
fef4c27a 23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail;
23603 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23604 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 {
23613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23614 }
23615 return resultobj;
23616 fail:
23617 return NULL;
23618}
23619
23620
fef4c27a 23621static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23622 PyObject *resultobj;
23623 wxDateTime *arg1 = (wxDateTime *) 0 ;
23624 wxDateTime *arg2 = (wxDateTime *) 0 ;
23625 bool result;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
fef4c27a
RD
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "other", NULL
23630 };
d55e5bfc 23631
fef4c27a 23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail;
23635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23636 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23646 }
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
fef4c27a 23653static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23654 PyObject *resultobj;
23655 wxDateTime *arg1 = (wxDateTime *) 0 ;
23656 wxDateTime *arg2 = (wxDateTime *) 0 ;
23657 bool result;
23658 PyObject * obj0 = 0 ;
23659 PyObject * obj1 = 0 ;
fef4c27a
RD
23660 char *kwnames[] = {
23661 (char *) "self",(char *) "other", NULL
23662 };
d55e5bfc 23663
fef4c27a 23664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23666 if (SWIG_arg_fail(1)) SWIG_fail;
23667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23668 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
23676 {
23677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23678 }
23679 return resultobj;
23680 fail:
23681 return NULL;
23682}
23683
23684
c32bde28 23685static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23686 PyObject *resultobj;
23687 wxDateTime *arg1 = (wxDateTime *) 0 ;
23688 wxString *arg2 = 0 ;
23689 int result;
ae8162c8 23690 bool temp2 = false ;
d55e5bfc
RD
23691 PyObject * obj0 = 0 ;
23692 PyObject * obj1 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "self",(char *) "date", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23700 {
23701 arg2 = wxString_in_helper(obj1);
23702 if (arg2 == NULL) SWIG_fail;
ae8162c8 23703 temp2 = true;
d55e5bfc
RD
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
093d3ff1
RD
23712 {
23713 resultobj = SWIG_From_int((int)(result));
23714 }
d55e5bfc
RD
23715 {
23716 if (temp2)
23717 delete arg2;
23718 }
23719 return resultobj;
23720 fail:
23721 {
23722 if (temp2)
23723 delete arg2;
23724 }
23725 return NULL;
23726}
23727
23728
c32bde28 23729static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23730 PyObject *resultobj;
23731 wxDateTime *arg1 = (wxDateTime *) 0 ;
23732 wxString *arg2 = 0 ;
fef4c27a 23733 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23734 wxString *arg3 = (wxString *) &arg3_defvalue ;
23735 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
23736 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
23737 int result;
ae8162c8
RD
23738 bool temp2 = false ;
23739 bool temp3 = false ;
d55e5bfc
RD
23740 PyObject * obj0 = 0 ;
23741 PyObject * obj1 = 0 ;
23742 PyObject * obj2 = 0 ;
23743 PyObject * obj3 = 0 ;
23744 char *kwnames[] = {
23745 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23746 };
23747
23748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
23749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23751 {
23752 arg2 = wxString_in_helper(obj1);
23753 if (arg2 == NULL) SWIG_fail;
ae8162c8 23754 temp2 = true;
d55e5bfc
RD
23755 }
23756 if (obj2) {
23757 {
23758 arg3 = wxString_in_helper(obj2);
23759 if (arg3 == NULL) SWIG_fail;
ae8162c8 23760 temp3 = true;
d55e5bfc
RD
23761 }
23762 }
23763 if (obj3) {
093d3ff1
RD
23764 {
23765 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23766 if (SWIG_arg_fail(4)) SWIG_fail;
23767 if (arg4 == NULL) {
23768 SWIG_null_ref("wxDateTime");
23769 }
23770 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
23771 }
23772 }
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
093d3ff1
RD
23780 {
23781 resultobj = SWIG_From_int((int)(result));
23782 }
d55e5bfc
RD
23783 {
23784 if (temp2)
23785 delete arg2;
23786 }
23787 {
23788 if (temp3)
23789 delete arg3;
23790 }
23791 return resultobj;
23792 fail:
23793 {
23794 if (temp2)
23795 delete arg2;
23796 }
23797 {
23798 if (temp3)
23799 delete arg3;
23800 }
23801 return NULL;
23802}
23803
23804
c32bde28 23805static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23806 PyObject *resultobj;
23807 wxDateTime *arg1 = (wxDateTime *) 0 ;
23808 wxString *arg2 = 0 ;
23809 int result;
ae8162c8 23810 bool temp2 = false ;
d55e5bfc
RD
23811 PyObject * obj0 = 0 ;
23812 PyObject * obj1 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "datetime", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23820 {
23821 arg2 = wxString_in_helper(obj1);
23822 if (arg2 == NULL) SWIG_fail;
ae8162c8 23823 temp2 = true;
d55e5bfc
RD
23824 }
23825 {
23826 PyThreadState* __tstate = wxPyBeginAllowThreads();
23827 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
23828
23829 wxPyEndAllowThreads(__tstate);
23830 if (PyErr_Occurred()) SWIG_fail;
23831 }
093d3ff1
RD
23832 {
23833 resultobj = SWIG_From_int((int)(result));
23834 }
d55e5bfc
RD
23835 {
23836 if (temp2)
23837 delete arg2;
23838 }
23839 return resultobj;
23840 fail:
23841 {
23842 if (temp2)
23843 delete arg2;
23844 }
23845 return NULL;
23846}
23847
23848
c32bde28 23849static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23850 PyObject *resultobj;
23851 wxDateTime *arg1 = (wxDateTime *) 0 ;
23852 wxString *arg2 = 0 ;
23853 int result;
ae8162c8 23854 bool temp2 = false ;
d55e5bfc
RD
23855 PyObject * obj0 = 0 ;
23856 PyObject * obj1 = 0 ;
23857 char *kwnames[] = {
23858 (char *) "self",(char *) "date", NULL
23859 };
23860
23861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23864 {
23865 arg2 = wxString_in_helper(obj1);
23866 if (arg2 == NULL) SWIG_fail;
ae8162c8 23867 temp2 = true;
d55e5bfc
RD
23868 }
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
093d3ff1
RD
23876 {
23877 resultobj = SWIG_From_int((int)(result));
23878 }
d55e5bfc
RD
23879 {
23880 if (temp2)
23881 delete arg2;
23882 }
23883 return resultobj;
23884 fail:
23885 {
23886 if (temp2)
23887 delete arg2;
23888 }
23889 return NULL;
23890}
23891
23892
c32bde28 23893static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23894 PyObject *resultobj;
23895 wxDateTime *arg1 = (wxDateTime *) 0 ;
23896 wxString *arg2 = 0 ;
23897 int result;
ae8162c8 23898 bool temp2 = false ;
d55e5bfc
RD
23899 PyObject * obj0 = 0 ;
23900 PyObject * obj1 = 0 ;
23901 char *kwnames[] = {
23902 (char *) "self",(char *) "time", NULL
23903 };
23904
23905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23908 {
23909 arg2 = wxString_in_helper(obj1);
23910 if (arg2 == NULL) SWIG_fail;
ae8162c8 23911 temp2 = true;
d55e5bfc
RD
23912 }
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
093d3ff1
RD
23920 {
23921 resultobj = SWIG_From_int((int)(result));
23922 }
d55e5bfc
RD
23923 {
23924 if (temp2)
23925 delete arg2;
23926 }
23927 return resultobj;
23928 fail:
23929 {
23930 if (temp2)
23931 delete arg2;
23932 }
23933 return NULL;
23934}
23935
23936
c32bde28 23937static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23938 PyObject *resultobj;
23939 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 23940 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23941 wxString *arg2 = (wxString *) &arg2_defvalue ;
23942 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23943 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23944 wxString result;
ae8162c8
RD
23945 bool temp2 = false ;
23946 bool temp3 = false ;
d55e5bfc
RD
23947 PyObject * obj0 = 0 ;
23948 PyObject * obj1 = 0 ;
23949 PyObject * obj2 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "self",(char *) "format",(char *) "tz", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23957 if (obj1) {
23958 {
23959 arg2 = wxString_in_helper(obj1);
23960 if (arg2 == NULL) SWIG_fail;
ae8162c8 23961 temp2 = true;
d55e5bfc
RD
23962 }
23963 }
23964 if (obj2) {
23965 {
23966 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23967 temp3 = true;
d55e5bfc
RD
23968 }
23969 }
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 {
23978#if wxUSE_UNICODE
23979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23980#else
23981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23982#endif
23983 }
23984 {
23985 if (temp2)
23986 delete arg2;
23987 }
23988 {
23989 if (temp3) delete arg3;
23990 }
23991 return resultobj;
23992 fail:
23993 {
23994 if (temp2)
23995 delete arg2;
23996 }
23997 {
23998 if (temp3) delete arg3;
23999 }
24000 return NULL;
24001}
24002
24003
c32bde28 24004static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24005 PyObject *resultobj;
24006 wxDateTime *arg1 = (wxDateTime *) 0 ;
24007 wxString result;
24008 PyObject * obj0 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
24014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = ((wxDateTime const *)arg1)->FormatDate();
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
24024#if wxUSE_UNICODE
24025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24026#else
24027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24028#endif
24029 }
24030 return resultobj;
24031 fail:
24032 return NULL;
24033}
24034
24035
c32bde28 24036static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24037 PyObject *resultobj;
24038 wxDateTime *arg1 = (wxDateTime *) 0 ;
24039 wxString result;
24040 PyObject * obj0 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
24046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 result = ((wxDateTime const *)arg1)->FormatTime();
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 {
24056#if wxUSE_UNICODE
24057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24058#else
24059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24060#endif
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
c32bde28 24068static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24069 PyObject *resultobj;
24070 wxDateTime *arg1 = (wxDateTime *) 0 ;
24071 wxString result;
24072 PyObject * obj0 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
24078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = ((wxDateTime const *)arg1)->FormatISODate();
24083
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 {
24088#if wxUSE_UNICODE
24089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24090#else
24091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24092#endif
24093 }
24094 return resultobj;
24095 fail:
24096 return NULL;
24097}
24098
24099
c32bde28 24100static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24101 PyObject *resultobj;
24102 wxDateTime *arg1 = (wxDateTime *) 0 ;
24103 wxString result;
24104 PyObject * obj0 = 0 ;
24105 char *kwnames[] = {
24106 (char *) "self", NULL
24107 };
24108
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
24110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = ((wxDateTime const *)arg1)->FormatISOTime();
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 {
24120#if wxUSE_UNICODE
24121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24122#else
24123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24124#endif
24125 }
24126 return resultobj;
24127 fail:
24128 return NULL;
24129}
24130
24131
c32bde28 24132static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24133 PyObject *obj;
24134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24135 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
24136 Py_INCREF(obj);
24137 return Py_BuildValue((char *)"");
24138}
c32bde28 24139static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24140 PyObject *resultobj;
24141 long arg1 ;
24142 wxTimeSpan result;
24143 PyObject * obj0 = 0 ;
24144 char *kwnames[] = {
24145 (char *) "sec", NULL
24146 };
24147
24148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
24149 {
24150 arg1 = (long)(SWIG_As_long(obj0));
24151 if (SWIG_arg_fail(1)) SWIG_fail;
24152 }
d55e5bfc
RD
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 result = wxTimeSpan::Seconds(arg1);
24156
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 {
24161 wxTimeSpan * resultptr;
093d3ff1 24162 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24164 }
24165 return resultobj;
24166 fail:
24167 return NULL;
24168}
24169
24170
c32bde28 24171static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24172 PyObject *resultobj;
24173 wxTimeSpan result;
24174 char *kwnames[] = {
24175 NULL
24176 };
24177
24178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = wxTimeSpan::Second();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 wxTimeSpan * resultptr;
093d3ff1 24188 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24189 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24190 }
24191 return resultobj;
24192 fail:
24193 return NULL;
24194}
24195
24196
c32bde28 24197static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24198 PyObject *resultobj;
24199 long arg1 ;
24200 wxTimeSpan result;
24201 PyObject * obj0 = 0 ;
24202 char *kwnames[] = {
24203 (char *) "min", NULL
24204 };
24205
24206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
24207 {
24208 arg1 = (long)(SWIG_As_long(obj0));
24209 if (SWIG_arg_fail(1)) SWIG_fail;
24210 }
d55e5bfc
RD
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 result = wxTimeSpan::Minutes(arg1);
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 {
24219 wxTimeSpan * resultptr;
093d3ff1 24220 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24221 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24222 }
24223 return resultobj;
24224 fail:
24225 return NULL;
24226}
24227
24228
c32bde28 24229static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24230 PyObject *resultobj;
24231 wxTimeSpan result;
24232 char *kwnames[] = {
24233 NULL
24234 };
24235
24236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 result = wxTimeSpan::Minute();
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 {
24245 wxTimeSpan * resultptr;
093d3ff1 24246 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24248 }
24249 return resultobj;
24250 fail:
24251 return NULL;
24252}
24253
24254
c32bde28 24255static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24256 PyObject *resultobj;
24257 long arg1 ;
24258 wxTimeSpan result;
24259 PyObject * obj0 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "hours", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1
RD
24265 {
24266 arg1 = (long)(SWIG_As_long(obj0));
24267 if (SWIG_arg_fail(1)) SWIG_fail;
24268 }
d55e5bfc
RD
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = wxTimeSpan::Hours(arg1);
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 wxTimeSpan * resultptr;
093d3ff1 24278 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24279 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284}
24285
24286
c32bde28 24287static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24288 PyObject *resultobj;
24289 wxTimeSpan result;
24290 char *kwnames[] = {
24291 NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
24295 {
24296 PyThreadState* __tstate = wxPyBeginAllowThreads();
24297 result = wxTimeSpan::Hour();
24298
24299 wxPyEndAllowThreads(__tstate);
24300 if (PyErr_Occurred()) SWIG_fail;
24301 }
24302 {
24303 wxTimeSpan * resultptr;
093d3ff1 24304 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24306 }
24307 return resultobj;
24308 fail:
24309 return NULL;
24310}
24311
24312
c32bde28 24313static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24314 PyObject *resultobj;
24315 long arg1 ;
24316 wxTimeSpan result;
24317 PyObject * obj0 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "days", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
24323 {
24324 arg1 = (long)(SWIG_As_long(obj0));
24325 if (SWIG_arg_fail(1)) SWIG_fail;
24326 }
d55e5bfc
RD
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = wxTimeSpan::Days(arg1);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 wxTimeSpan * resultptr;
093d3ff1 24336 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24338 }
24339 return resultobj;
24340 fail:
24341 return NULL;
24342}
24343
24344
c32bde28 24345static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24346 PyObject *resultobj;
24347 wxTimeSpan result;
24348 char *kwnames[] = {
24349 NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 result = wxTimeSpan::Day();
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 {
24361 wxTimeSpan * resultptr;
093d3ff1 24362 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24364 }
24365 return resultobj;
24366 fail:
24367 return NULL;
24368}
24369
24370
c32bde28 24371static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24372 PyObject *resultobj;
24373 long arg1 ;
24374 wxTimeSpan result;
24375 PyObject * obj0 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "days", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
24381 {
24382 arg1 = (long)(SWIG_As_long(obj0));
24383 if (SWIG_arg_fail(1)) SWIG_fail;
24384 }
d55e5bfc
RD
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = wxTimeSpan::Weeks(arg1);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 {
24393 wxTimeSpan * resultptr;
093d3ff1 24394 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24396 }
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
c32bde28 24403static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24404 PyObject *resultobj;
24405 wxTimeSpan result;
24406 char *kwnames[] = {
24407 NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = wxTimeSpan::Week();
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
24419 wxTimeSpan * resultptr;
093d3ff1 24420 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426}
24427
24428
c32bde28 24429static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24430 PyObject *resultobj;
24431 long arg1 = (long) 0 ;
24432 long arg2 = (long) 0 ;
24433 long arg3 = (long) 0 ;
24434 long arg4 = (long) 0 ;
24435 wxTimeSpan *result;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 PyObject * obj2 = 0 ;
24439 PyObject * obj3 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24445 if (obj0) {
093d3ff1
RD
24446 {
24447 arg1 = (long)(SWIG_As_long(obj0));
24448 if (SWIG_arg_fail(1)) SWIG_fail;
24449 }
d55e5bfc
RD
24450 }
24451 if (obj1) {
093d3ff1
RD
24452 {
24453 arg2 = (long)(SWIG_As_long(obj1));
24454 if (SWIG_arg_fail(2)) SWIG_fail;
24455 }
d55e5bfc
RD
24456 }
24457 if (obj2) {
093d3ff1
RD
24458 {
24459 arg3 = (long)(SWIG_As_long(obj2));
24460 if (SWIG_arg_fail(3)) SWIG_fail;
24461 }
d55e5bfc
RD
24462 }
24463 if (obj3) {
093d3ff1
RD
24464 {
24465 arg4 = (long)(SWIG_As_long(obj3));
24466 if (SWIG_arg_fail(4)) SWIG_fail;
24467 }
d55e5bfc
RD
24468 }
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24477 return resultobj;
24478 fail:
24479 return NULL;
24480}
24481
24482
c32bde28 24483static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24484 PyObject *resultobj;
24485 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24486 PyObject * obj0 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
24492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 delete arg1;
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
24501 Py_INCREF(Py_None); resultobj = Py_None;
24502 return resultobj;
24503 fail:
24504 return NULL;
24505}
24506
24507
c32bde28 24508static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24509 PyObject *resultobj;
24510 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24511 wxTimeSpan *arg2 = 0 ;
24512 wxTimeSpan *result;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "diff", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) 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;
24522 {
24523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24524 if (SWIG_arg_fail(2)) SWIG_fail;
24525 if (arg2 == NULL) {
24526 SWIG_null_ref("wxTimeSpan");
24527 }
24528 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24529 }
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 {
24533 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
24534 result = (wxTimeSpan *) &_result_ref;
24535 }
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24541 return resultobj;
24542 fail:
24543 return NULL;
24544}
24545
24546
c32bde28 24547static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24548 PyObject *resultobj;
24549 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24550 wxTimeSpan *arg2 = 0 ;
24551 wxTimeSpan *result;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 char *kwnames[] = {
24555 (char *) "self",(char *) "diff", NULL
24556 };
24557
24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail;
24561 {
24562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail;
24564 if (arg2 == NULL) {
24565 SWIG_null_ref("wxTimeSpan");
24566 }
24567 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24568 }
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 {
24572 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
24573 result = (wxTimeSpan *) &_result_ref;
24574 }
24575
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
24579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24580 return resultobj;
24581 fail:
24582 return NULL;
24583}
24584
24585
c32bde28 24586static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24587 PyObject *resultobj;
24588 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24589 int arg2 ;
24590 wxTimeSpan *result;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "self",(char *) "n", NULL
24595 };
24596
24597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24599 if (SWIG_arg_fail(1)) SWIG_fail;
24600 {
24601 arg2 = (int)(SWIG_As_int(obj1));
24602 if (SWIG_arg_fail(2)) SWIG_fail;
24603 }
d55e5bfc
RD
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 {
24607 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
24608 result = (wxTimeSpan *) &_result_ref;
24609 }
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
c32bde28 24621static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24622 PyObject *resultobj;
24623 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24624 wxTimeSpan *result;
24625 PyObject * obj0 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) 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;
d55e5bfc
RD
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 {
24636 wxTimeSpan &_result_ref = (arg1)->Neg();
24637 result = (wxTimeSpan *) &_result_ref;
24638 }
24639
24640 wxPyEndAllowThreads(__tstate);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24644 return resultobj;
24645 fail:
24646 return NULL;
24647}
24648
24649
c32bde28 24650static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24651 PyObject *resultobj;
24652 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24653 wxTimeSpan result;
24654 PyObject * obj0 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
24660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 result = ((wxTimeSpan const *)arg1)->Abs();
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 {
24670 wxTimeSpan * resultptr;
093d3ff1 24671 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24673 }
24674 return resultobj;
24675 fail:
24676 return NULL;
24677}
24678
24679
c32bde28 24680static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24681 PyObject *resultobj;
24682 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24683 wxTimeSpan *arg2 = 0 ;
24684 wxTimeSpan *result;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "self",(char *) "diff", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24693 if (SWIG_arg_fail(1)) SWIG_fail;
24694 {
24695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24696 if (SWIG_arg_fail(2)) SWIG_fail;
24697 if (arg2 == NULL) {
24698 SWIG_null_ref("wxTimeSpan");
24699 }
24700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24701 }
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 {
24705 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
24706 result = (wxTimeSpan *) &_result_ref;
24707 }
24708
24709 wxPyEndAllowThreads(__tstate);
24710 if (PyErr_Occurred()) SWIG_fail;
24711 }
c32bde28 24712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24713 return resultobj;
24714 fail:
24715 return NULL;
24716}
24717
24718
c32bde28 24719static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24720 PyObject *resultobj;
24721 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24722 wxTimeSpan *arg2 = 0 ;
24723 wxTimeSpan *result;
24724 PyObject * obj0 = 0 ;
24725 PyObject * obj1 = 0 ;
24726 char *kwnames[] = {
24727 (char *) "self",(char *) "diff", NULL
24728 };
24729
24730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24732 if (SWIG_arg_fail(1)) SWIG_fail;
24733 {
24734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24735 if (SWIG_arg_fail(2)) SWIG_fail;
24736 if (arg2 == NULL) {
24737 SWIG_null_ref("wxTimeSpan");
24738 }
24739 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24740 }
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 {
24744 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
24745 result = (wxTimeSpan *) &_result_ref;
24746 }
24747
24748 wxPyEndAllowThreads(__tstate);
24749 if (PyErr_Occurred()) SWIG_fail;
24750 }
c32bde28 24751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24752 return resultobj;
24753 fail:
24754 return NULL;
24755}
24756
24757
c32bde28 24758static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24759 PyObject *resultobj;
24760 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24761 int arg2 ;
24762 wxTimeSpan *result;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "n", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24771 if (SWIG_arg_fail(1)) SWIG_fail;
24772 {
24773 arg2 = (int)(SWIG_As_int(obj1));
24774 if (SWIG_arg_fail(2)) SWIG_fail;
24775 }
d55e5bfc
RD
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 {
24779 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
24780 result = (wxTimeSpan *) &_result_ref;
24781 }
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
c32bde28 24786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24787 return resultobj;
24788 fail:
24789 return NULL;
24790}
24791
24792
c32bde28 24793static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24794 PyObject *resultobj;
24795 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24796 wxTimeSpan *result;
24797 PyObject * obj0 = 0 ;
24798 char *kwnames[] = {
24799 (char *) "self", NULL
24800 };
24801
24802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
24803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 {
24808 wxTimeSpan &_result_ref = (arg1)->operator -();
24809 result = (wxTimeSpan *) &_result_ref;
24810 }
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24816 return resultobj;
24817 fail:
24818 return NULL;
24819}
24820
24821
c32bde28 24822static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24823 PyObject *resultobj;
24824 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24825 wxTimeSpan *arg2 = 0 ;
24826 wxTimeSpan result;
24827 PyObject * obj0 = 0 ;
24828 PyObject * obj1 = 0 ;
24829 char *kwnames[] = {
24830 (char *) "self",(char *) "other", NULL
24831 };
24832
24833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail;
24836 {
24837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24838 if (SWIG_arg_fail(2)) SWIG_fail;
24839 if (arg2 == NULL) {
24840 SWIG_null_ref("wxTimeSpan");
24841 }
24842 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24843 }
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 {
24852 wxTimeSpan * resultptr;
093d3ff1 24853 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24855 }
24856 return resultobj;
24857 fail:
24858 return NULL;
24859}
24860
24861
c32bde28 24862static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24863 PyObject *resultobj;
24864 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24865 wxTimeSpan *arg2 = 0 ;
24866 wxTimeSpan result;
24867 PyObject * obj0 = 0 ;
24868 PyObject * obj1 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self",(char *) "other", NULL
24871 };
24872
24873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24875 if (SWIG_arg_fail(1)) SWIG_fail;
24876 {
24877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24878 if (SWIG_arg_fail(2)) SWIG_fail;
24879 if (arg2 == NULL) {
24880 SWIG_null_ref("wxTimeSpan");
24881 }
24882 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24883 }
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 {
24892 wxTimeSpan * resultptr;
093d3ff1 24893 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24894 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24895 }
24896 return resultobj;
24897 fail:
24898 return NULL;
24899}
24900
24901
c32bde28 24902static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24903 PyObject *resultobj;
24904 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24905 int arg2 ;
24906 wxTimeSpan result;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self",(char *) "n", NULL
24911 };
24912
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail;
24916 {
24917 arg2 = (int)(SWIG_As_int(obj1));
24918 if (SWIG_arg_fail(2)) SWIG_fail;
24919 }
d55e5bfc
RD
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = wxTimeSpan___mul__(arg1,arg2);
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 {
24928 wxTimeSpan * resultptr;
093d3ff1 24929 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24930 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24931 }
24932 return resultobj;
24933 fail:
24934 return NULL;
24935}
24936
24937
c32bde28 24938static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24939 PyObject *resultobj;
24940 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24941 int arg2 ;
24942 wxTimeSpan result;
24943 PyObject * obj0 = 0 ;
24944 PyObject * obj1 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self",(char *) "n", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24951 if (SWIG_arg_fail(1)) SWIG_fail;
24952 {
24953 arg2 = (int)(SWIG_As_int(obj1));
24954 if (SWIG_arg_fail(2)) SWIG_fail;
24955 }
d55e5bfc
RD
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 result = wxTimeSpan___rmul__(arg1,arg2);
24959
24960 wxPyEndAllowThreads(__tstate);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 }
24963 {
24964 wxTimeSpan * resultptr;
093d3ff1 24965 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24967 }
24968 return resultobj;
24969 fail:
24970 return NULL;
24971}
24972
24973
c32bde28 24974static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24975 PyObject *resultobj;
24976 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24977 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24978 bool result;
24979 PyObject * obj0 = 0 ;
24980 PyObject * obj1 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self",(char *) "other", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail;
24988 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24989 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
24993
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 {
24998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24999 }
25000 return resultobj;
25001 fail:
25002 return NULL;
25003}
25004
25005
c32bde28 25006static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25007 PyObject *resultobj;
25008 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25009 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25010 bool result;
25011 PyObject * obj0 = 0 ;
25012 PyObject * obj1 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "other", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail;
25020 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25021 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 {
25030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25031 }
25032 return resultobj;
25033 fail:
25034 return NULL;
25035}
25036
25037
c32bde28 25038static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25039 PyObject *resultobj;
25040 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25041 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25042 bool result;
25043 PyObject * obj0 = 0 ;
25044 PyObject * obj1 = 0 ;
25045 char *kwnames[] = {
25046 (char *) "self",(char *) "other", NULL
25047 };
25048
25049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25051 if (SWIG_arg_fail(1)) SWIG_fail;
25052 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25053 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
25057
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 {
25062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25063 }
25064 return resultobj;
25065 fail:
25066 return NULL;
25067}
25068
25069
c32bde28 25070static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25071 PyObject *resultobj;
25072 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25073 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25074 bool result;
25075 PyObject * obj0 = 0 ;
25076 PyObject * obj1 = 0 ;
25077 char *kwnames[] = {
25078 (char *) "self",(char *) "other", NULL
25079 };
25080
25081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25083 if (SWIG_arg_fail(1)) SWIG_fail;
25084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25085 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 {
25094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25095 }
25096 return resultobj;
25097 fail:
25098 return NULL;
25099}
25100
25101
c32bde28 25102static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25103 PyObject *resultobj;
25104 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25105 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25106 bool result;
25107 PyObject * obj0 = 0 ;
25108 PyObject * obj1 = 0 ;
25109 char *kwnames[] = {
25110 (char *) "self",(char *) "other", NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25115 if (SWIG_arg_fail(1)) SWIG_fail;
25116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25117 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 {
25126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25127 }
25128 return resultobj;
25129 fail:
25130 return NULL;
25131}
25132
25133
c32bde28 25134static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25135 PyObject *resultobj;
25136 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25137 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25138 bool result;
25139 PyObject * obj0 = 0 ;
25140 PyObject * obj1 = 0 ;
25141 char *kwnames[] = {
25142 (char *) "self",(char *) "other", NULL
25143 };
25144
25145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25147 if (SWIG_arg_fail(1)) SWIG_fail;
25148 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25149 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25150 {
25151 PyThreadState* __tstate = wxPyBeginAllowThreads();
25152 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
25153
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 {
25158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25159 }
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
c32bde28 25166static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25167 PyObject *resultobj;
25168 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25169 bool result;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
25176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 {
25186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25187 }
25188 return resultobj;
25189 fail:
25190 return NULL;
25191}
25192
25193
c32bde28 25194static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25195 PyObject *resultobj;
25196 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25197 bool result;
25198 PyObject * obj0 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
25204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 {
25214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25215 }
25216 return resultobj;
25217 fail:
25218 return NULL;
25219}
25220
25221
c32bde28 25222static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25223 PyObject *resultobj;
25224 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25225 bool result;
25226 PyObject * obj0 = 0 ;
25227 char *kwnames[] = {
25228 (char *) "self", NULL
25229 };
25230
25231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
25232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25234 {
25235 PyThreadState* __tstate = wxPyBeginAllowThreads();
25236 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
25237
25238 wxPyEndAllowThreads(__tstate);
25239 if (PyErr_Occurred()) SWIG_fail;
25240 }
25241 {
25242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25243 }
25244 return resultobj;
25245 fail:
25246 return NULL;
25247}
25248
25249
c32bde28 25250static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25251 PyObject *resultobj;
25252 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25253 wxTimeSpan *arg2 = 0 ;
25254 bool result;
25255 PyObject * obj0 = 0 ;
25256 PyObject * obj1 = 0 ;
25257 char *kwnames[] = {
25258 (char *) "self",(char *) "ts", NULL
25259 };
25260
25261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25263 if (SWIG_arg_fail(1)) SWIG_fail;
25264 {
25265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25266 if (SWIG_arg_fail(2)) SWIG_fail;
25267 if (arg2 == NULL) {
25268 SWIG_null_ref("wxTimeSpan");
25269 }
25270 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25271 }
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 {
25280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25281 }
25282 return resultobj;
25283 fail:
25284 return NULL;
25285}
25286
25287
c32bde28 25288static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25289 PyObject *resultobj;
25290 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25291 wxTimeSpan *arg2 = 0 ;
25292 bool result;
25293 PyObject * obj0 = 0 ;
25294 PyObject * obj1 = 0 ;
25295 char *kwnames[] = {
25296 (char *) "self",(char *) "ts", NULL
25297 };
25298
25299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25301 if (SWIG_arg_fail(1)) SWIG_fail;
25302 {
25303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25304 if (SWIG_arg_fail(2)) SWIG_fail;
25305 if (arg2 == NULL) {
25306 SWIG_null_ref("wxTimeSpan");
25307 }
25308 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 {
25318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25319 }
25320 return resultobj;
25321 fail:
25322 return NULL;
25323}
25324
25325
c32bde28 25326static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25327 PyObject *resultobj;
25328 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25329 wxTimeSpan *arg2 = 0 ;
25330 bool result;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 char *kwnames[] = {
25334 (char *) "self",(char *) "t", NULL
25335 };
25336
25337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25339 if (SWIG_arg_fail(1)) SWIG_fail;
25340 {
25341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25342 if (SWIG_arg_fail(2)) SWIG_fail;
25343 if (arg2 == NULL) {
25344 SWIG_null_ref("wxTimeSpan");
25345 }
25346 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25347 }
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 {
25356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25357 }
25358 return resultobj;
25359 fail:
25360 return NULL;
25361}
25362
25363
c32bde28 25364static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25365 PyObject *resultobj;
25366 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25367 int result;
25368 PyObject * obj0 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
093d3ff1
RD
25383 {
25384 resultobj = SWIG_From_int((int)(result));
25385 }
d55e5bfc
RD
25386 return resultobj;
25387 fail:
25388 return NULL;
25389}
25390
25391
c32bde28 25392static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25393 PyObject *resultobj;
25394 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25395 int result;
25396 PyObject * obj0 = 0 ;
25397 char *kwnames[] = {
25398 (char *) "self", NULL
25399 };
25400
25401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 result = (int)((wxTimeSpan const *)arg1)->GetDays();
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
093d3ff1
RD
25411 {
25412 resultobj = SWIG_From_int((int)(result));
25413 }
d55e5bfc
RD
25414 return resultobj;
25415 fail:
25416 return NULL;
25417}
25418
25419
c32bde28 25420static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25421 PyObject *resultobj;
25422 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25423 int result;
25424 PyObject * obj0 = 0 ;
25425 char *kwnames[] = {
25426 (char *) "self", NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
25430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25432 {
25433 PyThreadState* __tstate = wxPyBeginAllowThreads();
25434 result = (int)((wxTimeSpan const *)arg1)->GetHours();
25435
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
093d3ff1
RD
25439 {
25440 resultobj = SWIG_From_int((int)(result));
25441 }
d55e5bfc
RD
25442 return resultobj;
25443 fail:
25444 return NULL;
25445}
25446
25447
c32bde28 25448static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25449 PyObject *resultobj;
25450 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25451 int result;
25452 PyObject * obj0 = 0 ;
25453 char *kwnames[] = {
25454 (char *) "self", NULL
25455 };
25456
25457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
25458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
093d3ff1
RD
25467 {
25468 resultobj = SWIG_From_int((int)(result));
25469 }
d55e5bfc
RD
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
c32bde28 25476static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25477 PyObject *resultobj;
25478 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25479 wxLongLong result;
25480 PyObject * obj0 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = ((wxTimeSpan const *)arg1)->GetSeconds();
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 PyObject *hi, *lo, *shifter, *shifted;
25497 hi = PyLong_FromLong( (&result)->GetHi() );
25498 lo = PyLong_FromLong( (&result)->GetLo() );
25499 shifter = PyLong_FromLong(32);
25500 shifted = PyNumber_Lshift(hi, shifter);
25501 resultobj = PyNumber_Or(shifted, lo);
25502 Py_DECREF(hi);
25503 Py_DECREF(lo);
25504 Py_DECREF(shifter);
25505 Py_DECREF(shifted);
25506 }
25507 return resultobj;
25508 fail:
25509 return NULL;
25510}
25511
25512
c32bde28 25513static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25514 PyObject *resultobj;
25515 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25516 wxLongLong result;
25517 PyObject * obj0 = 0 ;
25518 char *kwnames[] = {
25519 (char *) "self", NULL
25520 };
25521
25522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 {
25533 PyObject *hi, *lo, *shifter, *shifted;
25534 hi = PyLong_FromLong( (&result)->GetHi() );
25535 lo = PyLong_FromLong( (&result)->GetLo() );
25536 shifter = PyLong_FromLong(32);
25537 shifted = PyNumber_Lshift(hi, shifter);
25538 resultobj = PyNumber_Or(shifted, lo);
25539 Py_DECREF(hi);
25540 Py_DECREF(lo);
25541 Py_DECREF(shifter);
25542 Py_DECREF(shifted);
25543 }
25544 return resultobj;
25545 fail:
25546 return NULL;
25547}
25548
25549
c32bde28 25550static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25551 PyObject *resultobj;
25552 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 25553 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
25554 wxString *arg2 = (wxString *) &arg2_defvalue ;
25555 wxString result;
ae8162c8 25556 bool temp2 = false ;
d55e5bfc
RD
25557 PyObject * obj0 = 0 ;
25558 PyObject * obj1 = 0 ;
25559 char *kwnames[] = {
25560 (char *) "self",(char *) "format", NULL
25561 };
25562
25563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25566 if (obj1) {
25567 {
25568 arg2 = wxString_in_helper(obj1);
25569 if (arg2 == NULL) SWIG_fail;
ae8162c8 25570 temp2 = true;
d55e5bfc
RD
25571 }
25572 }
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
25576
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 {
25581#if wxUSE_UNICODE
25582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25583#else
25584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25585#endif
25586 }
25587 {
25588 if (temp2)
25589 delete arg2;
25590 }
25591 return resultobj;
25592 fail:
25593 {
25594 if (temp2)
25595 delete arg2;
25596 }
25597 return NULL;
25598}
25599
25600
c32bde28 25601static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25602 PyObject *obj;
25603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25604 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
25605 Py_INCREF(obj);
25606 return Py_BuildValue((char *)"");
25607}
c32bde28 25608static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25609 PyObject *resultobj;
25610 int arg1 = (int) 0 ;
25611 int arg2 = (int) 0 ;
25612 int arg3 = (int) 0 ;
25613 int arg4 = (int) 0 ;
25614 wxDateSpan *result;
25615 PyObject * obj0 = 0 ;
25616 PyObject * obj1 = 0 ;
25617 PyObject * obj2 = 0 ;
25618 PyObject * obj3 = 0 ;
25619 char *kwnames[] = {
25620 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25624 if (obj0) {
093d3ff1
RD
25625 {
25626 arg1 = (int)(SWIG_As_int(obj0));
25627 if (SWIG_arg_fail(1)) SWIG_fail;
25628 }
d55e5bfc
RD
25629 }
25630 if (obj1) {
093d3ff1
RD
25631 {
25632 arg2 = (int)(SWIG_As_int(obj1));
25633 if (SWIG_arg_fail(2)) SWIG_fail;
25634 }
d55e5bfc
RD
25635 }
25636 if (obj2) {
093d3ff1
RD
25637 {
25638 arg3 = (int)(SWIG_As_int(obj2));
25639 if (SWIG_arg_fail(3)) SWIG_fail;
25640 }
d55e5bfc
RD
25641 }
25642 if (obj3) {
093d3ff1
RD
25643 {
25644 arg4 = (int)(SWIG_As_int(obj3));
25645 if (SWIG_arg_fail(4)) SWIG_fail;
25646 }
d55e5bfc
RD
25647 }
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
25656 return resultobj;
25657 fail:
25658 return NULL;
25659}
25660
25661
c32bde28 25662static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25663 PyObject *resultobj;
25664 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25665 PyObject * obj0 = 0 ;
25666 char *kwnames[] = {
25667 (char *) "self", NULL
25668 };
25669
25670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 delete arg1;
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 Py_INCREF(Py_None); resultobj = Py_None;
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
c32bde28 25687static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25688 PyObject *resultobj;
25689 int arg1 ;
25690 wxDateSpan result;
25691 PyObject * obj0 = 0 ;
25692 char *kwnames[] = {
25693 (char *) "days", NULL
25694 };
25695
25696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
25697 {
25698 arg1 = (int)(SWIG_As_int(obj0));
25699 if (SWIG_arg_fail(1)) SWIG_fail;
25700 }
d55e5bfc
RD
25701 {
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 result = wxDateSpan::Days(arg1);
25704
25705 wxPyEndAllowThreads(__tstate);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 }
25708 {
25709 wxDateSpan * resultptr;
093d3ff1 25710 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25712 }
25713 return resultobj;
25714 fail:
25715 return NULL;
25716}
25717
25718
c32bde28 25719static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25720 PyObject *resultobj;
25721 wxDateSpan result;
25722 char *kwnames[] = {
25723 NULL
25724 };
25725
25726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
25727 {
25728 PyThreadState* __tstate = wxPyBeginAllowThreads();
25729 result = wxDateSpan::Day();
25730
25731 wxPyEndAllowThreads(__tstate);
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 {
25735 wxDateSpan * resultptr;
093d3ff1 25736 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25738 }
25739 return resultobj;
25740 fail:
25741 return NULL;
25742}
25743
25744
c32bde28 25745static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25746 PyObject *resultobj;
25747 int arg1 ;
25748 wxDateSpan result;
25749 PyObject * obj0 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "weeks", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25755 {
25756 arg1 = (int)(SWIG_As_int(obj0));
25757 if (SWIG_arg_fail(1)) SWIG_fail;
25758 }
d55e5bfc
RD
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = wxDateSpan::Weeks(arg1);
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 {
25767 wxDateSpan * resultptr;
093d3ff1 25768 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25769 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25770 }
25771 return resultobj;
25772 fail:
25773 return NULL;
25774}
25775
25776
c32bde28 25777static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25778 PyObject *resultobj;
25779 wxDateSpan result;
25780 char *kwnames[] = {
25781 NULL
25782 };
25783
25784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 result = wxDateSpan::Week();
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 {
25793 wxDateSpan * resultptr;
093d3ff1 25794 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25796 }
25797 return resultobj;
25798 fail:
25799 return NULL;
25800}
25801
25802
c32bde28 25803static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25804 PyObject *resultobj;
25805 int arg1 ;
25806 wxDateSpan result;
25807 PyObject * obj0 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "mon", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1
RD
25813 {
25814 arg1 = (int)(SWIG_As_int(obj0));
25815 if (SWIG_arg_fail(1)) SWIG_fail;
25816 }
d55e5bfc
RD
25817 {
25818 PyThreadState* __tstate = wxPyBeginAllowThreads();
25819 result = wxDateSpan::Months(arg1);
25820
25821 wxPyEndAllowThreads(__tstate);
25822 if (PyErr_Occurred()) SWIG_fail;
25823 }
25824 {
25825 wxDateSpan * resultptr;
093d3ff1 25826 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25828 }
25829 return resultobj;
25830 fail:
25831 return NULL;
25832}
25833
25834
c32bde28 25835static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25836 PyObject *resultobj;
25837 wxDateSpan result;
25838 char *kwnames[] = {
25839 NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = wxDateSpan::Month();
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 {
25851 wxDateSpan * resultptr;
093d3ff1 25852 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25854 }
25855 return resultobj;
25856 fail:
25857 return NULL;
25858}
25859
25860
c32bde28 25861static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25862 PyObject *resultobj;
25863 int arg1 ;
25864 wxDateSpan result;
25865 PyObject * obj0 = 0 ;
25866 char *kwnames[] = {
25867 (char *) "years", NULL
25868 };
25869
25870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1
RD
25871 {
25872 arg1 = (int)(SWIG_As_int(obj0));
25873 if (SWIG_arg_fail(1)) SWIG_fail;
25874 }
d55e5bfc
RD
25875 {
25876 PyThreadState* __tstate = wxPyBeginAllowThreads();
25877 result = wxDateSpan::Years(arg1);
25878
25879 wxPyEndAllowThreads(__tstate);
25880 if (PyErr_Occurred()) SWIG_fail;
25881 }
25882 {
25883 wxDateSpan * resultptr;
093d3ff1 25884 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25886 }
25887 return resultobj;
25888 fail:
25889 return NULL;
25890}
25891
25892
c32bde28 25893static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25894 PyObject *resultobj;
25895 wxDateSpan result;
25896 char *kwnames[] = {
25897 NULL
25898 };
25899
25900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = wxDateSpan::Year();
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 {
25909 wxDateSpan * resultptr;
093d3ff1 25910 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25912 }
25913 return resultobj;
25914 fail:
25915 return NULL;
25916}
25917
25918
c32bde28 25919static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25920 PyObject *resultobj;
25921 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25922 int arg2 ;
25923 wxDateSpan *result;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 char *kwnames[] = {
25927 (char *) "self",(char *) "n", NULL
25928 };
25929
25930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail;
25933 {
25934 arg2 = (int)(SWIG_As_int(obj1));
25935 if (SWIG_arg_fail(2)) SWIG_fail;
25936 }
d55e5bfc
RD
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 {
25940 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
25941 result = (wxDateSpan *) &_result_ref;
25942 }
25943
25944 wxPyEndAllowThreads(__tstate);
25945 if (PyErr_Occurred()) SWIG_fail;
25946 }
25947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25948 return resultobj;
25949 fail:
25950 return NULL;
25951}
25952
25953
c32bde28 25954static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25955 PyObject *resultobj;
25956 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25957 int arg2 ;
25958 wxDateSpan *result;
25959 PyObject * obj0 = 0 ;
25960 PyObject * obj1 = 0 ;
25961 char *kwnames[] = {
25962 (char *) "self",(char *) "n", NULL
25963 };
25964
25965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail;
25968 {
25969 arg2 = (int)(SWIG_As_int(obj1));
25970 if (SWIG_arg_fail(2)) SWIG_fail;
25971 }
d55e5bfc
RD
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 {
25975 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
25976 result = (wxDateSpan *) &_result_ref;
25977 }
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25983 return resultobj;
25984 fail:
25985 return NULL;
25986}
25987
25988
c32bde28 25989static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25990 PyObject *resultobj;
25991 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25992 int arg2 ;
25993 wxDateSpan *result;
25994 PyObject * obj0 = 0 ;
25995 PyObject * obj1 = 0 ;
25996 char *kwnames[] = {
25997 (char *) "self",(char *) "n", NULL
25998 };
25999
26000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26002 if (SWIG_arg_fail(1)) SWIG_fail;
26003 {
26004 arg2 = (int)(SWIG_As_int(obj1));
26005 if (SWIG_arg_fail(2)) SWIG_fail;
26006 }
d55e5bfc
RD
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 {
26010 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
26011 result = (wxDateSpan *) &_result_ref;
26012 }
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26018 return resultobj;
26019 fail:
26020 return NULL;
26021}
26022
26023
c32bde28 26024static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26025 PyObject *resultobj;
26026 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26027 int arg2 ;
26028 wxDateSpan *result;
26029 PyObject * obj0 = 0 ;
26030 PyObject * obj1 = 0 ;
26031 char *kwnames[] = {
26032 (char *) "self",(char *) "n", NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26037 if (SWIG_arg_fail(1)) SWIG_fail;
26038 {
26039 arg2 = (int)(SWIG_As_int(obj1));
26040 if (SWIG_arg_fail(2)) SWIG_fail;
26041 }
d55e5bfc
RD
26042 {
26043 PyThreadState* __tstate = wxPyBeginAllowThreads();
26044 {
26045 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
26046 result = (wxDateSpan *) &_result_ref;
26047 }
26048
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26053 return resultobj;
26054 fail:
26055 return NULL;
26056}
26057
26058
c32bde28 26059static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26060 PyObject *resultobj;
26061 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26062 int result;
26063 PyObject * obj0 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
26069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (int)((wxDateSpan const *)arg1)->GetYears();
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
093d3ff1
RD
26078 {
26079 resultobj = SWIG_From_int((int)(result));
26080 }
d55e5bfc
RD
26081 return resultobj;
26082 fail:
26083 return NULL;
26084}
26085
26086
c32bde28 26087static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26088 PyObject *resultobj;
26089 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26090 int result;
26091 PyObject * obj0 = 0 ;
26092 char *kwnames[] = {
26093 (char *) "self", NULL
26094 };
26095
26096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
26097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (int)((wxDateSpan const *)arg1)->GetMonths();
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
093d3ff1
RD
26106 {
26107 resultobj = SWIG_From_int((int)(result));
26108 }
d55e5bfc
RD
26109 return resultobj;
26110 fail:
26111 return NULL;
26112}
26113
26114
c32bde28 26115static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26116 PyObject *resultobj;
26117 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26118 int result;
26119 PyObject * obj0 = 0 ;
26120 char *kwnames[] = {
26121 (char *) "self", NULL
26122 };
26123
26124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
26125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
093d3ff1
RD
26134 {
26135 resultobj = SWIG_From_int((int)(result));
26136 }
d55e5bfc
RD
26137 return resultobj;
26138 fail:
26139 return NULL;
26140}
26141
26142
c32bde28 26143static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26144 PyObject *resultobj;
26145 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26146 int result;
26147 PyObject * obj0 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26155 {
26156 PyThreadState* __tstate = wxPyBeginAllowThreads();
26157 result = (int)((wxDateSpan const *)arg1)->GetDays();
26158
26159 wxPyEndAllowThreads(__tstate);
26160 if (PyErr_Occurred()) SWIG_fail;
26161 }
093d3ff1
RD
26162 {
26163 resultobj = SWIG_From_int((int)(result));
26164 }
d55e5bfc
RD
26165 return resultobj;
26166 fail:
26167 return NULL;
26168}
26169
26170
c32bde28 26171static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26172 PyObject *resultobj;
26173 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26174 int result;
26175 PyObject * obj0 = 0 ;
26176 char *kwnames[] = {
26177 (char *) "self", NULL
26178 };
26179
26180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
26186
26187 wxPyEndAllowThreads(__tstate);
26188 if (PyErr_Occurred()) SWIG_fail;
26189 }
093d3ff1
RD
26190 {
26191 resultobj = SWIG_From_int((int)(result));
26192 }
d55e5bfc
RD
26193 return resultobj;
26194 fail:
26195 return NULL;
26196}
26197
26198
c32bde28 26199static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26200 PyObject *resultobj;
26201 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26202 wxDateSpan *arg2 = 0 ;
26203 wxDateSpan *result;
26204 PyObject * obj0 = 0 ;
26205 PyObject * obj1 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "other", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail;
26213 {
26214 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 if (arg2 == NULL) {
26217 SWIG_null_ref("wxDateSpan");
26218 }
26219 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26220 }
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 {
26224 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
26225 result = (wxDateSpan *) &_result_ref;
26226 }
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26232 return resultobj;
26233 fail:
26234 return NULL;
26235}
26236
26237
c32bde28 26238static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26239 PyObject *resultobj;
26240 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26241 wxDateSpan *arg2 = 0 ;
26242 wxDateSpan *result;
26243 PyObject * obj0 = 0 ;
26244 PyObject * obj1 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self",(char *) "other", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail;
26252 {
26253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26254 if (SWIG_arg_fail(2)) SWIG_fail;
26255 if (arg2 == NULL) {
26256 SWIG_null_ref("wxDateSpan");
26257 }
26258 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26259 }
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 {
26263 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
26264 result = (wxDateSpan *) &_result_ref;
26265 }
26266
26267 wxPyEndAllowThreads(__tstate);
26268 if (PyErr_Occurred()) SWIG_fail;
26269 }
26270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26271 return resultobj;
26272 fail:
26273 return NULL;
26274}
26275
26276
c32bde28 26277static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26278 PyObject *resultobj;
26279 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26280 wxDateSpan *result;
26281 PyObject * obj0 = 0 ;
26282 char *kwnames[] = {
26283 (char *) "self", NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
26287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 {
26292 wxDateSpan &_result_ref = (arg1)->Neg();
26293 result = (wxDateSpan *) &_result_ref;
26294 }
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26300 return resultobj;
26301 fail:
26302 return NULL;
26303}
26304
26305
c32bde28 26306static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26307 PyObject *resultobj;
26308 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26309 int arg2 ;
26310 wxDateSpan *result;
26311 PyObject * obj0 = 0 ;
26312 PyObject * obj1 = 0 ;
26313 char *kwnames[] = {
26314 (char *) "self",(char *) "factor", NULL
26315 };
26316
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail;
26320 {
26321 arg2 = (int)(SWIG_As_int(obj1));
26322 if (SWIG_arg_fail(2)) SWIG_fail;
26323 }
d55e5bfc
RD
26324 {
26325 PyThreadState* __tstate = wxPyBeginAllowThreads();
26326 {
26327 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
26328 result = (wxDateSpan *) &_result_ref;
26329 }
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26335 return resultobj;
26336 fail:
26337 return NULL;
26338}
26339
26340
c32bde28 26341static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26342 PyObject *resultobj;
26343 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26344 wxDateSpan *arg2 = 0 ;
26345 wxDateSpan *result;
26346 PyObject * obj0 = 0 ;
26347 PyObject * obj1 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self",(char *) "other", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
26355 {
26356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26357 if (SWIG_arg_fail(2)) SWIG_fail;
26358 if (arg2 == NULL) {
26359 SWIG_null_ref("wxDateSpan");
26360 }
26361 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 {
26366 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
26367 result = (wxDateSpan *) &_result_ref;
26368 }
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
c32bde28 26373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26374 return resultobj;
26375 fail:
26376 return NULL;
26377}
26378
26379
c32bde28 26380static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26381 PyObject *resultobj;
26382 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26383 wxDateSpan *arg2 = 0 ;
26384 wxDateSpan *result;
26385 PyObject * obj0 = 0 ;
26386 PyObject * obj1 = 0 ;
26387 char *kwnames[] = {
26388 (char *) "self",(char *) "other", NULL
26389 };
26390
26391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26393 if (SWIG_arg_fail(1)) SWIG_fail;
26394 {
26395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26396 if (SWIG_arg_fail(2)) SWIG_fail;
26397 if (arg2 == NULL) {
26398 SWIG_null_ref("wxDateSpan");
26399 }
26400 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26401 }
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 {
26405 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
26406 result = (wxDateSpan *) &_result_ref;
26407 }
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
c32bde28 26412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26413 return resultobj;
26414 fail:
26415 return NULL;
26416}
26417
26418
c32bde28 26419static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26420 PyObject *resultobj;
26421 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26422 wxDateSpan *result;
26423 PyObject * obj0 = 0 ;
26424 char *kwnames[] = {
26425 (char *) "self", NULL
26426 };
26427
26428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
26429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26431 {
26432 PyThreadState* __tstate = wxPyBeginAllowThreads();
26433 {
26434 wxDateSpan &_result_ref = (arg1)->operator -();
26435 result = (wxDateSpan *) &_result_ref;
26436 }
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
c32bde28 26448static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26449 PyObject *resultobj;
26450 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26451 int arg2 ;
26452 wxDateSpan *result;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 char *kwnames[] = {
26456 (char *) "self",(char *) "factor", NULL
26457 };
26458
26459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26461 if (SWIG_arg_fail(1)) SWIG_fail;
26462 {
26463 arg2 = (int)(SWIG_As_int(obj1));
26464 if (SWIG_arg_fail(2)) SWIG_fail;
26465 }
d55e5bfc
RD
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 {
26469 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
26470 result = (wxDateSpan *) &_result_ref;
26471 }
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
c32bde28 26476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26477 return resultobj;
26478 fail:
26479 return NULL;
26480}
26481
26482
c32bde28 26483static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26484 PyObject *resultobj;
26485 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26486 wxDateSpan *arg2 = 0 ;
26487 wxDateSpan result;
26488 PyObject * obj0 = 0 ;
26489 PyObject * obj1 = 0 ;
26490 char *kwnames[] = {
26491 (char *) "self",(char *) "other", NULL
26492 };
26493
26494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26496 if (SWIG_arg_fail(1)) SWIG_fail;
26497 {
26498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26499 if (SWIG_arg_fail(2)) SWIG_fail;
26500 if (arg2 == NULL) {
26501 SWIG_null_ref("wxDateSpan");
26502 }
26503 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26504 }
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 {
26513 wxDateSpan * resultptr;
093d3ff1 26514 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26515 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26516 }
26517 return resultobj;
26518 fail:
26519 return NULL;
26520}
26521
26522
c32bde28 26523static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26524 PyObject *resultobj;
26525 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26526 wxDateSpan *arg2 = 0 ;
26527 wxDateSpan result;
26528 PyObject * obj0 = 0 ;
26529 PyObject * obj1 = 0 ;
26530 char *kwnames[] = {
26531 (char *) "self",(char *) "other", NULL
26532 };
26533
26534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26536 if (SWIG_arg_fail(1)) SWIG_fail;
26537 {
26538 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26539 if (SWIG_arg_fail(2)) SWIG_fail;
26540 if (arg2 == NULL) {
26541 SWIG_null_ref("wxDateSpan");
26542 }
26543 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26544 }
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 {
26553 wxDateSpan * resultptr;
093d3ff1 26554 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26556 }
26557 return resultobj;
26558 fail:
26559 return NULL;
26560}
26561
26562
c32bde28 26563static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26564 PyObject *resultobj;
26565 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26566 int arg2 ;
26567 wxDateSpan result;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char *kwnames[] = {
26571 (char *) "self",(char *) "n", NULL
26572 };
26573
26574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26576 if (SWIG_arg_fail(1)) SWIG_fail;
26577 {
26578 arg2 = (int)(SWIG_As_int(obj1));
26579 if (SWIG_arg_fail(2)) SWIG_fail;
26580 }
d55e5bfc
RD
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = wxDateSpan___mul__(arg1,arg2);
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
26588 {
26589 wxDateSpan * resultptr;
093d3ff1 26590 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26591 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26592 }
26593 return resultobj;
26594 fail:
26595 return NULL;
26596}
26597
26598
c32bde28 26599static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26600 PyObject *resultobj;
26601 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26602 int arg2 ;
26603 wxDateSpan result;
26604 PyObject * obj0 = 0 ;
26605 PyObject * obj1 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self",(char *) "n", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26612 if (SWIG_arg_fail(1)) SWIG_fail;
26613 {
26614 arg2 = (int)(SWIG_As_int(obj1));
26615 if (SWIG_arg_fail(2)) SWIG_fail;
26616 }
d55e5bfc
RD
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = wxDateSpan___rmul__(arg1,arg2);
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 {
26625 wxDateSpan * resultptr;
093d3ff1 26626 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26628 }
26629 return resultobj;
26630 fail:
26631 return NULL;
26632}
26633
26634
c32bde28 26635static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26636 PyObject *resultobj;
26637 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26638 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26639 bool result;
26640 PyObject * obj0 = 0 ;
26641 PyObject * obj1 = 0 ;
26642 char *kwnames[] = {
26643 (char *) "self",(char *) "other", NULL
26644 };
26645
26646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26648 if (SWIG_arg_fail(1)) SWIG_fail;
26649 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26650 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26651 {
26652 PyThreadState* __tstate = wxPyBeginAllowThreads();
26653 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
26654
26655 wxPyEndAllowThreads(__tstate);
26656 if (PyErr_Occurred()) SWIG_fail;
26657 }
26658 {
26659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26660 }
26661 return resultobj;
26662 fail:
26663 return NULL;
26664}
26665
26666
c32bde28 26667static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26668 PyObject *resultobj;
26669 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26670 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26671 bool result;
26672 PyObject * obj0 = 0 ;
26673 PyObject * obj1 = 0 ;
26674 char *kwnames[] = {
26675 (char *) "self",(char *) "other", NULL
26676 };
26677
26678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26680 if (SWIG_arg_fail(1)) SWIG_fail;
26681 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26682 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
26686
26687 wxPyEndAllowThreads(__tstate);
26688 if (PyErr_Occurred()) SWIG_fail;
26689 }
26690 {
26691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26692 }
26693 return resultobj;
26694 fail:
26695 return NULL;
26696}
26697
26698
c32bde28 26699static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26700 PyObject *obj;
26701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26702 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
26703 Py_INCREF(obj);
26704 return Py_BuildValue((char *)"");
26705}
c32bde28 26706static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26707 PyObject *resultobj;
26708 long result;
26709 char *kwnames[] = {
26710 NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 result = (long)wxGetLocalTime();
26717
26718 wxPyEndAllowThreads(__tstate);
26719 if (PyErr_Occurred()) SWIG_fail;
26720 }
093d3ff1
RD
26721 {
26722 resultobj = SWIG_From_long((long)(result));
26723 }
d55e5bfc
RD
26724 return resultobj;
26725 fail:
26726 return NULL;
26727}
26728
26729
c32bde28 26730static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26731 PyObject *resultobj;
26732 long result;
26733 char *kwnames[] = {
26734 NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 result = (long)wxGetUTCTime();
26741
26742 wxPyEndAllowThreads(__tstate);
26743 if (PyErr_Occurred()) SWIG_fail;
26744 }
093d3ff1
RD
26745 {
26746 resultobj = SWIG_From_long((long)(result));
26747 }
d55e5bfc
RD
26748 return resultobj;
26749 fail:
26750 return NULL;
26751}
26752
26753
c32bde28 26754static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26755 PyObject *resultobj;
26756 long result;
26757 char *kwnames[] = {
26758 NULL
26759 };
26760
26761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 result = (long)wxGetCurrentTime();
26765
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
093d3ff1
RD
26769 {
26770 resultobj = SWIG_From_long((long)(result));
26771 }
d55e5bfc
RD
26772 return resultobj;
26773 fail:
26774 return NULL;
26775}
26776
26777
c32bde28 26778static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26779 PyObject *resultobj;
26780 wxLongLong result;
26781 char *kwnames[] = {
26782 NULL
26783 };
26784
26785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
26786 {
26787 PyThreadState* __tstate = wxPyBeginAllowThreads();
26788 result = wxGetLocalTimeMillis();
26789
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 {
26794 PyObject *hi, *lo, *shifter, *shifted;
26795 hi = PyLong_FromLong( (&result)->GetHi() );
26796 lo = PyLong_FromLong( (&result)->GetLo() );
26797 shifter = PyLong_FromLong(32);
26798 shifted = PyNumber_Lshift(hi, shifter);
26799 resultobj = PyNumber_Or(shifted, lo);
26800 Py_DECREF(hi);
26801 Py_DECREF(lo);
26802 Py_DECREF(shifter);
26803 Py_DECREF(shifted);
26804 }
26805 return resultobj;
26806 fail:
26807 return NULL;
26808}
26809
26810
c32bde28 26811static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
26812 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
26813 return 1;
26814}
26815
26816
093d3ff1 26817static PyObject *_wrap_DefaultDateTime_get(void) {
d55e5bfc
RD
26818 PyObject *pyobj;
26819
26820 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
26821 return pyobj;
26822}
26823
26824
c32bde28 26825static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26826 PyObject *resultobj;
093d3ff1 26827 wxDataFormatId arg1 ;
d55e5bfc
RD
26828 wxDataFormat *result;
26829 PyObject * obj0 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "type", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26835 {
26836 arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
26837 if (SWIG_arg_fail(1)) SWIG_fail;
26838 }
d55e5bfc
RD
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
26841 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
26842
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26847 return resultobj;
26848 fail:
26849 return NULL;
26850}
26851
26852
c32bde28 26853static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26854 PyObject *resultobj;
26855 wxString *arg1 = 0 ;
26856 wxDataFormat *result;
ae8162c8 26857 bool temp1 = false ;
d55e5bfc
RD
26858 PyObject * obj0 = 0 ;
26859 char *kwnames[] = {
26860 (char *) "format", NULL
26861 };
26862
26863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
26864 {
26865 arg1 = wxString_in_helper(obj0);
26866 if (arg1 == NULL) SWIG_fail;
ae8162c8 26867 temp1 = true;
d55e5bfc
RD
26868 }
26869 {
26870 PyThreadState* __tstate = wxPyBeginAllowThreads();
26871 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
26872
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26877 {
26878 if (temp1)
26879 delete arg1;
26880 }
26881 return resultobj;
26882 fail:
26883 {
26884 if (temp1)
26885 delete arg1;
26886 }
26887 return NULL;
26888}
26889
26890
c32bde28 26891static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26892 PyObject *resultobj;
26893 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26894 PyObject * obj0 = 0 ;
26895 char *kwnames[] = {
26896 (char *) "self", NULL
26897 };
26898
26899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26902 {
26903 PyThreadState* __tstate = wxPyBeginAllowThreads();
26904 delete arg1;
26905
26906 wxPyEndAllowThreads(__tstate);
26907 if (PyErr_Occurred()) SWIG_fail;
26908 }
26909 Py_INCREF(Py_None); resultobj = Py_None;
26910 return resultobj;
26911 fail:
26912 return NULL;
26913}
26914
26915
c32bde28 26916static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26917 PyObject *resultobj;
26918 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26919 wxDataFormatId arg2 ;
d55e5bfc
RD
26920 bool result;
26921 PyObject * obj0 = 0 ;
26922 PyObject * obj1 = 0 ;
26923
26924 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26926 if (SWIG_arg_fail(1)) SWIG_fail;
26927 {
26928 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26929 if (SWIG_arg_fail(2)) SWIG_fail;
26930 }
d55e5bfc
RD
26931 {
26932 PyThreadState* __tstate = wxPyBeginAllowThreads();
26933 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
26934
26935 wxPyEndAllowThreads(__tstate);
26936 if (PyErr_Occurred()) SWIG_fail;
26937 }
26938 {
26939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26940 }
26941 return resultobj;
26942 fail:
26943 return NULL;
26944}
26945
26946
c32bde28 26947static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26948 PyObject *resultobj;
26949 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26950 wxDataFormatId arg2 ;
d55e5bfc
RD
26951 bool result;
26952 PyObject * obj0 = 0 ;
26953 PyObject * obj1 = 0 ;
26954
26955 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26957 if (SWIG_arg_fail(1)) SWIG_fail;
26958 {
26959 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26960 if (SWIG_arg_fail(2)) SWIG_fail;
26961 }
d55e5bfc
RD
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
26965
26966 wxPyEndAllowThreads(__tstate);
26967 if (PyErr_Occurred()) SWIG_fail;
26968 }
26969 {
26970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26971 }
26972 return resultobj;
26973 fail:
26974 return NULL;
26975}
26976
26977
c32bde28 26978static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26979 PyObject *resultobj;
26980 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26981 wxDataFormat *arg2 = 0 ;
26982 bool result;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985
26986 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26988 if (SWIG_arg_fail(1)) SWIG_fail;
26989 {
26990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(2)) SWIG_fail;
26992 if (arg2 == NULL) {
26993 SWIG_null_ref("wxDataFormat");
26994 }
26995 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26996 }
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 {
27005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27006 }
27007 return resultobj;
27008 fail:
27009 return NULL;
27010}
27011
27012
27013static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
27014 int argc;
27015 PyObject *argv[3];
27016 int ii;
27017
27018 argc = PyObject_Length(args);
27019 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27020 argv[ii] = PyTuple_GetItem(args,ii);
27021 }
27022 if (argc == 2) {
27023 int _v;
27024 {
27025 void *ptr;
27026 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27027 _v = 0;
27028 PyErr_Clear();
27029 } else {
27030 _v = 1;
27031 }
27032 }
27033 if (_v) {
27034 {
093d3ff1 27035 void *ptr = 0;
d55e5bfc
RD
27036 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27037 _v = 0;
27038 PyErr_Clear();
27039 } else {
093d3ff1 27040 _v = (ptr != 0);
d55e5bfc
RD
27041 }
27042 }
27043 if (_v) {
27044 return _wrap_DataFormat___eq____SWIG_1(self,args);
27045 }
27046 }
27047 }
27048 if (argc == 2) {
27049 int _v;
27050 {
27051 void *ptr;
27052 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27053 _v = 0;
27054 PyErr_Clear();
27055 } else {
27056 _v = 1;
27057 }
27058 }
27059 if (_v) {
c32bde28 27060 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
27061 if (_v) {
27062 return _wrap_DataFormat___eq____SWIG_0(self,args);
27063 }
27064 }
27065 }
27066
093d3ff1
RD
27067 Py_INCREF(Py_NotImplemented);
27068 return Py_NotImplemented;
d55e5bfc
RD
27069}
27070
27071
c32bde28 27072static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
27073 PyObject *resultobj;
27074 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27075 wxDataFormat *arg2 = 0 ;
27076 bool result;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079
27080 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27082 if (SWIG_arg_fail(1)) SWIG_fail;
27083 {
27084 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27085 if (SWIG_arg_fail(2)) SWIG_fail;
27086 if (arg2 == NULL) {
27087 SWIG_null_ref("wxDataFormat");
27088 }
27089 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27090 }
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
27094
27095 wxPyEndAllowThreads(__tstate);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 }
27098 {
27099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27100 }
27101 return resultobj;
27102 fail:
27103 return NULL;
27104}
27105
27106
27107static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
27108 int argc;
27109 PyObject *argv[3];
27110 int ii;
27111
27112 argc = PyObject_Length(args);
27113 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27114 argv[ii] = PyTuple_GetItem(args,ii);
27115 }
27116 if (argc == 2) {
27117 int _v;
27118 {
27119 void *ptr;
27120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27121 _v = 0;
27122 PyErr_Clear();
27123 } else {
27124 _v = 1;
27125 }
27126 }
27127 if (_v) {
27128 {
093d3ff1 27129 void *ptr = 0;
d55e5bfc
RD
27130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27131 _v = 0;
27132 PyErr_Clear();
27133 } else {
093d3ff1 27134 _v = (ptr != 0);
d55e5bfc
RD
27135 }
27136 }
27137 if (_v) {
27138 return _wrap_DataFormat___ne____SWIG_1(self,args);
27139 }
27140 }
27141 }
27142 if (argc == 2) {
27143 int _v;
27144 {
27145 void *ptr;
27146 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27147 _v = 0;
27148 PyErr_Clear();
27149 } else {
27150 _v = 1;
27151 }
27152 }
27153 if (_v) {
c32bde28 27154 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
27155 if (_v) {
27156 return _wrap_DataFormat___ne____SWIG_0(self,args);
27157 }
27158 }
27159 }
27160
093d3ff1
RD
27161 Py_INCREF(Py_NotImplemented);
27162 return Py_NotImplemented;
d55e5bfc
RD
27163}
27164
27165
c32bde28 27166static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27167 PyObject *resultobj;
27168 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27169 wxDataFormatId arg2 ;
d55e5bfc
RD
27170 PyObject * obj0 = 0 ;
27171 PyObject * obj1 = 0 ;
27172 char *kwnames[] = {
27173 (char *) "self",(char *) "format", NULL
27174 };
27175
27176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27178 if (SWIG_arg_fail(1)) SWIG_fail;
27179 {
27180 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
27181 if (SWIG_arg_fail(2)) SWIG_fail;
27182 }
d55e5bfc
RD
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 (arg1)->SetType((wxDataFormatId )arg2);
27186
27187 wxPyEndAllowThreads(__tstate);
27188 if (PyErr_Occurred()) SWIG_fail;
27189 }
27190 Py_INCREF(Py_None); resultobj = Py_None;
27191 return resultobj;
27192 fail:
27193 return NULL;
27194}
27195
27196
c32bde28 27197static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27198 PyObject *resultobj;
27199 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27200 wxDataFormatId result;
d55e5bfc
RD
27201 PyObject * obj0 = 0 ;
27202 char *kwnames[] = {
27203 (char *) "self", NULL
27204 };
27205
27206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
27207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 27211 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
093d3ff1 27216 resultobj = SWIG_From_int((result));
d55e5bfc
RD
27217 return resultobj;
27218 fail:
27219 return NULL;
27220}
27221
27222
c32bde28 27223static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27224 PyObject *resultobj;
27225 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27226 wxString result;
27227 PyObject * obj0 = 0 ;
27228 char *kwnames[] = {
27229 (char *) "self", NULL
27230 };
27231
27232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 result = ((wxDataFormat const *)arg1)->GetId();
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 {
27243#if wxUSE_UNICODE
27244 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27245#else
27246 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27247#endif
27248 }
27249 return resultobj;
27250 fail:
27251 return NULL;
27252}
27253
27254
c32bde28 27255static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27256 PyObject *resultobj;
27257 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27258 wxString *arg2 = 0 ;
ae8162c8 27259 bool temp2 = false ;
d55e5bfc
RD
27260 PyObject * obj0 = 0 ;
27261 PyObject * obj1 = 0 ;
27262 char *kwnames[] = {
27263 (char *) "self",(char *) "format", NULL
27264 };
27265
27266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27269 {
27270 arg2 = wxString_in_helper(obj1);
27271 if (arg2 == NULL) SWIG_fail;
ae8162c8 27272 temp2 = true;
d55e5bfc
RD
27273 }
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 (arg1)->SetId((wxString const &)*arg2);
27277
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 Py_INCREF(Py_None); resultobj = Py_None;
27282 {
27283 if (temp2)
27284 delete arg2;
27285 }
27286 return resultobj;
27287 fail:
27288 {
27289 if (temp2)
27290 delete arg2;
27291 }
27292 return NULL;
27293}
27294
27295
c32bde28 27296static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27297 PyObject *obj;
27298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27299 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
27300 Py_INCREF(obj);
27301 return Py_BuildValue((char *)"");
27302}
c32bde28 27303static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
27304 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
27305 return 1;
27306}
27307
27308
093d3ff1 27309static PyObject *_wrap_FormatInvalid_get(void) {
d55e5bfc
RD
27310 PyObject *pyobj;
27311
27312 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
27313 return pyobj;
27314}
27315
27316
c32bde28 27317static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27318 PyObject *resultobj;
27319 wxDataObject *arg1 = (wxDataObject *) 0 ;
27320 PyObject * obj0 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
27326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 delete arg1;
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 Py_INCREF(Py_None); resultobj = Py_None;
27336 return resultobj;
27337 fail:
27338 return NULL;
27339}
27340
27341
c32bde28 27342static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27343 PyObject *resultobj;
27344 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
27345 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
27346 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
27347 PyObject * obj0 = 0 ;
27348 PyObject * obj1 = 0 ;
27349 char *kwnames[] = {
27350 (char *) "self",(char *) "dir", NULL
27351 };
27352
27353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27356 if (obj1) {
093d3ff1
RD
27357 {
27358 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27359 if (SWIG_arg_fail(2)) SWIG_fail;
27360 }
d55e5bfc
RD
27361 }
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 {
27370 wxDataFormat * resultptr;
093d3ff1 27371 resultptr = new wxDataFormat((wxDataFormat &)(result));
d55e5bfc
RD
27372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
27373 }
27374 return resultobj;
27375 fail:
27376 return NULL;
27377}
27378
27379
c32bde28 27380static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27381 PyObject *resultobj;
27382 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27383 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27384 size_t result;
27385 PyObject * obj0 = 0 ;
27386 PyObject * obj1 = 0 ;
27387 char *kwnames[] = {
27388 (char *) "self",(char *) "dir", NULL
27389 };
27390
27391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27394 if (obj1) {
093d3ff1
RD
27395 {
27396 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27397 if (SWIG_arg_fail(2)) SWIG_fail;
27398 }
d55e5bfc
RD
27399 }
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
093d3ff1
RD
27407 {
27408 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27409 }
d55e5bfc
RD
27410 return resultobj;
27411 fail:
27412 return NULL;
27413}
27414
27415
c32bde28 27416static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27417 PyObject *resultobj;
27418 wxDataObject *arg1 = (wxDataObject *) 0 ;
27419 wxDataFormat *arg2 = 0 ;
093d3ff1 27420 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27421 bool result;
27422 PyObject * obj0 = 0 ;
27423 PyObject * obj1 = 0 ;
27424 PyObject * obj2 = 0 ;
27425 char *kwnames[] = {
27426 (char *) "self",(char *) "format",(char *) "dir", NULL
27427 };
27428
27429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27431 if (SWIG_arg_fail(1)) SWIG_fail;
27432 {
27433 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27434 if (SWIG_arg_fail(2)) SWIG_fail;
27435 if (arg2 == NULL) {
27436 SWIG_null_ref("wxDataFormat");
27437 }
27438 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27439 }
27440 if (obj2) {
093d3ff1
RD
27441 {
27442 arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
27443 if (SWIG_arg_fail(3)) SWIG_fail;
27444 }
d55e5bfc
RD
27445 }
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
27449
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 {
27454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27455 }
27456 return resultobj;
27457 fail:
27458 return NULL;
27459}
27460
27461
c32bde28 27462static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27463 PyObject *resultobj;
27464 wxDataObject *arg1 = (wxDataObject *) 0 ;
27465 wxDataFormat *arg2 = 0 ;
27466 size_t result;
27467 PyObject * obj0 = 0 ;
27468 PyObject * obj1 = 0 ;
27469 char *kwnames[] = {
27470 (char *) "self",(char *) "format", NULL
27471 };
27472
27473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27475 if (SWIG_arg_fail(1)) SWIG_fail;
27476 {
27477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27478 if (SWIG_arg_fail(2)) SWIG_fail;
27479 if (arg2 == NULL) {
27480 SWIG_null_ref("wxDataFormat");
27481 }
27482 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27483 }
27484 {
27485 PyThreadState* __tstate = wxPyBeginAllowThreads();
27486 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
27487
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
093d3ff1
RD
27491 {
27492 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27493 }
d55e5bfc
RD
27494 return resultobj;
27495 fail:
27496 return NULL;
27497}
27498
27499
c32bde28 27500static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27501 PyObject *resultobj;
27502 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27503 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
a07a67e6 27504 PyObject *result;
d55e5bfc
RD
27505 PyObject * obj0 = 0 ;
27506 PyObject * obj1 = 0 ;
d55e5bfc 27507 char *kwnames[] = {
a07a67e6 27508 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
27509 };
27510
a07a67e6 27511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6 27514 if (obj1) {
093d3ff1
RD
27515 {
27516 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27517 if (SWIG_arg_fail(2)) SWIG_fail;
27518 }
d55e5bfc
RD
27519 }
27520 {
27521 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27522 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
27523
27524 wxPyEndAllowThreads(__tstate);
27525 if (PyErr_Occurred()) SWIG_fail;
27526 }
a07a67e6 27527 resultobj = result;
d55e5bfc
RD
27528 return resultobj;
27529 fail:
27530 return NULL;
27531}
27532
27533
c32bde28 27534static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27535 PyObject *resultobj;
27536 wxDataObject *arg1 = (wxDataObject *) 0 ;
27537 wxDataFormat *arg2 = 0 ;
a07a67e6 27538 PyObject *result;
d55e5bfc
RD
27539 PyObject * obj0 = 0 ;
27540 PyObject * obj1 = 0 ;
d55e5bfc 27541 char *kwnames[] = {
a07a67e6 27542 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
27543 };
27544
a07a67e6 27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27547 if (SWIG_arg_fail(1)) SWIG_fail;
27548 {
27549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27550 if (SWIG_arg_fail(2)) SWIG_fail;
27551 if (arg2 == NULL) {
27552 SWIG_null_ref("wxDataFormat");
27553 }
27554 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27555 }
d55e5bfc
RD
27556 {
27557 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27558 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
27559
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
a07a67e6 27563 resultobj = result;
d55e5bfc
RD
27564 return resultobj;
27565 fail:
27566 return NULL;
27567}
27568
27569
c32bde28 27570static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27571 PyObject *resultobj;
27572 wxDataObject *arg1 = (wxDataObject *) 0 ;
27573 wxDataFormat *arg2 = 0 ;
a07a67e6 27574 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
27575 bool result;
27576 PyObject * obj0 = 0 ;
27577 PyObject * obj1 = 0 ;
27578 PyObject * obj2 = 0 ;
d55e5bfc 27579 char *kwnames[] = {
a07a67e6 27580 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
27581 };
27582
a07a67e6 27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27585 if (SWIG_arg_fail(1)) SWIG_fail;
27586 {
27587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27588 if (SWIG_arg_fail(2)) SWIG_fail;
27589 if (arg2 == NULL) {
27590 SWIG_null_ref("wxDataFormat");
27591 }
27592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27593 }
a07a67e6 27594 arg3 = obj2;
d55e5bfc
RD
27595 {
27596 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27597 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
27598
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 {
27603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27604 }
27605 return resultobj;
27606 fail:
27607 return NULL;
27608}
27609
27610
c32bde28 27611static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27612 PyObject *obj;
27613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27614 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
27615 Py_INCREF(obj);
27616 return Py_BuildValue((char *)"");
27617}
c32bde28 27618static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27619 PyObject *resultobj;
27620 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27621 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27622 wxDataObjectSimple *result;
27623 PyObject * obj0 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "format", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
27629 if (obj0) {
093d3ff1
RD
27630 {
27631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27632 if (SWIG_arg_fail(1)) SWIG_fail;
27633 if (arg1 == NULL) {
27634 SWIG_null_ref("wxDataFormat");
27635 }
27636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27637 }
27638 }
27639 {
27640 PyThreadState* __tstate = wxPyBeginAllowThreads();
27641 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
27642
27643 wxPyEndAllowThreads(__tstate);
27644 if (PyErr_Occurred()) SWIG_fail;
27645 }
27646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
27647 return resultobj;
27648 fail:
27649 return NULL;
27650}
27651
27652
c32bde28 27653static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27654 PyObject *resultobj;
27655 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27656 wxDataFormat *result;
27657 PyObject * obj0 = 0 ;
27658 char *kwnames[] = {
27659 (char *) "self", NULL
27660 };
27661
27662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 {
27668 wxDataFormat const &_result_ref = (arg1)->GetFormat();
27669 result = (wxDataFormat *) &_result_ref;
27670 }
27671
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
27676 return resultobj;
27677 fail:
27678 return NULL;
27679}
27680
27681
c32bde28 27682static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27683 PyObject *resultobj;
27684 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27685 wxDataFormat *arg2 = 0 ;
27686 PyObject * obj0 = 0 ;
27687 PyObject * obj1 = 0 ;
27688 char *kwnames[] = {
27689 (char *) "self",(char *) "format", NULL
27690 };
27691
27692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27694 if (SWIG_arg_fail(1)) SWIG_fail;
27695 {
27696 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27697 if (SWIG_arg_fail(2)) SWIG_fail;
27698 if (arg2 == NULL) {
27699 SWIG_null_ref("wxDataFormat");
27700 }
27701 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27702 }
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 (arg1)->SetFormat((wxDataFormat const &)*arg2);
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 Py_INCREF(Py_None); resultobj = Py_None;
27711 return resultobj;
27712 fail:
27713 return NULL;
27714}
27715
27716
c32bde28 27717static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27718 PyObject *resultobj;
27719 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27720 size_t result;
27721 PyObject * obj0 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27728 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
093d3ff1
RD
27736 {
27737 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27738 }
a07a67e6
RD
27739 return resultobj;
27740 fail:
27741 return NULL;
27742}
27743
27744
c32bde28 27745static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27746 PyObject *resultobj;
27747 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27748 PyObject *result;
27749 PyObject * obj0 = 0 ;
27750 char *kwnames[] = {
27751 (char *) "self", NULL
27752 };
27753
27754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
27755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27756 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27757 {
27758 PyThreadState* __tstate = wxPyBeginAllowThreads();
27759 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
27760
27761 wxPyEndAllowThreads(__tstate);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
27764 resultobj = result;
27765 return resultobj;
27766 fail:
27767 return NULL;
27768}
27769
27770
c32bde28 27771static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27772 PyObject *resultobj;
27773 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27774 PyObject *arg2 = (PyObject *) 0 ;
27775 bool result;
27776 PyObject * obj0 = 0 ;
27777 PyObject * obj1 = 0 ;
27778 char *kwnames[] = {
27779 (char *) "self",(char *) "data", NULL
27780 };
27781
27782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27785 arg2 = obj1;
27786 {
27787 PyThreadState* __tstate = wxPyBeginAllowThreads();
27788 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
27789
27790 wxPyEndAllowThreads(__tstate);
27791 if (PyErr_Occurred()) SWIG_fail;
27792 }
27793 {
27794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27795 }
27796 return resultobj;
27797 fail:
27798 return NULL;
27799}
27800
27801
c32bde28 27802static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27803 PyObject *obj;
27804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27805 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
27806 Py_INCREF(obj);
27807 return Py_BuildValue((char *)"");
27808}
c32bde28 27809static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27810 PyObject *resultobj;
27811 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27812 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27813 wxPyDataObjectSimple *result;
27814 PyObject * obj0 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "format", NULL
27817 };
27818
27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
27820 if (obj0) {
093d3ff1
RD
27821 {
27822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail;
27824 if (arg1 == NULL) {
27825 SWIG_null_ref("wxDataFormat");
27826 }
27827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27828 }
27829 }
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
27833
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
27837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
27838 return resultobj;
27839 fail:
27840 return NULL;
27841}
27842
27843
c32bde28 27844static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27845 PyObject *resultobj;
27846 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
27847 PyObject *arg2 = (PyObject *) 0 ;
27848 PyObject *arg3 = (PyObject *) 0 ;
27849 PyObject * obj0 = 0 ;
27850 PyObject * obj1 = 0 ;
27851 PyObject * obj2 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self",(char *) "self",(char *) "_class", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27859 arg2 = obj1;
27860 arg3 = obj2;
27861 {
27862 PyThreadState* __tstate = wxPyBeginAllowThreads();
27863 (arg1)->_setCallbackInfo(arg2,arg3);
27864
27865 wxPyEndAllowThreads(__tstate);
27866 if (PyErr_Occurred()) SWIG_fail;
27867 }
27868 Py_INCREF(Py_None); resultobj = Py_None;
27869 return resultobj;
27870 fail:
27871 return NULL;
27872}
27873
27874
c32bde28 27875static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27876 PyObject *obj;
27877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27878 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
27879 Py_INCREF(obj);
27880 return Py_BuildValue((char *)"");
27881}
c32bde28 27882static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27883 PyObject *resultobj;
27884 wxDataObjectComposite *result;
27885 char *kwnames[] = {
27886 NULL
27887 };
27888
27889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
27890 {
27891 PyThreadState* __tstate = wxPyBeginAllowThreads();
27892 result = (wxDataObjectComposite *)new wxDataObjectComposite();
27893
27894 wxPyEndAllowThreads(__tstate);
27895 if (PyErr_Occurred()) SWIG_fail;
27896 }
27897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
27898 return resultobj;
27899 fail:
27900 return NULL;
27901}
27902
27903
c32bde28 27904static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27905 PyObject *resultobj;
27906 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
27907 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 27908 bool arg3 = (bool) false ;
d55e5bfc
RD
27909 PyObject * obj0 = 0 ;
27910 PyObject * obj1 = 0 ;
27911 PyObject * obj2 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
27918 if (SWIG_arg_fail(1)) SWIG_fail;
27919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27920 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27921 if (obj2) {
093d3ff1
RD
27922 {
27923 arg3 = (bool)(SWIG_As_bool(obj2));
27924 if (SWIG_arg_fail(3)) SWIG_fail;
27925 }
d55e5bfc
RD
27926 }
27927 {
27928 PyThreadState* __tstate = wxPyBeginAllowThreads();
27929 (arg1)->Add(arg2,arg3);
27930
27931 wxPyEndAllowThreads(__tstate);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 }
27934 Py_INCREF(Py_None); resultobj = Py_None;
27935 return resultobj;
27936 fail:
27937 return NULL;
27938}
27939
27940
c32bde28 27941static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27942 PyObject *obj;
27943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27944 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
27945 Py_INCREF(obj);
27946 return Py_BuildValue((char *)"");
27947}
c32bde28 27948static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27949 PyObject *resultobj;
27950 wxString const &arg1_defvalue = wxPyEmptyString ;
27951 wxString *arg1 = (wxString *) &arg1_defvalue ;
27952 wxTextDataObject *result;
ae8162c8 27953 bool temp1 = false ;
d55e5bfc
RD
27954 PyObject * obj0 = 0 ;
27955 char *kwnames[] = {
27956 (char *) "text", NULL
27957 };
27958
27959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
27960 if (obj0) {
27961 {
27962 arg1 = wxString_in_helper(obj0);
27963 if (arg1 == NULL) SWIG_fail;
ae8162c8 27964 temp1 = true;
d55e5bfc
RD
27965 }
27966 }
27967 {
27968 PyThreadState* __tstate = wxPyBeginAllowThreads();
27969 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
27970
27971 wxPyEndAllowThreads(__tstate);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
27974 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
27975 {
27976 if (temp1)
27977 delete arg1;
27978 }
27979 return resultobj;
27980 fail:
27981 {
27982 if (temp1)
27983 delete arg1;
27984 }
27985 return NULL;
27986}
27987
27988
c32bde28 27989static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27990 PyObject *resultobj;
27991 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27992 size_t result;
27993 PyObject * obj0 = 0 ;
27994 char *kwnames[] = {
27995 (char *) "self", NULL
27996 };
27997
27998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
27999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28001 {
28002 PyThreadState* __tstate = wxPyBeginAllowThreads();
28003 result = (size_t)(arg1)->GetTextLength();
28004
28005 wxPyEndAllowThreads(__tstate);
28006 if (PyErr_Occurred()) SWIG_fail;
28007 }
093d3ff1
RD
28008 {
28009 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28010 }
d55e5bfc
RD
28011 return resultobj;
28012 fail:
28013 return NULL;
28014}
28015
28016
c32bde28 28017static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28018 PyObject *resultobj;
28019 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28020 wxString result;
28021 PyObject * obj0 = 0 ;
28022 char *kwnames[] = {
28023 (char *) "self", NULL
28024 };
28025
28026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
28027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28029 {
28030 PyThreadState* __tstate = wxPyBeginAllowThreads();
28031 result = (arg1)->GetText();
28032
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037#if wxUSE_UNICODE
28038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28039#else
28040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28041#endif
28042 }
28043 return resultobj;
28044 fail:
28045 return NULL;
28046}
28047
28048
c32bde28 28049static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28050 PyObject *resultobj;
28051 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28052 wxString *arg2 = 0 ;
ae8162c8 28053 bool temp2 = false ;
d55e5bfc
RD
28054 PyObject * obj0 = 0 ;
28055 PyObject * obj1 = 0 ;
28056 char *kwnames[] = {
28057 (char *) "self",(char *) "text", NULL
28058 };
28059
28060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28063 {
28064 arg2 = wxString_in_helper(obj1);
28065 if (arg2 == NULL) SWIG_fail;
ae8162c8 28066 temp2 = true;
d55e5bfc
RD
28067 }
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->SetText((wxString const &)*arg2);
28071
28072 wxPyEndAllowThreads(__tstate);
28073 if (PyErr_Occurred()) SWIG_fail;
28074 }
28075 Py_INCREF(Py_None); resultobj = Py_None;
28076 {
28077 if (temp2)
28078 delete arg2;
28079 }
28080 return resultobj;
28081 fail:
28082 {
28083 if (temp2)
28084 delete arg2;
28085 }
28086 return NULL;
28087}
28088
28089
c32bde28 28090static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28091 PyObject *obj;
28092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28093 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
28094 Py_INCREF(obj);
28095 return Py_BuildValue((char *)"");
28096}
c32bde28 28097static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28098 PyObject *resultobj;
28099 wxString const &arg1_defvalue = wxPyEmptyString ;
28100 wxString *arg1 = (wxString *) &arg1_defvalue ;
28101 wxPyTextDataObject *result;
ae8162c8 28102 bool temp1 = false ;
d55e5bfc
RD
28103 PyObject * obj0 = 0 ;
28104 char *kwnames[] = {
28105 (char *) "text", NULL
28106 };
28107
28108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
28109 if (obj0) {
28110 {
28111 arg1 = wxString_in_helper(obj0);
28112 if (arg1 == NULL) SWIG_fail;
ae8162c8 28113 temp1 = true;
d55e5bfc
RD
28114 }
28115 }
28116 {
28117 PyThreadState* __tstate = wxPyBeginAllowThreads();
28118 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
28119
28120 wxPyEndAllowThreads(__tstate);
28121 if (PyErr_Occurred()) SWIG_fail;
28122 }
28123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
28124 {
28125 if (temp1)
28126 delete arg1;
28127 }
28128 return resultobj;
28129 fail:
28130 {
28131 if (temp1)
28132 delete arg1;
28133 }
28134 return NULL;
28135}
28136
28137
c32bde28 28138static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28139 PyObject *resultobj;
28140 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
28141 PyObject *arg2 = (PyObject *) 0 ;
28142 PyObject *arg3 = (PyObject *) 0 ;
28143 PyObject * obj0 = 0 ;
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 char *kwnames[] = {
28147 (char *) "self",(char *) "self",(char *) "_class", NULL
28148 };
28149
28150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28153 arg2 = obj1;
28154 arg3 = obj2;
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
28157 (arg1)->_setCallbackInfo(arg2,arg3);
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
28162 Py_INCREF(Py_None); resultobj = Py_None;
28163 return resultobj;
28164 fail:
28165 return NULL;
28166}
28167
28168
c32bde28 28169static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28170 PyObject *obj;
28171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28172 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
28173 Py_INCREF(obj);
28174 return Py_BuildValue((char *)"");
28175}
c32bde28 28176static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28177 PyObject *resultobj;
28178 wxBitmap const &arg1_defvalue = wxNullBitmap ;
28179 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
28180 wxBitmapDataObject *result;
28181 PyObject * obj0 = 0 ;
28182 char *kwnames[] = {
28183 (char *) "bitmap", NULL
28184 };
28185
28186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
28187 if (obj0) {
093d3ff1
RD
28188 {
28189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28190 if (SWIG_arg_fail(1)) SWIG_fail;
28191 if (arg1 == NULL) {
28192 SWIG_null_ref("wxBitmap");
28193 }
28194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28195 }
28196 }
28197 {
28198 PyThreadState* __tstate = wxPyBeginAllowThreads();
28199 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
28200
28201 wxPyEndAllowThreads(__tstate);
28202 if (PyErr_Occurred()) SWIG_fail;
28203 }
28204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
28205 return resultobj;
28206 fail:
28207 return NULL;
28208}
28209
28210
c32bde28 28211static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28212 PyObject *resultobj;
28213 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
28214 wxBitmap result;
28215 PyObject * obj0 = 0 ;
28216 char *kwnames[] = {
28217 (char *) "self", NULL
28218 };
28219
28220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
28221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28223 {
28224 PyThreadState* __tstate = wxPyBeginAllowThreads();
28225 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
28226
28227 wxPyEndAllowThreads(__tstate);
28228 if (PyErr_Occurred()) SWIG_fail;
28229 }
28230 {
28231 wxBitmap * resultptr;
093d3ff1 28232 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
28233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
28234 }
28235 return resultobj;
28236 fail:
28237 return NULL;
28238}
28239
28240
c32bde28 28241static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28242 PyObject *resultobj;
28243 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
28244 wxBitmap *arg2 = 0 ;
28245 PyObject * obj0 = 0 ;
28246 PyObject * obj1 = 0 ;
28247 char *kwnames[] = {
28248 (char *) "self",(char *) "bitmap", NULL
28249 };
28250
28251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28253 if (SWIG_arg_fail(1)) SWIG_fail;
28254 {
28255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28256 if (SWIG_arg_fail(2)) SWIG_fail;
28257 if (arg2 == NULL) {
28258 SWIG_null_ref("wxBitmap");
28259 }
28260 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28261 }
28262 {
28263 PyThreadState* __tstate = wxPyBeginAllowThreads();
28264 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28265
28266 wxPyEndAllowThreads(__tstate);
28267 if (PyErr_Occurred()) SWIG_fail;
28268 }
28269 Py_INCREF(Py_None); resultobj = Py_None;
28270 return resultobj;
28271 fail:
28272 return NULL;
28273}
28274
28275
c32bde28 28276static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28277 PyObject *obj;
28278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28279 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
28280 Py_INCREF(obj);
28281 return Py_BuildValue((char *)"");
28282}
c32bde28 28283static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28284 PyObject *resultobj;
28285 wxBitmap const &arg1_defvalue = wxNullBitmap ;
28286 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
28287 wxPyBitmapDataObject *result;
28288 PyObject * obj0 = 0 ;
28289 char *kwnames[] = {
28290 (char *) "bitmap", NULL
28291 };
28292
28293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
28294 if (obj0) {
093d3ff1
RD
28295 {
28296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28297 if (SWIG_arg_fail(1)) SWIG_fail;
28298 if (arg1 == NULL) {
28299 SWIG_null_ref("wxBitmap");
28300 }
28301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28302 }
28303 }
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
28307
28308 wxPyEndAllowThreads(__tstate);
28309 if (PyErr_Occurred()) SWIG_fail;
28310 }
28311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
28312 return resultobj;
28313 fail:
28314 return NULL;
28315}
28316
28317
c32bde28 28318static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28319 PyObject *resultobj;
28320 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
28321 PyObject *arg2 = (PyObject *) 0 ;
28322 PyObject *arg3 = (PyObject *) 0 ;
28323 PyObject * obj0 = 0 ;
28324 PyObject * obj1 = 0 ;
28325 PyObject * obj2 = 0 ;
28326 char *kwnames[] = {
28327 (char *) "self",(char *) "self",(char *) "_class", NULL
28328 };
28329
28330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28333 arg2 = obj1;
28334 arg3 = obj2;
28335 {
28336 PyThreadState* __tstate = wxPyBeginAllowThreads();
28337 (arg1)->_setCallbackInfo(arg2,arg3);
28338
28339 wxPyEndAllowThreads(__tstate);
28340 if (PyErr_Occurred()) SWIG_fail;
28341 }
28342 Py_INCREF(Py_None); resultobj = Py_None;
28343 return resultobj;
28344 fail:
28345 return NULL;
28346}
28347
28348
c32bde28 28349static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28350 PyObject *obj;
28351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28352 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
28353 Py_INCREF(obj);
28354 return Py_BuildValue((char *)"");
28355}
c32bde28 28356static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28357 PyObject *resultobj;
28358 wxFileDataObject *result;
28359 char *kwnames[] = {
28360 NULL
28361 };
28362
28363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 result = (wxFileDataObject *)new wxFileDataObject();
28367
28368 wxPyEndAllowThreads(__tstate);
28369 if (PyErr_Occurred()) SWIG_fail;
28370 }
28371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
28372 return resultobj;
28373 fail:
28374 return NULL;
28375}
28376
28377
c32bde28 28378static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28379 PyObject *resultobj;
28380 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28381 wxArrayString *result;
28382 PyObject * obj0 = 0 ;
28383 char *kwnames[] = {
28384 (char *) "self", NULL
28385 };
28386
28387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
28388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28390 {
28391 PyThreadState* __tstate = wxPyBeginAllowThreads();
28392 {
28393 wxArrayString const &_result_ref = (arg1)->GetFilenames();
28394 result = (wxArrayString *) &_result_ref;
28395 }
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 {
28401 resultobj = wxArrayString2PyList_helper(*result);
28402 }
28403 return resultobj;
28404 fail:
28405 return NULL;
28406}
28407
28408
c32bde28 28409static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28410 PyObject *resultobj;
28411 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28412 wxString *arg2 = 0 ;
ae8162c8 28413 bool temp2 = false ;
d55e5bfc
RD
28414 PyObject * obj0 = 0 ;
28415 PyObject * obj1 = 0 ;
28416 char *kwnames[] = {
28417 (char *) "self",(char *) "filename", NULL
28418 };
28419
28420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28423 {
28424 arg2 = wxString_in_helper(obj1);
28425 if (arg2 == NULL) SWIG_fail;
ae8162c8 28426 temp2 = true;
d55e5bfc
RD
28427 }
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 (arg1)->AddFile((wxString const &)*arg2);
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
28435 Py_INCREF(Py_None); resultobj = Py_None;
28436 {
28437 if (temp2)
28438 delete arg2;
28439 }
28440 return resultobj;
28441 fail:
28442 {
28443 if (temp2)
28444 delete arg2;
28445 }
28446 return NULL;
28447}
28448
28449
c32bde28 28450static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28451 PyObject *obj;
28452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28453 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
28454 Py_INCREF(obj);
28455 return Py_BuildValue((char *)"");
28456}
fef4c27a 28457static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc 28458 PyObject *resultobj;
fef4c27a 28459 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
28460 wxCustomDataObject *result;
28461 PyObject * obj0 = 0 ;
d55e5bfc 28462
fef4c27a
RD
28463 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28464 {
28465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28466 if (SWIG_arg_fail(1)) SWIG_fail;
28467 if (arg1 == NULL) {
28468 SWIG_null_ref("wxDataFormat");
d55e5bfc 28469 }
fef4c27a 28470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28471 }
28472 {
28473 PyThreadState* __tstate = wxPyBeginAllowThreads();
28474 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
28475
28476 wxPyEndAllowThreads(__tstate);
28477 if (PyErr_Occurred()) SWIG_fail;
28478 }
28479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28480 return resultobj;
28481 fail:
28482 return NULL;
28483}
28484
28485
fef4c27a
RD
28486static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
28487 PyObject *resultobj;
28488 wxString *arg1 = 0 ;
28489 wxCustomDataObject *result;
28490 bool temp1 = false ;
28491 PyObject * obj0 = 0 ;
28492
28493 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28494 {
28495 arg1 = wxString_in_helper(obj0);
28496 if (arg1 == NULL) SWIG_fail;
28497 temp1 = true;
28498 }
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
28501 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
28502
28503 wxPyEndAllowThreads(__tstate);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
28506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28507 {
28508 if (temp1)
28509 delete arg1;
28510 }
28511 return resultobj;
28512 fail:
28513 {
28514 if (temp1)
28515 delete arg1;
28516 }
28517 return NULL;
28518}
28519
28520
28521static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
28522 PyObject *resultobj;
28523 wxCustomDataObject *result;
28524
28525 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
28526 {
28527 PyThreadState* __tstate = wxPyBeginAllowThreads();
28528 result = (wxCustomDataObject *)new wxCustomDataObject();
28529
28530 wxPyEndAllowThreads(__tstate);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 }
28533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28534 return resultobj;
28535 fail:
28536 return NULL;
28537}
28538
28539
28540static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
28541 int argc;
28542 PyObject *argv[2];
28543 int ii;
28544
28545 argc = PyObject_Length(args);
28546 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
28547 argv[ii] = PyTuple_GetItem(args,ii);
28548 }
28549 if (argc == 0) {
28550 return _wrap_new_CustomDataObject__SWIG_2(self,args);
28551 }
28552 if (argc == 1) {
28553 int _v;
28554 {
28555 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
28556 }
28557 if (_v) {
28558 return _wrap_new_CustomDataObject__SWIG_1(self,args);
28559 }
28560 }
28561 if (argc == 1) {
28562 int _v;
28563 {
28564 void *ptr = 0;
28565 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28566 _v = 0;
28567 PyErr_Clear();
28568 } else {
28569 _v = (ptr != 0);
28570 }
28571 }
28572 if (_v) {
28573 return _wrap_new_CustomDataObject__SWIG_0(self,args);
28574 }
28575 }
28576
28577 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
28578 return NULL;
28579}
28580
28581
c32bde28 28582static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28583 PyObject *resultobj;
28584 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28585 PyObject *arg2 = (PyObject *) 0 ;
28586 bool result;
28587 PyObject * obj0 = 0 ;
28588 PyObject * obj1 = 0 ;
28589 char *kwnames[] = {
28590 (char *) "self",(char *) "data", NULL
28591 };
28592
28593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28596 arg2 = obj1;
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
28600
28601 wxPyEndAllowThreads(__tstate);
28602 if (PyErr_Occurred()) SWIG_fail;
28603 }
28604 {
28605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28606 }
28607 return resultobj;
28608 fail:
28609 return NULL;
28610}
28611
28612
c32bde28 28613static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28614 PyObject *resultobj;
28615 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28616 size_t result;
28617 PyObject * obj0 = 0 ;
28618 char *kwnames[] = {
28619 (char *) "self", NULL
28620 };
28621
28622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28625 {
28626 PyThreadState* __tstate = wxPyBeginAllowThreads();
28627 result = (size_t)(arg1)->GetSize();
28628
28629 wxPyEndAllowThreads(__tstate);
28630 if (PyErr_Occurred()) SWIG_fail;
28631 }
093d3ff1
RD
28632 {
28633 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28634 }
d55e5bfc
RD
28635 return resultobj;
28636 fail:
28637 return NULL;
28638}
28639
28640
c32bde28 28641static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28642 PyObject *resultobj;
28643 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28644 PyObject *result;
28645 PyObject * obj0 = 0 ;
28646 char *kwnames[] = {
28647 (char *) "self", NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28653 {
28654 PyThreadState* __tstate = wxPyBeginAllowThreads();
28655 result = (PyObject *)wxCustomDataObject_GetData(arg1);
28656
28657 wxPyEndAllowThreads(__tstate);
28658 if (PyErr_Occurred()) SWIG_fail;
28659 }
28660 resultobj = result;
28661 return resultobj;
28662 fail:
28663 return NULL;
28664}
28665
28666
c32bde28 28667static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28668 PyObject *obj;
28669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28670 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
28671 Py_INCREF(obj);
28672 return Py_BuildValue((char *)"");
28673}
c32bde28 28674static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28675 PyObject *resultobj;
28676 wxURLDataObject *result;
28677 char *kwnames[] = {
28678 NULL
28679 };
28680
28681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
28682 {
28683 PyThreadState* __tstate = wxPyBeginAllowThreads();
28684 result = (wxURLDataObject *)new wxURLDataObject();
28685
28686 wxPyEndAllowThreads(__tstate);
28687 if (PyErr_Occurred()) SWIG_fail;
28688 }
28689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
28690 return resultobj;
28691 fail:
28692 return NULL;
28693}
28694
28695
c32bde28 28696static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28697 PyObject *resultobj;
28698 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28699 wxString result;
28700 PyObject * obj0 = 0 ;
28701 char *kwnames[] = {
28702 (char *) "self", NULL
28703 };
28704
28705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
28706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28708 {
28709 PyThreadState* __tstate = wxPyBeginAllowThreads();
28710 result = (arg1)->GetURL();
28711
28712 wxPyEndAllowThreads(__tstate);
28713 if (PyErr_Occurred()) SWIG_fail;
28714 }
28715 {
28716#if wxUSE_UNICODE
28717 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28718#else
28719 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28720#endif
28721 }
28722 return resultobj;
28723 fail:
28724 return NULL;
28725}
28726
28727
c32bde28 28728static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28729 PyObject *resultobj;
28730 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28731 wxString *arg2 = 0 ;
ae8162c8 28732 bool temp2 = false ;
d55e5bfc
RD
28733 PyObject * obj0 = 0 ;
28734 PyObject * obj1 = 0 ;
28735 char *kwnames[] = {
28736 (char *) "self",(char *) "url", NULL
28737 };
28738
28739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28742 {
28743 arg2 = wxString_in_helper(obj1);
28744 if (arg2 == NULL) SWIG_fail;
ae8162c8 28745 temp2 = true;
d55e5bfc
RD
28746 }
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 (arg1)->SetURL((wxString const &)*arg2);
28750
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 Py_INCREF(Py_None); resultobj = Py_None;
28755 {
28756 if (temp2)
28757 delete arg2;
28758 }
28759 return resultobj;
28760 fail:
28761 {
28762 if (temp2)
28763 delete arg2;
28764 }
28765 return NULL;
28766}
28767
28768
c32bde28 28769static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28770 PyObject *obj;
28771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28772 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
28773 Py_INCREF(obj);
28774 return Py_BuildValue((char *)"");
28775}
c32bde28 28776static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28777 PyObject *resultobj;
28778 wxMetafileDataObject *result;
28779 char *kwnames[] = {
28780 NULL
28781 };
28782
28783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
28784 {
28785 PyThreadState* __tstate = wxPyBeginAllowThreads();
28786 result = (wxMetafileDataObject *)new wxMetafileDataObject();
28787
28788 wxPyEndAllowThreads(__tstate);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
28792 return resultobj;
28793 fail:
28794 return NULL;
28795}
28796
28797
c32bde28 28798static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28799 PyObject *resultobj;
28800 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28801 wxMetafile *arg2 = 0 ;
28802 PyObject * obj0 = 0 ;
28803 PyObject * obj1 = 0 ;
28804 char *kwnames[] = {
28805 (char *) "self",(char *) "metafile", NULL
28806 };
28807
28808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28810 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28811 {
093d3ff1
RD
28812 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
28813 if (SWIG_arg_fail(2)) SWIG_fail;
28814 if (arg2 == NULL) {
28815 SWIG_null_ref("wxMetafile");
28816 }
28817 if (SWIG_arg_fail(2)) SWIG_fail;
28818 }
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
28821 (arg1)->SetMetafile((wxMetafile const &)*arg2);
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 Py_INCREF(Py_None); resultobj = Py_None;
28827 return resultobj;
28828 fail:
28829 return NULL;
28830}
28831
28832
c32bde28 28833static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28834 PyObject *resultobj;
28835 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28836 wxMetafile result;
28837 PyObject * obj0 = 0 ;
28838 char *kwnames[] = {
28839 (char *) "self", NULL
28840 };
28841
28842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
093d3ff1
RD
28843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
28848
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 {
28853 wxMetafile * resultptr;
093d3ff1 28854 resultptr = new wxMetafile((wxMetafile &)(result));
d55e5bfc
RD
28855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
28856 }
28857 return resultobj;
28858 fail:
28859 return NULL;
28860}
28861
28862
c32bde28 28863static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28864 PyObject *obj;
28865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28866 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
28867 Py_INCREF(obj);
28868 return Py_BuildValue((char *)"");
28869}
c32bde28 28870static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 28871 PyObject *resultobj;
093d3ff1 28872 wxDragResult arg1 ;
d55e5bfc
RD
28873 bool result;
28874 PyObject * obj0 = 0 ;
28875 char *kwnames[] = {
28876 (char *) "res", NULL
28877 };
28878
28879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28880 {
28881 arg1 = (wxDragResult)(SWIG_As_int(obj0));
28882 if (SWIG_arg_fail(1)) SWIG_fail;
28883 }
d55e5bfc
RD
28884 {
28885 PyThreadState* __tstate = wxPyBeginAllowThreads();
28886 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
28887
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 {
28892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28893 }
28894 return resultobj;
28895 fail:
28896 return NULL;
28897}
28898
28899
c32bde28 28900static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28901 PyObject *resultobj;
28902 wxWindow *arg1 = (wxWindow *) 0 ;
28903 wxCursor const &arg2_defvalue = wxNullCursor ;
28904 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28905 wxCursor const &arg3_defvalue = wxNullCursor ;
28906 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
28907 wxCursor const &arg4_defvalue = wxNullCursor ;
28908 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
28909 wxPyDropSource *result;
28910 PyObject * obj0 = 0 ;
28911 PyObject * obj1 = 0 ;
28912 PyObject * obj2 = 0 ;
28913 PyObject * obj3 = 0 ;
28914 char *kwnames[] = {
28915 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28916 };
28917
28918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28921 if (obj1) {
093d3ff1
RD
28922 {
28923 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28924 if (SWIG_arg_fail(2)) SWIG_fail;
28925 if (arg2 == NULL) {
28926 SWIG_null_ref("wxCursor");
28927 }
28928 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28929 }
28930 }
28931 if (obj2) {
093d3ff1
RD
28932 {
28933 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28934 if (SWIG_arg_fail(3)) SWIG_fail;
28935 if (arg3 == NULL) {
28936 SWIG_null_ref("wxCursor");
28937 }
28938 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28939 }
28940 }
28941 if (obj3) {
093d3ff1
RD
28942 {
28943 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28944 if (SWIG_arg_fail(4)) SWIG_fail;
28945 if (arg4 == NULL) {
28946 SWIG_null_ref("wxCursor");
28947 }
28948 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
28949 }
28950 }
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
28954
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
28959 return resultobj;
28960 fail:
28961 return NULL;
28962}
28963
28964
c32bde28 28965static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28966 PyObject *resultobj;
28967 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28968 PyObject *arg2 = (PyObject *) 0 ;
28969 PyObject *arg3 = (PyObject *) 0 ;
28970 int arg4 ;
28971 PyObject * obj0 = 0 ;
28972 PyObject * obj1 = 0 ;
28973 PyObject * obj2 = 0 ;
28974 PyObject * obj3 = 0 ;
28975 char *kwnames[] = {
28976 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28977 };
28978
28979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28982 arg2 = obj1;
28983 arg3 = obj2;
093d3ff1
RD
28984 {
28985 arg4 = (int)(SWIG_As_int(obj3));
28986 if (SWIG_arg_fail(4)) SWIG_fail;
28987 }
d55e5bfc
RD
28988 {
28989 PyThreadState* __tstate = wxPyBeginAllowThreads();
28990 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28991
28992 wxPyEndAllowThreads(__tstate);
28993 if (PyErr_Occurred()) SWIG_fail;
28994 }
28995 Py_INCREF(Py_None); resultobj = Py_None;
28996 return resultobj;
28997 fail:
28998 return NULL;
28999}
29000
29001
c32bde28 29002static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29003 PyObject *resultobj;
29004 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29005 PyObject * obj0 = 0 ;
29006 char *kwnames[] = {
29007 (char *) "self", NULL
29008 };
29009
29010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
29011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29013 {
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 delete arg1;
29016
29017 wxPyEndAllowThreads(__tstate);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 Py_INCREF(Py_None); resultobj = Py_None;
29021 return resultobj;
29022 fail:
29023 return NULL;
29024}
29025
29026
c32bde28 29027static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29028 PyObject *resultobj;
29029 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29030 wxDataObject *arg2 = 0 ;
29031 PyObject * obj0 = 0 ;
29032 PyObject * obj1 = 0 ;
29033 char *kwnames[] = {
29034 (char *) "self",(char *) "data", NULL
29035 };
29036
29037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29039 if (SWIG_arg_fail(1)) SWIG_fail;
29040 {
29041 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29042 if (SWIG_arg_fail(2)) SWIG_fail;
29043 if (arg2 == NULL) {
29044 SWIG_null_ref("wxDataObject");
29045 }
29046 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29047 }
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 (arg1)->SetData(*arg2);
29051
29052 wxPyEndAllowThreads(__tstate);
29053 if (PyErr_Occurred()) SWIG_fail;
29054 }
29055 Py_INCREF(Py_None); resultobj = Py_None;
29056 return resultobj;
29057 fail:
29058 return NULL;
29059}
29060
29061
c32bde28 29062static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29063 PyObject *resultobj;
29064 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29065 wxDataObject *result;
29066 PyObject * obj0 = 0 ;
29067 char *kwnames[] = {
29068 (char *) "self", NULL
29069 };
29070
29071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
29072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29074 {
29075 PyThreadState* __tstate = wxPyBeginAllowThreads();
29076 result = (wxDataObject *)(arg1)->GetDataObject();
29077
29078 wxPyEndAllowThreads(__tstate);
29079 if (PyErr_Occurred()) SWIG_fail;
29080 }
29081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
29082 return resultobj;
29083 fail:
29084 return NULL;
29085}
29086
29087
c32bde28 29088static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29089 PyObject *resultobj;
29090 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 29091 wxDragResult arg2 ;
d55e5bfc
RD
29092 wxCursor *arg3 = 0 ;
29093 PyObject * obj0 = 0 ;
29094 PyObject * obj1 = 0 ;
29095 PyObject * obj2 = 0 ;
29096 char *kwnames[] = {
29097 (char *) "self",(char *) "res",(char *) "cursor", NULL
29098 };
29099
29100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29102 if (SWIG_arg_fail(1)) SWIG_fail;
29103 {
29104 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29105 if (SWIG_arg_fail(2)) SWIG_fail;
29106 }
29107 {
29108 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29109 if (SWIG_arg_fail(3)) SWIG_fail;
29110 if (arg3 == NULL) {
29111 SWIG_null_ref("wxCursor");
29112 }
29113 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29114 }
29115 {
29116 PyThreadState* __tstate = wxPyBeginAllowThreads();
29117 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
29118
29119 wxPyEndAllowThreads(__tstate);
29120 if (PyErr_Occurred()) SWIG_fail;
29121 }
29122 Py_INCREF(Py_None); resultobj = Py_None;
29123 return resultobj;
29124 fail:
29125 return NULL;
29126}
29127
29128
c32bde28 29129static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29130 PyObject *resultobj;
29131 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29132 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 29133 wxDragResult result;
d55e5bfc
RD
29134 PyObject * obj0 = 0 ;
29135 PyObject * obj1 = 0 ;
29136 char *kwnames[] = {
29137 (char *) "self",(char *) "flags", NULL
29138 };
29139
29140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29143 if (obj1) {
093d3ff1
RD
29144 {
29145 arg2 = (int)(SWIG_As_int(obj1));
29146 if (SWIG_arg_fail(2)) SWIG_fail;
29147 }
d55e5bfc
RD
29148 }
29149 {
29150 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29151 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
29152
29153 wxPyEndAllowThreads(__tstate);
29154 if (PyErr_Occurred()) SWIG_fail;
29155 }
093d3ff1 29156 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29157 return resultobj;
29158 fail:
29159 return NULL;
29160}
29161
29162
c32bde28 29163static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29164 PyObject *resultobj;
29165 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 29166 wxDragResult arg2 ;
d55e5bfc
RD
29167 bool result;
29168 PyObject * obj0 = 0 ;
29169 PyObject * obj1 = 0 ;
29170 char *kwnames[] = {
29171 (char *) "self",(char *) "effect", NULL
29172 };
29173
29174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29176 if (SWIG_arg_fail(1)) SWIG_fail;
29177 {
29178 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29179 if (SWIG_arg_fail(2)) SWIG_fail;
29180 }
d55e5bfc
RD
29181 {
29182 PyThreadState* __tstate = wxPyBeginAllowThreads();
29183 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
29184
29185 wxPyEndAllowThreads(__tstate);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 }
29188 {
29189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29190 }
29191 return resultobj;
29192 fail:
29193 return NULL;
29194}
29195
29196
c32bde28 29197static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29198 PyObject *obj;
29199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29200 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
29201 Py_INCREF(obj);
29202 return Py_BuildValue((char *)"");
29203}
c32bde28 29204static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29205 PyObject *resultobj;
29206 wxDataObject *arg1 = (wxDataObject *) NULL ;
29207 wxPyDropTarget *result;
29208 PyObject * obj0 = 0 ;
29209 char *kwnames[] = {
29210 (char *) "dataObject", NULL
29211 };
29212
29213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
29214 if (obj0) {
093d3ff1
RD
29215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29217 }
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
29221
29222 wxPyEndAllowThreads(__tstate);
29223 if (PyErr_Occurred()) SWIG_fail;
29224 }
29225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
29226 return resultobj;
29227 fail:
29228 return NULL;
29229}
29230
29231
c32bde28 29232static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29233 PyObject *resultobj;
29234 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29235 PyObject *arg2 = (PyObject *) 0 ;
29236 PyObject *arg3 = (PyObject *) 0 ;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 PyObject * obj2 = 0 ;
29240 char *kwnames[] = {
29241 (char *) "self",(char *) "self",(char *) "_class", NULL
29242 };
29243
29244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29247 arg2 = obj1;
29248 arg3 = obj2;
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 (arg1)->_setCallbackInfo(arg2,arg3);
29252
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 Py_INCREF(Py_None); resultobj = Py_None;
29257 return resultobj;
29258 fail:
29259 return NULL;
29260}
29261
29262
c32bde28 29263static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29264 PyObject *resultobj;
29265 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29266 PyObject * obj0 = 0 ;
29267 char *kwnames[] = {
29268 (char *) "self", NULL
29269 };
29270
29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
29272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 delete arg1;
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 Py_INCREF(Py_None); resultobj = Py_None;
29282 return resultobj;
29283 fail:
29284 return NULL;
29285}
29286
29287
c32bde28 29288static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29289 PyObject *resultobj;
29290 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29291 wxDataObject *result;
29292 PyObject * obj0 = 0 ;
29293 char *kwnames[] = {
29294 (char *) "self", NULL
29295 };
29296
29297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
29298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (wxDataObject *)(arg1)->GetDataObject();
29303
29304 wxPyEndAllowThreads(__tstate);
29305 if (PyErr_Occurred()) SWIG_fail;
29306 }
29307 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
29308 return resultobj;
29309 fail:
29310 return NULL;
29311}
29312
29313
c32bde28 29314static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29315 PyObject *resultobj;
29316 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29317 wxDataObject *arg2 = (wxDataObject *) 0 ;
29318 PyObject * obj0 = 0 ;
29319 PyObject * obj1 = 0 ;
29320 char *kwnames[] = {
29321 (char *) "self",(char *) "dataObject", NULL
29322 };
29323
29324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29326 if (SWIG_arg_fail(1)) SWIG_fail;
29327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29328 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29329 {
29330 PyThreadState* __tstate = wxPyBeginAllowThreads();
29331 (arg1)->SetDataObject(arg2);
29332
29333 wxPyEndAllowThreads(__tstate);
29334 if (PyErr_Occurred()) SWIG_fail;
29335 }
29336 Py_INCREF(Py_None); resultobj = Py_None;
29337 return resultobj;
29338 fail:
29339 return NULL;
29340}
29341
29342
c32bde28 29343static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29344 PyObject *resultobj;
29345 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29346 int arg2 ;
29347 int arg3 ;
093d3ff1
RD
29348 wxDragResult arg4 ;
29349 wxDragResult result;
d55e5bfc
RD
29350 PyObject * obj0 = 0 ;
29351 PyObject * obj1 = 0 ;
29352 PyObject * obj2 = 0 ;
29353 PyObject * obj3 = 0 ;
29354 char *kwnames[] = {
29355 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29356 };
29357
29358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29360 if (SWIG_arg_fail(1)) SWIG_fail;
29361 {
29362 arg2 = (int)(SWIG_As_int(obj1));
29363 if (SWIG_arg_fail(2)) SWIG_fail;
29364 }
29365 {
29366 arg3 = (int)(SWIG_As_int(obj2));
29367 if (SWIG_arg_fail(3)) SWIG_fail;
29368 }
29369 {
29370 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29371 if (SWIG_arg_fail(4)) SWIG_fail;
29372 }
d55e5bfc
RD
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29375 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29376
29377 wxPyEndAllowThreads(__tstate);
29378 if (PyErr_Occurred()) SWIG_fail;
29379 }
093d3ff1 29380 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29381 return resultobj;
29382 fail:
29383 return NULL;
29384}
29385
29386
c32bde28 29387static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29388 PyObject *resultobj;
29389 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29390 int arg2 ;
29391 int arg3 ;
093d3ff1
RD
29392 wxDragResult arg4 ;
29393 wxDragResult result;
d55e5bfc
RD
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 PyObject * obj2 = 0 ;
29397 PyObject * obj3 = 0 ;
29398 char *kwnames[] = {
29399 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29400 };
29401
29402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29404 if (SWIG_arg_fail(1)) SWIG_fail;
29405 {
29406 arg2 = (int)(SWIG_As_int(obj1));
29407 if (SWIG_arg_fail(2)) SWIG_fail;
29408 }
29409 {
29410 arg3 = (int)(SWIG_As_int(obj2));
29411 if (SWIG_arg_fail(3)) SWIG_fail;
29412 }
29413 {
29414 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29415 if (SWIG_arg_fail(4)) SWIG_fail;
29416 }
d55e5bfc
RD
29417 {
29418 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29419 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29420
29421 wxPyEndAllowThreads(__tstate);
29422 if (PyErr_Occurred()) SWIG_fail;
29423 }
093d3ff1 29424 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29425 return resultobj;
29426 fail:
29427 return NULL;
29428}
29429
29430
c32bde28 29431static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29432 PyObject *resultobj;
29433 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29434 PyObject * obj0 = 0 ;
29435 char *kwnames[] = {
29436 (char *) "self", NULL
29437 };
29438
29439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29442 {
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 (arg1)->base_OnLeave();
29445
29446 wxPyEndAllowThreads(__tstate);
29447 if (PyErr_Occurred()) SWIG_fail;
29448 }
29449 Py_INCREF(Py_None); resultobj = Py_None;
29450 return resultobj;
29451 fail:
29452 return NULL;
29453}
29454
29455
c32bde28 29456static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29457 PyObject *resultobj;
29458 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29459 int arg2 ;
29460 int arg3 ;
29461 bool result;
29462 PyObject * obj0 = 0 ;
29463 PyObject * obj1 = 0 ;
29464 PyObject * obj2 = 0 ;
29465 char *kwnames[] = {
29466 (char *) "self",(char *) "x",(char *) "y", NULL
29467 };
29468
29469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29471 if (SWIG_arg_fail(1)) SWIG_fail;
29472 {
29473 arg2 = (int)(SWIG_As_int(obj1));
29474 if (SWIG_arg_fail(2)) SWIG_fail;
29475 }
29476 {
29477 arg3 = (int)(SWIG_As_int(obj2));
29478 if (SWIG_arg_fail(3)) SWIG_fail;
29479 }
d55e5bfc
RD
29480 {
29481 PyThreadState* __tstate = wxPyBeginAllowThreads();
29482 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29483
29484 wxPyEndAllowThreads(__tstate);
29485 if (PyErr_Occurred()) SWIG_fail;
29486 }
29487 {
29488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29489 }
29490 return resultobj;
29491 fail:
29492 return NULL;
29493}
29494
29495
c32bde28 29496static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29497 PyObject *resultobj;
29498 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29499 bool result;
29500 PyObject * obj0 = 0 ;
29501 char *kwnames[] = {
29502 (char *) "self", NULL
29503 };
29504
29505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29508 {
29509 PyThreadState* __tstate = wxPyBeginAllowThreads();
29510 result = (bool)(arg1)->GetData();
29511
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 {
29516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29517 }
29518 return resultobj;
29519 fail:
29520 return NULL;
29521}
29522
29523
0c549c5f
RD
29524static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29525 PyObject *resultobj;
29526 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29527 wxDragResult arg2 ;
29528 PyObject * obj0 = 0 ;
29529 PyObject * obj1 = 0 ;
29530 char *kwnames[] = {
29531 (char *) "self",(char *) "action", NULL
29532 };
29533
29534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
29535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29536 if (SWIG_arg_fail(1)) SWIG_fail;
29537 {
29538 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29539 if (SWIG_arg_fail(2)) SWIG_fail;
29540 }
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 (arg1)->SetDefaultAction((wxDragResult )arg2);
29544
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 Py_INCREF(Py_None); resultobj = Py_None;
29549 return resultobj;
29550 fail:
29551 return NULL;
29552}
29553
29554
29555static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29556 PyObject *resultobj;
29557 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29558 wxDragResult result;
29559 PyObject * obj0 = 0 ;
29560 char *kwnames[] = {
29561 (char *) "self", NULL
29562 };
29563
29564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
29565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29566 if (SWIG_arg_fail(1)) SWIG_fail;
29567 {
29568 PyThreadState* __tstate = wxPyBeginAllowThreads();
29569 result = (wxDragResult)(arg1)->GetDefaultAction();
29570
29571 wxPyEndAllowThreads(__tstate);
29572 if (PyErr_Occurred()) SWIG_fail;
29573 }
29574 resultobj = SWIG_From_int((result));
29575 return resultobj;
29576 fail:
29577 return NULL;
29578}
29579
29580
c32bde28 29581static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29582 PyObject *obj;
29583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29584 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
29585 Py_INCREF(obj);
29586 return Py_BuildValue((char *)"");
29587}
c32bde28 29588static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29589 PyObject *resultobj;
29590 wxPyTextDropTarget *result;
29591 char *kwnames[] = {
29592 NULL
29593 };
29594
29595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
29596 {
29597 PyThreadState* __tstate = wxPyBeginAllowThreads();
29598 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
29599
29600 wxPyEndAllowThreads(__tstate);
29601 if (PyErr_Occurred()) SWIG_fail;
29602 }
29603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
29604 return resultobj;
29605 fail:
29606 return NULL;
29607}
29608
29609
c32bde28 29610static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29611 PyObject *resultobj;
29612 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29613 PyObject *arg2 = (PyObject *) 0 ;
29614 PyObject *arg3 = (PyObject *) 0 ;
29615 PyObject * obj0 = 0 ;
29616 PyObject * obj1 = 0 ;
29617 PyObject * obj2 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "self",(char *) "_class", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29625 arg2 = obj1;
29626 arg3 = obj2;
29627 {
29628 PyThreadState* __tstate = wxPyBeginAllowThreads();
29629 (arg1)->_setCallbackInfo(arg2,arg3);
29630
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 Py_INCREF(Py_None); resultobj = Py_None;
29635 return resultobj;
29636 fail:
29637 return NULL;
29638}
29639
29640
c32bde28 29641static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29642 PyObject *resultobj;
29643 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29644 int arg2 ;
29645 int arg3 ;
093d3ff1
RD
29646 wxDragResult arg4 ;
29647 wxDragResult result;
d55e5bfc
RD
29648 PyObject * obj0 = 0 ;
29649 PyObject * obj1 = 0 ;
29650 PyObject * obj2 = 0 ;
29651 PyObject * obj3 = 0 ;
29652 char *kwnames[] = {
29653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29654 };
29655
29656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29658 if (SWIG_arg_fail(1)) SWIG_fail;
29659 {
29660 arg2 = (int)(SWIG_As_int(obj1));
29661 if (SWIG_arg_fail(2)) SWIG_fail;
29662 }
29663 {
29664 arg3 = (int)(SWIG_As_int(obj2));
29665 if (SWIG_arg_fail(3)) SWIG_fail;
29666 }
29667 {
29668 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29669 if (SWIG_arg_fail(4)) SWIG_fail;
29670 }
d55e5bfc
RD
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29673 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
093d3ff1 29678 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29679 return resultobj;
29680 fail:
29681 return NULL;
29682}
29683
29684
c32bde28 29685static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29686 PyObject *resultobj;
29687 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29688 int arg2 ;
29689 int arg3 ;
093d3ff1
RD
29690 wxDragResult arg4 ;
29691 wxDragResult result;
d55e5bfc
RD
29692 PyObject * obj0 = 0 ;
29693 PyObject * obj1 = 0 ;
29694 PyObject * obj2 = 0 ;
29695 PyObject * obj3 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail;
29703 {
29704 arg2 = (int)(SWIG_As_int(obj1));
29705 if (SWIG_arg_fail(2)) SWIG_fail;
29706 }
29707 {
29708 arg3 = (int)(SWIG_As_int(obj2));
29709 if (SWIG_arg_fail(3)) SWIG_fail;
29710 }
29711 {
29712 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29713 if (SWIG_arg_fail(4)) SWIG_fail;
29714 }
d55e5bfc
RD
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29717 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29718
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
093d3ff1 29722 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29723 return resultobj;
29724 fail:
29725 return NULL;
29726}
29727
29728
c32bde28 29729static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29730 PyObject *resultobj;
29731 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29732 PyObject * obj0 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 (arg1)->base_OnLeave();
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 Py_INCREF(Py_None); resultobj = Py_None;
29748 return resultobj;
29749 fail:
29750 return NULL;
29751}
29752
29753
c32bde28 29754static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29755 PyObject *resultobj;
29756 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29757 int arg2 ;
29758 int arg3 ;
29759 bool result;
29760 PyObject * obj0 = 0 ;
29761 PyObject * obj1 = 0 ;
29762 PyObject * obj2 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self",(char *) "x",(char *) "y", NULL
29765 };
29766
29767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29769 if (SWIG_arg_fail(1)) SWIG_fail;
29770 {
29771 arg2 = (int)(SWIG_As_int(obj1));
29772 if (SWIG_arg_fail(2)) SWIG_fail;
29773 }
29774 {
29775 arg3 = (int)(SWIG_As_int(obj2));
29776 if (SWIG_arg_fail(3)) SWIG_fail;
29777 }
d55e5bfc
RD
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29781
29782 wxPyEndAllowThreads(__tstate);
29783 if (PyErr_Occurred()) SWIG_fail;
29784 }
29785 {
29786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29787 }
29788 return resultobj;
29789 fail:
29790 return NULL;
29791}
29792
29793
c32bde28 29794static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29795 PyObject *resultobj;
29796 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29797 int arg2 ;
29798 int arg3 ;
093d3ff1
RD
29799 wxDragResult arg4 ;
29800 wxDragResult result;
d55e5bfc
RD
29801 PyObject * obj0 = 0 ;
29802 PyObject * obj1 = 0 ;
29803 PyObject * obj2 = 0 ;
29804 PyObject * obj3 = 0 ;
29805 char *kwnames[] = {
29806 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29807 };
29808
29809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29811 if (SWIG_arg_fail(1)) SWIG_fail;
29812 {
29813 arg2 = (int)(SWIG_As_int(obj1));
29814 if (SWIG_arg_fail(2)) SWIG_fail;
29815 }
29816 {
29817 arg3 = (int)(SWIG_As_int(obj2));
29818 if (SWIG_arg_fail(3)) SWIG_fail;
29819 }
29820 {
29821 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29822 if (SWIG_arg_fail(4)) SWIG_fail;
29823 }
d55e5bfc
RD
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29826 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
093d3ff1 29831 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29832 return resultobj;
29833 fail:
29834 return NULL;
29835}
29836
29837
c32bde28 29838static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29839 PyObject *obj;
29840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29841 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
29842 Py_INCREF(obj);
29843 return Py_BuildValue((char *)"");
29844}
c32bde28 29845static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29846 PyObject *resultobj;
29847 wxPyFileDropTarget *result;
29848 char *kwnames[] = {
29849 NULL
29850 };
29851
29852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
29853 {
29854 PyThreadState* __tstate = wxPyBeginAllowThreads();
29855 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
29856
29857 wxPyEndAllowThreads(__tstate);
29858 if (PyErr_Occurred()) SWIG_fail;
29859 }
29860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
29861 return resultobj;
29862 fail:
29863 return NULL;
29864}
29865
29866
c32bde28 29867static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29868 PyObject *resultobj;
29869 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29870 PyObject *arg2 = (PyObject *) 0 ;
29871 PyObject *arg3 = (PyObject *) 0 ;
29872 PyObject * obj0 = 0 ;
29873 PyObject * obj1 = 0 ;
29874 PyObject * obj2 = 0 ;
29875 char *kwnames[] = {
29876 (char *) "self",(char *) "self",(char *) "_class", NULL
29877 };
29878
29879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29882 arg2 = obj1;
29883 arg3 = obj2;
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 (arg1)->_setCallbackInfo(arg2,arg3);
29887
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 Py_INCREF(Py_None); resultobj = Py_None;
29892 return resultobj;
29893 fail:
29894 return NULL;
29895}
29896
29897
c32bde28 29898static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29899 PyObject *resultobj;
29900 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29901 int arg2 ;
29902 int arg3 ;
093d3ff1
RD
29903 wxDragResult arg4 ;
29904 wxDragResult result;
d55e5bfc
RD
29905 PyObject * obj0 = 0 ;
29906 PyObject * obj1 = 0 ;
29907 PyObject * obj2 = 0 ;
29908 PyObject * obj3 = 0 ;
29909 char *kwnames[] = {
29910 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29911 };
29912
29913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29915 if (SWIG_arg_fail(1)) SWIG_fail;
29916 {
29917 arg2 = (int)(SWIG_As_int(obj1));
29918 if (SWIG_arg_fail(2)) SWIG_fail;
29919 }
29920 {
29921 arg3 = (int)(SWIG_As_int(obj2));
29922 if (SWIG_arg_fail(3)) SWIG_fail;
29923 }
29924 {
29925 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29926 if (SWIG_arg_fail(4)) SWIG_fail;
29927 }
d55e5bfc
RD
29928 {
29929 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29930 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29931
29932 wxPyEndAllowThreads(__tstate);
29933 if (PyErr_Occurred()) SWIG_fail;
29934 }
093d3ff1 29935 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29936 return resultobj;
29937 fail:
29938 return NULL;
29939}
29940
29941
c32bde28 29942static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29943 PyObject *resultobj;
29944 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29945 int arg2 ;
29946 int arg3 ;
093d3ff1
RD
29947 wxDragResult arg4 ;
29948 wxDragResult result;
d55e5bfc
RD
29949 PyObject * obj0 = 0 ;
29950 PyObject * obj1 = 0 ;
29951 PyObject * obj2 = 0 ;
29952 PyObject * obj3 = 0 ;
29953 char *kwnames[] = {
29954 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29955 };
29956
29957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail;
29960 {
29961 arg2 = (int)(SWIG_As_int(obj1));
29962 if (SWIG_arg_fail(2)) SWIG_fail;
29963 }
29964 {
29965 arg3 = (int)(SWIG_As_int(obj2));
29966 if (SWIG_arg_fail(3)) SWIG_fail;
29967 }
29968 {
29969 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29970 if (SWIG_arg_fail(4)) SWIG_fail;
29971 }
d55e5bfc
RD
29972 {
29973 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29974 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29975
29976 wxPyEndAllowThreads(__tstate);
29977 if (PyErr_Occurred()) SWIG_fail;
29978 }
093d3ff1 29979 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29980 return resultobj;
29981 fail:
29982 return NULL;
29983}
29984
29985
c32bde28 29986static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29987 PyObject *resultobj;
29988 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29989 PyObject * obj0 = 0 ;
29990 char *kwnames[] = {
29991 (char *) "self", NULL
29992 };
29993
29994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29997 {
29998 PyThreadState* __tstate = wxPyBeginAllowThreads();
29999 (arg1)->base_OnLeave();
30000
30001 wxPyEndAllowThreads(__tstate);
30002 if (PyErr_Occurred()) SWIG_fail;
30003 }
30004 Py_INCREF(Py_None); resultobj = Py_None;
30005 return resultobj;
30006 fail:
30007 return NULL;
30008}
30009
30010
c32bde28 30011static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30012 PyObject *resultobj;
30013 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30014 int arg2 ;
30015 int arg3 ;
30016 bool result;
30017 PyObject * obj0 = 0 ;
30018 PyObject * obj1 = 0 ;
30019 PyObject * obj2 = 0 ;
30020 char *kwnames[] = {
30021 (char *) "self",(char *) "x",(char *) "y", NULL
30022 };
30023
30024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail;
30027 {
30028 arg2 = (int)(SWIG_As_int(obj1));
30029 if (SWIG_arg_fail(2)) SWIG_fail;
30030 }
30031 {
30032 arg3 = (int)(SWIG_As_int(obj2));
30033 if (SWIG_arg_fail(3)) SWIG_fail;
30034 }
d55e5bfc
RD
30035 {
30036 PyThreadState* __tstate = wxPyBeginAllowThreads();
30037 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
30038
30039 wxPyEndAllowThreads(__tstate);
30040 if (PyErr_Occurred()) SWIG_fail;
30041 }
30042 {
30043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30044 }
30045 return resultobj;
30046 fail:
30047 return NULL;
30048}
30049
30050
c32bde28 30051static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30052 PyObject *resultobj;
30053 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30054 int arg2 ;
30055 int arg3 ;
093d3ff1
RD
30056 wxDragResult arg4 ;
30057 wxDragResult result;
d55e5bfc
RD
30058 PyObject * obj0 = 0 ;
30059 PyObject * obj1 = 0 ;
30060 PyObject * obj2 = 0 ;
30061 PyObject * obj3 = 0 ;
30062 char *kwnames[] = {
30063 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30064 };
30065
30066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30068 if (SWIG_arg_fail(1)) SWIG_fail;
30069 {
30070 arg2 = (int)(SWIG_As_int(obj1));
30071 if (SWIG_arg_fail(2)) SWIG_fail;
30072 }
30073 {
30074 arg3 = (int)(SWIG_As_int(obj2));
30075 if (SWIG_arg_fail(3)) SWIG_fail;
30076 }
30077 {
30078 arg4 = (wxDragResult)(SWIG_As_int(obj3));
30079 if (SWIG_arg_fail(4)) SWIG_fail;
30080 }
d55e5bfc
RD
30081 {
30082 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30083 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
30084
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
093d3ff1 30088 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30089 return resultobj;
30090 fail:
30091 return NULL;
30092}
30093
30094
c32bde28 30095static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30096 PyObject *obj;
30097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30098 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
30099 Py_INCREF(obj);
30100 return Py_BuildValue((char *)"");
30101}
c32bde28 30102static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30103 PyObject *resultobj;
30104 wxClipboard *result;
30105 char *kwnames[] = {
30106 NULL
30107 };
30108
30109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
30110 {
30111 PyThreadState* __tstate = wxPyBeginAllowThreads();
30112 result = (wxClipboard *)new wxClipboard();
30113
30114 wxPyEndAllowThreads(__tstate);
30115 if (PyErr_Occurred()) SWIG_fail;
30116 }
30117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
30118 return resultobj;
30119 fail:
30120 return NULL;
30121}
30122
30123
c32bde28 30124static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30125 PyObject *resultobj;
30126 wxClipboard *arg1 = (wxClipboard *) 0 ;
30127 PyObject * obj0 = 0 ;
30128 char *kwnames[] = {
30129 (char *) "self", NULL
30130 };
30131
30132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
30133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30135 {
30136 PyThreadState* __tstate = wxPyBeginAllowThreads();
30137 delete arg1;
30138
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 Py_INCREF(Py_None); resultobj = Py_None;
30143 return resultobj;
30144 fail:
30145 return NULL;
30146}
30147
30148
c32bde28 30149static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30150 PyObject *resultobj;
30151 wxClipboard *arg1 = (wxClipboard *) 0 ;
30152 bool result;
30153 PyObject * obj0 = 0 ;
30154 char *kwnames[] = {
30155 (char *) "self", NULL
30156 };
30157
30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
30159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30161 {
30162 PyThreadState* __tstate = wxPyBeginAllowThreads();
30163 result = (bool)(arg1)->Open();
30164
30165 wxPyEndAllowThreads(__tstate);
30166 if (PyErr_Occurred()) SWIG_fail;
30167 }
30168 {
30169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30170 }
30171 return resultobj;
30172 fail:
30173 return NULL;
30174}
30175
30176
c32bde28 30177static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30178 PyObject *resultobj;
30179 wxClipboard *arg1 = (wxClipboard *) 0 ;
30180 PyObject * obj0 = 0 ;
30181 char *kwnames[] = {
30182 (char *) "self", NULL
30183 };
30184
30185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
30186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30188 {
30189 PyThreadState* __tstate = wxPyBeginAllowThreads();
30190 (arg1)->Close();
30191
30192 wxPyEndAllowThreads(__tstate);
30193 if (PyErr_Occurred()) SWIG_fail;
30194 }
30195 Py_INCREF(Py_None); resultobj = Py_None;
30196 return resultobj;
30197 fail:
30198 return NULL;
30199}
30200
30201
c32bde28 30202static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30203 PyObject *resultobj;
30204 wxClipboard *arg1 = (wxClipboard *) 0 ;
30205 bool result;
30206 PyObject * obj0 = 0 ;
30207 char *kwnames[] = {
30208 (char *) "self", NULL
30209 };
30210
30211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
30212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 result = (bool)((wxClipboard const *)arg1)->IsOpened();
30217
30218 wxPyEndAllowThreads(__tstate);
30219 if (PyErr_Occurred()) SWIG_fail;
30220 }
30221 {
30222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30223 }
30224 return resultobj;
30225 fail:
30226 return NULL;
30227}
30228
30229
c32bde28 30230static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30231 PyObject *resultobj;
30232 wxClipboard *arg1 = (wxClipboard *) 0 ;
30233 wxDataObject *arg2 = (wxDataObject *) 0 ;
30234 bool result;
30235 PyObject * obj0 = 0 ;
30236 PyObject * obj1 = 0 ;
30237 char *kwnames[] = {
30238 (char *) "self",(char *) "data", NULL
30239 };
30240
30241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30243 if (SWIG_arg_fail(1)) SWIG_fail;
30244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30245 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30246 {
30247 PyThreadState* __tstate = wxPyBeginAllowThreads();
30248 result = (bool)(arg1)->AddData(arg2);
30249
30250 wxPyEndAllowThreads(__tstate);
30251 if (PyErr_Occurred()) SWIG_fail;
30252 }
30253 {
30254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30255 }
30256 return resultobj;
30257 fail:
30258 return NULL;
30259}
30260
30261
c32bde28 30262static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30263 PyObject *resultobj;
30264 wxClipboard *arg1 = (wxClipboard *) 0 ;
30265 wxDataObject *arg2 = (wxDataObject *) 0 ;
30266 bool result;
30267 PyObject * obj0 = 0 ;
30268 PyObject * obj1 = 0 ;
30269 char *kwnames[] = {
30270 (char *) "self",(char *) "data", NULL
30271 };
30272
30273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30275 if (SWIG_arg_fail(1)) SWIG_fail;
30276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30277 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 result = (bool)(arg1)->SetData(arg2);
30281
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 {
30286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30287 }
30288 return resultobj;
30289 fail:
30290 return NULL;
30291}
30292
30293
c32bde28 30294static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30295 PyObject *resultobj;
30296 wxClipboard *arg1 = (wxClipboard *) 0 ;
30297 wxDataFormat *arg2 = 0 ;
30298 bool result;
30299 PyObject * obj0 = 0 ;
30300 PyObject * obj1 = 0 ;
30301 char *kwnames[] = {
30302 (char *) "self",(char *) "format", NULL
30303 };
30304
30305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30307 if (SWIG_arg_fail(1)) SWIG_fail;
30308 {
30309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
30310 if (SWIG_arg_fail(2)) SWIG_fail;
30311 if (arg2 == NULL) {
30312 SWIG_null_ref("wxDataFormat");
30313 }
30314 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30315 }
30316 {
30317 PyThreadState* __tstate = wxPyBeginAllowThreads();
30318 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
30319
30320 wxPyEndAllowThreads(__tstate);
30321 if (PyErr_Occurred()) SWIG_fail;
30322 }
30323 {
30324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30325 }
30326 return resultobj;
30327 fail:
30328 return NULL;
30329}
30330
30331
c32bde28 30332static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30333 PyObject *resultobj;
30334 wxClipboard *arg1 = (wxClipboard *) 0 ;
30335 wxDataObject *arg2 = 0 ;
30336 bool result;
30337 PyObject * obj0 = 0 ;
30338 PyObject * obj1 = 0 ;
30339 char *kwnames[] = {
30340 (char *) "self",(char *) "data", NULL
30341 };
30342
30343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30345 if (SWIG_arg_fail(1)) SWIG_fail;
30346 {
30347 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
30348 if (SWIG_arg_fail(2)) SWIG_fail;
30349 if (arg2 == NULL) {
30350 SWIG_null_ref("wxDataObject");
30351 }
30352 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30353 }
30354 {
30355 PyThreadState* __tstate = wxPyBeginAllowThreads();
30356 result = (bool)(arg1)->GetData(*arg2);
30357
30358 wxPyEndAllowThreads(__tstate);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 }
30361 {
30362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30363 }
30364 return resultobj;
30365 fail:
30366 return NULL;
30367}
30368
30369
c32bde28 30370static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30371 PyObject *resultobj;
30372 wxClipboard *arg1 = (wxClipboard *) 0 ;
30373 PyObject * obj0 = 0 ;
30374 char *kwnames[] = {
30375 (char *) "self", NULL
30376 };
30377
30378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
30379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30381 {
30382 PyThreadState* __tstate = wxPyBeginAllowThreads();
30383 (arg1)->Clear();
30384
30385 wxPyEndAllowThreads(__tstate);
30386 if (PyErr_Occurred()) SWIG_fail;
30387 }
30388 Py_INCREF(Py_None); resultobj = Py_None;
30389 return resultobj;
30390 fail:
30391 return NULL;
30392}
30393
30394
c32bde28 30395static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30396 PyObject *resultobj;
30397 wxClipboard *arg1 = (wxClipboard *) 0 ;
30398 bool result;
30399 PyObject * obj0 = 0 ;
30400 char *kwnames[] = {
30401 (char *) "self", NULL
30402 };
30403
30404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
30405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30407 {
30408 PyThreadState* __tstate = wxPyBeginAllowThreads();
30409 result = (bool)(arg1)->Flush();
30410
30411 wxPyEndAllowThreads(__tstate);
30412 if (PyErr_Occurred()) SWIG_fail;
30413 }
30414 {
30415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30416 }
30417 return resultobj;
30418 fail:
30419 return NULL;
30420}
30421
30422
c32bde28 30423static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30424 PyObject *resultobj;
30425 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 30426 bool arg2 = (bool) true ;
d55e5bfc
RD
30427 PyObject * obj0 = 0 ;
30428 PyObject * obj1 = 0 ;
30429 char *kwnames[] = {
30430 (char *) "self",(char *) "primary", NULL
30431 };
30432
30433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30436 if (obj1) {
093d3ff1
RD
30437 {
30438 arg2 = (bool)(SWIG_As_bool(obj1));
30439 if (SWIG_arg_fail(2)) SWIG_fail;
30440 }
d55e5bfc
RD
30441 }
30442 {
30443 PyThreadState* __tstate = wxPyBeginAllowThreads();
30444 (arg1)->UsePrimarySelection(arg2);
30445
30446 wxPyEndAllowThreads(__tstate);
30447 if (PyErr_Occurred()) SWIG_fail;
30448 }
30449 Py_INCREF(Py_None); resultobj = Py_None;
30450 return resultobj;
30451 fail:
30452 return NULL;
30453}
30454
30455
c32bde28 30456static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
30457 PyObject *resultobj;
30458 wxClipboard *result;
30459 char *kwnames[] = {
30460 NULL
30461 };
30462
30463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
30464 {
30465 PyThreadState* __tstate = wxPyBeginAllowThreads();
30466 result = (wxClipboard *)wxClipboard::Get();
30467
30468 wxPyEndAllowThreads(__tstate);
30469 if (PyErr_Occurred()) SWIG_fail;
30470 }
30471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
30472 return resultobj;
30473 fail:
30474 return NULL;
30475}
30476
30477
c32bde28 30478static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30479 PyObject *obj;
30480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30481 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
30482 Py_INCREF(obj);
30483 return Py_BuildValue((char *)"");
30484}
c32bde28 30485static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30486 PyObject *resultobj;
30487 wxClipboard *arg1 = (wxClipboard *) NULL ;
30488 wxClipboardLocker *result;
30489 PyObject * obj0 = 0 ;
30490 char *kwnames[] = {
30491 (char *) "clipboard", NULL
30492 };
30493
30494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
30495 if (obj0) {
093d3ff1
RD
30496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30498 }
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
30502
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
30507 return resultobj;
30508 fail:
30509 return NULL;
30510}
30511
30512
c32bde28 30513static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30514 PyObject *resultobj;
30515 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30516 PyObject * obj0 = 0 ;
30517 char *kwnames[] = {
30518 (char *) "self", NULL
30519 };
30520
30521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
30522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30524 {
30525 PyThreadState* __tstate = wxPyBeginAllowThreads();
30526 delete arg1;
30527
30528 wxPyEndAllowThreads(__tstate);
30529 if (PyErr_Occurred()) SWIG_fail;
30530 }
30531 Py_INCREF(Py_None); resultobj = Py_None;
30532 return resultobj;
30533 fail:
30534 return NULL;
30535}
30536
30537
c32bde28 30538static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30539 PyObject *resultobj;
30540 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30541 bool result;
30542 PyObject * obj0 = 0 ;
30543 char *kwnames[] = {
30544 (char *) "self", NULL
30545 };
30546
30547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
30548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30550 {
30551 PyThreadState* __tstate = wxPyBeginAllowThreads();
30552 result = (bool)wxClipboardLocker___nonzero__(arg1);
30553
30554 wxPyEndAllowThreads(__tstate);
30555 if (PyErr_Occurred()) SWIG_fail;
30556 }
30557 {
30558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30559 }
30560 return resultobj;
30561 fail:
30562 return NULL;
30563}
30564
30565
c32bde28 30566static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30567 PyObject *obj;
30568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30569 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
30570 Py_INCREF(obj);
30571 return Py_BuildValue((char *)"");
30572}
c32bde28 30573static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30574 PyObject *resultobj;
30575 int arg1 = (int) 0 ;
30576 int arg2 = (int) 0 ;
30577 int arg3 = (int) 0 ;
30578 int arg4 = (int) 0 ;
30579 wxVideoMode *result;
30580 PyObject * obj0 = 0 ;
30581 PyObject * obj1 = 0 ;
30582 PyObject * obj2 = 0 ;
30583 PyObject * obj3 = 0 ;
30584 char *kwnames[] = {
30585 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30586 };
30587
30588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30589 if (obj0) {
093d3ff1
RD
30590 {
30591 arg1 = (int)(SWIG_As_int(obj0));
30592 if (SWIG_arg_fail(1)) SWIG_fail;
30593 }
d55e5bfc
RD
30594 }
30595 if (obj1) {
093d3ff1
RD
30596 {
30597 arg2 = (int)(SWIG_As_int(obj1));
30598 if (SWIG_arg_fail(2)) SWIG_fail;
30599 }
d55e5bfc
RD
30600 }
30601 if (obj2) {
093d3ff1
RD
30602 {
30603 arg3 = (int)(SWIG_As_int(obj2));
30604 if (SWIG_arg_fail(3)) SWIG_fail;
30605 }
d55e5bfc
RD
30606 }
30607 if (obj3) {
093d3ff1
RD
30608 {
30609 arg4 = (int)(SWIG_As_int(obj3));
30610 if (SWIG_arg_fail(4)) SWIG_fail;
30611 }
d55e5bfc
RD
30612 }
30613 {
30614 PyThreadState* __tstate = wxPyBeginAllowThreads();
30615 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
30616
30617 wxPyEndAllowThreads(__tstate);
30618 if (PyErr_Occurred()) SWIG_fail;
30619 }
30620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
30621 return resultobj;
30622 fail:
30623 return NULL;
30624}
30625
30626
c32bde28 30627static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30628 PyObject *resultobj;
30629 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30630 PyObject * obj0 = 0 ;
30631 char *kwnames[] = {
30632 (char *) "self", NULL
30633 };
30634
30635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
30636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30638 {
30639 PyThreadState* __tstate = wxPyBeginAllowThreads();
30640 delete arg1;
30641
30642 wxPyEndAllowThreads(__tstate);
30643 if (PyErr_Occurred()) SWIG_fail;
30644 }
30645 Py_INCREF(Py_None); resultobj = Py_None;
30646 return resultobj;
30647 fail:
30648 return NULL;
30649}
30650
30651
c32bde28 30652static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30653 PyObject *resultobj;
30654 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30655 wxVideoMode *arg2 = 0 ;
30656 bool result;
30657 PyObject * obj0 = 0 ;
30658 PyObject * obj1 = 0 ;
30659 char *kwnames[] = {
30660 (char *) "self",(char *) "other", NULL
30661 };
30662
30663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30665 if (SWIG_arg_fail(1)) SWIG_fail;
30666 {
30667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30668 if (SWIG_arg_fail(2)) SWIG_fail;
30669 if (arg2 == NULL) {
30670 SWIG_null_ref("wxVideoMode");
30671 }
30672 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30673 }
30674 {
30675 PyThreadState* __tstate = wxPyBeginAllowThreads();
30676 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
30677
30678 wxPyEndAllowThreads(__tstate);
30679 if (PyErr_Occurred()) SWIG_fail;
30680 }
30681 {
30682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30683 }
30684 return resultobj;
30685 fail:
30686 return NULL;
30687}
30688
30689
c32bde28 30690static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30691 PyObject *resultobj;
30692 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30693 int result;
30694 PyObject * obj0 = 0 ;
30695 char *kwnames[] = {
30696 (char *) "self", NULL
30697 };
30698
30699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30702 {
30703 PyThreadState* __tstate = wxPyBeginAllowThreads();
30704 result = (int)((wxVideoMode const *)arg1)->GetWidth();
30705
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
093d3ff1
RD
30709 {
30710 resultobj = SWIG_From_int((int)(result));
30711 }
d55e5bfc
RD
30712 return resultobj;
30713 fail:
30714 return NULL;
30715}
30716
30717
c32bde28 30718static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30719 PyObject *resultobj;
30720 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30721 int result;
30722 PyObject * obj0 = 0 ;
30723 char *kwnames[] = {
30724 (char *) "self", NULL
30725 };
30726
30727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
30728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 result = (int)((wxVideoMode const *)arg1)->GetHeight();
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
093d3ff1
RD
30737 {
30738 resultobj = SWIG_From_int((int)(result));
30739 }
d55e5bfc
RD
30740 return resultobj;
30741 fail:
30742 return NULL;
30743}
30744
30745
c32bde28 30746static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30747 PyObject *resultobj;
30748 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30749 int result;
30750 PyObject * obj0 = 0 ;
30751 char *kwnames[] = {
30752 (char *) "self", NULL
30753 };
30754
30755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30757 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30758 {
30759 PyThreadState* __tstate = wxPyBeginAllowThreads();
30760 result = (int)((wxVideoMode const *)arg1)->GetDepth();
30761
30762 wxPyEndAllowThreads(__tstate);
30763 if (PyErr_Occurred()) SWIG_fail;
30764 }
093d3ff1
RD
30765 {
30766 resultobj = SWIG_From_int((int)(result));
30767 }
d55e5bfc
RD
30768 return resultobj;
30769 fail:
30770 return NULL;
30771}
30772
30773
c32bde28 30774static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30775 PyObject *resultobj;
30776 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30777 bool result;
30778 PyObject * obj0 = 0 ;
30779 char *kwnames[] = {
30780 (char *) "self", NULL
30781 };
30782
30783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30786 {
30787 PyThreadState* __tstate = wxPyBeginAllowThreads();
30788 result = (bool)((wxVideoMode const *)arg1)->IsOk();
30789
30790 wxPyEndAllowThreads(__tstate);
30791 if (PyErr_Occurred()) SWIG_fail;
30792 }
30793 {
30794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30795 }
30796 return resultobj;
30797 fail:
30798 return NULL;
30799}
30800
30801
c32bde28 30802static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30803 PyObject *resultobj;
30804 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30805 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30806 bool result;
30807 PyObject * obj0 = 0 ;
30808 PyObject * obj1 = 0 ;
30809 char *kwnames[] = {
30810 (char *) "self",(char *) "other", NULL
30811 };
30812
30813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail;
30816 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30817 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30818 {
30819 PyThreadState* __tstate = wxPyBeginAllowThreads();
30820 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
30821
30822 wxPyEndAllowThreads(__tstate);
30823 if (PyErr_Occurred()) SWIG_fail;
30824 }
30825 {
30826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30827 }
30828 return resultobj;
30829 fail:
30830 return NULL;
30831}
30832
30833
c32bde28 30834static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30835 PyObject *resultobj;
30836 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30837 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30838 bool result;
30839 PyObject * obj0 = 0 ;
30840 PyObject * obj1 = 0 ;
30841 char *kwnames[] = {
30842 (char *) "self",(char *) "other", NULL
30843 };
30844
30845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30847 if (SWIG_arg_fail(1)) SWIG_fail;
30848 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30849 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30850 {
30851 PyThreadState* __tstate = wxPyBeginAllowThreads();
30852 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
30853
30854 wxPyEndAllowThreads(__tstate);
30855 if (PyErr_Occurred()) SWIG_fail;
30856 }
30857 {
30858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30859 }
30860 return resultobj;
30861 fail:
30862 return NULL;
30863}
30864
30865
c32bde28 30866static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30867 PyObject *resultobj;
30868 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30869 int arg2 ;
30870 PyObject * obj0 = 0 ;
30871 PyObject * obj1 = 0 ;
30872 char *kwnames[] = {
30873 (char *) "self",(char *) "w", NULL
30874 };
30875
30876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30878 if (SWIG_arg_fail(1)) SWIG_fail;
30879 {
30880 arg2 = (int)(SWIG_As_int(obj1));
30881 if (SWIG_arg_fail(2)) SWIG_fail;
30882 }
d55e5bfc
RD
30883 if (arg1) (arg1)->w = arg2;
30884
30885 Py_INCREF(Py_None); resultobj = Py_None;
30886 return resultobj;
30887 fail:
30888 return NULL;
30889}
30890
30891
c32bde28 30892static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30893 PyObject *resultobj;
30894 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30895 int result;
30896 PyObject * obj0 = 0 ;
30897 char *kwnames[] = {
30898 (char *) "self", NULL
30899 };
30900
30901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30904 result = (int) ((arg1)->w);
30905
093d3ff1
RD
30906 {
30907 resultobj = SWIG_From_int((int)(result));
30908 }
d55e5bfc
RD
30909 return resultobj;
30910 fail:
30911 return NULL;
30912}
30913
30914
c32bde28 30915static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30916 PyObject *resultobj;
30917 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30918 int arg2 ;
30919 PyObject * obj0 = 0 ;
30920 PyObject * obj1 = 0 ;
30921 char *kwnames[] = {
30922 (char *) "self",(char *) "h", NULL
30923 };
30924
30925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30927 if (SWIG_arg_fail(1)) SWIG_fail;
30928 {
30929 arg2 = (int)(SWIG_As_int(obj1));
30930 if (SWIG_arg_fail(2)) SWIG_fail;
30931 }
d55e5bfc
RD
30932 if (arg1) (arg1)->h = arg2;
30933
30934 Py_INCREF(Py_None); resultobj = Py_None;
30935 return resultobj;
30936 fail:
30937 return NULL;
30938}
30939
30940
c32bde28 30941static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30942 PyObject *resultobj;
30943 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30944 int result;
30945 PyObject * obj0 = 0 ;
30946 char *kwnames[] = {
30947 (char *) "self", NULL
30948 };
30949
30950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30953 result = (int) ((arg1)->h);
30954
093d3ff1
RD
30955 {
30956 resultobj = SWIG_From_int((int)(result));
30957 }
d55e5bfc
RD
30958 return resultobj;
30959 fail:
30960 return NULL;
30961}
30962
30963
c32bde28 30964static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30965 PyObject *resultobj;
30966 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30967 int arg2 ;
30968 PyObject * obj0 = 0 ;
30969 PyObject * obj1 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "self",(char *) "bpp", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail;
30977 {
30978 arg2 = (int)(SWIG_As_int(obj1));
30979 if (SWIG_arg_fail(2)) SWIG_fail;
30980 }
d55e5bfc
RD
30981 if (arg1) (arg1)->bpp = arg2;
30982
30983 Py_INCREF(Py_None); resultobj = Py_None;
30984 return resultobj;
30985 fail:
30986 return NULL;
30987}
30988
30989
c32bde28 30990static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30991 PyObject *resultobj;
30992 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30993 int result;
30994 PyObject * obj0 = 0 ;
30995 char *kwnames[] = {
30996 (char *) "self", NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
31000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31002 result = (int) ((arg1)->bpp);
31003
093d3ff1
RD
31004 {
31005 resultobj = SWIG_From_int((int)(result));
31006 }
d55e5bfc
RD
31007 return resultobj;
31008 fail:
31009 return NULL;
31010}
31011
31012
c32bde28 31013static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31014 PyObject *resultobj;
31015 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31016 int arg2 ;
31017 PyObject * obj0 = 0 ;
31018 PyObject * obj1 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self",(char *) "refresh", NULL
31021 };
31022
31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail;
31026 {
31027 arg2 = (int)(SWIG_As_int(obj1));
31028 if (SWIG_arg_fail(2)) SWIG_fail;
31029 }
d55e5bfc
RD
31030 if (arg1) (arg1)->refresh = arg2;
31031
31032 Py_INCREF(Py_None); resultobj = Py_None;
31033 return resultobj;
31034 fail:
31035 return NULL;
31036}
31037
31038
c32bde28 31039static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31040 PyObject *resultobj;
31041 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31042 int result;
31043 PyObject * obj0 = 0 ;
31044 char *kwnames[] = {
31045 (char *) "self", NULL
31046 };
31047
31048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
31049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31051 result = (int) ((arg1)->refresh);
31052
093d3ff1
RD
31053 {
31054 resultobj = SWIG_From_int((int)(result));
31055 }
d55e5bfc
RD
31056 return resultobj;
31057 fail:
31058 return NULL;
31059}
31060
31061
c32bde28 31062static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31063 PyObject *obj;
31064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31065 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
31066 Py_INCREF(obj);
31067 return Py_BuildValue((char *)"");
31068}
c32bde28 31069static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
31070 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
31071 return 1;
31072}
31073
31074
093d3ff1 31075static PyObject *_wrap_DefaultVideoMode_get(void) {
d55e5bfc
RD
31076 PyObject *pyobj;
31077
31078 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
31079 return pyobj;
31080}
31081
31082
c32bde28 31083static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31084 PyObject *resultobj;
31085 size_t arg1 = (size_t) 0 ;
31086 wxDisplay *result;
31087 PyObject * obj0 = 0 ;
31088 char *kwnames[] = {
31089 (char *) "index", NULL
31090 };
31091
31092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
31093 if (obj0) {
093d3ff1
RD
31094 {
31095 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
31096 if (SWIG_arg_fail(1)) SWIG_fail;
31097 }
d55e5bfc
RD
31098 }
31099 {
31100 PyThreadState* __tstate = wxPyBeginAllowThreads();
31101 result = (wxDisplay *)new wxDisplay(arg1);
31102
31103 wxPyEndAllowThreads(__tstate);
31104 if (PyErr_Occurred()) SWIG_fail;
31105 }
31106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
31107 return resultobj;
31108 fail:
31109 return NULL;
31110}
31111
31112
c32bde28 31113static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31114 PyObject *resultobj;
31115 wxDisplay *arg1 = (wxDisplay *) 0 ;
31116 PyObject * obj0 = 0 ;
31117 char *kwnames[] = {
31118 (char *) "self", NULL
31119 };
31120
31121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
31122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31124 {
31125 PyThreadState* __tstate = wxPyBeginAllowThreads();
31126 delete arg1;
31127
31128 wxPyEndAllowThreads(__tstate);
31129 if (PyErr_Occurred()) SWIG_fail;
31130 }
31131 Py_INCREF(Py_None); resultobj = Py_None;
31132 return resultobj;
31133 fail:
31134 return NULL;
31135}
31136
31137
c32bde28 31138static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31139 PyObject *resultobj;
31140 size_t result;
31141 char *kwnames[] = {
31142 NULL
31143 };
31144
31145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
31146 {
31147 PyThreadState* __tstate = wxPyBeginAllowThreads();
31148 result = (size_t)wxDisplay::GetCount();
31149
31150 wxPyEndAllowThreads(__tstate);
31151 if (PyErr_Occurred()) SWIG_fail;
31152 }
093d3ff1
RD
31153 {
31154 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
31155 }
d55e5bfc
RD
31156 return resultobj;
31157 fail:
31158 return NULL;
31159}
31160
31161
c32bde28 31162static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31163 PyObject *resultobj;
31164 wxPoint *arg1 = 0 ;
31165 int result;
31166 wxPoint temp1 ;
31167 PyObject * obj0 = 0 ;
31168 char *kwnames[] = {
31169 (char *) "pt", NULL
31170 };
31171
31172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
31173 {
31174 arg1 = &temp1;
31175 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
31176 }
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
31180
31181 wxPyEndAllowThreads(__tstate);
31182 if (PyErr_Occurred()) SWIG_fail;
31183 }
093d3ff1
RD
31184 {
31185 resultobj = SWIG_From_int((int)(result));
31186 }
d55e5bfc
RD
31187 return resultobj;
31188 fail:
31189 return NULL;
31190}
31191
31192
c32bde28 31193static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31194 PyObject *resultobj;
31195 wxWindow *arg1 = (wxWindow *) 0 ;
31196 int result;
31197 PyObject * obj0 = 0 ;
31198 char *kwnames[] = {
31199 (char *) "window", NULL
31200 };
31201
31202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
31203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31205 {
31206 PyThreadState* __tstate = wxPyBeginAllowThreads();
31207 result = (int)wxDisplay::GetFromWindow(arg1);
31208
31209 wxPyEndAllowThreads(__tstate);
31210 if (PyErr_Occurred()) SWIG_fail;
31211 }
093d3ff1
RD
31212 {
31213 resultobj = SWIG_From_int((int)(result));
31214 }
d55e5bfc
RD
31215 return resultobj;
31216 fail:
31217 return NULL;
31218}
31219
31220
c32bde28 31221static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31222 PyObject *resultobj;
31223 wxDisplay *arg1 = (wxDisplay *) 0 ;
31224 bool result;
31225 PyObject * obj0 = 0 ;
31226 char *kwnames[] = {
31227 (char *) "self", NULL
31228 };
31229
31230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
31231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31233 {
31234 PyThreadState* __tstate = wxPyBeginAllowThreads();
31235 result = (bool)((wxDisplay const *)arg1)->IsOk();
31236
31237 wxPyEndAllowThreads(__tstate);
31238 if (PyErr_Occurred()) SWIG_fail;
31239 }
31240 {
31241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31242 }
31243 return resultobj;
31244 fail:
31245 return NULL;
31246}
31247
31248
c32bde28 31249static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31250 PyObject *resultobj;
31251 wxDisplay *arg1 = (wxDisplay *) 0 ;
31252 wxRect result;
31253 PyObject * obj0 = 0 ;
31254 char *kwnames[] = {
31255 (char *) "self", NULL
31256 };
31257
31258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
31259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31261 {
31262 PyThreadState* __tstate = wxPyBeginAllowThreads();
31263 result = ((wxDisplay const *)arg1)->GetGeometry();
31264
31265 wxPyEndAllowThreads(__tstate);
31266 if (PyErr_Occurred()) SWIG_fail;
31267 }
31268 {
31269 wxRect * resultptr;
093d3ff1 31270 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
31271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31272 }
31273 return resultobj;
31274 fail:
31275 return NULL;
31276}
31277
31278
c32bde28 31279static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31280 PyObject *resultobj;
31281 wxDisplay *arg1 = (wxDisplay *) 0 ;
31282 wxString result;
31283 PyObject * obj0 = 0 ;
31284 char *kwnames[] = {
31285 (char *) "self", NULL
31286 };
31287
31288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
31289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31291 {
31292 PyThreadState* __tstate = wxPyBeginAllowThreads();
31293 result = ((wxDisplay const *)arg1)->GetName();
31294
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 {
31299#if wxUSE_UNICODE
31300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31301#else
31302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31303#endif
31304 }
31305 return resultobj;
31306 fail:
31307 return NULL;
31308}
31309
31310
c32bde28 31311static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31312 PyObject *resultobj;
31313 wxDisplay *arg1 = (wxDisplay *) 0 ;
31314 bool result;
31315 PyObject * obj0 = 0 ;
31316 char *kwnames[] = {
31317 (char *) "self", NULL
31318 };
31319
31320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
31321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31323 {
31324 PyThreadState* __tstate = wxPyBeginAllowThreads();
31325 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
31326
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 {
31331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31332 }
31333 return resultobj;
31334 fail:
31335 return NULL;
31336}
31337
31338
c32bde28 31339static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31340 PyObject *resultobj;
31341 wxDisplay *arg1 = (wxDisplay *) 0 ;
31342 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31343 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31344 PyObject *result;
31345 PyObject * obj0 = 0 ;
31346 PyObject * obj1 = 0 ;
31347 char *kwnames[] = {
31348 (char *) "self",(char *) "mode", NULL
31349 };
31350
31351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31354 if (obj1) {
093d3ff1
RD
31355 {
31356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31357 if (SWIG_arg_fail(2)) SWIG_fail;
31358 if (arg2 == NULL) {
31359 SWIG_null_ref("wxVideoMode");
31360 }
31361 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31362 }
31363 }
31364 {
31365 PyThreadState* __tstate = wxPyBeginAllowThreads();
31366 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
31367
31368 wxPyEndAllowThreads(__tstate);
31369 if (PyErr_Occurred()) SWIG_fail;
31370 }
31371 resultobj = result;
31372 return resultobj;
31373 fail:
31374 return NULL;
31375}
31376
31377
c32bde28 31378static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31379 PyObject *resultobj;
31380 wxDisplay *arg1 = (wxDisplay *) 0 ;
31381 wxVideoMode result;
31382 PyObject * obj0 = 0 ;
31383 char *kwnames[] = {
31384 (char *) "self", NULL
31385 };
31386
31387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31390 {
31391 PyThreadState* __tstate = wxPyBeginAllowThreads();
31392 result = ((wxDisplay const *)arg1)->GetCurrentMode();
31393
31394 wxPyEndAllowThreads(__tstate);
31395 if (PyErr_Occurred()) SWIG_fail;
31396 }
31397 {
31398 wxVideoMode * resultptr;
093d3ff1 31399 resultptr = new wxVideoMode((wxVideoMode &)(result));
d55e5bfc
RD
31400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
31401 }
31402 return resultobj;
31403 fail:
31404 return NULL;
31405}
31406
31407
c32bde28 31408static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31409 PyObject *resultobj;
31410 wxDisplay *arg1 = (wxDisplay *) 0 ;
31411 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31412 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31413 bool result;
31414 PyObject * obj0 = 0 ;
31415 PyObject * obj1 = 0 ;
31416 char *kwnames[] = {
31417 (char *) "self",(char *) "mode", NULL
31418 };
31419
31420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31423 if (obj1) {
093d3ff1
RD
31424 {
31425 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31426 if (SWIG_arg_fail(2)) SWIG_fail;
31427 if (arg2 == NULL) {
31428 SWIG_null_ref("wxVideoMode");
31429 }
31430 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31431 }
31432 }
31433 {
31434 PyThreadState* __tstate = wxPyBeginAllowThreads();
31435 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
31436
31437 wxPyEndAllowThreads(__tstate);
31438 if (PyErr_Occurred()) SWIG_fail;
31439 }
31440 {
31441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31442 }
31443 return resultobj;
31444 fail:
31445 return NULL;
31446}
31447
31448
c32bde28 31449static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31450 PyObject *resultobj;
31451 wxDisplay *arg1 = (wxDisplay *) 0 ;
31452 PyObject * obj0 = 0 ;
31453 char *kwnames[] = {
31454 (char *) "self", NULL
31455 };
31456
31457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 (arg1)->ResetMode();
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 Py_INCREF(Py_None); resultobj = Py_None;
31468 return resultobj;
31469 fail:
31470 return NULL;
31471}
31472
31473
c32bde28 31474static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31475 PyObject *obj;
31476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31477 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
31478 Py_INCREF(obj);
31479 return Py_BuildValue((char *)"");
31480}
c1cb24a4
RD
31481static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31482 PyObject *resultobj;
31483 wxStandardPaths *result;
31484 char *kwnames[] = {
31485 NULL
31486 };
31487
31488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8fb0e70a 31491 result = (wxStandardPaths *)StandardPaths_Get();
c1cb24a4
RD
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
31496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
31497 return resultobj;
31498 fail:
31499 return NULL;
31500}
31501
31502
31503static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31504 PyObject *resultobj;
31505 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31506 wxString result;
31507 PyObject * obj0 = 0 ;
31508 char *kwnames[] = {
31509 (char *) "self", NULL
31510 };
31511
31512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31514 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31515 {
31516 PyThreadState* __tstate = wxPyBeginAllowThreads();
31517 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
31518
31519 wxPyEndAllowThreads(__tstate);
31520 if (PyErr_Occurred()) SWIG_fail;
31521 }
31522 {
31523#if wxUSE_UNICODE
31524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31525#else
31526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31527#endif
31528 }
31529 return resultobj;
31530 fail:
31531 return NULL;
31532}
31533
31534
31535static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31536 PyObject *resultobj;
31537 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31538 wxString result;
31539 PyObject * obj0 = 0 ;
31540 char *kwnames[] = {
31541 (char *) "self", NULL
31542 };
31543
31544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31546 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31547 {
31548 PyThreadState* __tstate = wxPyBeginAllowThreads();
31549 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
31550
31551 wxPyEndAllowThreads(__tstate);
31552 if (PyErr_Occurred()) SWIG_fail;
31553 }
31554 {
31555#if wxUSE_UNICODE
31556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31557#else
31558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31559#endif
31560 }
31561 return resultobj;
31562 fail:
31563 return NULL;
31564}
31565
31566
31567static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31568 PyObject *resultobj;
31569 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31570 wxString result;
31571 PyObject * obj0 = 0 ;
31572 char *kwnames[] = {
31573 (char *) "self", NULL
31574 };
31575
31576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31578 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31579 {
31580 PyThreadState* __tstate = wxPyBeginAllowThreads();
31581 result = ((wxStandardPaths const *)arg1)->GetDataDir();
31582
31583 wxPyEndAllowThreads(__tstate);
31584 if (PyErr_Occurred()) SWIG_fail;
31585 }
31586 {
31587#if wxUSE_UNICODE
31588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31589#else
31590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31591#endif
31592 }
31593 return resultobj;
31594 fail:
31595 return NULL;
31596}
31597
31598
31599static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31600 PyObject *resultobj;
31601 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31602 wxString result;
31603 PyObject * obj0 = 0 ;
31604 char *kwnames[] = {
31605 (char *) "self", NULL
31606 };
31607
31608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31610 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31611 {
31612 PyThreadState* __tstate = wxPyBeginAllowThreads();
31613 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
31614
31615 wxPyEndAllowThreads(__tstate);
31616 if (PyErr_Occurred()) SWIG_fail;
31617 }
31618 {
31619#if wxUSE_UNICODE
31620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31621#else
31622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31623#endif
31624 }
31625 return resultobj;
31626 fail:
31627 return NULL;
31628}
31629
31630
31631static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31632 PyObject *resultobj;
31633 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31634 wxString result;
31635 PyObject * obj0 = 0 ;
31636 char *kwnames[] = {
31637 (char *) "self", NULL
31638 };
31639
31640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31642 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31643 {
31644 PyThreadState* __tstate = wxPyBeginAllowThreads();
31645 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
31646
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
31650 {
31651#if wxUSE_UNICODE
31652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31653#else
31654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31655#endif
31656 }
31657 return resultobj;
31658 fail:
31659 return NULL;
31660}
31661
31662
31663static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31664 PyObject *resultobj;
31665 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31666 wxString result;
31667 PyObject * obj0 = 0 ;
31668 char *kwnames[] = {
31669 (char *) "self", NULL
31670 };
31671
31672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31674 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31675 {
31676 PyThreadState* __tstate = wxPyBeginAllowThreads();
31677 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
31678
31679 wxPyEndAllowThreads(__tstate);
31680 if (PyErr_Occurred()) SWIG_fail;
31681 }
31682 {
31683#if wxUSE_UNICODE
31684 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31685#else
31686 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31687#endif
31688 }
31689 return resultobj;
31690 fail:
31691 return NULL;
31692}
31693
31694
31695static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
31696 PyObject *resultobj;
31697 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31698 wxString result;
31699 PyObject * obj0 = 0 ;
31700 char *kwnames[] = {
31701 (char *) "self", NULL
31702 };
31703
31704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31706 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31707 {
31708 PyThreadState* __tstate = wxPyBeginAllowThreads();
31709 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
31710
31711 wxPyEndAllowThreads(__tstate);
31712 if (PyErr_Occurred()) SWIG_fail;
31713 }
31714 {
31715#if wxUSE_UNICODE
31716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31717#else
31718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31719#endif
31720 }
31721 return resultobj;
31722 fail:
31723 return NULL;
31724}
31725
31726
31727static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31728 PyObject *resultobj;
31729 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31730 wxString *arg2 = 0 ;
31731 bool temp2 = false ;
31732 PyObject * obj0 = 0 ;
31733 PyObject * obj1 = 0 ;
31734 char *kwnames[] = {
31735 (char *) "self",(char *) "prefix", NULL
31736 };
31737
31738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31740 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31741 {
31742 arg2 = wxString_in_helper(obj1);
31743 if (arg2 == NULL) SWIG_fail;
31744 temp2 = true;
31745 }
31746 {
31747 PyThreadState* __tstate = wxPyBeginAllowThreads();
31748 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
31749
31750 wxPyEndAllowThreads(__tstate);
31751 if (PyErr_Occurred()) SWIG_fail;
31752 }
31753 Py_INCREF(Py_None); resultobj = Py_None;
31754 {
31755 if (temp2)
31756 delete arg2;
31757 }
31758 return resultobj;
31759 fail:
31760 {
31761 if (temp2)
31762 delete arg2;
31763 }
31764 return NULL;
31765}
31766
31767
31768static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31769 PyObject *resultobj;
31770 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31771 wxString result;
31772 PyObject * obj0 = 0 ;
31773 char *kwnames[] = {
31774 (char *) "self", NULL
31775 };
31776
31777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
31778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31779 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31780 {
31781 PyThreadState* __tstate = wxPyBeginAllowThreads();
31782 result = wxStandardPaths_GetInstallPrefix(arg1);
31783
31784 wxPyEndAllowThreads(__tstate);
31785 if (PyErr_Occurred()) SWIG_fail;
31786 }
31787 {
31788#if wxUSE_UNICODE
31789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31790#else
31791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31792#endif
31793 }
31794 return resultobj;
31795 fail:
31796 return NULL;
31797}
31798
31799
31800static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
31801 PyObject *obj;
31802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31803 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
31804 Py_INCREF(obj);
31805 return Py_BuildValue((char *)"");
31806}
d55e5bfc 31807static PyMethodDef SwigMethods[] = {
093d3ff1
RD
31808 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
31815 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
396fb509 31821 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31822 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
31823 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31864 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 31874 { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31875 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 31880 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31881 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
31888 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
31896 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31897 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31898 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31911 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31913 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31914 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
31917 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
31920 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
31923 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
31929 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
31943 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 31949 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31950 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
31955 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
31958 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
31972 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
31975 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
31976 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
31979 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
32006 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
32008 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
32010 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
32012 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
32019 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
be9b1dca
RD
32025 { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
32029 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
32043 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
32047 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
32050 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
32067 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
32075 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
32122 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
32129 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
32140 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
32150 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
32166 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32172 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
32182 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
32196 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f 32203 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32204 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
32206 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
32208 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
32249 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
32252 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
32254 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
32255 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
32259 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32263 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32266 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
32268 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32270 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
32271 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
32276 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
32277 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
32284 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32285 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32307 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32309 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32310 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32311 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32312 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32314 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
32321 { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32325 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
32327 { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32329 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
32330 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
32331 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32336 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32338 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32339 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32340 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32341 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32342 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32343 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
32344 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
32346 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
32351 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
32354 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
32358 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
32359 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
32360 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
32361 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32367 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
32368 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
32371 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32373 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
32376 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
32377 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
32378 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
32380 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
32381 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
32382 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
32383 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
32384 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32386 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32387 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32388 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32389 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32390 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32392 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32393 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
32395 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32402 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32403 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32404 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32405 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32406 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32408 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32409 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
32410 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
32411 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
32412 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32413 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
32414 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32415 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32416 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32417 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
32418 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
32419 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
32420 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
32421 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32422 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
32423 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32424 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32428 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
32430 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
32432 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
32433 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32434 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32435 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32436 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32437 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32438 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32439 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32440 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32441 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
32442 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32443 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32445 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32446 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32447 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32448 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32449 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32450 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32451 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32452 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32453 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32454 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32455 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32456 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
32457 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
32458 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
32459 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
32460 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
32461 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32462 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32463 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32464 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
32465 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
32466 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
32467 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
32468 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
32469 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
32470 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
32471 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32472 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32473 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
32474 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32475 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32476 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
32477 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32478 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32479 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
32480 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32481 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32482 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32483 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32484 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32485 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32486 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
32487 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32488 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32489 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
32490 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
32491 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32492 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
32493 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32494 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
32495 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
32497 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
32498 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32499 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32500 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
32501 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32502 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32503 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32504 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
32505 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32506 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32507 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
32508 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32509 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
32510 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
32511 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 32512 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
32513 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32514 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32515 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32516 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
32517 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32518 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32519 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32520 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
32521 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32522 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32523 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32524 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
32525 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
32526 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32527 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32528 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32529 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32530 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32531 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32532 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32533 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
32534 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
32535 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32536 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32537 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32538 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32539 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32540 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32541 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32542 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32543 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32544 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f
RD
32545 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
32546 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32547 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
32548 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32549 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32550 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32551 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32552 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32553 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32554 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32555 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
32556 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32557 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32558 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32559 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32560 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32561 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32562 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32563 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
32564 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32565 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32566 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32567 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
32568 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32569 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
32570 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32571 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32572 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32573 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
32574 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32575 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
32576 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32577 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
32578 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32579 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32580 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
32581 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
32582 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32583 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32584 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
32585 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
32586 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32587 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32588 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32589 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32590 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32591 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
32592 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
32593 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
32594 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
32595 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
32596 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
32597 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
32598 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
32599 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
32600 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32601 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32602 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
32603 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32604 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32605 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32606 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
32607 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
32608 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
32609 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
32610 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
32611 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
32612 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
32613 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
32614 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32615 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32616 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32617 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32618 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32619 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32620 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32621 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
32622 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32623 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32624 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 32625 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32626};
32627
32628
32629/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32630
32631static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32632 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32633}
32634static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32635 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32636}
32637static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32638 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32639}
32640static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32641 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32642}
32643static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32644 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32645}
32646static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32647 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32648}
32649static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
32650 return (void *)((wxEvent *) ((wxTimerEvent *) x));
32651}
32652static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32653 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32654}
32655static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32657}
32658static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32659 return (void *)((wxEvent *) ((wxPyEvent *) x));
32660}
32661static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32663}
32664static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
32665 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
32666}
32667static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32668 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32669}
32670static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32672}
32673static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32674 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32675}
32676static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32677 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32678}
32679static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32680 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32681}
32682static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32683 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32684}
32685static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32686 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32687}
32688static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32689 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32690}
53aa7709
RD
32691static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32692 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32693}
d55e5bfc
RD
32694static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32695 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32696}
32697static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32698 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32699}
32700static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32702}
32703static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32704 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32705}
32706static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32707 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32708}
32709static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32710 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32711}
32712static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32713 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32714}
32715static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32716 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32717}
32718static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32719 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32720}
32721static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32723}
32724static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
32725 return (void *)((wxEvent *) ((wxProcessEvent *) x));
32726}
32727static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32728 return (void *)((wxEvent *) ((wxShowEvent *) x));
32729}
32730static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32731 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32732}
32733static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32734 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32735}
32736static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32737 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32738}
32739static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32740 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32741}
32742static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32743 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32744}
32745static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32746 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32747}
32748static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
32749 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
32750}
32751static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
32752 return (void *)((wxConfigBase *) ((wxConfig *) x));
32753}
32754static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
32755 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32756}
32757static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
32758 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
32759}
32760static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
32761 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
32762}
32763static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
32764 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32765}
32766static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
32767 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
32768}
32769static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
32770 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
32771}
32772static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
32773 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
32774}
32775static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
32776 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32777}
32778static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
32779 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32780}
32781static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
32782 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
32783}
32784static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
32785 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
32786}
32787static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32788 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
32789}
32790static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
32791 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32792}
32793static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
32794 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
32795}
32796static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
32797 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32798}
32799static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32800 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
32801}
32802static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32803 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
32804}
32805static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32806 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32807}
32808static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32809 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32810}
32811static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
32812 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
32813}
32814static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
32815 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
32816}
32817static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
32818 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32819}
32820static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32821 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32822}
32823static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32824 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32825}
32826static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32827 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32828}
32829static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32830 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32831}
32832static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
32833 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
32834}
32835static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32836 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32837}
32838static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32839 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32840}
32841static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32842 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32843}
32844static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32845 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32846}
32847static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
32848 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
32849}
32850static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
32851 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
32852}
32853static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32855}
32856static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32858}
32859static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) ((wxSizerItem *) x));
32861}
32862static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32864}
32865static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32867}
32868static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32870}
32871static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32873}
32874static void *_p_wxSizerTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) ((wxSizer *) x));
32876}
32877static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32879}
32880static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) ((wxFileHistory *) x));
32882}
32883static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32885}
32886static void *_p_wxEventTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) ((wxEvent *) x));
32888}
32889static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32891}
32892static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32894}
32895static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32897}
32898static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32899 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32900}
32901static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32902 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32903}
32904static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32905 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32906}
32907static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32908 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32909}
32910static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32911 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32912}
32913static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32914 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32915}
32916static void *_p_wxControlTo_p_wxObject(void *x) {
32917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32918}
32919static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32920 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32921}
32922static void *_p_wxTimerEventTo_p_wxObject(void *x) {
32923 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
32924}
32925static void *_p_wxFSFileTo_p_wxObject(void *x) {
32926 return (void *)((wxObject *) ((wxFSFile *) x));
32927}
32928static void *_p_wxClipboardTo_p_wxObject(void *x) {
32929 return (void *)((wxObject *) ((wxClipboard *) x));
32930}
32931static void *_p_wxPySizerTo_p_wxObject(void *x) {
32932 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32933}
32934static void *_p_wxPyEventTo_p_wxObject(void *x) {
32935 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32936}
32937static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32939}
32940static void *_p_wxShowEventTo_p_wxObject(void *x) {
32941 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32942}
32943static void *_p_wxToolTipTo_p_wxObject(void *x) {
32944 return (void *)((wxObject *) ((wxToolTip *) x));
32945}
32946static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32947 return (void *)((wxObject *) ((wxMenuItem *) x));
32948}
53aa7709
RD
32949static void *_p_wxDateEventTo_p_wxObject(void *x) {
32950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32951}
d55e5bfc
RD
32952static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32953 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32954}
32955static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32957}
32958static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32959 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32960}
32961static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32962 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32963}
32964static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32965 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32966}
32967static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32968 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32969}
32970static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32971 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32972}
32973static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32974 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32975}
d55e5bfc
RD
32976static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32977 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32978}
32979static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32980 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32981}
32982static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32983 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32984}
32985static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32987}
32988static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32990}
32991static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32993}
32994static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32996}
32997static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32999}
33000static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33002}
9d7dfdff
RD
33003static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33005}
d55e5bfc
RD
33006static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) ((wxImageHandler *) x));
33008}
9d7dfdff
RD
33009static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33011}
d55e5bfc
RD
33012static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33014}
33015static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) ((wxEvtHandler *) x));
33017}
51b83b37
RD
33018static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33020}
d55e5bfc
RD
33021static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33023}
33024static void *_p_wxImageTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) ((wxImage *) x));
33026}
33027static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33029}
33030static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) ((wxSystemOptions *) x));
33032}
33033static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
33035}
33036static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33038}
33039static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33041}
33042static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33044}
33045static void *_p_wxWindowTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33047}
33048static void *_p_wxMenuTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33050}
33051static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33053}
33054static void *_p_wxPyProcessTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
33056}
33057static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) ((wxFileSystem *) x));
33059}
33060static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33062}
33063static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33065}
33066static void *_p_wxPyAppTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33068}
33069static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33071}
33072static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33074}
33075static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33077}
33078static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) ((wxBusyInfo *) x));
33080}
33081static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33083}
33084static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33086}
33087static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33089}
33090static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33092}
33093static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33095}
33096static void *_p_wxProcessEventTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
33098}
33099static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33101}
33102static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33104}
33105static void *_p_wxValidatorTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33107}
33108static void *_p_wxPyTimerTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
33110}
be9b1dca
RD
33111static void *_p_wxLogBufferTo_p_wxLog(void *x) {
33112 return (void *)((wxLog *) ((wxLogBuffer *) x));
33113}
d55e5bfc
RD
33114static void *_p_wxLogStderrTo_p_wxLog(void *x) {
33115 return (void *)((wxLog *) ((wxLogStderr *) x));
33116}
33117static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
33118 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
33119}
33120static void *_p_wxLogWindowTo_p_wxLog(void *x) {
33121 return (void *)((wxLog *) ((wxLogWindow *) x));
33122}
33123static void *_p_wxLogChainTo_p_wxLog(void *x) {
33124 return (void *)((wxLog *) ((wxLogChain *) x));
33125}
33126static void *_p_wxLogGuiTo_p_wxLog(void *x) {
33127 return (void *)((wxLog *) ((wxLogGui *) x));
33128}
33129static void *_p_wxPyLogTo_p_wxLog(void *x) {
33130 return (void *)((wxLog *) ((wxPyLog *) x));
33131}
33132static void *_p_wxControlTo_p_wxWindow(void *x) {
33133 return (void *)((wxWindow *) ((wxControl *) x));
33134}
33135static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33136 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33137}
33138static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33139 return (void *)((wxWindow *) ((wxMenuBar *) x));
33140}
33141static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
33142 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
33143}
33144static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
33145 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
33146}
33147static 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}};
33148static 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}};
33149static 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}};
33150static 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}};
be9b1dca 33151static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 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 33152static 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 33153static 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 33154static 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
33155static 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}};
33156static 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}};
33157static 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}};
33158static 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}};
2f91e3df 33159static swig_type_info _swigt__p_wxMemorySize[] = {{"_p_wxMemorySize", 0, "wxMemorySize *", 0, 0, 0, 0},{"_p_wxMemorySize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
33160static 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}};
33161static 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}};
33162static 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}};
33163static 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
33164static 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}};
33165static 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}};
a97cefba 33166static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
33167static 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}};
33168static 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}};
33169static 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}};
33170static 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 33171static 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
33172static 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}};
33173static 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}};
33174static 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}};
33175static 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}};
33176static 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}};
33177static 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
33178static 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}};
33179static 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}};
33180static 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 33181static 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 33182static 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
33183static 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}};
33184static 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}};
33185static 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}};
33186static 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}};
33187static 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}};
33188static 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}};
33189static 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}};
33190static 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}};
33191static 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}};
33192static 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 33193static 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
33194static 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}};
33195static 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 33196static 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 33197static 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 33198static 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 33199static 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
33200static 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}};
33201static 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
33202static 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}};
33203static 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}};
33204static 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}};
33205static 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 33206static 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
33207static 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}};
33208static 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}};
33209static 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 33210static 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 33211static 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}};
d55e5bfc
RD
33212static 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}};
33213static 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}};
33214static 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}};
33215static 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}};
2f91e3df 33216static 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}};
d55e5bfc
RD
33217static 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}};
33218static 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}};
33219static 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}};
9d7dfdff 33220static 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_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyImageHandler", _p_wxPyImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_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
33221static 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}};
33222static 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}};
33223static 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 33224static 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}};
be9b1dca 33225static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c9c2cf70 33226static 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
33227static 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}};
33228static 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}};
33229static 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}};
33230static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
33231static 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}};
33232static 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}};
a97cefba 33233static 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 33234static 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
33235static 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}};
33236static 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}};
33237static 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}};
33238static 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}};
33239static 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}};
33240static 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}};
33241static 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}};
33242static 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}};
33243static 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 33244static 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 33245static 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
33246static 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}};
33247
33248static swig_type_info *swig_types_initial[] = {
33249_swigt__p_wxLogChain,
33250_swigt__p_wxMutexGuiLocker,
33251_swigt__p_wxMetafile,
33252_swigt__p_wxFileHistory,
33253_swigt__p_wxLog,
d55e5bfc
RD
33254_swigt__p_wxMenu,
33255_swigt__p_wxEvent,
093d3ff1 33256_swigt__p_wxDateTime__TimeZone,
d55e5bfc
RD
33257_swigt__p_wxConfigBase,
33258_swigt__p_wxDisplay,
33259_swigt__p_wxFileType,
33260_swigt__p_wxLogGui,
2f91e3df 33261_swigt__p_wxMemorySize,
d55e5bfc
RD
33262_swigt__p_wxFont,
33263_swigt__p_wxDataFormat,
33264_swigt__p_wxTimerEvent,
33265_swigt__p_wxCaret,
093d3ff1
RD
33266_swigt__ptrdiff_t,
33267_swigt__std__ptrdiff_t,
a97cefba 33268_swigt__p_void,
d55e5bfc
RD
33269_swigt__p_int,
33270_swigt__p_wxSize,
33271_swigt__p_wxClipboard,
33272_swigt__p_wxStopWatch,
68350608 33273_swigt__p_wxDC,
d55e5bfc
RD
33274_swigt__p_wxClipboardLocker,
33275_swigt__p_wxIcon,
33276_swigt__p_wxLogStderr,
33277_swigt__p_wxLogTextCtrl,
33278_swigt__p_wxTextCtrl,
33279_swigt__p_wxBusyCursor,
d55e5bfc
RD
33280_swigt__p_wxBitmapDataObject,
33281_swigt__p_wxTextDataObject,
33282_swigt__p_wxDataObject,
093d3ff1 33283_swigt__p_wxPyTextDataObject,
c9c2cf70 33284_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
33285_swigt__p_wxFileDataObject,
33286_swigt__p_wxCustomDataObject,
33287_swigt__p_wxURLDataObject,
33288_swigt__p_wxMetafileDataObject,
33289_swigt__p_wxSound,
33290_swigt__p_wxTimerRunner,
33291_swigt__p_wxLogWindow,
33292_swigt__p_wxTimeSpan,
33293_swigt__p_wxArrayString,
33294_swigt__p_wxWindowDisabler,
093d3ff1 33295_swigt__p_form_ops_t,
d55e5bfc
RD
33296_swigt__p_wxToolTip,
33297_swigt__p_wxDataObjectComposite,
51b83b37 33298_swigt__p_wxSystemSettings,
68350608 33299_swigt__p_wxFileConfig,
d55e5bfc 33300_swigt__p_wxVideoMode,
d55e5bfc 33301_swigt__p_wxDataObjectSimple,
093d3ff1
RD
33302_swigt__p_wxPyDataObjectSimple,
33303_swigt__p_wxDuplexMode,
d55e5bfc
RD
33304_swigt__p_wxEvtHandler,
33305_swigt__p_wxRect,
33306_swigt__p_char,
33307_swigt__p_wxSingleInstanceChecker,
c1cb24a4 33308_swigt__p_wxStandardPaths,
d55e5bfc
RD
33309_swigt__p_wxFileTypeInfo,
33310_swigt__p_wxFrame,
33311_swigt__p_wxTimer,
093d3ff1 33312_swigt__p_wxPaperSize,
d55e5bfc 33313_swigt__p_wxMimeTypesManager,
d55e5bfc
RD
33314_swigt__p_wxPyTipProvider,
33315_swigt__p_wxTipProvider,
33316_swigt__p_wxJoystick,
33317_swigt__p_wxSystemOptions,
2f91e3df 33318_swigt__p_wxPyArtProvider,
d55e5bfc
RD
33319_swigt__p_wxPoint,
33320_swigt__p_wxJoystickEvent,
33321_swigt__p_wxCursor,
33322_swigt__p_wxObject,
33323_swigt__p_wxOutputStream,
33324_swigt__p_wxDateTime,
33325_swigt__p_wxPyDropSource,
093d3ff1 33326_swigt__p_unsigned_long,
be9b1dca 33327_swigt__p_wxLogBuffer,
c9c2cf70 33328_swigt__p_wxKillError,
d55e5bfc
RD
33329_swigt__p_wxWindow,
33330_swigt__p_wxString,
33331_swigt__p_wxPyProcess,
33332_swigt__p_wxBitmap,
093d3ff1
RD
33333_swigt__unsigned_int,
33334_swigt__p_unsigned_int,
a97cefba 33335_swigt__p_wxConfig,
093d3ff1 33336_swigt__p_unsigned_char,
d55e5bfc
RD
33337_swigt__p_wxChar,
33338_swigt__p_wxBusyInfo,
33339_swigt__p_wxPyDropTarget,
33340_swigt__p_wxPyTextDropTarget,
33341_swigt__p_wxPyFileDropTarget,
33342_swigt__p_wxProcessEvent,
33343_swigt__p_wxPyLog,
33344_swigt__p_wxLogNull,
33345_swigt__p_wxColour,
d55e5bfc 33346_swigt__p_wxPyTimer,
093d3ff1 33347_swigt__p_wxConfigPathChanger,
d55e5bfc
RD
33348_swigt__p_wxDateSpan,
333490
33350};
33351
33352
33353/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33354
33355static swig_const_info swig_const_table[] = {
33356{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
33357{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
33358{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
33359{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
33360{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 33361{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
33362
33363#ifdef __cplusplus
33364}
33365#endif
33366
093d3ff1 33367
d55e5bfc 33368#ifdef __cplusplus
093d3ff1 33369extern "C" {
d55e5bfc 33370#endif
d55e5bfc 33371
093d3ff1
RD
33372 /* Python-specific SWIG API */
33373#define SWIG_newvarlink() SWIG_Python_newvarlink()
33374#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33375#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33376
33377 /* -----------------------------------------------------------------------------
33378 * global variable support code.
33379 * ----------------------------------------------------------------------------- */
33380
33381 typedef struct swig_globalvar {
33382 char *name; /* Name of global variable */
33383 PyObject *(*get_attr)(); /* Return the current value */
33384 int (*set_attr)(PyObject *); /* Set the value */
33385 struct swig_globalvar *next;
33386 } swig_globalvar;
33387
33388 typedef struct swig_varlinkobject {
33389 PyObject_HEAD
33390 swig_globalvar *vars;
33391 } swig_varlinkobject;
33392
33393 static PyObject *
33394 swig_varlink_repr(swig_varlinkobject *v) {
33395 v = v;
33396 return PyString_FromString("<Swig global variables>");
33397 }
33398
33399 static int
33400 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
33401 swig_globalvar *var;
33402 flags = flags;
33403 fprintf(fp,"Swig global variables { ");
33404 for (var = v->vars; var; var=var->next) {
33405 fprintf(fp,"%s", var->name);
33406 if (var->next) fprintf(fp,", ");
d55e5bfc 33407 }
093d3ff1
RD
33408 fprintf(fp," }\n");
33409 return 0;
d55e5bfc 33410 }
d55e5bfc 33411
093d3ff1
RD
33412 static PyObject *
33413 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33414 swig_globalvar *var = v->vars;
33415 while (var) {
33416 if (strcmp(var->name,n) == 0) {
33417 return (*var->get_attr)();
33418 }
33419 var = var->next;
33420 }
33421 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33422 return NULL;
33423 }
1a6bba1e 33424
093d3ff1
RD
33425 static int
33426 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33427 swig_globalvar *var = v->vars;
33428 while (var) {
33429 if (strcmp(var->name,n) == 0) {
33430 return (*var->set_attr)(p);
33431 }
33432 var = var->next;
33433 }
33434 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33435 return 1;
33436 }
1a6bba1e 33437
093d3ff1
RD
33438 static PyTypeObject varlinktype = {
33439 PyObject_HEAD_INIT(0)
33440 0, /* Number of items in variable part (ob_size) */
33441 (char *)"swigvarlink", /* Type name (tp_name) */
33442 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33443 0, /* Itemsize (tp_itemsize) */
33444 0, /* Deallocator (tp_dealloc) */
33445 (printfunc) swig_varlink_print, /* Print (tp_print) */
33446 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33447 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33448 0, /* tp_compare */
33449 (reprfunc) swig_varlink_repr, /* tp_repr */
33450 0, /* tp_as_number */
33451 0, /* tp_as_sequence */
33452 0, /* tp_as_mapping */
33453 0, /* tp_hash */
33454 0, /* tp_call */
33455 0, /* tp_str */
33456 0, /* tp_getattro */
33457 0, /* tp_setattro */
33458 0, /* tp_as_buffer */
33459 0, /* tp_flags */
33460 0, /* tp_doc */
33461#if PY_VERSION_HEX >= 0x02000000
33462 0, /* tp_traverse */
33463 0, /* tp_clear */
33464#endif
33465#if PY_VERSION_HEX >= 0x02010000
33466 0, /* tp_richcompare */
33467 0, /* tp_weaklistoffset */
33468#endif
33469#if PY_VERSION_HEX >= 0x02020000
33470 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33471#endif
33472#if PY_VERSION_HEX >= 0x02030000
33473 0, /* tp_del */
33474#endif
33475#ifdef COUNT_ALLOCS
33476 0,0,0,0 /* tp_alloc -> tp_next */
33477#endif
33478 };
d55e5bfc 33479
093d3ff1
RD
33480 /* Create a variable linking object for use later */
33481 static PyObject *
33482 SWIG_Python_newvarlink(void) {
33483 swig_varlinkobject *result = 0;
33484 result = PyMem_NEW(swig_varlinkobject,1);
33485 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
33486 result->ob_type = &varlinktype;
33487 result->vars = 0;
33488 result->ob_refcnt = 0;
33489 Py_XINCREF((PyObject *) result);
33490 return ((PyObject*) result);
33491 }
33492
33493 static void
33494 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33495 swig_varlinkobject *v;
33496 swig_globalvar *gv;
33497 v= (swig_varlinkobject *) p;
33498 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33499 gv->name = (char *) malloc(strlen(name)+1);
33500 strcpy(gv->name,name);
33501 gv->get_attr = get_attr;
33502 gv->set_attr = set_attr;
33503 gv->next = v->vars;
33504 v->vars = gv;
33505 }
33506
33507 /* -----------------------------------------------------------------------------
33508 * constants/methods manipulation
33509 * ----------------------------------------------------------------------------- */
33510
33511 /* Install Constants */
33512 static void
33513 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33514 PyObject *obj = 0;
33515 size_t i;
33516 for (i = 0; constants[i].type; i++) {
33517 switch(constants[i].type) {
33518 case SWIG_PY_INT:
33519 obj = PyInt_FromLong(constants[i].lvalue);
33520 break;
33521 case SWIG_PY_FLOAT:
33522 obj = PyFloat_FromDouble(constants[i].dvalue);
33523 break;
33524 case SWIG_PY_STRING:
33525 if (constants[i].pvalue) {
33526 obj = PyString_FromString((char *) constants[i].pvalue);
33527 } else {
33528 Py_INCREF(Py_None);
33529 obj = Py_None;
33530 }
33531 break;
33532 case SWIG_PY_POINTER:
33533 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33534 break;
33535 case SWIG_PY_BINARY:
33536 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33537 break;
33538 default:
33539 obj = 0;
33540 break;
33541 }
33542 if (obj) {
33543 PyDict_SetItemString(d,constants[i].name,obj);
33544 Py_DECREF(obj);
33545 }
33546 }
33547 }
d55e5bfc 33548
093d3ff1
RD
33549 /* -----------------------------------------------------------------------------*/
33550 /* Fix SwigMethods to carry the callback ptrs when needed */
33551 /* -----------------------------------------------------------------------------*/
33552
33553 static void
33554 SWIG_Python_FixMethods(PyMethodDef *methods,
33555 swig_const_info *const_table,
33556 swig_type_info **types,
33557 swig_type_info **types_initial) {
33558 size_t i;
33559 for (i = 0; methods[i].ml_name; ++i) {
33560 char *c = methods[i].ml_doc;
33561 if (c && (c = strstr(c, "swig_ptr: "))) {
33562 int j;
33563 swig_const_info *ci = 0;
33564 char *name = c + 10;
33565 for (j = 0; const_table[j].type; j++) {
33566 if (strncmp(const_table[j].name, name,
33567 strlen(const_table[j].name)) == 0) {
33568 ci = &(const_table[j]);
33569 break;
33570 }
33571 }
33572 if (ci) {
33573 size_t shift = (ci->ptype) - types;
33574 swig_type_info *ty = types_initial[shift];
33575 size_t ldoc = (c - methods[i].ml_doc);
33576 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33577 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33578 char *buff = ndoc;
33579 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
33580 strncpy(buff, methods[i].ml_doc, ldoc);
33581 buff += ldoc;
33582 strncpy(buff, "swig_ptr: ", 10);
33583 buff += 10;
33584 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33585 methods[i].ml_doc = ndoc;
33586 }
33587 }
33588 }
33589 }
33590
33591 /* -----------------------------------------------------------------------------*
33592 * Initialize type list
33593 * -----------------------------------------------------------------------------*/
33594
33595#if PY_MAJOR_VERSION < 2
33596 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33597 is copied out of Python/modsupport.c in python version 2.3.4 */
33598 static int
33599 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
33600 {
33601 PyObject *dict;
33602 if (!PyModule_Check(m)) {
33603 PyErr_SetString(PyExc_TypeError,
33604 "PyModule_AddObject() needs module as first arg");
33605 return -1;
33606 }
33607 if (!o) {
33608 PyErr_SetString(PyExc_TypeError,
33609 "PyModule_AddObject() needs non-NULL value");
33610 return -1;
33611 }
33612
33613 dict = PyModule_GetDict(m);
33614 if (dict == NULL) {
33615 /* Internal error -- modules must have a dict! */
33616 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
33617 PyModule_GetName(m));
33618 return -1;
33619 }
33620 if (PyDict_SetItemString(dict, name, o))
33621 return -1;
33622 Py_DECREF(o);
33623 return 0;
33624 }
33625#endif
33626
33627 static swig_type_info **
33628 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
33629 static PyMethodDef swig_empty_runtime_method_table[] = {
33630 {
33631 NULL, NULL, 0, NULL
33632 }
33633 };/* Sentinel */
33634
33635 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
33636 swig_empty_runtime_method_table);
33637 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
33638 if (pointer && module) {
33639 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
33640 }
33641 return type_list_handle;
33642 }
33643
33644 static swig_type_info **
33645 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
33646 swig_type_info **type_pointer;
33647
33648 /* first check if module already created */
33649 type_pointer = SWIG_Python_GetTypeListHandle();
33650 if (type_pointer) {
33651 return type_pointer;
33652 } else {
33653 /* create a new module and variable */
33654 return SWIG_Python_SetTypeListHandle(type_list_handle);
33655 }
33656 }
33657
33658#ifdef __cplusplus
33659}
33660#endif
33661
33662/* -----------------------------------------------------------------------------*
33663 * Partial Init method
33664 * -----------------------------------------------------------------------------*/
33665
33666#ifdef SWIG_LINK_RUNTIME
33667#ifdef __cplusplus
33668extern "C"
33669#endif
33670SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33671#endif
33672
33673#ifdef __cplusplus
33674extern "C"
33675#endif
33676SWIGEXPORT(void) SWIG_init(void) {
33677 static PyObject *SWIG_globals = 0;
33678 static int typeinit = 0;
33679 PyObject *m, *d;
33680 int i;
33681 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33682
33683 /* Fix SwigMethods to carry the callback ptrs when needed */
33684 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
33685
33686 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33687 d = PyModule_GetDict(m);
33688
33689 if (!typeinit) {
33690#ifdef SWIG_LINK_RUNTIME
33691 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
33692#else
33693# ifndef SWIG_STATIC_RUNTIME
33694 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
33695# endif
33696#endif
33697 for (i = 0; swig_types_initial[i]; i++) {
33698 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33699 }
33700 typeinit = 1;
33701 }
33702 SWIG_InstallConstants(d,swig_const_table);
33703
33704 {
33705 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
33706 }
33707 {
33708 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
33709 }
33710 {
33711 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
33712 }
33713 {
33714 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
33715 }
33716 {
33717 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
33718 }
33719 {
33720 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
33721 }
33722 {
33723 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
33724 }
33725 {
33726 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
33727 }
33728 {
33729 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
33730 }
33731 {
33732 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
33733 }
33734 {
33735 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
33736 }
33737 {
33738 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
33739 }
33740 {
33741 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
33742 }
33743 {
33744 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
33745 }
33746 {
33747 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
33748 }
33749 {
33750 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
33751 }
33752 {
33753 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
33754 }
33755 {
33756 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
33757 }
33758 {
33759 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
33760 }
33761 {
33762 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
33763 }
33764 {
33765 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
33766 }
33767 {
33768 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
33769 }
33770 {
33771 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
33772 }
33773 {
33774 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
33775 }
33776 {
33777 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
33778 }
33779 {
33780 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
33781 }
33782 {
33783 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
33784 }
33785 {
33786 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
33787 }
33788 {
33789 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
33790 }
33791 {
33792 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
33793 }
33794 {
33795 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
33796 }
33797 {
33798 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
33799 }
33800 {
33801 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
33802 }
33803 {
33804 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
33805 }
33806 {
33807 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
33808 }
33809 {
33810 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
33811 }
33812 {
33813 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
33814 }
33815 {
33816 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
33817 }
33818 {
33819 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
33820 }
33821 {
33822 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
33823 }
33824 {
33825 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
33826 }
33827 {
33828 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
33829 }
33830 {
33831 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
33832 }
33833 {
33834 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
33835 }
33836 {
33837 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
33838 }
33839 {
33840 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
33841 }
33842 {
33843 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
33844 }
33845 {
33846 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
33847 }
33848 {
33849 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
33850 }
33851 {
33852 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
33853 }
33854 {
33855 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
33856 }
33857 {
33858 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
33859 }
33860 {
33861 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
33862 }
33863 {
33864 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
33865 }
33866 {
33867 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
33868 }
33869 {
33870 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
33871 }
33872 {
33873 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
33874 }
33875 {
33876 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
33877 }
33878 {
33879 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
33880 }
33881 {
33882 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
33883 }
33884 {
33885 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
33886 }
33887 {
33888 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
33889 }
33890 {
33891 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
33892 }
33893 {
33894 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
33895 }
33896 {
33897 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
33898 }
33899 {
33900 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
33901 }
33902 {
33903 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
33904 }
33905 {
33906 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
33907 }
33908 {
33909 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
33910 }
33911 {
33912 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
33913 }
33914 {
33915 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
33916 }
33917 {
33918 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
33919 }
33920 {
33921 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
33922 }
33923 {
33924 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
33925 }
33926 {
33927 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
33928 }
33929 {
33930 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
33931 }
33932 {
33933 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
33934 }
33935 {
33936 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
33937 }
33938 {
33939 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
33940 }
33941 {
33942 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
33943 }
33944 {
33945 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
33946 }
33947 {
33948 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
33949 }
33950 {
33951 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
33952 }
33953 {
33954 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
33955 }
33956 {
33957 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
33958 }
33959 {
33960 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
33961 }
33962 {
33963 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
33964 }
33965 {
33966 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
33967 }
33968 {
33969 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
33970 }
33971 {
33972 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
33973 }
33974 {
33975 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
33976 }
33977 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33978 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
33979 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
33980 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
33981 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
33982 {
33983 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
33984 }
33985 {
33986 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
33987 }
33988 {
33989 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
33990 }
33991 {
33992 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
33993 }
33994 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
33995
33996 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33997
33998 {
33999 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
34000 }
34001 {
34002 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
34003 }
34004 {
34005 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
34006 }
34007 {
34008 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
34009 }
34010 {
34011 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
34012 }
34013 {
34014 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
34015 }
34016 {
34017 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
34018 }
34019 {
34020 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
34021 }
34022 {
34023 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
34024 }
34025 {
34026 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
34027 }
34028 {
34029 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
34030 }
34031 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
34032 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
34033 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
34034 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
34035 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
34036 {
34037 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
34038 }
34039 {
34040 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
34041 }
34042 {
34043 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
34044 }
34045 {
34046 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
34047 }
34048 {
34049 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
34050 }
34051 {
34052 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
34053 }
34054 {
34055 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
34056 }
34057 {
34058 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
34059 }
34060 {
34061 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
34062 }
34063 {
34064 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
34065 }
34066 {
34067 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
34068 }
34069 {
34070 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
34071 }
34072 {
34073 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
34074 }
34075 {
34076 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
34077 }
34078 {
34079 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
34080 }
34081 {
34082 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
34083 }
34084 {
34085 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
34086 }
34087 {
34088 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
34089 }
34090 {
34091 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
34092 }
34093 {
34094 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
34095 }
34096 {
34097 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
34098 }
34099 {
34100 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
34101 }
34102 {
34103 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
34104 }
34105 {
34106 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
34107 }
34108 {
34109 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
34110 }
34111 {
34112 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
34113 }
34114 {
34115 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
34116 }
34117 {
34118 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
34119 }
34120 {
34121 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
34122 }
34123 {
34124 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
34125 }
34126 {
34127 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
34128 }
34129 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
34130 {
34131 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
34132 }
34133 {
34134 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
34135 }
34136 {
34137 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
34138 }
34139 {
34140 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
34141 }
34142 {
34143 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
34144 }
34145
34146 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
34147
34148 {
34149 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
34150 }
34151 {
34152 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
34153 }
34154 {
34155 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
34156 }
34157 {
34158 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
34159 }
34160 {
34161 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
34162 }
34163 {
34164 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
34165 }
34166 {
34167 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
34168 }
34169 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
34170 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
34171 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
34172 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
34173 {
34174 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
34175 }
34176 {
34177 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
34178 }
34179 {
34180 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
34181 }
34182 {
34183 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
34184 }
34185 {
34186 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
34187 }
34188 {
34189 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
34190 }
34191 {
34192 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
34193 }
34194 {
34195 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
34196 }
34197 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
34198 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
34199 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
34200 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
34201 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
d55e5bfc
RD
34202 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
34203 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 34204 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
34205 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
34206 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
34207 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
34208 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
34209 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
34210 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
34211 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
34212 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
34213 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
34214 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
34215 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
34216 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
34217 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
34218 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
34219 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
34220 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
34221 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
d55e5bfc
RD
34222 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
34223 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
34224 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
34225 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
34226 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
34227 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
34228 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
34229 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
34230 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
34231 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 34232 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 34233 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
34234 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
34235 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
34236 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
34237 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
34238 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
34239 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
34240 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
34241 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
34242 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
34243 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
34244 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
34245 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
34246 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
34247 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
a187dc0b 34248 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
68350608
RD
34249 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
34250 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
34251 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
34252 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
34253 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
34254
34255 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34256
093d3ff1
RD
34257 {
34258 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
34259 }
34260 {
34261 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
34262 }
34263 {
34264 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
34265 }
34266 {
34267 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
34268 }
34269 {
34270 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
34271 }
34272 {
34273 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
34274 }
34275 {
34276 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
34277 }
34278 {
34279 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
34280 }
34281 {
34282 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
34283 }
fef4c27a
RD
34284 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
34285 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1
RD
34286 {
34287 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
34288 }
34289 {
34290 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
34291 }
34292 {
34293 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
34294 }
34295 {
34296 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
34297 }
34298 {
34299 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
34300 }
34301 {
34302 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
34303 }
34304 {
34305 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
34306 }
34307 {
34308 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
34309 }
34310 {
34311 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
34312 }
34313 {
34314 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
34315 }
34316 {
34317 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
34318 }
34319 {
34320 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
34321 }
34322 {
34323 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
34324 }
34325 {
34326 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
34327 }
34328 {
34329 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
34330 }
34331 {
34332 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
34333 }
34334 {
34335 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
34336 }
34337 {
34338 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
34339 }
34340 {
34341 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
34342 }
34343 {
34344 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
34345 }
34346 {
34347 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
34348 }
34349 {
34350 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
34351 }
34352 {
34353 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
34354 }
34355 {
34356 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
34357 }
34358 {
34359 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
34360 }
34361 {
34362 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
34363 }
34364 {
34365 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
34366 }
34367 {
34368 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
34369 }
34370 {
34371 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
34372 }
34373 {
34374 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
34375 }
34376 {
34377 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
34378 }
34379 {
34380 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
34381 }
34382 {
34383 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
34384 }
34385 {
34386 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
34387 }
34388 {
34389 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
34390 }
34391 {
34392 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
34393 }
34394 {
34395 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
34396 }
34397 {
34398 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
34399 }
34400 {
34401 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
34402 }
34403 {
34404 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
34405 }
34406 {
34407 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
34408 }
34409 {
34410 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
34411 }
34412 {
34413 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
34414 }
34415 {
34416 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
34417 }
34418 {
34419 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
34420 }
34421 {
34422 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
34423 }
34424 {
34425 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
34426 }
34427 {
34428 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
34429 }
34430 {
34431 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
34432 }
34433 {
34434 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
34435 }
34436 {
34437 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
34438 }
34439 {
34440 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
34441 }
34442 {
34443 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
34444 }
34445 {
34446 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
34447 }
34448 {
34449 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
34450 }
34451 {
34452 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
34453 }
34454 {
34455 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
34456 }
34457 {
34458 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
34459 }
34460 {
34461 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
34462 }
34463 {
34464 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
34465 }
34466 {
34467 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
34468 }
34469 {
34470 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
34471 }
34472 {
34473 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
34474 }
34475 {
34476 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
34477 }
34478 {
34479 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
34480 }
34481 {
34482 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
34483 }
34484 {
34485 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
34486 }
34487 {
34488 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
34489 }
34490 {
34491 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
34492 }
34493 {
34494 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
34495 }
34496 {
34497 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
34498 }
34499 {
34500 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
34501 }
34502 {
34503 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
34504 }
34505 {
34506 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
34507 }
34508 {
34509 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
34510 }
34511 {
34512 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
34513 }
34514 {
34515 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
34516 }
34517 {
34518 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
34519 }
34520 {
34521 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
34522 }
34523 {
34524 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
34525 }
34526 {
34527 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
34528 }
34529 {
34530 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
34531 }
34532 {
34533 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
34534 }
34535 {
34536 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
34537 }
34538 {
34539 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
34540 }
34541 {
34542 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
34543 }
34544 {
34545 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
34546 }
34547 {
34548 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
34549 }
34550 {
34551 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
34552 }
34553 {
34554 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
34555 }
34556 {
34557 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
34558 }
34559 {
34560 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
34561 }
34562 {
34563 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
34564 }
34565 {
34566 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
34567 }
34568 {
34569 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
34570 }
34571 {
34572 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
34573 }
34574 {
34575 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
34576 }
34577 {
34578 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
34579 }
34580 {
34581 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
34582 }
34583 {
34584 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
34585 }
34586 {
34587 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
34588 }
34589 {
34590 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
34591 }
34592 {
34593 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
34594 }
34595 {
34596 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
34597 }
34598 {
34599 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
34600 }
34601 {
34602 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
34603 }
34604 {
34605 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
34606 }
34607 {
34608 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
34609 }
34610 {
34611 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
34612 }
34613 {
34614 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
34615 }
34616 {
34617 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
34618 }
34619 {
34620 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
34621 }
34622 {
34623 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
34624 }
34625 {
34626 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
34627 }
34628 {
34629 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
34630 }
34631 {
34632 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
34633 }
34634 {
34635 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
34636 }
34637 {
34638 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
34639 }
34640 {
34641 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
34642 }
34643 {
34644 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
34645 }
34646 {
34647 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
34648 }
34649 {
34650 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
34651 }
34652 {
34653 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
34654 }
34655 {
34656 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
34657 }
34658 {
34659 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
34660 }
34661 {
34662 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
34663 }
34664 {
34665 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
34666 }
34667 {
34668 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
34669 }
34670 {
34671 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
34672 }
34673 {
34674 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
34675 }
34676 {
34677 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
34678 }
34679 {
34680 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
34681 }
34682 {
34683 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
34684 }
34685 {
34686 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
34687 }
34688 {
34689 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
34690 }
34691 {
34692 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
34693 }
34694 {
34695 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
34696 }
34697 {
34698 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
34699 }
34700 {
34701 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
34702 }
34703 {
34704 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
34705 }
34706 {
34707 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
34708 }
34709 {
34710 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
34711 }
34712 {
34713 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
34714 }
34715 {
34716 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
34717 }
34718 {
34719 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
34720 }
34721 {
34722 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
34723 }
34724 {
34725 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
34726 }
34727 {
34728 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
34729 }
34730 {
34731 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
34732 }
34733 {
34734 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
34735 }
34736 {
34737 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
34738 }
34739 {
34740 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
34741 }
34742 {
34743 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
34744 }
34745 {
34746 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
34747 }
34748 {
34749 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
34750 }
d55e5bfc 34751 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
093d3ff1
RD
34752 {
34753 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
34754 }
34755 {
34756 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
34757 }
34758 {
34759 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
34760 }
34761 {
34762 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
34763 }
34764 {
34765 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
34766 }
34767 {
34768 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
34769 }
34770 {
34771 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
34772 }
34773 {
34774 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
34775 }
34776 {
34777 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
34778 }
34779 {
34780 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
34781 }
34782 {
34783 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
34784 }
34785 {
34786 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
34787 }
34788 {
34789 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
34790 }
34791 {
34792 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
34793 }
34794 {
34795 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
34796 }
34797 {
34798 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
34799 }
34800 {
34801 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
34802 }
34803 {
34804 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
34805 }
34806 {
34807 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
34808 }
34809 {
34810 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
34811 }
d55e5bfc 34812 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
093d3ff1
RD
34813 {
34814 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
34815 }
34816 {
34817 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
34818 }
34819 {
34820 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
34821 }
34822 {
34823 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
34824 }
34825 {
34826 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
34827 }
34828 {
34829 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
34830 }
34831 {
34832 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
34833 }
34834 {
34835 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
34836 }
34837 {
34838 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
34839 }
34840 {
34841 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
34842 }
34843 {
34844 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
34845 }
34846 {
34847 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
34848 }
d55e5bfc
RD
34849
34850 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34851 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34852 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34853 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34854
d55e5bfc
RD
34855 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
34856}
34857