]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
return name and extension by const ref, not by value, to prevent bugs as the one...
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
093d3ff1 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d55e5bfc 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
093d3ff1
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
093d3ff1
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
093d3ff1 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
093d3ff1 469/* The static type info list */
d55e5bfc 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
093d3ff1
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
093d3ff1
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
093d3ff1
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
093d3ff1
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
093d3ff1
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
093d3ff1
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
093d3ff1
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c32bde28 569
093d3ff1
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c32bde28
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
093d3ff1
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
093d3ff1
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
093d3ff1
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
093d3ff1
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
d55e5bfc 655 }
d55e5bfc 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
d55e5bfc 660{
093d3ff1
RD
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
664}
665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
d55e5bfc 673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
d55e5bfc 678}
093d3ff1
RD
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c32bde28 682{
093d3ff1
RD
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
c32bde28 690}
d55e5bfc 691
093d3ff1
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
d55e5bfc 699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 702{
093d3ff1
RD
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
d55e5bfc 710 }
c32bde28
RD
711}
712
093d3ff1
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
d55e5bfc
RD
717}
718
093d3ff1
RD
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
d55e5bfc 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
c32bde28 800 }
093d3ff1
RD
801
802 return &PySwigObject_Type;
c32bde28
RD
803}
804
093d3ff1
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
d55e5bfc 807{
093d3ff1
RD
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
c32bde28
RD
813}
814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
c32bde28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
c32bde28 823{
093d3ff1 824 return ((PySwigObject *)self)->desc;
d55e5bfc
RD
825}
826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d55e5bfc 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 846{
093d3ff1
RD
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
c32bde28 852 }
093d3ff1
RD
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
d55e5bfc 856}
c32bde28 857
093d3ff1
RD
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
d55e5bfc 860{
093d3ff1
RD
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
d55e5bfc
RD
867}
868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
d55e5bfc 879
093d3ff1
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
d55e5bfc 893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
7e63a440 952 }
093d3ff1
RD
953
954
d55e5bfc 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
d55e5bfc 958
093d3ff1
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
c32bde28 974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 977{
093d3ff1
RD
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
d55e5bfc
RD
988}
989
093d3ff1
RD
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d55e5bfc 995
093d3ff1
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
d55e5bfc 1016{
093d3ff1
RD
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
d55e5bfc 1047 }
c32bde28
RD
1048}
1049
093d3ff1
RD
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
c32bde28 1052{
093d3ff1
RD
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
d55e5bfc
RD
1058}
1059
093d3ff1
RD
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
d55e5bfc 1084
093d3ff1
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
d55e5bfc 1087{
093d3ff1
RD
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
d55e5bfc
RD
1096}
1097
1098
093d3ff1
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
d55e5bfc 1136#else
093d3ff1
RD
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
d55e5bfc 1154#endif
d55e5bfc 1155
093d3ff1 1156type_check:
d55e5bfc 1157
093d3ff1
RD
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
d55e5bfc 1191 }
093d3ff1
RD
1192 }
1193 return -1;
1194}
d55e5bfc 1195
093d3ff1
RD
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
d55e5bfc 1205 }
093d3ff1
RD
1206 }
1207 return result;
1208}
d55e5bfc 1209
093d3ff1
RD
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
d55e5bfc 1215
093d3ff1
RD
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
d55e5bfc 1230
093d3ff1
RD
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
d55e5bfc 1276
093d3ff1
RD
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
d55e5bfc 1292#endif
093d3ff1
RD
1293 return robj;
1294}
d55e5bfc 1295
093d3ff1
RD
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
d55e5bfc 1299
093d3ff1
RD
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
d55e5bfc 1303
093d3ff1
RD
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
d55e5bfc 1322
093d3ff1
RD
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
d55e5bfc 1331
093d3ff1 1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
d55e5bfc 1333
093d3ff1
RD
1334#ifdef __cplusplus
1335}
1336#endif
d55e5bfc 1337
d55e5bfc 1338
093d3ff1 1339/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1340
093d3ff1
RD
1341#define SWIGTYPE_p_wxLogChain swig_types[0]
1342#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343#define SWIGTYPE_p_wxMetafile swig_types[2]
1344#define SWIGTYPE_p_wxFileHistory swig_types[3]
1345#define SWIGTYPE_p_wxLog swig_types[4]
1346#define SWIGTYPE_p_wxMenu swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349#define SWIGTYPE_p_wxConfigBase swig_types[8]
1350#define SWIGTYPE_p_wxDisplay swig_types[9]
1351#define SWIGTYPE_p_wxFileType swig_types[10]
1352#define SWIGTYPE_p_wxLogGui swig_types[11]
1353#define SWIGTYPE_p_wxFont swig_types[12]
1354#define SWIGTYPE_p_wxDataFormat swig_types[13]
1355#define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356#define SWIGTYPE_p_wxCaret swig_types[15]
1357#define SWIGTYPE_ptrdiff_t swig_types[16]
1358#define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359#define SWIGTYPE_p_int swig_types[18]
1360#define SWIGTYPE_p_wxSize swig_types[19]
1361#define SWIGTYPE_p_wxClipboard swig_types[20]
1362#define SWIGTYPE_p_wxStopWatch swig_types[21]
68350608
RD
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1365#define SWIGTYPE_p_wxIcon swig_types[24]
1366#define SWIGTYPE_p_wxLogStderr swig_types[25]
1367#define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1368#define SWIGTYPE_p_wxTextCtrl swig_types[27]
1369#define SWIGTYPE_p_wxBusyCursor swig_types[28]
1370#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1371#define SWIGTYPE_p_wxTextDataObject swig_types[30]
1372#define SWIGTYPE_p_wxDataObject swig_types[31]
1373#define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1374#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1375#define SWIGTYPE_p_wxFileDataObject swig_types[34]
1376#define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1377#define SWIGTYPE_p_wxURLDataObject swig_types[36]
1378#define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1379#define SWIGTYPE_p_wxSound swig_types[38]
1380#define SWIGTYPE_p_wxTimerRunner swig_types[39]
1381#define SWIGTYPE_p_wxLogWindow swig_types[40]
1382#define SWIGTYPE_p_wxTimeSpan swig_types[41]
1383#define SWIGTYPE_p_wxArrayString swig_types[42]
1384#define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1385#define SWIGTYPE_p_form_ops_t swig_types[44]
1386#define SWIGTYPE_p_wxToolTip swig_types[45]
1387#define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
093d3ff1 1388#define SWIGTYPE_p_wxSystemSettings swig_types[47]
68350608
RD
1389#define SWIGTYPE_p_wxFileConfig swig_types[48]
1390#define SWIGTYPE_p_wxVideoMode swig_types[49]
1391#define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1392#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1393#define SWIGTYPE_p_wxDuplexMode swig_types[52]
1394#define SWIGTYPE_p_wxEvtHandler swig_types[53]
1395#define SWIGTYPE_p_wxRect swig_types[54]
1396#define SWIGTYPE_p_char swig_types[55]
1397#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1398#define SWIGTYPE_p_wxStandardPaths swig_types[57]
1399#define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1400#define SWIGTYPE_p_wxFrame swig_types[59]
1401#define SWIGTYPE_p_wxTimer swig_types[60]
1402#define SWIGTYPE_p_wxPaperSize swig_types[61]
1403#define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1404#define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1405#define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1406#define SWIGTYPE_p_wxTipProvider swig_types[65]
1407#define SWIGTYPE_p_wxJoystick swig_types[66]
1408#define SWIGTYPE_p_wxSystemOptions swig_types[67]
1409#define SWIGTYPE_p_wxPoint swig_types[68]
1410#define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1411#define SWIGTYPE_p_wxCursor swig_types[70]
1412#define SWIGTYPE_p_wxObject swig_types[71]
1413#define SWIGTYPE_p_wxOutputStream swig_types[72]
1414#define SWIGTYPE_p_wxDateTime swig_types[73]
1415#define SWIGTYPE_p_wxPyDropSource swig_types[74]
1416#define SWIGTYPE_p_unsigned_long swig_types[75]
1417#define SWIGTYPE_p_wxKillError swig_types[76]
1418#define SWIGTYPE_p_wxWindow swig_types[77]
1419#define SWIGTYPE_p_wxString swig_types[78]
1420#define SWIGTYPE_p_wxPyProcess swig_types[79]
1421#define SWIGTYPE_p_wxBitmap swig_types[80]
1422#define SWIGTYPE_p_wxConfig swig_types[81]
1423#define SWIGTYPE_unsigned_int swig_types[82]
1424#define SWIGTYPE_p_unsigned_int swig_types[83]
1425#define SWIGTYPE_p_unsigned_char swig_types[84]
1426#define SWIGTYPE_p_wxChar swig_types[85]
1427#define SWIGTYPE_p_wxBusyInfo swig_types[86]
1428#define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1429#define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1430#define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1431#define SWIGTYPE_p_wxProcessEvent swig_types[90]
1432#define SWIGTYPE_p_wxPyLog swig_types[91]
1433#define SWIGTYPE_p_wxLogNull swig_types[92]
1434#define SWIGTYPE_p_wxColour swig_types[93]
1435#define SWIGTYPE_p_wxPyTimer swig_types[94]
1436#define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1437#define SWIGTYPE_p_wxDateSpan swig_types[96]
1438static swig_type_info *swig_types[98];
d55e5bfc 1439
093d3ff1 1440/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1441
1442
093d3ff1
RD
1443/*-----------------------------------------------
1444 @(target):= _misc_.so
1445 ------------------------------------------------*/
1446#define SWIG_init init_misc_
d55e5bfc 1447
093d3ff1 1448#define SWIG_name "_misc_"
d55e5bfc 1449
093d3ff1
RD
1450#include "wx/wxPython/wxPython.h"
1451#include "wx/wxPython/pyclasses.h"
1452#include "wx/wxPython/pyistream.h"
d55e5bfc 1453
093d3ff1 1454 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1455
d55e5bfc 1456
d55e5bfc 1457
093d3ff1
RD
1458 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1459#define SWIG_From_int PyInt_FromLong
1460/*@@*/
d55e5bfc
RD
1461
1462
093d3ff1 1463#include <limits.h>
d55e5bfc
RD
1464
1465
093d3ff1
RD
1466SWIGINTERN int
1467 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1468 const char *errmsg)
d55e5bfc 1469{
093d3ff1
RD
1470 if (value < min_value) {
1471 if (errmsg) {
1472 PyErr_Format(PyExc_OverflowError,
1473 "value %ld is less than '%s' minimum %ld",
1474 value, errmsg, min_value);
1475 }
1476 return 0;
1477 } else if (value > max_value) {
c32bde28
RD
1478 if (errmsg) {
1479 PyErr_Format(PyExc_OverflowError,
093d3ff1 1480 "value %ld is greater than '%s' maximum %ld",
c32bde28 1481 value, errmsg, max_value);
d55e5bfc 1482 }
c32bde28 1483 return 0;
d55e5bfc 1484 }
c32bde28 1485 return 1;
093d3ff1 1486}
d55e5bfc
RD
1487
1488
093d3ff1
RD
1489SWIGINTERN int
1490SWIG_AsVal_long(PyObject* obj, long* val)
1491{
1492 if (PyNumber_Check(obj)) {
1493 if (val) *val = PyInt_AsLong(obj);
1494 return 1;
1495 }
1496 else {
1497 SWIG_type_error("number", obj);
1498 }
1499 return 0;
1500}
1501
1502
1503#if INT_MAX != LONG_MAX
1504SWIGINTERN int
1505 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1506{
093d3ff1
RD
1507 const char* errmsg = val ? "int" : (char*)0;
1508 long v;
1509 if (SWIG_AsVal_long(obj, &v)) {
1510 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1511 if (val) *val = (int)(v);
c32bde28 1512 return 1;
093d3ff1
RD
1513 } else {
1514 return 0;
c32bde28
RD
1515 }
1516 } else {
1517 PyErr_Clear();
1518 }
1519 if (val) {
093d3ff1 1520 SWIG_type_error(errmsg, obj);
c32bde28
RD
1521 }
1522 return 0;
d55e5bfc
RD
1523}
1524#else
093d3ff1
RD
1525SWIGINTERNSHORT int
1526 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1527{
093d3ff1 1528 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1529}
d55e5bfc
RD
1530#endif
1531
1532
093d3ff1
RD
1533SWIGINTERNSHORT int
1534SWIG_As_int(PyObject* obj)
d55e5bfc 1535{
093d3ff1
RD
1536 int v;
1537 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1538 /*
093d3ff1 1539 this is needed to make valgrind/purify happier.
c32bde28 1540 */
093d3ff1 1541 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1542 }
c32bde28
RD
1543 return v;
1544}
1545
1546
093d3ff1
RD
1547SWIGINTERNSHORT int
1548SWIG_Check_int(PyObject* obj)
c32bde28 1549{
093d3ff1 1550 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1551}
1552
093d3ff1 1553 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1554
093d3ff1 1555#include <wx/stockitem.h>
f78cc896 1556
093d3ff1
RD
1557 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1558 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1559 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1560
093d3ff1
RD
1561 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1562#define SWIG_From_long PyInt_FromLong
1563/*@@*/
f78cc896 1564
f78cc896 1565
093d3ff1
RD
1566SWIGINTERNSHORT long
1567SWIG_As_long(PyObject* obj)
1568{
1569 long v;
1570 if (!SWIG_AsVal_long(obj, &v)) {
1571 /*
1572 this is needed to make valgrind/purify happier.
1573 */
1574 memset((void*)&v, 0, sizeof(long));
1575 }
1576 return v;
1577}
f78cc896 1578
093d3ff1
RD
1579
1580SWIGINTERNSHORT int
1581SWIG_Check_long(PyObject* obj)
1582{
1583 return SWIG_AsVal_long(obj, (long*)0);
1584}
f78cc896 1585
f78cc896 1586
093d3ff1
RD
1587SWIGINTERN int
1588 SWIG_AsVal_bool(PyObject *obj, bool *val)
1589{
1590 if (obj == Py_True) {
1591 if (val) *val = true;
1592 return 1;
1593 }
1594 if (obj == Py_False) {
1595 if (val) *val = false;
1596 return 1;
1597 }
1598 int res = 0;
1599 if (SWIG_AsVal_int(obj, &res)) {
1600 if (val) *val = res ? true : false;
1601 return 1;
1602 } else {
1603 PyErr_Clear();
1604 }
1605 if (val) {
1606 SWIG_type_error("bool", obj);
1607 }
1608 return 0;
1609}
d55e5bfc 1610
d55e5bfc 1611
093d3ff1
RD
1612SWIGINTERNSHORT bool
1613SWIG_As_bool(PyObject* obj)
1614{
1615 bool v;
1616 if (!SWIG_AsVal_bool(obj, &v)) {
1617 /*
1618 this is needed to make valgrind/purify happier.
1619 */
1620 memset((void*)&v, 0, sizeof(bool));
1621 }
1622 return v;
1623}
d55e5bfc 1624
093d3ff1
RD
1625
1626SWIGINTERNSHORT int
1627SWIG_Check_bool(PyObject* obj)
1628{
1629 return SWIG_AsVal_bool(obj, (bool*)0);
1630}
d55e5bfc
RD
1631
1632
093d3ff1
RD
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
d55e5bfc 1650
093d3ff1
RD
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
d55e5bfc 1658
d55e5bfc
RD
1659
1660
093d3ff1
RD
1661SWIGINTERN int
1662SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1663{
1664 long v = 0;
1665 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1666 SWIG_type_error("unsigned number", obj);
d55e5bfc 1667 }
093d3ff1
RD
1668 else if (val)
1669 *val = (unsigned long)v;
1670 return 1;
1671}
d55e5bfc 1672
d55e5bfc 1673
093d3ff1
RD
1674SWIGINTERNSHORT unsigned long
1675SWIG_As_unsigned_SS_long(PyObject* obj)
1676{
1677 unsigned long v;
1678 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1679 /*
1680 this is needed to make valgrind/purify happier.
1681 */
1682 memset((void*)&v, 0, sizeof(unsigned long));
1683 }
1684 return v;
1685}
d55e5bfc 1686
093d3ff1
RD
1687
1688SWIGINTERNSHORT int
1689SWIG_Check_unsigned_SS_long(PyObject* obj)
1690{
1691 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1692}
d55e5bfc
RD
1693
1694
093d3ff1
RD
1695SWIGINTERNSHORT PyObject*
1696 SWIG_From_unsigned_SS_long(unsigned long value)
1697{
1698 return (value > LONG_MAX) ?
1699 PyLong_FromUnsignedLong(value)
1700 : PyInt_FromLong((long)(value));
1701}
d55e5bfc
RD
1702
1703
093d3ff1
RD
1704 bool wxThread_IsMain() {
1705#ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1707#else
1708 return true;
1709#endif
d55e5bfc 1710 }
093d3ff1 1711
091fdbfa
RD
1712static void wxCaret_Destroy(wxCaret *self){
1713 delete self;
1714 }
d55e5bfc 1715
093d3ff1
RD
1716#include <wx/snglinst.h>
1717
1718
68350608
RD
1719#ifdef __WXMSW__
1720#include <wx/msw/private.h>
1721#include <wx/dynload.h>
1722#endif
1723
1724
1725
1726bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1727#if 0
1728 , int method
1729#endif
1730 )
1731{
1732#ifdef __WXMSW__
1733#if 0
1734 switch (method)
1735 {
1736 case 1:
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1740 // not be painted.
1741 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1742 break;
1743
1744 case 2:
1745#endif
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1752 // works very well.
1753 //
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1758 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1759 PRF_ERASEBKGND | PRF_OWNED );
1760 return true;
1761#if 0
1762 break;
1763
1764 case 3:
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1771
1772 // fall through
1773
1774 case 4:
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1780 static bool s_triedToLoad = false;
1781 static PrintWindow_t pfnPrintWindow = NULL;
1782 if ( !s_triedToLoad )
1783 {
1784
1785 s_triedToLoad = true;
1786 wxDynamicLibrary dllUser32(_T("user32.dll"));
1787 if ( dllUser32.IsLoaded() )
1788 {
1789 wxLogNull nolog; // Don't report errors here
1790 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1791 }
1792 }
1793 if (pfnPrintWindow)
1794 {
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1797 }
1798 else
1799 {
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1802 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1803 PRF_ERASEBKGND | PRF_OWNED );
1804 }
1805 }
1806#endif // 0
1807#else
1808 return false;
1809#endif // __WXMSW__
1810}
1811
1812
1813
093d3ff1
RD
1814#include <wx/tipdlg.h>
1815
d55e5bfc 1816
093d3ff1
RD
1817class wxPyTipProvider : public wxTipProvider {
1818public:
1819 wxPyTipProvider(size_t currentTip)
1820 : wxTipProvider(currentTip) {}
1821
1822 DEC_PYCALLBACK_STRING__pure(GetTip);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
1824 PYPRIVATE;
1825};
1826
093d3ff1
RD
1827IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
1828IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
1829
1830
093d3ff1 1831//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 1832
093d3ff1 1833IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 1834
093d3ff1
RD
1835wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
1836 : wxTimer(owner, id)
1837{
1838 if (owner == NULL) SetOwner(this);
1839}
d55e5bfc 1840
d55e5bfc 1841
093d3ff1
RD
1842void wxPyTimer::Notify() {
1843 bool found;
1844 bool blocked = wxPyBeginBlockThreads();
1845 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
1846 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked);
1848 if (! found)
1849 wxTimer::Notify();
1850}
1851void wxPyTimer::base_Notify() {
1852 wxTimer::Notify();
1853}
d55e5bfc 1854
d55e5bfc 1855
093d3ff1
RD
1856
1857SWIGINTERN PyObject *
1858SWIG_FromCharPtr(const char* cptr)
1859{
1860 if (cptr) {
1861 size_t size = strlen(cptr);
1862 if (size > INT_MAX) {
1863 return SWIG_NewPointerObj((char*)(cptr),
1864 SWIG_TypeQuery("char *"), 0);
1865 } else {
1866 if (size != 0) {
1867 return PyString_FromStringAndSize(cptr, size);
1868 } else {
1869 return PyString_FromString(cptr);
1870 }
c32bde28 1871 }
093d3ff1
RD
1872 }
1873 Py_INCREF(Py_None);
1874 return Py_None;
1875}
1876
1877
1878SWIGINTERNSHORT int
1879 SWIG_CheckUnsignedLongInRange(unsigned long value,
1880 unsigned long max_value,
1881 const char *errmsg)
1882{
1883 if (value > max_value) {
1884 if (errmsg) {
1885 PyErr_Format(PyExc_OverflowError,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value, errmsg, max_value);
d55e5bfc 1888 }
c32bde28 1889 return 0;
093d3ff1
RD
1890 }
1891 return 1;
1892 }
1893
1894
1895#if UINT_MAX != ULONG_MAX
1896SWIGINTERN int
1897 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1898{
1899 const char* errmsg = val ? "unsigned int" : (char*)0;
1900 unsigned long v;
1901 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1902 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1903 if (val) *val = (unsigned int)(v);
1904 return 1;
1905 }
1906 } else {
1907 PyErr_Clear();
1908 }
1909 if (val) {
1910 SWIG_type_error(errmsg, obj);
1911 }
1912 return 0;
1913}
1914#else
1915SWIGINTERNSHORT unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1917{
1918 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 1919}
093d3ff1 1920#endif
d55e5bfc
RD
1921
1922
093d3ff1
RD
1923SWIGINTERNSHORT unsigned int
1924SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 1925{
093d3ff1
RD
1926 unsigned int v;
1927 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 1928 /*
093d3ff1 1929 this is needed to make valgrind/purify happier.
c32bde28 1930 */
093d3ff1 1931 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 1932 }
c32bde28
RD
1933 return v;
1934}
1935
1936
093d3ff1
RD
1937SWIGINTERNSHORT int
1938SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 1939{
093d3ff1 1940 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
1941}
1942
093d3ff1
RD
1943static wxString Log_TimeStamp(){
1944 wxString msg;
1945 wxLog::TimeStamp(&msg);
1946 return msg;
d55e5bfc 1947 }
093d3ff1
RD
1948static void wxLog_Destroy(wxLog *self){ delete self; }
1949// Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString& msg)
1951 {
1952 wxString m(msg);
1953 m.Replace(wxT("%"), wxT("%%"));
1954 wxLogFatalError(m);
1955 }
1956
1957 void wxPyLogError(const wxString& msg)
1958 {
1959 wxString m(msg);
1960 m.Replace(wxT("%"), wxT("%%"));
1961 wxLogError(m);
1962 }
d55e5bfc 1963
093d3ff1
RD
1964 void wxPyLogWarning(const wxString& msg)
1965 {
1966 wxString m(msg);
1967 m.Replace(wxT("%"), wxT("%%"));
1968 wxLogWarning(m);
1969 }
d55e5bfc 1970
093d3ff1
RD
1971 void wxPyLogMessage(const wxString& msg)
1972 {
1973 wxString m(msg);
1974 m.Replace(wxT("%"), wxT("%%"));
1975 wxLogMessage(m);
1976 }
d55e5bfc 1977
093d3ff1
RD
1978 void wxPyLogInfo(const wxString& msg)
1979 {
1980 wxString m(msg);
1981 m.Replace(wxT("%"), wxT("%%"));
1982 wxLogInfo(m);
1983 }
d55e5bfc 1984
093d3ff1
RD
1985 void wxPyLogDebug(const wxString& msg)
1986 {
1987 wxString m(msg);
1988 m.Replace(wxT("%"), wxT("%%"));
1989 wxLogDebug(m);
1990 }
d55e5bfc 1991
093d3ff1
RD
1992 void wxPyLogVerbose(const wxString& msg)
1993 {
1994 wxString m(msg);
1995 m.Replace(wxT("%"), wxT("%%"));
1996 wxLogVerbose(m);
1997 }
d55e5bfc 1998
093d3ff1
RD
1999 void wxPyLogStatus(const wxString& msg)
2000 {
2001 wxString m(msg);
2002 m.Replace(wxT("%"), wxT("%%"));
2003 wxLogStatus(m);
2004 }
d55e5bfc 2005
093d3ff1
RD
2006 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2007 {
2008 wxString m(msg);
2009 m.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame, m);
2011 }
d55e5bfc 2012
093d3ff1
RD
2013 void wxPyLogSysError(const wxString& msg)
2014 {
2015 wxString m(msg);
2016 m.Replace(wxT("%"), wxT("%%"));
2017 wxLogSysError(m);
2018 }
d55e5bfc 2019
093d3ff1
RD
2020 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2021 {
2022 wxString m(msg);
2023 m.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level, m);
2025 }
a07a67e6 2026
093d3ff1
RD
2027 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2028 {
2029 wxString m(msg);
2030 m.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask, m);
d55e5bfc 2032 }
093d3ff1
RD
2033
2034 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2035 {
2036 wxString m(msg);
2037 m.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask, m);
d55e5bfc 2039 }
093d3ff1 2040
d55e5bfc
RD
2041
2042
093d3ff1
RD
2043// A wxLog class that can be derived from in wxPython
2044class wxPyLog : public wxLog {
d55e5bfc 2045public:
093d3ff1 2046 wxPyLog() : wxLog() {}
d55e5bfc 2047
093d3ff1
RD
2048 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2049 bool found;
2050 bool blocked = wxPyBeginBlockThreads();
2051 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2052 PyObject* s = wx2PyString(szString);
2053 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2054 Py_DECREF(s);
d55e5bfc 2055 }
093d3ff1
RD
2056 wxPyEndBlockThreads(blocked);
2057 if (! found)
2058 wxLog::DoLog(level, szString, t);
d55e5bfc 2059 }
d55e5bfc 2060
093d3ff1
RD
2061 virtual void DoLogString(const wxChar *szString, time_t t) {
2062 bool found;
2063 bool blocked = wxPyBeginBlockThreads();
2064 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2065 PyObject* s = wx2PyString(szString);
2066 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2067 Py_DECREF(s);
d55e5bfc 2068 }
093d3ff1
RD
2069 wxPyEndBlockThreads(blocked);
2070 if (! found)
2071 wxLog::DoLogString(szString, t);
2072 }
d55e5bfc
RD
2073
2074 PYPRIVATE;
2075};
2076
d55e5bfc
RD
2077
2078
093d3ff1
RD
2079
2080IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2081
d55e5bfc 2082
093d3ff1 2083#include <wx/joystick.h>
d55e5bfc 2084
d55e5bfc 2085
093d3ff1
RD
2086#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087// A C++ stub class for wxJoystick for platforms that don't have it.
2088class wxJoystick : public wxObject {
2089public:
2090 wxJoystick(int joystick = wxJOYSTICK1) {
2091 bool blocked = wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked);
d55e5bfc 2095 }
093d3ff1
RD
2096 wxPoint GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold) {}
d55e5bfc 2106
093d3ff1
RD
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString GetProductName() { return wxEmptyString; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
d55e5bfc 2130
093d3ff1
RD
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
d55e5bfc 2138
093d3ff1
RD
2139 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2141};
2142#endif
d55e5bfc 2143
6923d0a9 2144
093d3ff1 2145#include <wx/sound.h>
6923d0a9 2146
6923d0a9 2147
093d3ff1
RD
2148#if !wxUSE_SOUND
2149// A C++ stub class for wxWave for platforms that don't have it.
2150class wxSound : public wxObject
6923d0a9
RD
2151{
2152public:
093d3ff1
RD
2153 wxSound() {
2154 bool blocked = wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked);
2158 }
2159 wxSound(const wxString&/*, bool*/) {
2160 bool blocked = wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked);
2164 }
2165 wxSound(int, const wxByte*) {
2166 bool blocked = wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked);
2170 }
6923d0a9 2171
093d3ff1 2172 ~wxSound() {};
6923d0a9 2173
093d3ff1
RD
2174 bool Create(const wxString&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString&, unsigned) { return false; }
2179 static void Stop() {}
6923d0a9 2180};
093d3ff1 2181
6923d0a9
RD
2182#endif
2183
093d3ff1
RD
2184static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2185 if (fileName.Length() == 0)
2186 return new wxSound;
2187 else
2188 return new wxSound(fileName);
2189 }
2190static wxSound *new_wxSound(PyObject *data){
2191 unsigned char* buffer; int size;
2192 wxSound *sound = NULL;
2193
d55e5bfc 2194 bool blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2195 if (!PyArg_Parse(data, "t#", &buffer, &size))
2196 goto done;
2197 sound = new wxSound(size, buffer);
2198 done:
d55e5bfc 2199 wxPyEndBlockThreads(blocked);
093d3ff1 2200 return sound;
d55e5bfc 2201 }
093d3ff1
RD
2202static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2203 #ifndef __WXMAC__
2204 unsigned char* buffer;
2205 int size;
2206 bool rv = false;
c1cb24a4 2207
093d3ff1
RD
2208 bool blocked = wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data, "t#", &buffer, &size))
2210 goto done;
2211 rv = self->Create(size, buffer);
2212 done:
2213 wxPyEndBlockThreads(blocked);
2214 return rv;
2215 #else
2216 bool blocked = wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked);
2220 return false;
2221 #endif
2222 }
c1cb24a4 2223
093d3ff1
RD
2224#include <wx/mimetype.h>
2225
2226static PyObject *wxFileType_GetMimeType(wxFileType *self){
2227 wxString str;
2228 if (self->GetMimeType(&str))
2229 return wx2PyString(str);
2230 else
2231 RETURN_NONE();
8fb0e70a 2232 }
093d3ff1
RD
2233static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2234 wxArrayString arr;
2235 if (self->GetMimeTypes(arr))
2236 return wxArrayString2PyList_helper(arr);
2237 else
2238 RETURN_NONE();
2239 }
2240static PyObject *wxFileType_GetExtensions(wxFileType *self){
2241 wxArrayString arr;
2242 if (self->GetExtensions(arr))
2243 return wxArrayString2PyList_helper(arr);
2244 else
2245 RETURN_NONE();
2246 }
2247static wxIcon *wxFileType_GetIcon(wxFileType *self){
2248 wxIconLocation loc;
2249 if (self->GetIcon(&loc))
2250 return new wxIcon(loc);
2251 else
2252 return NULL;
2253 }
2254static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2255 wxIconLocation loc;
2256 if (self->GetIcon(&loc)) {
2257 wxString iconFile = loc.GetFileName();
2258 int iconIndex = -1;
d55e5bfc 2259
093d3ff1 2260 iconIndex = loc.GetIndex();
d55e5bfc 2261
093d3ff1
RD
2262 // Make a tuple and put the values in it
2263 bool blocked = wxPyBeginBlockThreads();
2264 PyObject* tuple = PyTuple_New(3);
2265 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2268 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2269 wxPyEndBlockThreads(blocked);
2270 return tuple;
2271 }
2272 else
2273 RETURN_NONE();
2274 }
2275static PyObject *wxFileType_GetDescription(wxFileType *self){
2276 wxString str;
2277 if (self->GetDescription(&str))
2278 return wx2PyString(str);
2279 else
2280 RETURN_NONE();
2281 }
2282static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2283 wxString str;
2284 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2285 return wx2PyString(str);
2286 else
2287 RETURN_NONE();
2288 }
2289static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2290 wxString str;
2291 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2292 return wx2PyString(str);
2293 else
2294 RETURN_NONE();
2295 }
2296static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2297 wxArrayString verbs;
2298 wxArrayString commands;
2299 if (self->GetAllCommands(&verbs, &commands,
2300 wxFileType::MessageParameters(filename, mimetype))) {
2301 bool blocked = wxPyBeginBlockThreads();
2302 PyObject* tuple = PyTuple_New(2);
2303 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2304 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2305 wxPyEndBlockThreads(blocked);
2306 return tuple;
2307 }
2308 else
2309 RETURN_NONE();
2310 }
2311static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2312 return wxFileType::ExpandCommand(command,
2313 wxFileType::MessageParameters(filename, mimetype));
2314 }
2315static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2316 wxArrayString arr;
2317 self->EnumAllFileTypes(arr);
2318 return wxArrayString2PyList_helper(arr);
2319 }
d55e5bfc 2320
093d3ff1 2321#include <wx/artprov.h>
d55e5bfc 2322
093d3ff1
RD
2323 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2324 static const wxString wxPyART_MENU(wxART_MENU);
2325 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2326 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2327 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2328 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2329 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2330 static const wxString wxPyART_OTHER(wxART_OTHER);
2331 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2332 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2333 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2334 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2335 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2336 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2337 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2338 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2339 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2340 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2341 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2342 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2343 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2344 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2345 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2346 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2347 static const wxString wxPyART_PRINT(wxART_PRINT);
2348 static const wxString wxPyART_HELP(wxART_HELP);
2349 static const wxString wxPyART_TIP(wxART_TIP);
2350 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2351 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2352 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2353 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2354 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2355 static const wxString wxPyART_CDROM(wxART_CDROM);
2356 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2357 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2358 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2359 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2360 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2361 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2362 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2363 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2364 static const wxString wxPyART_ERROR(wxART_ERROR);
2365 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2366 static const wxString wxPyART_WARNING(wxART_WARNING);
2367 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2368 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2369 static const wxString wxPyART_COPY(wxART_COPY);
2370 static const wxString wxPyART_CUT(wxART_CUT);
2371 static const wxString wxPyART_PASTE(wxART_PASTE);
2372 static const wxString wxPyART_DELETE(wxART_DELETE);
2373 static const wxString wxPyART_UNDO(wxART_UNDO);
2374 static const wxString wxPyART_REDO(wxART_REDO);
2375 static const wxString wxPyART_QUIT(wxART_QUIT);
2376 static const wxString wxPyART_FIND(wxART_FIND);
2377 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2378 // Python aware wxArtProvider
2379class wxPyArtProvider : public wxArtProvider {
2380public:
d55e5bfc 2381
093d3ff1
RD
2382 virtual wxBitmap CreateBitmap(const wxArtID& id,
2383 const wxArtClient& client,
2384 const wxSize& size) {
2385 wxBitmap rval = wxNullBitmap;
2386 bool blocked = wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2388 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2389 PyObject* ro;
2390 wxBitmap* ptr;
2391 PyObject* s1, *s2;
2392 s1 = wx2PyString(id);
2393 s2 = wx2PyString(client);
2394 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2395 Py_DECREF(so);
2396 Py_DECREF(s1);
2397 Py_DECREF(s2);
2398 if (ro) {
2399 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2400 rval = *ptr;
2401 Py_DECREF(ro);
2402 }
2403 }
2404 wxPyEndBlockThreads(blocked);
2405 return rval;
d55e5bfc 2406 }
d55e5bfc 2407
093d3ff1
RD
2408 PYPRIVATE;
2409};
d55e5bfc 2410
093d3ff1 2411static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2412
2413
d55e5bfc 2414
093d3ff1
RD
2415 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2416 PyObject* ret = PyTuple_New(3);
2417 if (ret) {
2418 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2419 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2420 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2421 }
2422 return ret;
2423 }
d55e5bfc 2424
093d3ff1
RD
2425static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2426 bool cont;
2427 long index = 0;
2428 wxString value;
7e63a440 2429
093d3ff1
RD
2430 cont = self->GetFirstGroup(value, index);
2431 return __EnumerationHelper(cont, value, index);
2432 }
2433static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2434 bool cont;
2435 wxString value;
7e63a440 2436
093d3ff1
RD
2437 cont = self->GetNextGroup(value, index);
2438 return __EnumerationHelper(cont, value, index);
2439 }
2440static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2441 bool cont;
2442 long index = 0;
2443 wxString value;
7e63a440 2444
093d3ff1
RD
2445 cont = self->GetFirstEntry(value, index);
2446 return __EnumerationHelper(cont, value, index);
2447 }
2448static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2449 bool cont;
2450 wxString value;
d55e5bfc 2451
093d3ff1
RD
2452 cont = self->GetNextEntry(value, index);
2453 return __EnumerationHelper(cont, value, index);
2454 }
2455static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2456 long rv;
2457 self->Read(key, &rv, defaultVal);
2458 return rv;
2459 }
d55e5bfc 2460
093d3ff1
RD
2461SWIGINTERN int
2462SWIG_AsVal_double(PyObject *obj, double* val)
2463{
2464 if (PyNumber_Check(obj)) {
2465 if (val) *val = PyFloat_AsDouble(obj);
2466 return 1;
d55e5bfc 2467 }
093d3ff1
RD
2468 else {
2469 SWIG_type_error("number", obj);
d55e5bfc 2470 }
093d3ff1 2471 return 0;
d55e5bfc
RD
2472}
2473
2474
093d3ff1
RD
2475SWIGINTERNSHORT double
2476SWIG_As_double(PyObject* obj)
2477{
2478 double v;
2479 if (!SWIG_AsVal_double(obj, &v)) {
2480 /*
2481 this is needed to make valgrind/purify happier.
2482 */
2483 memset((void*)&v, 0, sizeof(double));
2484 }
2485 return v;
d55e5bfc
RD
2486}
2487
093d3ff1
RD
2488
2489SWIGINTERNSHORT int
2490SWIG_Check_double(PyObject* obj)
2491{
2492 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2493}
2494
093d3ff1
RD
2495static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2496 double rv;
2497 self->Read(key, &rv, defaultVal);
2498 return rv;
2499 }
d55e5bfc 2500
093d3ff1
RD
2501 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2502#define SWIG_From_double PyFloat_FromDouble
2503/*@@*/
d55e5bfc 2504
093d3ff1
RD
2505static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2506 bool rv;
2507 self->Read(key, &rv, defaultVal);
2508 return rv;
2509 }
d55e5bfc 2510
093d3ff1 2511#include <wx/datetime.h>
d55e5bfc 2512
fef4c27a
RD
2513 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2514 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2515
093d3ff1 2516#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2517
b9d6a5f3
RD
2518static PyObject *DateTime_GetAmPmStrings(){
2519 wxString am;
2520 wxString pm;
2521 wxDateTime::GetAmPmStrings(&am, &pm);
2522 bool blocked = wxPyBeginBlockThreads();
2523 PyObject* tup = PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2525 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2526 wxPyEndBlockThreads(blocked);
2527 return tup;
2528 }
093d3ff1
RD
2529
2530#if UINT_MAX < LONG_MAX
2531/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2532#define SWIG_From_unsigned_SS_int SWIG_From_long
2533/*@@*/
d55e5bfc 2534#else
093d3ff1
RD
2535/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2536#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2537/*@@*/
d55e5bfc 2538#endif
d55e5bfc 2539
093d3ff1
RD
2540static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2541static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2542static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2543static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2544static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2545static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2546 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2547 return (*self < *other);
2548 }
2549static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2550 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2551 return (*self <= *other);
2552 }
2553static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2554 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2555 return (*self > *other);
2556 }
2557static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2558 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2559 return (*self >= *other);
2560 }
2561static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2562 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2563 return (*self == *other);
2564 }
2565static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2566 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2567 return (*self != *other);
2568 }
2569static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2570 const wxChar* rv;
2571 const wxChar* _date = date;
2572 rv = self->ParseRfc822Date(_date);
2573 if (rv == NULL) return -1;
2574 return rv - _date;
2575 }
fef4c27a 2576static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2577 const wxChar* rv;
2578 const wxChar* _date = date;
2579 rv = self->ParseFormat(_date, format, dateDef);
2580 if (rv == NULL) return -1;
2581 return rv - _date;
2582 }
2583static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2584 const wxChar* rv;
2585 const wxChar* _datetime = datetime;
2586 rv = self->ParseDateTime(_datetime);
2587 if (rv == NULL) return -1;
2588 return rv - _datetime;
2589 }
2590static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2591 const wxChar* rv;
2592 const wxChar* _date = date;
2593 rv = self->ParseDate(_date);
2594 if (rv == NULL) return -1;
2595 return rv - _date;
2596 }
2597static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2598 const wxChar* rv;
2599 const wxChar* _time = time;
2600 rv = self->ParseTime(_time);
2601 if (rv == NULL) return -1;
2602 return rv - _time;
2603 }
2604static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2605static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2606static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2607static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2608static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2609static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2610static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2611static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2612static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2613static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2614static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2615static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2616static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2617static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2618static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2619static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2620
093d3ff1 2621#include <wx/dataobj.h>
d55e5bfc 2622
093d3ff1
RD
2623static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2624 size_t count = self->GetFormatCount(dir);
2625 wxDataFormat* formats = new wxDataFormat[count];
2626 self->GetAllFormats(formats, dir);
d55e5bfc 2627
093d3ff1
RD
2628 bool blocked = wxPyBeginBlockThreads();
2629 PyObject* list = PyList_New(count);
2630 for (size_t i=0; i<count; i++) {
2631 wxDataFormat* format = new wxDataFormat(formats[i]);
2632 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
2633 PyList_Append(list, obj);
2634 Py_DECREF(obj);
2635 }
2636 wxPyEndBlockThreads(blocked);
2637 delete [] formats;
2638 return list;
2639 }
2640static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2641 PyObject* rval = NULL;
2642 size_t size = self->GetDataSize(format);
2643 bool blocked = wxPyBeginBlockThreads();
2644 if (size) {
2645 char* buf = new char[size];
2646 if (self->GetDataHere(format, buf))
2647 rval = PyString_FromStringAndSize(buf, size);
2648 delete [] buf;
2649 }
2650 if (! rval) {
2651 rval = Py_None;
2652 Py_INCREF(rval);
2653 }
2654 wxPyEndBlockThreads(blocked);
2655 return rval;
2656 }
2657static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2658 bool rval;
2659 bool blocked = wxPyBeginBlockThreads();
2660 if (PyString_Check(data)) {
2661 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2662 }
2663 else {
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError, "String expected.");
2666 rval = false;
2667 }
2668 wxPyEndBlockThreads(blocked);
2669 return rval;
2670 }
2671static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2672 PyObject* rval = NULL;
2673 size_t size = self->GetDataSize();
2674 bool blocked = wxPyBeginBlockThreads();
2675 if (size) {
2676 char* buf = new char[size];
2677 if (self->GetDataHere(buf))
2678 rval = PyString_FromStringAndSize(buf, size);
2679 delete [] buf;
2680 }
2681 if (! rval) {
2682 rval = Py_None;
2683 Py_INCREF(rval);
2684 }
2685 wxPyEndBlockThreads(blocked);
2686 return rval;
2687 }
2688static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2689 bool rval;
2690 bool blocked = wxPyBeginBlockThreads();
2691 if (PyString_Check(data)) {
2692 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2693 }
2694 else {
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError, "String expected.");
2697 rval = false;
2698 }
2699 wxPyEndBlockThreads(blocked);
2700 return rval;
2701 }
2702 // Create a new class for wxPython to use
2703class wxPyDataObjectSimple : public wxDataObjectSimple {
2704public:
2705 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2706 : wxDataObjectSimple(format) {}
d55e5bfc 2707
093d3ff1
RD
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2709 bool GetDataHere(void *buf) const;
2710 bool SetData(size_t len, const void *buf) const;
2711 PYPRIVATE;
2712};
d55e5bfc 2713
093d3ff1 2714IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2715
093d3ff1
RD
2716bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2720 // C++ version.
d55e5bfc 2721
093d3ff1
RD
2722 bool rval = false;
2723 bool blocked = wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2725 PyObject* ro;
2726 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2727 if (ro) {
2728 rval = (ro != Py_None && PyString_Check(ro));
2729 if (rval)
2730 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2731 Py_DECREF(ro);
2732 }
d55e5bfc 2733 }
093d3ff1
RD
2734 wxPyEndBlockThreads(blocked);
2735 return rval;
d55e5bfc
RD
2736}
2737
093d3ff1
RD
2738bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2741 bool rval = false;
2742 bool blocked = wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2744 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2745 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2746 Py_DECREF(data);
d55e5bfc 2747 }
093d3ff1
RD
2748 wxPyEndBlockThreads(blocked);
2749 return rval;
d55e5bfc
RD
2750}
2751
093d3ff1
RD
2752 // Create a new class for wxPython to use
2753class wxPyTextDataObject : public wxTextDataObject {
2754public:
2755 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2756 : wxTextDataObject(text) {}
2757
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2759 DEC_PYCALLBACK_STRING__const(GetText);
2760 DEC_PYCALLBACK__STRING(SetText);
2761 PYPRIVATE;
2762};
d55e5bfc 2763
093d3ff1
RD
2764IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2765IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2766IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2767
2768
2769 // Create a new class for wxPython to use
2770class wxPyBitmapDataObject : public wxBitmapDataObject {
2771public:
2772 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2773 : wxBitmapDataObject(bitmap) {}
2774
2775 wxBitmap GetBitmap() const;
2776 void SetBitmap(const wxBitmap& bitmap);
2777 PYPRIVATE;
2778};
2779
2780wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap* rval = &wxNullBitmap;
2782 bool blocked = wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2784 PyObject* ro;
2785 wxBitmap* ptr;
2786 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2787 if (ro) {
2788 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2789 rval = ptr;
2790 Py_DECREF(ro);
2791 }
2792 }
2793 wxPyEndBlockThreads(blocked);
2794 return *rval;
2795}
2796
2797void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
2798 bool blocked = wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2800 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2802 Py_DECREF(bo);
2803 }
2804 wxPyEndBlockThreads(blocked);
2805}
2806
fef4c27a
RD
2807static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2808 return new wxCustomDataObject(wxDataFormat(formatName));
2809 }
093d3ff1
RD
2810static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2811 bool rval;
2812 bool blocked = wxPyBeginBlockThreads();
2813 if (PyString_Check(data)) {
2814 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2815 }
2816 else {
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError, "String expected.");
2819 rval = false;
2820 }
2821 wxPyEndBlockThreads(blocked);
2822 return rval;
2823 }
2824static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2825 PyObject* obj;
2826 bool blocked = wxPyBeginBlockThreads();
2827 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
2828 wxPyEndBlockThreads(blocked);
2829 return obj;
2830 }
2831
2832#include <wx/metafile.h>
2833
2834
2835IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
2836
2837
2838IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
2839IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
2840IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
2841IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
2842IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
2843
2844
2845class wxPyTextDropTarget : public wxTextDropTarget {
2846public:
2847 wxPyTextDropTarget() {}
2848
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
2850
2851 DEC_PYCALLBACK__(OnLeave);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2856
2857 PYPRIVATE;
2858};
2859
2860IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
2861IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
2862IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
2863IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
2864IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
2865IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
2866
2867
2868
2869class wxPyFileDropTarget : public wxFileDropTarget {
2870public:
2871 wxPyFileDropTarget() {}
2872
2873 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
2874
2875 DEC_PYCALLBACK__(OnLeave);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2880
2881 PYPRIVATE;
2882};
2883
2884bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
2885 const wxArrayString& filenames) {
2886 bool rval = false;
2887 bool blocked = wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
2889 PyObject* list = wxArrayString2PyList_helper(filenames);
2890 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
2891 Py_DECREF(list);
2892 }
2893 wxPyEndBlockThreads(blocked);
2894 return rval;
2895}
2896
2897
2898
2899IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
2900IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
2901IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
2902IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
2903IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
2904
2905
2906
2907
2908static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
2909
2910#include <wx/display.h>
2911
2912static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
2913static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
2914
2915// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2916#if !wxUSE_DISPLAY
2917#include <wx/dynarray.h>
2918#include <wx/vidmode.h>
2919
2920WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
2921#include "wx/arrimpl.cpp"
2922WX_DEFINE_OBJARRAY(wxArrayVideoModes);
2923const wxVideoMode wxDefaultVideoMode;
2924
2925class wxDisplay
2926{
2927public:
2928 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
2929 ~wxDisplay() {}
2930
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2933
2934 static int GetFromPoint(const wxPoint& pt)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2936 static int GetFromWindow(wxWindow *window)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2938
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect GetGeometry() const { wxRect r; return r; }
2941 virtual wxString GetName() const { return wxEmptyString; }
2942 bool IsPrimary() const { return false; }
2943
2944 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
2945 { wxArrayVideoModes a; return a; }
2946
2947 virtual wxVideoMode GetCurrentMode() const
2948 { return wxDefaultVideoMode; }
2949
2950 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
2951 { return false; }
2952
2953 void ResetMode() {}
2954};
2955#endif
2956
2957static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
2958 PyObject* pyList = NULL;
2959 wxArrayVideoModes arr = self->GetModes(mode);
2960 bool blocked = wxPyBeginBlockThreads();
2961 pyList = PyList_New(0);
2962 for (int i=0; i < arr.GetCount(); i++) {
2963 wxVideoMode* m = new wxVideoMode(arr.Item(i));
2964 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
2965 PyList_Append(pyList, pyObj);
2966 Py_DECREF(pyObj);
2967 }
2968 wxPyEndBlockThreads(blocked);
2969 return pyList;
2970 }
2971
2972#include <wx/stdpaths.h>
2973
2974static wxStandardPaths *StandardPaths_Get(){
2975 return (wxStandardPaths*) &wxStandardPaths::Get();
2976 }
2977static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
2978static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
2979#ifdef __cplusplus
2980extern "C" {
2981#endif
2982static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 2983 PyObject *resultobj;
093d3ff1
RD
2984 wxSystemColour arg1 ;
2985 wxColour result;
d55e5bfc
RD
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
093d3ff1 2988 (char *) "index", NULL
d55e5bfc
RD
2989 };
2990
093d3ff1
RD
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2992 {
2993 arg1 = (wxSystemColour)(SWIG_As_int(obj0));
2994 if (SWIG_arg_fail(1)) SWIG_fail;
2995 }
d55e5bfc 2996 {
093d3ff1 2997 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 2999 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
d55e5bfc
RD
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
093d3ff1
RD
3004 {
3005 wxColour * resultptr;
3006 resultptr = new wxColour((wxColour &)(result));
3007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3008 }
d55e5bfc
RD
3009 return resultobj;
3010 fail:
3011 return NULL;
3012}
3013
3014
093d3ff1 3015static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3016 PyObject *resultobj;
093d3ff1
RD
3017 wxSystemFont arg1 ;
3018 wxFont result;
3019 PyObject * obj0 = 0 ;
d55e5bfc 3020 char *kwnames[] = {
093d3ff1 3021 (char *) "index", NULL
d55e5bfc
RD
3022 };
3023
093d3ff1 3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3025 {
093d3ff1
RD
3026 arg1 = (wxSystemFont)(SWIG_As_int(obj0));
3027 if (SWIG_arg_fail(1)) SWIG_fail;
3028 }
3029 {
3030 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3032 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
d55e5bfc
RD
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
093d3ff1
RD
3037 {
3038 wxFont * resultptr;
3039 resultptr = new wxFont((wxFont &)(result));
3040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
d55e5bfc
RD
3045}
3046
3047
093d3ff1 3048static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3049 PyObject *resultobj;
093d3ff1 3050 wxSystemMetric arg1 ;
6932ae68 3051 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3052 int result;
d1f3a348 3053 PyObject * obj0 = 0 ;
6932ae68 3054 PyObject * obj1 = 0 ;
d1f3a348 3055 char *kwnames[] = {
6932ae68 3056 (char *) "index",(char *) "win", NULL
d1f3a348
RD
3057 };
3058
6932ae68 3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
d1f3a348 3060 {
093d3ff1
RD
3061 arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
3062 if (SWIG_arg_fail(1)) SWIG_fail;
3063 }
6932ae68
RD
3064 if (obj1) {
3065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3066 if (SWIG_arg_fail(2)) SWIG_fail;
3067 }
093d3ff1
RD
3068 {
3069 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932ae68 3071 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
d1f3a348
RD
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 {
093d3ff1 3077 resultobj = SWIG_From_int((int)(result));
d1f3a348
RD
3078 }
3079 return resultobj;
3080 fail:
3081 return NULL;
3082}
3083
3084
093d3ff1 3085static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3086 PyObject *resultobj;
093d3ff1 3087 wxSystemFeature arg1 ;
d1f3a348 3088 bool result;
d1f3a348 3089 PyObject * obj0 = 0 ;
d1f3a348 3090 char *kwnames[] = {
093d3ff1 3091 (char *) "index", NULL
d1f3a348
RD
3092 };
3093
093d3ff1 3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
d1f3a348 3095 {
093d3ff1
RD
3096 arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
3097 if (SWIG_arg_fail(1)) SWIG_fail;
d1f3a348
RD
3098 }
3099 {
093d3ff1 3100 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3102 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
d1f3a348
RD
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 {
3108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3109 }
d1f3a348
RD
3110 return resultobj;
3111 fail:
d1f3a348
RD
3112 return NULL;
3113}
3114
3115
093d3ff1 3116static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d1f3a348 3117 PyObject *resultobj;
093d3ff1 3118 wxSystemScreenType result;
d1f3a348 3119 char *kwnames[] = {
093d3ff1 3120 NULL
d1f3a348
RD
3121 };
3122
093d3ff1 3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
d1f3a348 3124 {
093d3ff1 3125 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3126 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3127 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
d1f3a348
RD
3128
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) SWIG_fail;
3131 }
093d3ff1 3132 resultobj = SWIG_From_int((result));
d1f3a348
RD
3133 return resultobj;
3134 fail:
3135 return NULL;
3136}
3137
3138
093d3ff1 3139static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3140 PyObject *resultobj;
093d3ff1
RD
3141 wxSystemScreenType arg1 ;
3142 PyObject * obj0 = 0 ;
d55e5bfc 3143 char *kwnames[] = {
093d3ff1 3144 (char *) "screen", NULL
d55e5bfc
RD
3145 };
3146
093d3ff1
RD
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3148 {
3149 arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
3150 if (SWIG_arg_fail(1)) SWIG_fail;
3151 }
d55e5bfc 3152 {
0439c23b 3153 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3155 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
d55e5bfc
RD
3156
3157 wxPyEndAllowThreads(__tstate);
110da5b0 3158 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3159 }
3160 Py_INCREF(Py_None); resultobj = Py_None;
3161 return resultobj;
3162 fail:
3163 return NULL;
3164}
3165
3166
093d3ff1
RD
3167static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3168 PyObject *obj;
3169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3170 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3171 Py_INCREF(obj);
3172 return Py_BuildValue((char *)"");
3173}
3174static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3175 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3176 return 1;
3177}
3178
3179
3180static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3181 PyObject *pyobj;
d55e5bfc 3182
d55e5bfc 3183 {
093d3ff1
RD
3184#if wxUSE_UNICODE
3185 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3186#else
3187 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3188#endif
d55e5bfc 3189 }
093d3ff1 3190 return pyobj;
d55e5bfc
RD
3191}
3192
3193
093d3ff1 3194static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3195 PyObject *resultobj;
093d3ff1 3196 wxSystemOptions *result;
d55e5bfc 3197 char *kwnames[] = {
093d3ff1 3198 NULL
d55e5bfc
RD
3199 };
3200
093d3ff1 3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3204 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
093d3ff1 3209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3210 return resultobj;
3211 fail:
3212 return NULL;
3213}
3214
3215
093d3ff1 3216static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3217 PyObject *resultobj;
093d3ff1
RD
3218 wxString *arg1 = 0 ;
3219 wxString *arg2 = 0 ;
3220 bool temp1 = false ;
3221 bool temp2 = false ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
d55e5bfc 3224 char *kwnames[] = {
093d3ff1 3225 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3226 };
3227
093d3ff1
RD
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3229 {
3230 arg1 = wxString_in_helper(obj0);
3231 if (arg1 == NULL) SWIG_fail;
3232 temp1 = true;
3233 }
3234 {
3235 arg2 = wxString_in_helper(obj1);
3236 if (arg2 == NULL) SWIG_fail;
3237 temp2 = true;
3238 }
d55e5bfc
RD
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3241 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3242
3243 wxPyEndAllowThreads(__tstate);
110da5b0 3244 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3245 }
3246 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3247 {
3248 if (temp1)
3249 delete arg1;
3250 }
3251 {
3252 if (temp2)
3253 delete arg2;
3254 }
d55e5bfc
RD
3255 return resultobj;
3256 fail:
093d3ff1
RD
3257 {
3258 if (temp1)
3259 delete arg1;
3260 }
3261 {
3262 if (temp2)
3263 delete arg2;
3264 }
d55e5bfc
RD
3265 return NULL;
3266}
3267
3268
093d3ff1 3269static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3270 PyObject *resultobj;
093d3ff1
RD
3271 wxString *arg1 = 0 ;
3272 int arg2 ;
3273 bool temp1 = false ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
d55e5bfc 3276 char *kwnames[] = {
093d3ff1 3277 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3278 };
3279
093d3ff1
RD
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3281 {
3282 arg1 = wxString_in_helper(obj0);
3283 if (arg1 == NULL) SWIG_fail;
3284 temp1 = true;
3285 }
3286 {
3287 arg2 = (int)(SWIG_As_int(obj1));
3288 if (SWIG_arg_fail(2)) SWIG_fail;
3289 }
d55e5bfc
RD
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3292 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
093d3ff1 3297 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3298 {
093d3ff1
RD
3299 if (temp1)
3300 delete arg1;
d55e5bfc
RD
3301 }
3302 return resultobj;
3303 fail:
093d3ff1
RD
3304 {
3305 if (temp1)
3306 delete arg1;
3307 }
d55e5bfc
RD
3308 return NULL;
3309}
3310
3311
093d3ff1 3312static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3313 PyObject *resultobj;
093d3ff1 3314 wxString *arg1 = 0 ;
d55e5bfc 3315 wxString result;
093d3ff1
RD
3316 bool temp1 = false ;
3317 PyObject * obj0 = 0 ;
d55e5bfc 3318 char *kwnames[] = {
093d3ff1 3319 (char *) "name", NULL
d55e5bfc
RD
3320 };
3321
093d3ff1
RD
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3323 {
3324 arg1 = wxString_in_helper(obj0);
3325 if (arg1 == NULL) SWIG_fail;
3326 temp1 = true;
3327 }
d55e5bfc
RD
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3330 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 {
3336#if wxUSE_UNICODE
3337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3338#else
3339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3340#endif
3341 }
093d3ff1
RD
3342 {
3343 if (temp1)
3344 delete arg1;
3345 }
d55e5bfc
RD
3346 return resultobj;
3347 fail:
093d3ff1
RD
3348 {
3349 if (temp1)
3350 delete arg1;
3351 }
d55e5bfc
RD
3352 return NULL;
3353}
3354
3355
093d3ff1 3356static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3357 PyObject *resultobj;
093d3ff1
RD
3358 wxString *arg1 = 0 ;
3359 int result;
ae8162c8 3360 bool temp1 = false ;
d55e5bfc
RD
3361 PyObject * obj0 = 0 ;
3362 char *kwnames[] = {
093d3ff1 3363 (char *) "name", NULL
d55e5bfc
RD
3364 };
3365
093d3ff1
RD
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3367 {
3368 arg1 = wxString_in_helper(obj0);
3369 if (arg1 == NULL) SWIG_fail;
3370 temp1 = true;
d55e5bfc
RD
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3374 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
093d3ff1 3380 resultobj = SWIG_From_int((int)(result));
d55e5bfc
RD
3381 }
3382 {
3383 if (temp1)
3384 delete arg1;
3385 }
3386 return resultobj;
3387 fail:
3388 {
3389 if (temp1)
3390 delete arg1;
3391 }
3392 return NULL;
3393}
3394
3395
093d3ff1 3396static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3397 PyObject *resultobj;
093d3ff1
RD
3398 wxString *arg1 = 0 ;
3399 bool result;
3400 bool temp1 = false ;
3401 PyObject * obj0 = 0 ;
d55e5bfc 3402 char *kwnames[] = {
093d3ff1 3403 (char *) "name", NULL
d55e5bfc
RD
3404 };
3405
093d3ff1
RD
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3407 {
3408 arg1 = wxString_in_helper(obj0);
3409 if (arg1 == NULL) SWIG_fail;
3410 temp1 = true;
3411 }
d55e5bfc
RD
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3414 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
093d3ff1
RD
3419 {
3420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3421 }
3422 {
3423 if (temp1)
3424 delete arg1;
3425 }
d55e5bfc
RD
3426 return resultobj;
3427 fail:
093d3ff1
RD
3428 {
3429 if (temp1)
3430 delete arg1;
3431 }
d55e5bfc
RD
3432 return NULL;
3433}
3434
3435
093d3ff1
RD
3436static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3437 PyObject *obj;
3438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3439 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3440 Py_INCREF(obj);
3441 return Py_BuildValue((char *)"");
3442}
3443static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3444 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3445 return 1;
3446}
3447
3448
3449static PyObject *_wrap_FileSelectorPromptStr_get(void) {
3450 PyObject *pyobj;
3451
3452 {
3453#if wxUSE_UNICODE
3454 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3455#else
3456 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3457#endif
3458 }
3459 return pyobj;
3460}
3461
3462
3463static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3464 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3465 return 1;
3466}
3467
3468
3469static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
3470 PyObject *pyobj;
3471
3472 {
3473#if wxUSE_UNICODE
3474 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3475#else
3476 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3477#endif
3478 }
3479 return pyobj;
3480}
3481
3482
3483static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3484 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3485 return 1;
3486}
3487
3488
3489static PyObject *_wrap_DirSelectorPromptStr_get(void) {
3490 PyObject *pyobj;
3491
3492 {
3493#if wxUSE_UNICODE
3494 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3495#else
3496 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3497#endif
3498 }
3499 return pyobj;
3500}
3501
3502
3503static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3504 PyObject *resultobj;
093d3ff1 3505 long result;
d55e5bfc
RD
3506 char *kwnames[] = {
3507 NULL
3508 };
3509
093d3ff1 3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3513 result = (long)wxNewId();
d55e5bfc
RD
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
093d3ff1
RD
3518 {
3519 resultobj = SWIG_From_long((long)(result));
3520 }
d55e5bfc
RD
3521 return resultobj;
3522 fail:
3523 return NULL;
3524}
3525
3526
093d3ff1 3527static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3528 PyObject *resultobj;
093d3ff1
RD
3529 long arg1 ;
3530 PyObject * obj0 = 0 ;
d55e5bfc 3531 char *kwnames[] = {
093d3ff1 3532 (char *) "id", NULL
d55e5bfc
RD
3533 };
3534
093d3ff1
RD
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3536 {
3537 arg1 = (long)(SWIG_As_long(obj0));
3538 if (SWIG_arg_fail(1)) SWIG_fail;
3539 }
d55e5bfc
RD
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3542 wxRegisterId(arg1);
d55e5bfc
RD
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
093d3ff1 3547 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3548 return resultobj;
3549 fail:
3550 return NULL;
3551}
3552
3553
093d3ff1 3554static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3555 PyObject *resultobj;
3556 long result;
3557 char *kwnames[] = {
3558 NULL
3559 };
3560
093d3ff1 3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3564 result = (long)wxGetCurrentId();
d55e5bfc
RD
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
093d3ff1
RD
3569 {
3570 resultobj = SWIG_From_long((long)(result));
3571 }
d55e5bfc
RD
3572 return resultobj;
3573 fail:
3574 return NULL;
3575}
3576
3577
093d3ff1 3578static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3579 PyObject *resultobj;
3580 int arg1 ;
3581 bool result;
3582 PyObject * obj0 = 0 ;
3583 char *kwnames[] = {
093d3ff1 3584 (char *) "id", NULL
d55e5bfc
RD
3585 };
3586
093d3ff1
RD
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3588 {
3589 arg1 = (int)(SWIG_As_int(obj0));
3590 if (SWIG_arg_fail(1)) SWIG_fail;
3591 }
d55e5bfc
RD
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3594 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3595
3596 wxPyEndAllowThreads(__tstate);
110da5b0 3597 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3598 }
3599 {
3600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3601 }
3602 return resultobj;
3603 fail:
3604 return NULL;
3605}
3606
3607
093d3ff1 3608static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3609 PyObject *resultobj;
3610 int arg1 ;
093d3ff1
RD
3611 wxString *arg2 = 0 ;
3612 bool result;
3613 bool temp2 = false ;
d55e5bfc 3614 PyObject * obj0 = 0 ;
093d3ff1 3615 PyObject * obj1 = 0 ;
d55e5bfc 3616 char *kwnames[] = {
093d3ff1 3617 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3618 };
3619
093d3ff1
RD
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3621 {
3622 arg1 = (int)(SWIG_As_int(obj0));
3623 if (SWIG_arg_fail(1)) SWIG_fail;
3624 }
3625 {
3626 arg2 = wxString_in_helper(obj1);
3627 if (arg2 == NULL) SWIG_fail;
3628 temp2 = true;
3629 }
d55e5bfc
RD
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3632 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
093d3ff1
RD
3637 {
3638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3639 }
3640 {
3641 if (temp2)
3642 delete arg2;
3643 }
d55e5bfc
RD
3644 return resultobj;
3645 fail:
093d3ff1
RD
3646 {
3647 if (temp2)
3648 delete arg2;
3649 }
d55e5bfc
RD
3650 return NULL;
3651}
3652
3653
093d3ff1 3654static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3655 PyObject *resultobj;
093d3ff1 3656 int arg1 ;
fef4c27a
RD
3657 bool arg2 = (bool) true ;
3658 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3659 wxString result;
d55e5bfc 3660 PyObject * obj0 = 0 ;
fef4c27a
RD
3661 PyObject * obj1 = 0 ;
3662 PyObject * obj2 = 0 ;
d55e5bfc 3663 char *kwnames[] = {
fef4c27a 3664 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3665 };
3666
fef4c27a 3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3668 {
3669 arg1 = (int)(SWIG_As_int(obj0));
3670 if (SWIG_arg_fail(1)) SWIG_fail;
3671 }
fef4c27a
RD
3672 if (obj1) {
3673 {
3674 arg2 = (bool)(SWIG_As_bool(obj1));
3675 if (SWIG_arg_fail(2)) SWIG_fail;
3676 }
3677 }
3678 if (obj2) {
3679 {
3680 wxString* sptr = wxString_in_helper(obj2);
3681 if (sptr == NULL) SWIG_fail;
3682 arg3 = *sptr;
3683 delete sptr;
3684 }
3685 }
d55e5bfc
RD
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3688 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
093d3ff1
RD
3693 {
3694#if wxUSE_UNICODE
3695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3696#else
3697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3698#endif
3699 }
bf26d883
RD
3700 return resultobj;
3701 fail:
3702 return NULL;
3703}
3704
3705
093d3ff1 3706static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
bf26d883 3707 PyObject *resultobj;
bf26d883 3708 char *kwnames[] = {
093d3ff1 3709 NULL
bf26d883
RD
3710 };
3711
093d3ff1 3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3713 {
093d3ff1 3714 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3716 wxBell();
d55e5bfc
RD
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 Py_INCREF(Py_None); resultobj = Py_None;
3722 return resultobj;
3723 fail:
3724 return NULL;
3725}
3726
3727
093d3ff1 3728static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3729 PyObject *resultobj;
d55e5bfc 3730 char *kwnames[] = {
093d3ff1 3731 NULL
d55e5bfc
RD
3732 };
3733
093d3ff1 3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3735 {
093d3ff1 3736 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3738 wxEndBusyCursor();
d55e5bfc
RD
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 Py_INCREF(Py_None); resultobj = Py_None;
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
093d3ff1 3750static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3751 PyObject *resultobj;
093d3ff1
RD
3752 bool arg1 = (bool) true ;
3753 long result;
d55e5bfc
RD
3754 PyObject * obj0 = 0 ;
3755 char *kwnames[] = {
093d3ff1 3756 (char *) "resetTimer", NULL
d55e5bfc
RD
3757 };
3758
093d3ff1
RD
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3760 if (obj0) {
3761 {
3762 arg1 = (bool)(SWIG_As_bool(obj0));
3763 if (SWIG_arg_fail(1)) SWIG_fail;
3764 }
d55e5bfc
RD
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3768 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
093d3ff1 3774 resultobj = SWIG_From_long((long)(result));
d55e5bfc
RD
3775 }
3776 return resultobj;
3777 fail:
093d3ff1
RD
3778 return NULL;
3779}
3780
3781
3782static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj;
3784 int *arg1 = (int *) 0 ;
3785 int *arg2 = (int *) 0 ;
3786 int temp1 ;
3787 int res1 = 0 ;
3788 int temp2 ;
3789 int res2 = 0 ;
3790 char *kwnames[] = {
3791 NULL
3792 };
3793
3794 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3795 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
d55e5bfc 3797 {
093d3ff1
RD
3798 if (!wxPyCheckForApp()) SWIG_fail;
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 wxGetMousePosition(arg1,arg2);
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3804 }
093d3ff1
RD
3805 Py_INCREF(Py_None); resultobj = Py_None;
3806 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3807 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3808 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3809 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3810 return resultobj;
3811 fail:
d55e5bfc
RD
3812 return NULL;
3813}
3814
3815
093d3ff1 3816static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3817 PyObject *resultobj;
093d3ff1 3818 bool result;
d55e5bfc
RD
3819 char *kwnames[] = {
3820 NULL
3821 };
3822
093d3ff1 3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d55e5bfc
RD
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3826 result = (bool)wxIsBusy();
d55e5bfc
RD
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 {
093d3ff1 3832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
3833 }
3834 return resultobj;
3835 fail:
3836 return NULL;
3837}
3838
3839
093d3ff1 3840static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3841 PyObject *resultobj;
3842 wxString result;
3843 char *kwnames[] = {
3844 NULL
3845 };
3846
093d3ff1 3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3850 result = wxNow();
d55e5bfc
RD
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 {
3856#if wxUSE_UNICODE
3857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3858#else
3859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3860#endif
3861 }
3862 return resultobj;
3863 fail:
3864 return NULL;
3865}
3866
3867
093d3ff1 3868static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3869 PyObject *resultobj;
093d3ff1
RD
3870 wxString const &arg1_defvalue = wxPyEmptyString ;
3871 wxString *arg1 = (wxString *) &arg1_defvalue ;
3872 bool result;
3873 bool temp1 = false ;
3874 PyObject * obj0 = 0 ;
d55e5bfc 3875 char *kwnames[] = {
093d3ff1 3876 (char *) "command", NULL
d55e5bfc
RD
3877 };
3878
093d3ff1
RD
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
3880 if (obj0) {
3881 {
3882 arg1 = wxString_in_helper(obj0);
3883 if (arg1 == NULL) SWIG_fail;
3884 temp1 = true;
3885 }
3886 }
d55e5bfc
RD
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3889 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 {
093d3ff1
RD
3895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3896 }
3897 {
3898 if (temp1)
3899 delete arg1;
d55e5bfc
RD
3900 }
3901 return resultobj;
3902 fail:
093d3ff1
RD
3903 {
3904 if (temp1)
3905 delete arg1;
3906 }
d55e5bfc
RD
3907 return NULL;
3908}
3909
3910
093d3ff1 3911static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3912 PyObject *resultobj;
d55e5bfc
RD
3913 char *kwnames[] = {
3914 NULL
3915 };
3916
093d3ff1 3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3920 wxStartTimer();
d55e5bfc
RD
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
093d3ff1
RD
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 return resultobj;
3927 fail:
3928 return NULL;
3929}
3930
3931
3932static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 int *arg1 = (int *) 0 ;
3935 int *arg2 = (int *) 0 ;
3936 int result;
3937 int temp1 ;
3938 int res1 = 0 ;
3939 int temp2 ;
3940 int res2 = 0 ;
3941 char *kwnames[] = {
3942 NULL
3943 };
3944
3945 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3946 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
d55e5bfc 3948 {
093d3ff1
RD
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (int)wxGetOsVersion(arg1,arg2);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 3954 }
093d3ff1
RD
3955 {
3956 resultobj = SWIG_From_int((int)(result));
3957 }
3958 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3959 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3960 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3961 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3962 return resultobj;
3963 fail:
3964 return NULL;
3965}
3966
3967
093d3ff1 3968static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3969 PyObject *resultobj;
3970 wxString result;
3971 char *kwnames[] = {
3972 NULL
3973 };
3974
093d3ff1 3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3978 result = wxGetOsDescription();
d55e5bfc
RD
3979
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 {
3984#if wxUSE_UNICODE
3985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3986#else
3987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3988#endif
3989 }
3990 return resultobj;
3991 fail:
3992 return NULL;
3993}
3994
3995
093d3ff1 3996static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 3997 PyObject *resultobj;
093d3ff1 3998 long result;
d55e5bfc
RD
3999 char *kwnames[] = {
4000 NULL
4001 };
4002
093d3ff1 4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4006 result = (long)wxGetFreeMemory();
d55e5bfc
RD
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 {
093d3ff1 4012 resultobj = SWIG_From_long((long)(result));
d55e5bfc
RD
4013 }
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
093d3ff1 4020static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4021 PyObject *resultobj;
093d3ff1
RD
4022 wxShutdownFlags arg1 ;
4023 bool result;
d55e5bfc
RD
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
093d3ff1 4026 (char *) "wFlags", NULL
d55e5bfc
RD
4027 };
4028
093d3ff1
RD
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4030 {
4031 arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
4032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4033 }
4034 {
093d3ff1 4035 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4037 result = (bool)wxShutdown((wxShutdownFlags )arg1);
d55e5bfc
RD
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 {
093d3ff1 4043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4044 }
4045 return resultobj;
4046 fail:
d55e5bfc
RD
4047 return NULL;
4048}
4049
4050
093d3ff1 4051static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4052 PyObject *resultobj;
093d3ff1
RD
4053 int arg1 ;
4054 PyObject * obj0 = 0 ;
d55e5bfc 4055 char *kwnames[] = {
093d3ff1 4056 (char *) "secs", NULL
d55e5bfc
RD
4057 };
4058
093d3ff1
RD
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4060 {
4061 arg1 = (int)(SWIG_As_int(obj0));
4062 if (SWIG_arg_fail(1)) SWIG_fail;
4063 }
d55e5bfc
RD
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4066 wxSleep(arg1);
d55e5bfc
RD
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
093d3ff1 4071 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4072 return resultobj;
4073 fail:
4074 return NULL;
4075}
4076
4077
093d3ff1 4078static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4079 PyObject *resultobj;
093d3ff1
RD
4080 unsigned long arg1 ;
4081 PyObject * obj0 = 0 ;
d55e5bfc 4082 char *kwnames[] = {
093d3ff1 4083 (char *) "milliseconds", NULL
d55e5bfc
RD
4084 };
4085
093d3ff1
RD
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4087 {
4088 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4089 if (SWIG_arg_fail(1)) SWIG_fail;
4090 }
d55e5bfc
RD
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4093 wxMilliSleep(arg1);
d55e5bfc
RD
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102}
4103
4104
093d3ff1 4105static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4106 PyObject *resultobj;
093d3ff1 4107 unsigned long arg1 ;
d55e5bfc 4108 PyObject * obj0 = 0 ;
d55e5bfc 4109 char *kwnames[] = {
093d3ff1 4110 (char *) "microseconds", NULL
d55e5bfc
RD
4111 };
4112
093d3ff1
RD
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4114 {
4115 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4117 }
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4120 wxMicroSleep(arg1);
d55e5bfc
RD
4121
4122 wxPyEndAllowThreads(__tstate);
110da5b0 4123 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4124 }
093d3ff1 4125 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4126 return resultobj;
4127 fail:
093d3ff1
RD
4128 return NULL;
4129}
4130
4131
4132static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 bool arg1 ;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "enable", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4141 {
093d3ff1
RD
4142 arg1 = (bool)(SWIG_As_bool(obj0));
4143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4144 }
4145 {
093d3ff1
RD
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 wxEnableTopLevelWindows(arg1);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4151 }
093d3ff1
RD
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
d55e5bfc
RD
4155 return NULL;
4156}
4157
4158
093d3ff1 4159static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4160 PyObject *resultobj;
4161 wxString *arg1 = 0 ;
d55e5bfc 4162 wxString result;
ae8162c8 4163 bool temp1 = false ;
d55e5bfc 4164 PyObject * obj0 = 0 ;
d55e5bfc 4165 char *kwnames[] = {
093d3ff1 4166 (char *) "in", NULL
d55e5bfc
RD
4167 };
4168
093d3ff1 4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4170 {
4171 arg1 = wxString_in_helper(obj0);
4172 if (arg1 == NULL) SWIG_fail;
ae8162c8 4173 temp1 = true;
d55e5bfc
RD
4174 }
4175 {
d55e5bfc 4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4177 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4178
4179 wxPyEndAllowThreads(__tstate);
110da5b0 4180 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4181 }
4182 {
4183#if wxUSE_UNICODE
4184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4185#else
4186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4187#endif
4188 }
4189 {
4190 if (temp1)
4191 delete arg1;
4192 }
d55e5bfc
RD
4193 return resultobj;
4194 fail:
4195 {
4196 if (temp1)
4197 delete arg1;
4198 }
d55e5bfc
RD
4199 return NULL;
4200}
4201
4202
093d3ff1 4203static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4204 PyObject *resultobj;
d55e5bfc 4205 wxString result;
d55e5bfc 4206 char *kwnames[] = {
093d3ff1 4207 NULL
d55e5bfc
RD
4208 };
4209
093d3ff1 4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4213 result = wxGetEmailAddress();
d55e5bfc
RD
4214
4215 wxPyEndAllowThreads(__tstate);
110da5b0 4216 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4217 }
4218 {
4219#if wxUSE_UNICODE
4220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4221#else
4222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4223#endif
4224 }
d55e5bfc
RD
4225 return resultobj;
4226 fail:
093d3ff1
RD
4227 return NULL;
4228}
4229
4230
4231static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxString result;
4234 char *kwnames[] = {
4235 NULL
4236 };
4237
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4239 {
093d3ff1
RD
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = wxGetHostName();
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4245 }
4246 {
093d3ff1
RD
4247#if wxUSE_UNICODE
4248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4249#else
4250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4251#endif
d55e5bfc 4252 }
093d3ff1
RD
4253 return resultobj;
4254 fail:
d55e5bfc
RD
4255 return NULL;
4256}
4257
4258
093d3ff1 4259static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4260 PyObject *resultobj;
d55e5bfc 4261 wxString result;
093d3ff1
RD
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = wxGetFullHostName();
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
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 }
4281 return resultobj;
4282 fail:
4283 return NULL;
4284}
4285
4286
4287static PyObject *_wrap_GetUserId(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 *)":GetUserId",kwnames)) goto fail;
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 result = wxGetUserId();
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 {
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
4308 }
4309 return resultobj;
4310 fail:
4311 return NULL;
4312}
4313
4314
4315static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxString result;
4318 char *kwnames[] = {
4319 NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = wxGetUserName();
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_GetHomeDir(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 *)":GetHomeDir",kwnames)) goto fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = wxGetHomeDir();
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_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxString const &arg1_defvalue = wxPyEmptyString ;
4374 wxString *arg1 = (wxString *) &arg1_defvalue ;
4375 wxString result;
4376 bool temp1 = false ;
d55e5bfc 4377 PyObject * obj0 = 0 ;
d55e5bfc 4378 char *kwnames[] = {
093d3ff1 4379 (char *) "user", NULL
d55e5bfc
RD
4380 };
4381
093d3ff1 4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4383 if (obj0) {
4384 {
4385 arg1 = wxString_in_helper(obj0);
4386 if (arg1 == NULL) SWIG_fail;
ae8162c8 4387 temp1 = true;
d55e5bfc
RD
4388 }
4389 }
d55e5bfc
RD
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4392 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4393
4394 wxPyEndAllowThreads(__tstate);
110da5b0 4395 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4396 }
4397 {
4398#if wxUSE_UNICODE
4399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4400#else
4401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4402#endif
4403 }
4404 {
4405 if (temp1)
4406 delete arg1;
4407 }
d55e5bfc
RD
4408 return resultobj;
4409 fail:
4410 {
4411 if (temp1)
4412 delete arg1;
4413 }
093d3ff1
RD
4414 return NULL;
4415}
4416
4417
4418static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 unsigned long result;
4421 char *kwnames[] = {
4422 NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (unsigned long)wxGetProcessId();
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
d55e5bfc 4433 {
093d3ff1 4434 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
d55e5bfc 4435 }
093d3ff1
RD
4436 return resultobj;
4437 fail:
d55e5bfc
RD
4438 return NULL;
4439}
4440
4441
093d3ff1 4442static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4443 PyObject *resultobj;
093d3ff1
RD
4444 char *kwnames[] = {
4445 NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 wxTrap();
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 Py_INCREF(Py_None); resultobj = Py_None;
4457 return resultobj;
4458 fail:
4459 return NULL;
4460}
4461
4462
4463static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4466 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4467 wxString const &arg2_defvalue = wxPyEmptyString ;
4468 wxString *arg2 = (wxString *) &arg2_defvalue ;
4469 wxString const &arg3_defvalue = wxPyEmptyString ;
4470 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
4471 wxString const &arg4_defvalue = wxPyEmptyString ;
4472 wxString *arg4 = (wxString *) &arg4_defvalue ;
4473 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4474 wxString *arg5 = (wxString *) &arg5_defvalue ;
4475 int arg6 = (int) 0 ;
4476 wxWindow *arg7 = (wxWindow *) NULL ;
4477 int arg8 = (int) -1 ;
4478 int arg9 = (int) -1 ;
d55e5bfc 4479 wxString result;
ae8162c8
RD
4480 bool temp1 = false ;
4481 bool temp2 = false ;
4482 bool temp3 = false ;
093d3ff1
RD
4483 bool temp4 = false ;
4484 bool temp5 = false ;
d55e5bfc
RD
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487 PyObject * obj2 = 0 ;
4488 PyObject * obj3 = 0 ;
4489 PyObject * obj4 = 0 ;
4490 PyObject * obj5 = 0 ;
4491 PyObject * obj6 = 0 ;
093d3ff1
RD
4492 PyObject * obj7 = 0 ;
4493 PyObject * obj8 = 0 ;
d55e5bfc 4494 char *kwnames[] = {
093d3ff1 4495 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4496 };
4497
093d3ff1
RD
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4499 if (obj0) {
4500 {
4501 arg1 = wxString_in_helper(obj0);
4502 if (arg1 == NULL) SWIG_fail;
4503 temp1 = true;
4504 }
d55e5bfc
RD
4505 }
4506 if (obj1) {
4507 {
4508 arg2 = wxString_in_helper(obj1);
4509 if (arg2 == NULL) SWIG_fail;
ae8162c8 4510 temp2 = true;
d55e5bfc
RD
4511 }
4512 }
4513 if (obj2) {
4514 {
4515 arg3 = wxString_in_helper(obj2);
4516 if (arg3 == NULL) SWIG_fail;
ae8162c8 4517 temp3 = true;
d55e5bfc
RD
4518 }
4519 }
4520 if (obj3) {
093d3ff1
RD
4521 {
4522 arg4 = wxString_in_helper(obj3);
4523 if (arg4 == NULL) SWIG_fail;
4524 temp4 = true;
4525 }
d55e5bfc
RD
4526 }
4527 if (obj4) {
093d3ff1
RD
4528 {
4529 arg5 = wxString_in_helper(obj4);
4530 if (arg5 == NULL) SWIG_fail;
4531 temp5 = true;
4532 }
d55e5bfc
RD
4533 }
4534 if (obj5) {
093d3ff1
RD
4535 {
4536 arg6 = (int)(SWIG_As_int(obj5));
4537 if (SWIG_arg_fail(6)) SWIG_fail;
4538 }
d55e5bfc
RD
4539 }
4540 if (obj6) {
093d3ff1
RD
4541 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(7)) SWIG_fail;
4543 }
4544 if (obj7) {
4545 {
4546 arg8 = (int)(SWIG_As_int(obj7));
4547 if (SWIG_arg_fail(8)) SWIG_fail;
4548 }
4549 }
4550 if (obj8) {
4551 {
4552 arg9 = (int)(SWIG_As_int(obj8));
4553 if (SWIG_arg_fail(9)) SWIG_fail;
4554 }
d55e5bfc
RD
4555 }
4556 {
0439c23b 4557 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4559 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4560
4561 wxPyEndAllowThreads(__tstate);
110da5b0 4562 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4563 }
4564 {
4565#if wxUSE_UNICODE
4566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4567#else
4568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4569#endif
4570 }
4571 {
4572 if (temp1)
4573 delete arg1;
4574 }
4575 {
4576 if (temp2)
4577 delete arg2;
4578 }
4579 {
4580 if (temp3)
4581 delete arg3;
4582 }
d55e5bfc 4583 {
093d3ff1
RD
4584 if (temp4)
4585 delete arg4;
4586 }
4587 {
4588 if (temp5)
4589 delete arg5;
4590 }
4591 return resultobj;
4592 fail:
4593 {
4594 if (temp1)
4595 delete arg1;
d55e5bfc
RD
4596 }
4597 {
4598 if (temp2)
4599 delete arg2;
4600 }
4601 {
4602 if (temp3)
4603 delete arg3;
4604 }
093d3ff1
RD
4605 {
4606 if (temp4)
4607 delete arg4;
4608 }
4609 {
4610 if (temp5)
4611 delete arg5;
4612 }
d55e5bfc
RD
4613 return NULL;
4614}
4615
4616
093d3ff1 4617static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4618 PyObject *resultobj;
4619 wxString *arg1 = 0 ;
093d3ff1 4620 wxString *arg2 = 0 ;
d55e5bfc
RD
4621 wxString const &arg3_defvalue = wxPyEmptyString ;
4622 wxString *arg3 = (wxString *) &arg3_defvalue ;
4623 wxWindow *arg4 = (wxWindow *) NULL ;
4624 wxString result;
ae8162c8
RD
4625 bool temp1 = false ;
4626 bool temp2 = false ;
4627 bool temp3 = false ;
d55e5bfc
RD
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj2 = 0 ;
4631 PyObject * obj3 = 0 ;
4632 char *kwnames[] = {
093d3ff1 4633 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4634 };
4635
093d3ff1 4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4637 {
4638 arg1 = wxString_in_helper(obj0);
4639 if (arg1 == NULL) SWIG_fail;
ae8162c8 4640 temp1 = true;
d55e5bfc 4641 }
093d3ff1
RD
4642 {
4643 arg2 = wxString_in_helper(obj1);
4644 if (arg2 == NULL) SWIG_fail;
4645 temp2 = true;
d55e5bfc
RD
4646 }
4647 if (obj2) {
4648 {
4649 arg3 = wxString_in_helper(obj2);
4650 if (arg3 == NULL) SWIG_fail;
ae8162c8 4651 temp3 = true;
d55e5bfc
RD
4652 }
4653 }
4654 if (obj3) {
093d3ff1
RD
4655 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4656 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4657 }
4658 {
0439c23b 4659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4661 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4662
4663 wxPyEndAllowThreads(__tstate);
110da5b0 4664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4665 }
4666 {
4667#if wxUSE_UNICODE
4668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4669#else
4670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4671#endif
4672 }
4673 {
4674 if (temp1)
4675 delete arg1;
4676 }
4677 {
4678 if (temp2)
4679 delete arg2;
4680 }
4681 {
4682 if (temp3)
4683 delete arg3;
4684 }
4685 return resultobj;
4686 fail:
4687 {
4688 if (temp1)
4689 delete arg1;
4690 }
4691 {
4692 if (temp2)
4693 delete arg2;
4694 }
4695 {
4696 if (temp3)
4697 delete arg3;
4698 }
4699 return NULL;
4700}
4701
4702
093d3ff1 4703static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4704 PyObject *resultobj;
4705 wxString *arg1 = 0 ;
4706 wxString *arg2 = 0 ;
093d3ff1
RD
4707 wxString const &arg3_defvalue = wxPyEmptyString ;
4708 wxString *arg3 = (wxString *) &arg3_defvalue ;
4709 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4710 wxString result;
ae8162c8
RD
4711 bool temp1 = false ;
4712 bool temp2 = false ;
093d3ff1 4713 bool temp3 = false ;
d55e5bfc
RD
4714 PyObject * obj0 = 0 ;
4715 PyObject * obj1 = 0 ;
4716 PyObject * obj2 = 0 ;
4717 PyObject * obj3 = 0 ;
d55e5bfc 4718 char *kwnames[] = {
093d3ff1 4719 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4720 };
4721
093d3ff1 4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4723 {
4724 arg1 = wxString_in_helper(obj0);
4725 if (arg1 == NULL) SWIG_fail;
ae8162c8 4726 temp1 = true;
d55e5bfc
RD
4727 }
4728 {
4729 arg2 = wxString_in_helper(obj1);
4730 if (arg2 == NULL) SWIG_fail;
ae8162c8 4731 temp2 = true;
d55e5bfc 4732 }
093d3ff1
RD
4733 if (obj2) {
4734 {
4735 arg3 = wxString_in_helper(obj2);
4736 if (arg3 == NULL) SWIG_fail;
4737 temp3 = true;
4738 }
d55e5bfc
RD
4739 }
4740 if (obj3) {
093d3ff1
RD
4741 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4742 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4743 }
4744 {
0439c23b 4745 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4747 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4748
4749 wxPyEndAllowThreads(__tstate);
110da5b0 4750 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4751 }
4752 {
4753#if wxUSE_UNICODE
4754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4755#else
4756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4757#endif
4758 }
4759 {
4760 if (temp1)
4761 delete arg1;
4762 }
4763 {
4764 if (temp2)
4765 delete arg2;
4766 }
4767 {
093d3ff1
RD
4768 if (temp3)
4769 delete arg3;
d55e5bfc
RD
4770 }
4771 return resultobj;
4772 fail:
4773 {
4774 if (temp1)
4775 delete arg1;
4776 }
4777 {
4778 if (temp2)
4779 delete arg2;
4780 }
4781 {
093d3ff1
RD
4782 if (temp3)
4783 delete arg3;
d55e5bfc
RD
4784 }
4785 return NULL;
4786}
4787
4788
093d3ff1 4789static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 4790 PyObject *resultobj;
093d3ff1
RD
4791 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4792 wxString *arg1 = (wxString *) &arg1_defvalue ;
4793 wxString const &arg2_defvalue = wxPyEmptyString ;
4794 wxString *arg2 = (wxString *) &arg2_defvalue ;
4795 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4798 wxWindow *arg5 = (wxWindow *) NULL ;
093d3ff1 4799 wxString result;
ae8162c8
RD
4800 bool temp1 = false ;
4801 bool temp2 = false ;
093d3ff1 4802 wxPoint temp4 ;
d55e5bfc
RD
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 PyObject * obj2 = 0 ;
4806 PyObject * obj3 = 0 ;
4807 PyObject * obj4 = 0 ;
d55e5bfc 4808 char *kwnames[] = {
093d3ff1 4809 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4810 };
4811
093d3ff1
RD
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4813 if (obj0) {
4814 {
4815 arg1 = wxString_in_helper(obj0);
4816 if (arg1 == NULL) SWIG_fail;
4817 temp1 = true;
4818 }
d55e5bfc 4819 }
093d3ff1
RD
4820 if (obj1) {
4821 {
4822 arg2 = wxString_in_helper(obj1);
4823 if (arg2 == NULL) SWIG_fail;
4824 temp2 = true;
4825 }
d55e5bfc 4826 }
093d3ff1
RD
4827 if (obj2) {
4828 {
4829 arg3 = (long)(SWIG_As_long(obj2));
4830 if (SWIG_arg_fail(3)) SWIG_fail;
4831 }
d55e5bfc
RD
4832 }
4833 if (obj3) {
093d3ff1
RD
4834 {
4835 arg4 = &temp4;
4836 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4837 }
d55e5bfc
RD
4838 }
4839 if (obj4) {
093d3ff1
RD
4840 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
4842 }
4843 {
0439c23b 4844 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4846 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
4847
4848 wxPyEndAllowThreads(__tstate);
110da5b0 4849 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4850 }
093d3ff1
RD
4851 {
4852#if wxUSE_UNICODE
4853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4854#else
4855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4856#endif
4857 }
d55e5bfc
RD
4858 {
4859 if (temp1)
4860 delete arg1;
4861 }
4862 {
4863 if (temp2)
4864 delete arg2;
4865 }
d55e5bfc
RD
4866 return resultobj;
4867 fail:
4868 {
4869 if (temp1)
4870 delete arg1;
4871 }
4872 {
4873 if (temp2)
4874 delete arg2;
4875 }
d55e5bfc
RD
4876 return NULL;
4877}
4878
4879
093d3ff1 4880static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4881 PyObject *resultobj;
4882 wxString *arg1 = 0 ;
4883 wxString const &arg2_defvalue = wxPyEmptyString ;
4884 wxString *arg2 = (wxString *) &arg2_defvalue ;
093d3ff1
RD
4885 wxString const &arg3_defvalue = wxPyEmptyString ;
4886 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4887 wxWindow *arg4 = (wxWindow *) NULL ;
4888 int arg5 = (int) -1 ;
4889 int arg6 = (int) -1 ;
093d3ff1
RD
4890 bool arg7 = (bool) true ;
4891 wxString result;
ae8162c8
RD
4892 bool temp1 = false ;
4893 bool temp2 = false ;
093d3ff1 4894 bool temp3 = false ;
d55e5bfc
RD
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 PyObject * obj2 = 0 ;
4898 PyObject * obj3 = 0 ;
4899 PyObject * obj4 = 0 ;
4900 PyObject * obj5 = 0 ;
093d3ff1 4901 PyObject * obj6 = 0 ;
d55e5bfc 4902 char *kwnames[] = {
093d3ff1 4903 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
4904 };
4905
093d3ff1 4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4907 {
4908 arg1 = wxString_in_helper(obj0);
4909 if (arg1 == NULL) SWIG_fail;
ae8162c8 4910 temp1 = true;
d55e5bfc
RD
4911 }
4912 if (obj1) {
4913 {
4914 arg2 = wxString_in_helper(obj1);
4915 if (arg2 == NULL) SWIG_fail;
ae8162c8 4916 temp2 = true;
d55e5bfc
RD
4917 }
4918 }
4919 if (obj2) {
093d3ff1
RD
4920 {
4921 arg3 = wxString_in_helper(obj2);
4922 if (arg3 == NULL) SWIG_fail;
4923 temp3 = true;
4924 }
d55e5bfc
RD
4925 }
4926 if (obj3) {
093d3ff1
RD
4927 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4929 }
4930 if (obj4) {
093d3ff1
RD
4931 {
4932 arg5 = (int)(SWIG_As_int(obj4));
4933 if (SWIG_arg_fail(5)) SWIG_fail;
4934 }
d55e5bfc
RD
4935 }
4936 if (obj5) {
093d3ff1
RD
4937 {
4938 arg6 = (int)(SWIG_As_int(obj5));
4939 if (SWIG_arg_fail(6)) SWIG_fail;
4940 }
4941 }
4942 if (obj6) {
4943 {
4944 arg7 = (bool)(SWIG_As_bool(obj6));
4945 if (SWIG_arg_fail(7)) SWIG_fail;
4946 }
d55e5bfc
RD
4947 }
4948 {
0439c23b 4949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4951 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
4952
4953 wxPyEndAllowThreads(__tstate);
110da5b0 4954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4955 }
093d3ff1
RD
4956 {
4957#if wxUSE_UNICODE
4958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4959#else
4960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4961#endif
4962 }
d55e5bfc
RD
4963 {
4964 if (temp1)
4965 delete arg1;
4966 }
4967 {
4968 if (temp2)
4969 delete arg2;
4970 }
093d3ff1
RD
4971 {
4972 if (temp3)
4973 delete arg3;
4974 }
d55e5bfc
RD
4975 return resultobj;
4976 fail:
4977 {
4978 if (temp1)
4979 delete arg1;
4980 }
4981 {
4982 if (temp2)
4983 delete arg2;
4984 }
093d3ff1
RD
4985 {
4986 if (temp3)
4987 delete arg3;
4988 }
d55e5bfc
RD
4989 return NULL;
4990}
4991
4992
093d3ff1 4993static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4994 PyObject *resultobj;
4995 wxString *arg1 = 0 ;
093d3ff1
RD
4996 wxString const &arg2_defvalue = wxPyEmptyString ;
4997 wxString *arg2 = (wxString *) &arg2_defvalue ;
4998 wxString const &arg3_defvalue = wxPyEmptyString ;
4999 wxString *arg3 = (wxString *) &arg3_defvalue ;
5000 wxWindow *arg4 = (wxWindow *) NULL ;
5001 wxString result;
ae8162c8
RD
5002 bool temp1 = false ;
5003 bool temp2 = false ;
5004 bool temp3 = false ;
d55e5bfc
RD
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 PyObject * obj2 = 0 ;
5008 PyObject * obj3 = 0 ;
d55e5bfc 5009 char *kwnames[] = {
093d3ff1 5010 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5011 };
5012
093d3ff1 5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5014 {
5015 arg1 = wxString_in_helper(obj0);
5016 if (arg1 == NULL) SWIG_fail;
ae8162c8 5017 temp1 = true;
d55e5bfc 5018 }
093d3ff1
RD
5019 if (obj1) {
5020 {
5021 arg2 = wxString_in_helper(obj1);
5022 if (arg2 == NULL) SWIG_fail;
5023 temp2 = true;
5024 }
d55e5bfc 5025 }
093d3ff1 5026 if (obj2) {
d55e5bfc 5027 {
093d3ff1
RD
5028 arg3 = wxString_in_helper(obj2);
5029 if (arg3 == NULL) SWIG_fail;
5030 temp3 = true;
d55e5bfc
RD
5031 }
5032 }
093d3ff1
RD
5033 if (obj3) {
5034 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5035 if (SWIG_arg_fail(4)) SWIG_fail;
5036 }
d55e5bfc 5037 {
0439c23b 5038 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5040 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5041
5042 wxPyEndAllowThreads(__tstate);
110da5b0 5043 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5044 }
093d3ff1
RD
5045 {
5046#if wxUSE_UNICODE
5047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5048#else
5049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5050#endif
5051 }
d55e5bfc
RD
5052 {
5053 if (temp1)
5054 delete arg1;
5055 }
5056 {
5057 if (temp2)
5058 delete arg2;
5059 }
5060 {
5061 if (temp3)
5062 delete arg3;
5063 }
5064 return resultobj;
5065 fail:
5066 {
5067 if (temp1)
5068 delete arg1;
5069 }
5070 {
5071 if (temp2)
5072 delete arg2;
5073 }
5074 {
5075 if (temp3)
5076 delete arg3;
5077 }
5078 return NULL;
5079}
5080
5081
093d3ff1 5082static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5083 PyObject *resultobj;
093d3ff1
RD
5084 wxString *arg1 = 0 ;
5085 wxString *arg2 = 0 ;
5086 int arg3 ;
5087 wxString *arg4 = (wxString *) 0 ;
5088 wxWindow *arg5 = (wxWindow *) NULL ;
5089 int arg6 = (int) -1 ;
5090 int arg7 = (int) -1 ;
5091 bool arg8 = (bool) true ;
5092 int arg9 = (int) 150 ;
5093 int arg10 = (int) 200 ;
5094 wxString result;
5095 bool temp1 = false ;
5096 bool temp2 = false ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 PyObject * obj2 = 0 ;
5100 PyObject * obj3 = 0 ;
5101 PyObject * obj4 = 0 ;
5102 PyObject * obj5 = 0 ;
5103 PyObject * obj6 = 0 ;
5104 PyObject * obj7 = 0 ;
5105 PyObject * obj8 = 0 ;
d55e5bfc 5106 char *kwnames[] = {
093d3ff1 5107 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5108 };
5109
093d3ff1
RD
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5111 {
5112 arg1 = wxString_in_helper(obj0);
5113 if (arg1 == NULL) SWIG_fail;
5114 temp1 = true;
5115 }
5116 {
5117 arg2 = wxString_in_helper(obj1);
5118 if (arg2 == NULL) SWIG_fail;
5119 temp2 = true;
5120 }
5121 {
5122 arg3 = PyList_Size(obj2);
5123 arg4 = wxString_LIST_helper(obj2);
5124 if (arg4 == NULL) SWIG_fail;
5125 }
5126 if (obj3) {
5127 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5128 if (SWIG_arg_fail(5)) SWIG_fail;
5129 }
5130 if (obj4) {
5131 {
5132 arg6 = (int)(SWIG_As_int(obj4));
5133 if (SWIG_arg_fail(6)) SWIG_fail;
5134 }
5135 }
5136 if (obj5) {
5137 {
5138 arg7 = (int)(SWIG_As_int(obj5));
5139 if (SWIG_arg_fail(7)) SWIG_fail;
5140 }
5141 }
5142 if (obj6) {
5143 {
5144 arg8 = (bool)(SWIG_As_bool(obj6));
5145 if (SWIG_arg_fail(8)) SWIG_fail;
5146 }
5147 }
5148 if (obj7) {
5149 {
5150 arg9 = (int)(SWIG_As_int(obj7));
5151 if (SWIG_arg_fail(9)) SWIG_fail;
5152 }
5153 }
5154 if (obj8) {
5155 {
5156 arg10 = (int)(SWIG_As_int(obj8));
5157 if (SWIG_arg_fail(10)) SWIG_fail;
5158 }
5159 }
d55e5bfc 5160 {
0439c23b 5161 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5163 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5164
5165 wxPyEndAllowThreads(__tstate);
110da5b0 5166 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5167 }
5168 {
093d3ff1
RD
5169#if wxUSE_UNICODE
5170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5171#else
5172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5173#endif
5174 }
5175 {
5176 if (temp1)
5177 delete arg1;
5178 }
5179 {
5180 if (temp2)
5181 delete arg2;
5182 }
5183 {
5184 if (arg4) delete [] arg4;
d55e5bfc
RD
5185 }
5186 return resultobj;
5187 fail:
093d3ff1
RD
5188 {
5189 if (temp1)
5190 delete arg1;
5191 }
5192 {
5193 if (temp2)
5194 delete arg2;
5195 }
5196 {
5197 if (arg4) delete [] arg4;
5198 }
d55e5bfc
RD
5199 return NULL;
5200}
5201
5202
093d3ff1 5203static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5204 PyObject *resultobj;
093d3ff1
RD
5205 wxString *arg1 = 0 ;
5206 wxString *arg2 = 0 ;
5207 int arg3 ;
5208 wxString *arg4 = (wxString *) 0 ;
5209 wxWindow *arg5 = (wxWindow *) NULL ;
5210 int arg6 = (int) -1 ;
5211 int arg7 = (int) -1 ;
5212 bool arg8 = (bool) true ;
5213 int arg9 = (int) 150 ;
5214 int arg10 = (int) 200 ;
d55e5bfc 5215 int result;
093d3ff1
RD
5216 bool temp1 = false ;
5217 bool temp2 = false ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 PyObject * obj3 = 0 ;
5222 PyObject * obj4 = 0 ;
5223 PyObject * obj5 = 0 ;
5224 PyObject * obj6 = 0 ;
5225 PyObject * obj7 = 0 ;
5226 PyObject * obj8 = 0 ;
d55e5bfc 5227 char *kwnames[] = {
093d3ff1 5228 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5229 };
5230
093d3ff1
RD
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5232 {
5233 arg1 = wxString_in_helper(obj0);
5234 if (arg1 == NULL) SWIG_fail;
5235 temp1 = true;
5236 }
5237 {
5238 arg2 = wxString_in_helper(obj1);
5239 if (arg2 == NULL) SWIG_fail;
5240 temp2 = true;
5241 }
5242 {
5243 arg3 = PyList_Size(obj2);
5244 arg4 = wxString_LIST_helper(obj2);
5245 if (arg4 == NULL) SWIG_fail;
5246 }
5247 if (obj3) {
5248 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5249 if (SWIG_arg_fail(5)) SWIG_fail;
5250 }
5251 if (obj4) {
5252 {
5253 arg6 = (int)(SWIG_As_int(obj4));
5254 if (SWIG_arg_fail(6)) SWIG_fail;
5255 }
5256 }
5257 if (obj5) {
5258 {
5259 arg7 = (int)(SWIG_As_int(obj5));
5260 if (SWIG_arg_fail(7)) SWIG_fail;
5261 }
5262 }
5263 if (obj6) {
5264 {
5265 arg8 = (bool)(SWIG_As_bool(obj6));
5266 if (SWIG_arg_fail(8)) SWIG_fail;
5267 }
5268 }
5269 if (obj7) {
5270 {
5271 arg9 = (int)(SWIG_As_int(obj7));
5272 if (SWIG_arg_fail(9)) SWIG_fail;
5273 }
5274 }
5275 if (obj8) {
5276 {
5277 arg10 = (int)(SWIG_As_int(obj8));
5278 if (SWIG_arg_fail(10)) SWIG_fail;
5279 }
5280 }
d55e5bfc 5281 {
0439c23b 5282 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5284 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5285
5286 wxPyEndAllowThreads(__tstate);
110da5b0 5287 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5288 }
093d3ff1
RD
5289 {
5290 resultobj = SWIG_From_int((int)(result));
5291 }
5292 {
5293 if (temp1)
5294 delete arg1;
5295 }
5296 {
5297 if (temp2)
5298 delete arg2;
5299 }
5300 {
5301 if (arg4) delete [] arg4;
5302 }
d55e5bfc
RD
5303 return resultobj;
5304 fail:
093d3ff1
RD
5305 {
5306 if (temp1)
5307 delete arg1;
5308 }
5309 {
5310 if (temp2)
5311 delete arg2;
5312 }
5313 {
5314 if (arg4) delete [] arg4;
5315 }
d55e5bfc
RD
5316 return NULL;
5317}
5318
5319
093d3ff1 5320static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5321 PyObject *resultobj;
093d3ff1
RD
5322 wxString *arg1 = 0 ;
5323 wxString const &arg2_defvalue = wxPyEmptyString ;
5324 wxString *arg2 = (wxString *) &arg2_defvalue ;
5325 int arg3 = (int) wxOK|wxCENTRE ;
5326 wxWindow *arg4 = (wxWindow *) NULL ;
5327 int arg5 = (int) -1 ;
5328 int arg6 = (int) -1 ;
d55e5bfc 5329 int result;
093d3ff1
RD
5330 bool temp1 = false ;
5331 bool temp2 = false ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 PyObject * obj2 = 0 ;
5335 PyObject * obj3 = 0 ;
5336 PyObject * obj4 = 0 ;
5337 PyObject * obj5 = 0 ;
d55e5bfc 5338 char *kwnames[] = {
093d3ff1 5339 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5340 };
5341
093d3ff1 5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5343 {
093d3ff1
RD
5344 arg1 = wxString_in_helper(obj0);
5345 if (arg1 == NULL) SWIG_fail;
5346 temp1 = true;
5347 }
5348 if (obj1) {
5349 {
5350 arg2 = wxString_in_helper(obj1);
5351 if (arg2 == NULL) SWIG_fail;
5352 temp2 = true;
5353 }
5354 }
5355 if (obj2) {
5356 {
5357 arg3 = (int)(SWIG_As_int(obj2));
5358 if (SWIG_arg_fail(3)) SWIG_fail;
5359 }
5360 }
5361 if (obj3) {
5362 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5363 if (SWIG_arg_fail(4)) SWIG_fail;
5364 }
5365 if (obj4) {
5366 {
5367 arg5 = (int)(SWIG_As_int(obj4));
5368 if (SWIG_arg_fail(5)) SWIG_fail;
5369 }
5370 }
5371 if (obj5) {
5372 {
5373 arg6 = (int)(SWIG_As_int(obj5));
5374 if (SWIG_arg_fail(6)) SWIG_fail;
5375 }
5376 }
5377 {
5378 if (!wxPyCheckForApp()) SWIG_fail;
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 {
5386 resultobj = SWIG_From_int((int)(result));
5387 }
5388 {
5389 if (temp1)
5390 delete arg1;
5391 }
5392 {
5393 if (temp2)
5394 delete arg2;
5395 }
5396 return resultobj;
5397 fail:
5398 {
5399 if (temp1)
5400 delete arg1;
5401 }
5402 {
5403 if (temp2)
5404 delete arg2;
5405 }
5406 return NULL;
5407}
5408
5409
5410static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxString *arg1 = 0 ;
5413 wxString *arg2 = 0 ;
5414 wxString *arg3 = 0 ;
5415 long arg4 ;
5416 long arg5 = (long) 0 ;
5417 long arg6 = (long) 100 ;
5418 wxWindow *arg7 = (wxWindow *) NULL ;
5419 wxPoint const &arg8_defvalue = wxDefaultPosition ;
5420 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
5421 long result;
5422 bool temp1 = false ;
5423 bool temp2 = false ;
5424 bool temp3 = false ;
5425 wxPoint temp8 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 PyObject * obj2 = 0 ;
5429 PyObject * obj3 = 0 ;
5430 PyObject * obj4 = 0 ;
5431 PyObject * obj5 = 0 ;
5432 PyObject * obj6 = 0 ;
5433 PyObject * obj7 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5439 {
5440 arg1 = wxString_in_helper(obj0);
5441 if (arg1 == NULL) SWIG_fail;
5442 temp1 = true;
5443 }
5444 {
5445 arg2 = wxString_in_helper(obj1);
5446 if (arg2 == NULL) SWIG_fail;
5447 temp2 = true;
5448 }
5449 {
5450 arg3 = wxString_in_helper(obj2);
5451 if (arg3 == NULL) SWIG_fail;
5452 temp3 = true;
5453 }
5454 {
5455 arg4 = (long)(SWIG_As_long(obj3));
5456 if (SWIG_arg_fail(4)) SWIG_fail;
5457 }
5458 if (obj4) {
5459 {
5460 arg5 = (long)(SWIG_As_long(obj4));
5461 if (SWIG_arg_fail(5)) SWIG_fail;
5462 }
5463 }
5464 if (obj5) {
5465 {
5466 arg6 = (long)(SWIG_As_long(obj5));
5467 if (SWIG_arg_fail(6)) SWIG_fail;
5468 }
5469 }
5470 if (obj6) {
5471 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(7)) SWIG_fail;
5473 }
5474 if (obj7) {
5475 {
5476 arg8 = &temp8;
5477 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
5478 }
5479 }
5480 {
5481 if (!wxPyCheckForApp()) SWIG_fail;
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 resultobj = SWIG_From_long((long)(result));
5490 }
5491 {
5492 if (temp1)
5493 delete arg1;
5494 }
5495 {
5496 if (temp2)
5497 delete arg2;
5498 }
5499 {
5500 if (temp3)
5501 delete arg3;
5502 }
5503 return resultobj;
5504 fail:
5505 {
5506 if (temp1)
5507 delete arg1;
5508 }
5509 {
5510 if (temp2)
5511 delete arg2;
5512 }
5513 {
5514 if (temp3)
5515 delete arg3;
5516 }
5517 return NULL;
5518}
5519
5520
5521static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 bool result;
5524 char *kwnames[] = {
5525 NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5529 {
5530 if (!wxPyCheckForApp()) SWIG_fail;
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)wxColourDisplay();
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539 }
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
5546static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 int result;
5549 char *kwnames[] = {
5550 NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5554 {
5555 if (!wxPyCheckForApp()) SWIG_fail;
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (int)wxDisplayDepth();
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = SWIG_From_int((int)(result));
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568}
5569
5570
5571static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 int result;
5574 char *kwnames[] = {
5575 NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5579 {
5580 if (!wxPyCheckForApp()) SWIG_fail;
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (int)wxGetDisplayDepth();
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 {
5588 resultobj = SWIG_From_int((int)(result));
d55e5bfc 5589 }
d55e5bfc
RD
5590 return resultobj;
5591 fail:
5592 return NULL;
5593}
5594
5595
c32bde28 5596static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5597 PyObject *resultobj;
5598 int *arg1 = (int *) 0 ;
5599 int *arg2 = (int *) 0 ;
5600 int temp1 ;
c32bde28 5601 int res1 = 0 ;
d55e5bfc 5602 int temp2 ;
c32bde28 5603 int res2 = 0 ;
d55e5bfc
RD
5604 char *kwnames[] = {
5605 NULL
5606 };
5607
c32bde28
RD
5608 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5609 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5611 {
0439c23b 5612 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 wxDisplaySize(arg1,arg2);
5615
5616 wxPyEndAllowThreads(__tstate);
110da5b0 5617 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5620 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5621 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5622 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5623 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
c32bde28 5630static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5631 PyObject *resultobj;
5632 wxSize result;
5633 char *kwnames[] = {
5634 NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5638 {
0439c23b 5639 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = wxGetDisplaySize();
5642
5643 wxPyEndAllowThreads(__tstate);
110da5b0 5644 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5645 }
5646 {
5647 wxSize * resultptr;
093d3ff1 5648 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5650 }
5651 return resultobj;
5652 fail:
5653 return NULL;
5654}
5655
5656
c32bde28 5657static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5658 PyObject *resultobj;
5659 int *arg1 = (int *) 0 ;
5660 int *arg2 = (int *) 0 ;
5661 int temp1 ;
c32bde28 5662 int res1 = 0 ;
d55e5bfc 5663 int temp2 ;
c32bde28 5664 int res2 = 0 ;
d55e5bfc
RD
5665 char *kwnames[] = {
5666 NULL
5667 };
5668
c32bde28
RD
5669 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5670 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5672 {
0439c23b 5673 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 wxDisplaySizeMM(arg1,arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
110da5b0 5678 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5681 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5682 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5683 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5684 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5685 return resultobj;
5686 fail:
5687 return NULL;
5688}
5689
5690
c32bde28 5691static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5692 PyObject *resultobj;
5693 wxSize result;
5694 char *kwnames[] = {
5695 NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5699 {
0439c23b 5700 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = wxGetDisplaySizeMM();
5703
5704 wxPyEndAllowThreads(__tstate);
110da5b0 5705 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5706 }
5707 {
5708 wxSize * resultptr;
093d3ff1 5709 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
5710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715}
5716
5717
c32bde28 5718static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5719 PyObject *resultobj;
5720 int *arg1 = (int *) 0 ;
5721 int *arg2 = (int *) 0 ;
5722 int *arg3 = (int *) 0 ;
5723 int *arg4 = (int *) 0 ;
5724 int temp1 ;
c32bde28 5725 int res1 = 0 ;
d55e5bfc 5726 int temp2 ;
c32bde28 5727 int res2 = 0 ;
d55e5bfc 5728 int temp3 ;
c32bde28 5729 int res3 = 0 ;
d55e5bfc 5730 int temp4 ;
c32bde28 5731 int res4 = 0 ;
d55e5bfc
RD
5732 char *kwnames[] = {
5733 NULL
5734 };
5735
c32bde28
RD
5736 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5737 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5738 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5739 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5741 {
0439c23b 5742 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5745
5746 wxPyEndAllowThreads(__tstate);
110da5b0 5747 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5748 }
5749 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5750 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5751 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5752 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5753 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5754 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5755 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5756 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5757 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5758 return resultobj;
5759 fail:
5760 return NULL;
5761}
5762
5763
c32bde28 5764static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5765 PyObject *resultobj;
5766 wxRect result;
5767 char *kwnames[] = {
5768 NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5772 {
0439c23b 5773 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 result = wxGetClientDisplayRect();
5776
5777 wxPyEndAllowThreads(__tstate);
110da5b0 5778 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5779 }
5780 {
5781 wxRect * resultptr;
093d3ff1 5782 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
5783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5784 }
5785 return resultobj;
5786 fail:
5787 return NULL;
5788}
5789
5790
c32bde28 5791static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5792 PyObject *resultobj;
5793 wxCursor *arg1 = 0 ;
5794 PyObject * obj0 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "cursor", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
5800 {
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
5803 if (arg1 == NULL) {
5804 SWIG_null_ref("wxCursor");
5805 }
5806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5807 }
5808 {
0439c23b 5809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 wxSetCursor(*arg1);
5812
5813 wxPyEndAllowThreads(__tstate);
110da5b0 5814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
c32bde28 5823static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5824 PyObject *resultobj;
5825 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5826 PyObject * obj0 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "cursor", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5832 if (obj0) {
093d3ff1
RD
5833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5835 }
5836 {
0439c23b 5837 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 wxBeginBusyCursor(arg1);
5840
5841 wxPyEndAllowThreads(__tstate);
110da5b0 5842 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5843 }
5844 Py_INCREF(Py_None); resultobj = Py_None;
5845 return resultobj;
5846 fail:
5847 return NULL;
5848}
5849
5850
c32bde28 5851static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5852 PyObject *resultobj;
5853 wxWindow *result;
5854 char *kwnames[] = {
5855 NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
5859 {
0439c23b 5860 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (wxWindow *)wxGetActiveWindow();
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_GenericFindWindowAtPoint(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:GenericFindWindowAtPoint",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 *)wxGenericFindWindowAtPoint((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_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5909 PyObject *resultobj;
5910 wxPoint *arg1 = 0 ;
5911 wxWindow *result;
5912 wxPoint temp1 ;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "pt", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
5919 {
5920 arg1 = &temp1;
5921 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5922 }
5923 {
0439c23b 5924 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
5927
5928 wxPyEndAllowThreads(__tstate);
110da5b0 5929 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5930 }
5931 {
412d302d 5932 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5933 }
5934 return resultobj;
5935 fail:
5936 return NULL;
5937}
5938
5939
c32bde28 5940static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5941 PyObject *resultobj;
5942 wxWindow *arg1 = (wxWindow *) 0 ;
5943 wxWindow *result;
5944 PyObject * obj0 = 0 ;
5945 char *kwnames[] = {
5946 (char *) "win", NULL
5947 };
5948
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
5950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5952 {
0439c23b 5953 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (wxWindow *)wxGetTopLevelParent(arg1);
5956
5957 wxPyEndAllowThreads(__tstate);
110da5b0 5958 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5959 }
5960 {
412d302d 5961 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5962 }
5963 return resultobj;
5964 fail:
5965 return NULL;
5966}
5967
5968
c32bde28 5969static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 5970 PyObject *resultobj;
093d3ff1 5971 wxKeyCode arg1 ;
d55e5bfc
RD
5972 bool result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "key", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
093d3ff1
RD
5979 {
5980 arg1 = (wxKeyCode)(SWIG_As_int(obj0));
5981 if (SWIG_arg_fail(1)) SWIG_fail;
5982 }
d55e5bfc 5983 {
0439c23b 5984 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)wxGetKeyState((wxKeyCode )arg1);
5987
5988 wxPyEndAllowThreads(__tstate);
110da5b0 5989 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5990 }
5991 {
5992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
c32bde28 6000static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6001 PyObject *resultobj;
6002 char *kwnames[] = {
6003 NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6007 {
0439c23b 6008 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 wxWakeUpMainThread();
6011
6012 wxPyEndAllowThreads(__tstate);
110da5b0 6013 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6014 }
6015 Py_INCREF(Py_None); resultobj = Py_None;
6016 return resultobj;
6017 fail:
6018 return NULL;
6019}
6020
6021
c32bde28 6022static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6023 PyObject *resultobj;
6024 char *kwnames[] = {
6025 NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6029 {
0439c23b 6030 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 wxMutexGuiEnter();
6033
6034 wxPyEndAllowThreads(__tstate);
110da5b0 6035 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6036 }
6037 Py_INCREF(Py_None); resultobj = Py_None;
6038 return resultobj;
6039 fail:
6040 return NULL;
6041}
6042
6043
c32bde28 6044static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6045 PyObject *resultobj;
6046 char *kwnames[] = {
6047 NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6051 {
0439c23b 6052 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 wxMutexGuiLeave();
6055
6056 wxPyEndAllowThreads(__tstate);
110da5b0 6057 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6058 }
6059 Py_INCREF(Py_None); resultobj = Py_None;
6060 return resultobj;
6061 fail:
6062 return NULL;
6063}
6064
6065
c32bde28 6066static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6067 PyObject *resultobj;
6068 wxMutexGuiLocker *result;
6069 char *kwnames[] = {
6070 NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6074 {
0439c23b 6075 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6078
6079 wxPyEndAllowThreads(__tstate);
110da5b0 6080 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6081 }
6082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6083 return resultobj;
6084 fail:
6085 return NULL;
6086}
6087
6088
c32bde28 6089static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6090 PyObject *resultobj;
6091 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 delete arg1;
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 Py_INCREF(Py_None); resultobj = Py_None;
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
c32bde28 6114static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6115 PyObject *obj;
6116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6117 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6118 Py_INCREF(obj);
6119 return Py_BuildValue((char *)"");
6120}
c32bde28 6121static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6122 PyObject *resultobj;
6123 bool result;
6124 char *kwnames[] = {
6125 NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)wxThread_IsMain();
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 {
6137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6138 }
6139 return resultobj;
6140 fail:
6141 return NULL;
6142}
6143
6144
c32bde28 6145static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6146 PyObject *resultobj;
6147 wxString *arg1 = 0 ;
6148 wxToolTip *result;
ae8162c8 6149 bool temp1 = false ;
d55e5bfc
RD
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "tip", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6156 {
6157 arg1 = wxString_in_helper(obj0);
6158 if (arg1 == NULL) SWIG_fail;
ae8162c8 6159 temp1 = true;
d55e5bfc
RD
6160 }
6161 {
0439c23b 6162 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6165
6166 wxPyEndAllowThreads(__tstate);
110da5b0 6167 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6168 }
6169 {
412d302d 6170 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
6171 }
6172 {
6173 if (temp1)
6174 delete arg1;
6175 }
6176 return resultobj;
6177 fail:
6178 {
6179 if (temp1)
6180 delete arg1;
6181 }
6182 return NULL;
6183}
6184
6185
c32bde28 6186static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6187 PyObject *resultobj;
6188 wxToolTip *arg1 = (wxToolTip *) 0 ;
6189 wxString *arg2 = 0 ;
ae8162c8 6190 bool temp2 = false ;
d55e5bfc
RD
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "tip", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6200 {
6201 arg2 = wxString_in_helper(obj1);
6202 if (arg2 == NULL) SWIG_fail;
ae8162c8 6203 temp2 = true;
d55e5bfc
RD
6204 }
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->SetTip((wxString const &)*arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 {
6214 if (temp2)
6215 delete arg2;
6216 }
6217 return resultobj;
6218 fail:
6219 {
6220 if (temp2)
6221 delete arg2;
6222 }
6223 return NULL;
6224}
6225
6226
c32bde28 6227static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6228 PyObject *resultobj;
6229 wxToolTip *arg1 = (wxToolTip *) 0 ;
6230 wxString result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
6237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (arg1)->GetTip();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247#if wxUSE_UNICODE
6248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6249#else
6250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6251#endif
6252 }
6253 return resultobj;
6254 fail:
6255 return NULL;
6256}
6257
6258
c32bde28 6259static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6260 PyObject *resultobj;
6261 wxToolTip *arg1 = (wxToolTip *) 0 ;
6262 wxWindow *result;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (wxWindow *)(arg1)->GetWindow();
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
412d302d 6279 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6280 }
6281 return resultobj;
6282 fail:
6283 return NULL;
6284}
6285
6286
c32bde28 6287static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6288 PyObject *resultobj;
6289 bool arg1 ;
6290 PyObject * obj0 = 0 ;
6291 char *kwnames[] = {
6292 (char *) "flag", NULL
6293 };
6294
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1
RD
6296 {
6297 arg1 = (bool)(SWIG_As_bool(obj0));
6298 if (SWIG_arg_fail(1)) SWIG_fail;
6299 }
d55e5bfc
RD
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 wxToolTip::Enable(arg1);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
c32bde28 6314static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6315 PyObject *resultobj;
6316 long arg1 ;
6317 PyObject * obj0 = 0 ;
6318 char *kwnames[] = {
6319 (char *) "milliseconds", NULL
6320 };
6321
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1
RD
6323 {
6324 arg1 = (long)(SWIG_As_long(obj0));
6325 if (SWIG_arg_fail(1)) SWIG_fail;
6326 }
d55e5bfc
RD
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 wxToolTip::SetDelay(arg1);
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 Py_INCREF(Py_None); resultobj = Py_None;
6335 return resultobj;
6336 fail:
6337 return NULL;
6338}
6339
6340
c32bde28 6341static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6342 PyObject *obj;
6343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
6345 Py_INCREF(obj);
6346 return Py_BuildValue((char *)"");
6347}
c32bde28 6348static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6349 PyObject *resultobj;
6350 wxWindow *arg1 = (wxWindow *) 0 ;
6351 wxSize *arg2 = 0 ;
6352 wxCaret *result;
6353 wxSize temp2 ;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj1 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "window",(char *) "size", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6363 {
6364 arg2 = &temp2;
6365 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6366 }
6367 {
0439c23b 6368 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
6371
6372 wxPyEndAllowThreads(__tstate);
110da5b0 6373 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6374 }
6375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
6376 return resultobj;
6377 fail:
6378 return NULL;
6379}
6380
6381
091fdbfa 6382static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6383 PyObject *resultobj;
6384 wxCaret *arg1 = (wxCaret *) 0 ;
6385 PyObject * obj0 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self", NULL
6388 };
6389
091fdbfa 6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
6391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6395 wxCaret_Destroy(arg1);
d55e5bfc
RD
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 Py_INCREF(Py_None); resultobj = Py_None;
6401 return resultobj;
6402 fail:
6403 return NULL;
6404}
6405
6406
c32bde28 6407static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6408 PyObject *resultobj;
6409 wxCaret *arg1 = (wxCaret *) 0 ;
6410 bool result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
6417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (bool)(arg1)->IsOk();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 {
6427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6428 }
6429 return resultobj;
6430 fail:
6431 return NULL;
6432}
6433
6434
c32bde28 6435static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6436 PyObject *resultobj;
6437 wxCaret *arg1 = (wxCaret *) 0 ;
6438 bool result;
6439 PyObject * obj0 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
6445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (bool)(arg1)->IsVisible();
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 {
6455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6456 }
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
c32bde28 6463static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6464 PyObject *resultobj;
6465 wxCaret *arg1 = (wxCaret *) 0 ;
6466 wxPoint result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
6473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (arg1)->GetPosition();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 wxPoint * resultptr;
093d3ff1 6484 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
6485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6486 }
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
c32bde28 6493static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6494 PyObject *resultobj;
6495 wxCaret *arg1 = (wxCaret *) 0 ;
6496 int *arg2 = (int *) 0 ;
6497 int *arg3 = (int *) 0 ;
6498 int temp2 ;
c32bde28 6499 int res2 = 0 ;
d55e5bfc 6500 int temp3 ;
c32bde28 6501 int res3 = 0 ;
d55e5bfc
RD
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
c32bde28
RD
6507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->GetPosition(arg2,arg3);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6521 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6523 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6524 return resultobj;
6525 fail:
6526 return NULL;
6527}
6528
6529
c32bde28 6530static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6531 PyObject *resultobj;
6532 wxCaret *arg1 = (wxCaret *) 0 ;
6533 wxSize result;
6534 PyObject * obj0 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (arg1)->GetSize();
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 {
6550 wxSize * resultptr;
093d3ff1 6551 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
6552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
6553 }
6554 return resultobj;
6555 fail:
6556 return NULL;
6557}
6558
6559
c32bde28 6560static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6561 PyObject *resultobj;
6562 wxCaret *arg1 = (wxCaret *) 0 ;
6563 int *arg2 = (int *) 0 ;
6564 int *arg3 = (int *) 0 ;
6565 int temp2 ;
c32bde28 6566 int res2 = 0 ;
d55e5bfc 6567 int temp3 ;
c32bde28 6568 int res3 = 0 ;
d55e5bfc
RD
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
c32bde28
RD
6574 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6575 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 (arg1)->GetSize(arg2,arg3);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6587 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6588 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6589 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6590 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
6591 return resultobj;
6592 fail:
6593 return NULL;
6594}
6595
6596
c32bde28 6597static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6598 PyObject *resultobj;
6599 wxCaret *arg1 = (wxCaret *) 0 ;
6600 wxWindow *result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (wxWindow *)(arg1)->GetWindow();
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
412d302d 6617 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
c32bde28 6625static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6626 PyObject *resultobj;
6627 wxCaret *arg1 = (wxCaret *) 0 ;
6628 int arg2 ;
6629 int arg3 ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 PyObject * obj2 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "x",(char *) "y", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6639 if (SWIG_arg_fail(1)) SWIG_fail;
6640 {
6641 arg2 = (int)(SWIG_As_int(obj1));
6642 if (SWIG_arg_fail(2)) SWIG_fail;
6643 }
6644 {
6645 arg3 = (int)(SWIG_As_int(obj2));
6646 if (SWIG_arg_fail(3)) SWIG_fail;
6647 }
d55e5bfc
RD
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->Move(arg2,arg3);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 Py_INCREF(Py_None); resultobj = Py_None;
6656 return resultobj;
6657 fail:
6658 return NULL;
6659}
6660
6661
c32bde28 6662static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6663 PyObject *resultobj;
6664 wxCaret *arg1 = (wxCaret *) 0 ;
6665 wxPoint *arg2 = 0 ;
6666 wxPoint temp2 ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self",(char *) "pt", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6676 {
6677 arg2 = &temp2;
6678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6679 }
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->Move((wxPoint const &)*arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691}
6692
6693
c32bde28 6694static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6695 PyObject *resultobj;
6696 wxCaret *arg1 = (wxCaret *) 0 ;
6697 int arg2 ;
6698 int arg3 ;
6699 PyObject * obj0 = 0 ;
6700 PyObject * obj1 = 0 ;
6701 PyObject * obj2 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "width",(char *) "height", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6708 if (SWIG_arg_fail(1)) SWIG_fail;
6709 {
6710 arg2 = (int)(SWIG_As_int(obj1));
6711 if (SWIG_arg_fail(2)) SWIG_fail;
6712 }
6713 {
6714 arg3 = (int)(SWIG_As_int(obj2));
6715 if (SWIG_arg_fail(3)) SWIG_fail;
6716 }
d55e5bfc
RD
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->SetSize(arg2,arg3);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728}
6729
6730
c32bde28 6731static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6732 PyObject *resultobj;
6733 wxCaret *arg1 = (wxCaret *) 0 ;
6734 wxSize *arg2 = 0 ;
6735 wxSize temp2 ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "size", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6745 {
6746 arg2 = &temp2;
6747 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetSize((wxSize const &)*arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
c32bde28 6763static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6764 PyObject *resultobj;
6765 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 6766 int arg2 = (int) true ;
d55e5bfc
RD
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "show", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6776 if (obj1) {
093d3ff1
RD
6777 {
6778 arg2 = (int)(SWIG_As_int(obj1));
6779 if (SWIG_arg_fail(2)) SWIG_fail;
6780 }
d55e5bfc
RD
6781 }
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->Show(arg2);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793}
6794
6795
c32bde28 6796static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6797 PyObject *resultobj;
6798 wxCaret *arg1 = (wxCaret *) 0 ;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->Hide();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818}
6819
6820
c32bde28 6821static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6822 PyObject *resultobj;
6823 int result;
6824 char *kwnames[] = {
6825 NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6831 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
093d3ff1
RD
6836 {
6837 resultobj = SWIG_From_int((int)(result));
6838 }
d55e5bfc
RD
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
c32bde28 6845static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6846 PyObject *resultobj;
6847 int arg1 ;
6848 PyObject * obj0 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "milliseconds", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
6854 {
6855 arg1 = (int)(SWIG_As_int(obj0));
6856 if (SWIG_arg_fail(1)) SWIG_fail;
6857 }
d55e5bfc
RD
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 6860 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869}
6870
6871
091fdbfa
RD
6872static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
6873 PyObject *obj;
6874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6875 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
6876 Py_INCREF(obj);
6877 return Py_BuildValue((char *)"");
6878}
c32bde28 6879static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6880 PyObject *resultobj;
6881 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
6882 wxBusyCursor *result;
6883 PyObject * obj0 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "cursor", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
6889 if (obj0) {
093d3ff1
RD
6890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6892 }
6893 {
0439c23b 6894 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 result = (wxBusyCursor *)new wxBusyCursor(arg1);
6897
6898 wxPyEndAllowThreads(__tstate);
110da5b0 6899 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6900 }
6901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
6902 return resultobj;
6903 fail:
6904 return NULL;
6905}
6906
6907
c32bde28 6908static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6909 PyObject *resultobj;
6910 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 delete arg1;
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 Py_INCREF(Py_None); resultobj = Py_None;
6927 return resultobj;
6928 fail:
6929 return NULL;
6930}
6931
6932
c32bde28 6933static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6934 PyObject *obj;
6935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6936 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
6937 Py_INCREF(obj);
6938 return Py_BuildValue((char *)"");
6939}
c32bde28 6940static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6941 PyObject *resultobj;
6942 wxWindow *arg1 = (wxWindow *) NULL ;
6943 wxWindowDisabler *result;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "winToSkip", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
6950 if (obj0) {
093d3ff1
RD
6951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6953 }
6954 {
0439c23b 6955 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
6958
6959 wxPyEndAllowThreads(__tstate);
110da5b0 6960 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6961 }
6962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966}
6967
6968
c32bde28 6969static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6970 PyObject *resultobj;
6971 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
6978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
6979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 delete arg1;
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
c32bde28 6994static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6995 PyObject *obj;
6996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6997 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
6998 Py_INCREF(obj);
6999 return Py_BuildValue((char *)"");
7000}
c32bde28 7001static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7002 PyObject *resultobj;
7003 wxString *arg1 = 0 ;
7004 wxBusyInfo *result;
ae8162c8 7005 bool temp1 = false ;
d55e5bfc
RD
7006 PyObject * obj0 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "message", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7012 {
7013 arg1 = wxString_in_helper(obj0);
7014 if (arg1 == NULL) SWIG_fail;
ae8162c8 7015 temp1 = true;
d55e5bfc
RD
7016 }
7017 {
0439c23b 7018 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7021
7022 wxPyEndAllowThreads(__tstate);
110da5b0 7023 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7024 }
7025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7026 {
7027 if (temp1)
7028 delete arg1;
7029 }
7030 return resultobj;
7031 fail:
7032 {
7033 if (temp1)
7034 delete arg1;
7035 }
7036 return NULL;
7037}
7038
7039
c32bde28 7040static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7041 PyObject *resultobj;
7042 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 delete arg1;
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062}
7063
7064
c32bde28 7065static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7066 PyObject *obj;
7067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7069 Py_INCREF(obj);
7070 return Py_BuildValue((char *)"");
7071}
c32bde28 7072static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7073 PyObject *resultobj;
7074 wxStopWatch *result;
7075 char *kwnames[] = {
7076 NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 result = (wxStopWatch *)new wxStopWatch();
7083
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7088 return resultobj;
7089 fail:
7090 return NULL;
7091}
7092
7093
c32bde28 7094static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7095 PyObject *resultobj;
7096 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7097 long arg2 = (long) 0 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "t0", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7107 if (obj1) {
093d3ff1
RD
7108 {
7109 arg2 = (long)(SWIG_As_long(obj1));
7110 if (SWIG_arg_fail(2)) SWIG_fail;
7111 }
d55e5bfc
RD
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->Start(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124}
7125
7126
c32bde28 7127static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7128 PyObject *resultobj;
7129 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7130 PyObject * obj0 = 0 ;
7131 char *kwnames[] = {
7132 (char *) "self", NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
7136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 (arg1)->Pause();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 Py_INCREF(Py_None); resultobj = Py_None;
7146 return resultobj;
7147 fail:
7148 return NULL;
7149}
7150
7151
c32bde28 7152static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7153 PyObject *resultobj;
7154 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7155 PyObject * obj0 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
7161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->Resume();
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174}
7175
7176
c32bde28 7177static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7178 PyObject *resultobj;
7179 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7180 long result;
7181 PyObject * obj0 = 0 ;
7182 char *kwnames[] = {
7183 (char *) "self", NULL
7184 };
7185
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
7187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (long)((wxStopWatch const *)arg1)->Time();
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
093d3ff1
RD
7196 {
7197 resultobj = SWIG_From_long((long)(result));
7198 }
d55e5bfc
RD
7199 return resultobj;
7200 fail:
7201 return NULL;
7202}
7203
7204
c32bde28 7205static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7206 PyObject *obj;
7207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
7209 Py_INCREF(obj);
7210 return Py_BuildValue((char *)"");
7211}
c32bde28 7212static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7213 PyObject *resultobj;
7214 int arg1 = (int) 9 ;
4cf4100f 7215 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
7216 wxFileHistory *result;
7217 PyObject * obj0 = 0 ;
4cf4100f 7218 PyObject * obj1 = 0 ;
d55e5bfc 7219 char *kwnames[] = {
4cf4100f 7220 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
7221 };
7222
4cf4100f 7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 7224 if (obj0) {
093d3ff1
RD
7225 {
7226 arg1 = (int)(SWIG_As_int(obj0));
7227 if (SWIG_arg_fail(1)) SWIG_fail;
7228 }
d55e5bfc 7229 }
4cf4100f 7230 if (obj1) {
093d3ff1
RD
7231 {
7232 arg2 = (int)(SWIG_As_int(obj1));
7233 if (SWIG_arg_fail(2)) SWIG_fail;
7234 }
4cf4100f 7235 }
d55e5bfc
RD
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 7238 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
7244 return resultobj;
7245 fail:
7246 return NULL;
7247}
7248
7249
c32bde28 7250static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7251 PyObject *resultobj;
7252 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
7259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 delete arg1;
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 Py_INCREF(Py_None); resultobj = Py_None;
7269 return resultobj;
7270 fail:
7271 return NULL;
7272}
7273
7274
c32bde28 7275static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7276 PyObject *resultobj;
7277 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7278 wxString *arg2 = 0 ;
ae8162c8 7279 bool temp2 = false ;
d55e5bfc
RD
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "file", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7289 {
7290 arg2 = wxString_in_helper(obj1);
7291 if (arg2 == NULL) SWIG_fail;
ae8162c8 7292 temp2 = true;
d55e5bfc
RD
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 (arg1)->AddFileToHistory((wxString const &)*arg2);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 {
7303 if (temp2)
7304 delete arg2;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp2)
7310 delete arg2;
7311 }
7312 return NULL;
7313}
7314
7315
c32bde28 7316static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7317 PyObject *resultobj;
7318 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7319 int arg2 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "i", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail;
7329 {
7330 arg2 = (int)(SWIG_As_int(obj1));
7331 if (SWIG_arg_fail(2)) SWIG_fail;
7332 }
d55e5bfc
RD
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 (arg1)->RemoveFileFromHistory(arg2);
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 Py_INCREF(Py_None); resultobj = Py_None;
7341 return resultobj;
7342 fail:
7343 return NULL;
7344}
7345
7346
c32bde28 7347static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7348 PyObject *resultobj;
7349 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7350 int result;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
7357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
093d3ff1
RD
7366 {
7367 resultobj = SWIG_From_int((int)(result));
7368 }
d55e5bfc
RD
7369 return resultobj;
7370 fail:
7371 return NULL;
7372}
7373
7374
c32bde28 7375static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7376 PyObject *resultobj;
7377 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7378 wxMenu *arg2 = (wxMenu *) 0 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "menu", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7389 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->UseMenu(arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401}
7402
7403
c32bde28 7404static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7405 PyObject *resultobj;
7406 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7407 wxMenu *arg2 = (wxMenu *) 0 ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self",(char *) "menu", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
7417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7418 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 (arg1)->RemoveMenu(arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 return resultobj;
7428 fail:
7429 return NULL;
7430}
7431
7432
c32bde28 7433static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7434 PyObject *resultobj;
7435 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7436 wxConfigBase *arg2 = 0 ;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "config", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail;
7446 {
7447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7448 if (SWIG_arg_fail(2)) SWIG_fail;
7449 if (arg2 == NULL) {
7450 SWIG_null_ref("wxConfigBase");
7451 }
7452 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->Load(*arg2);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465}
7466
7467
c32bde28 7468static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7469 PyObject *resultobj;
7470 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7471 wxConfigBase *arg2 = 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "config", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
7481 {
7482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail;
7484 if (arg2 == NULL) {
7485 SWIG_null_ref("wxConfigBase");
7486 }
7487 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 (arg1)->Save(*arg2);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
c32bde28 7503static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7504 PyObject *resultobj;
7505 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
7512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 (arg1)->AddFilesToMenu();
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 Py_INCREF(Py_None); resultobj = Py_None;
7522 return resultobj;
7523 fail:
7524 return NULL;
7525}
7526
7527
c32bde28 7528static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7529 PyObject *resultobj;
7530 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7531 wxMenu *arg2 = (wxMenu *) 0 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "menu", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7540 if (SWIG_arg_fail(1)) SWIG_fail;
7541 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7542 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 (arg1)->AddFilesToMenu(arg2);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 Py_INCREF(Py_None); resultobj = Py_None;
7551 return resultobj;
7552 fail:
7553 return NULL;
7554}
7555
7556
c32bde28 7557static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7558 PyObject *resultobj;
7559 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7560 int arg2 ;
7561 wxString result;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "i", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7570 if (SWIG_arg_fail(1)) SWIG_fail;
7571 {
7572 arg2 = (int)(SWIG_As_int(obj1));
7573 if (SWIG_arg_fail(2)) SWIG_fail;
7574 }
d55e5bfc
RD
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 {
7583#if wxUSE_UNICODE
7584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7585#else
7586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7587#endif
7588 }
7589 return resultobj;
7590 fail:
7591 return NULL;
7592}
7593
7594
c32bde28 7595static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7596 PyObject *resultobj;
7597 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7598 int result;
7599 PyObject * obj0 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (int)((wxFileHistory const *)arg1)->GetCount();
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
093d3ff1
RD
7614 {
7615 resultobj = SWIG_From_int((int)(result));
7616 }
d55e5bfc
RD
7617 return resultobj;
7618 fail:
7619 return NULL;
7620}
7621
7622
c32bde28 7623static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7624 PyObject *obj;
7625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7626 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
7627 Py_INCREF(obj);
7628 return Py_BuildValue((char *)"");
7629}
c32bde28 7630static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7631 PyObject *resultobj;
7632 wxString *arg1 = 0 ;
7633 wxString const &arg2_defvalue = wxPyEmptyString ;
7634 wxString *arg2 = (wxString *) &arg2_defvalue ;
7635 wxSingleInstanceChecker *result;
ae8162c8
RD
7636 bool temp1 = false ;
7637 bool temp2 = false ;
d55e5bfc
RD
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "name",(char *) "path", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
7645 {
7646 arg1 = wxString_in_helper(obj0);
7647 if (arg1 == NULL) SWIG_fail;
ae8162c8 7648 temp1 = true;
d55e5bfc
RD
7649 }
7650 if (obj1) {
7651 {
7652 arg2 = wxString_in_helper(obj1);
7653 if (arg2 == NULL) SWIG_fail;
ae8162c8 7654 temp2 = true;
d55e5bfc
RD
7655 }
7656 }
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7665 {
7666 if (temp1)
7667 delete arg1;
7668 }
7669 {
7670 if (temp2)
7671 delete arg2;
7672 }
7673 return resultobj;
7674 fail:
7675 {
7676 if (temp1)
7677 delete arg1;
7678 }
7679 {
7680 if (temp2)
7681 delete arg2;
7682 }
7683 return NULL;
7684}
7685
7686
c32bde28 7687static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7688 PyObject *resultobj;
7689 wxSingleInstanceChecker *result;
7690 char *kwnames[] = {
7691 NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706}
7707
7708
c32bde28 7709static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7710 PyObject *resultobj;
7711 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
7718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 delete arg1;
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731}
7732
7733
c32bde28 7734static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7735 PyObject *resultobj;
7736 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7737 wxString *arg2 = 0 ;
7738 wxString const &arg3_defvalue = wxPyEmptyString ;
7739 wxString *arg3 = (wxString *) &arg3_defvalue ;
7740 bool result;
ae8162c8
RD
7741 bool temp2 = false ;
7742 bool temp3 = false ;
d55e5bfc
RD
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 PyObject * obj2 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self",(char *) "name",(char *) "path", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7753 {
7754 arg2 = wxString_in_helper(obj1);
7755 if (arg2 == NULL) SWIG_fail;
ae8162c8 7756 temp2 = true;
d55e5bfc
RD
7757 }
7758 if (obj2) {
7759 {
7760 arg3 = wxString_in_helper(obj2);
7761 if (arg3 == NULL) SWIG_fail;
ae8162c8 7762 temp3 = true;
d55e5bfc
RD
7763 }
7764 }
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 {
7773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7774 }
7775 {
7776 if (temp2)
7777 delete arg2;
7778 }
7779 {
7780 if (temp3)
7781 delete arg3;
7782 }
7783 return resultobj;
7784 fail:
7785 {
7786 if (temp2)
7787 delete arg2;
7788 }
7789 {
7790 if (temp3)
7791 delete arg3;
7792 }
7793 return NULL;
7794}
7795
7796
c32bde28 7797static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7798 PyObject *resultobj;
7799 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7800 bool result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
7807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 {
7817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7818 }
7819 return resultobj;
7820 fail:
7821 return NULL;
7822}
7823
7824
c32bde28 7825static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7826 PyObject *obj;
7827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7828 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
7829 Py_INCREF(obj);
7830 return Py_BuildValue((char *)"");
7831}
68350608
RD
7832static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxWindow *arg1 = (wxWindow *) 0 ;
7835 wxDC *arg2 = 0 ;
7836 bool result;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "window",(char *) "dc", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
7846 {
7847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(2)) SWIG_fail;
7849 if (arg2 == NULL) {
7850 SWIG_null_ref("wxDC");
7851 }
7852 if (SWIG_arg_fail(2)) SWIG_fail;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 {
7862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7863 }
7864 return resultobj;
7865 fail:
7866 return NULL;
7867}
7868
7869
c32bde28 7870static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7871 PyObject *resultobj;
7872 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
7879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 delete arg1;
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892}
7893
7894
c32bde28 7895static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7896 PyObject *resultobj;
7897 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7898 wxString result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (arg1)->GetTip();
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 {
7915#if wxUSE_UNICODE
7916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7917#else
7918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7919#endif
7920 }
7921 return resultobj;
7922 fail:
7923 return NULL;
7924}
7925
7926
c32bde28 7927static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7928 PyObject *resultobj;
7929 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7930 size_t result;
7931 PyObject * obj0 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (size_t)(arg1)->GetCurrentTip();
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
093d3ff1
RD
7946 {
7947 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
7948 }
d55e5bfc
RD
7949 return resultobj;
7950 fail:
7951 return NULL;
7952}
7953
7954
c32bde28 7955static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7956 PyObject *resultobj;
7957 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7958 wxString *arg2 = 0 ;
7959 wxString result;
ae8162c8 7960 bool temp2 = false ;
d55e5bfc
RD
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "tip", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7970 {
7971 arg2 = wxString_in_helper(obj1);
7972 if (arg2 == NULL) SWIG_fail;
ae8162c8 7973 temp2 = true;
d55e5bfc
RD
7974 }
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (arg1)->PreprocessTip((wxString const &)*arg2);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983#if wxUSE_UNICODE
7984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7985#else
7986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7987#endif
7988 }
7989 {
7990 if (temp2)
7991 delete arg2;
7992 }
7993 return resultobj;
7994 fail:
7995 {
7996 if (temp2)
7997 delete arg2;
7998 }
7999 return NULL;
8000}
8001
8002
c32bde28 8003static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8004 PyObject *obj;
8005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8006 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8007 Py_INCREF(obj);
8008 return Py_BuildValue((char *)"");
8009}
c32bde28 8010static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8011 PyObject *resultobj;
8012 size_t arg1 ;
8013 wxPyTipProvider *result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "currentTip", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8020 {
8021 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 }
d55e5bfc
RD
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035}
8036
8037
c32bde28 8038static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8039 PyObject *resultobj;
8040 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8041 PyObject *arg2 = (PyObject *) 0 ;
8042 PyObject *arg3 = (PyObject *) 0 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 PyObject * obj2 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "self",(char *) "_class", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8053 arg2 = obj1;
8054 arg3 = obj2;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->_setCallbackInfo(arg2,arg3);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
c32bde28 8069static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8070 PyObject *obj;
8071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8073 Py_INCREF(obj);
8074 return Py_BuildValue((char *)"");
8075}
c32bde28 8076static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8077 PyObject *resultobj;
8078 wxWindow *arg1 = (wxWindow *) 0 ;
8079 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8080 bool arg3 = (bool) true ;
d55e5bfc
RD
8081 bool result;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail;
8092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8094 if (obj2) {
093d3ff1
RD
8095 {
8096 arg3 = (bool)(SWIG_As_bool(obj2));
8097 if (SWIG_arg_fail(3)) SWIG_fail;
8098 }
d55e5bfc
RD
8099 }
8100 {
0439c23b 8101 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (bool)wxShowTip(arg1,arg2,arg3);
8104
8105 wxPyEndAllowThreads(__tstate);
110da5b0 8106 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8107 }
8108 {
8109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8110 }
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
c32bde28 8117static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8118 PyObject *resultobj;
8119 wxString *arg1 = 0 ;
8120 size_t arg2 ;
8121 wxTipProvider *result;
ae8162c8 8122 bool temp1 = false ;
d55e5bfc
RD
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "filename",(char *) "currentTip", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
8130 {
8131 arg1 = wxString_in_helper(obj0);
8132 if (arg1 == NULL) SWIG_fail;
ae8162c8 8133 temp1 = true;
d55e5bfc 8134 }
093d3ff1
RD
8135 {
8136 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
8137 if (SWIG_arg_fail(2)) SWIG_fail;
8138 }
d55e5bfc 8139 {
0439c23b 8140 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
8143
8144 wxPyEndAllowThreads(__tstate);
110da5b0 8145 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8146 }
8147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
8148 {
8149 if (temp1)
8150 delete arg1;
8151 }
8152 return resultobj;
8153 fail:
8154 {
8155 if (temp1)
8156 delete arg1;
8157 }
8158 return NULL;
8159}
8160
8161
c32bde28 8162static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8163 PyObject *resultobj;
8164 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8165 int arg2 = (int) -1 ;
8166 wxPyTimer *result;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "owner",(char *) "id", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
8174 if (obj0) {
093d3ff1
RD
8175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8177 }
8178 if (obj1) {
093d3ff1
RD
8179 {
8180 arg2 = (int)(SWIG_As_int(obj1));
8181 if (SWIG_arg_fail(2)) SWIG_fail;
8182 }
d55e5bfc
RD
8183 }
8184 {
0439c23b 8185 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
8188
8189 wxPyEndAllowThreads(__tstate);
110da5b0 8190 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8191 }
8192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
8193 return resultobj;
8194 fail:
8195 return NULL;
8196}
8197
8198
c32bde28 8199static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8200 PyObject *resultobj;
8201 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 delete arg1;
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 Py_INCREF(Py_None); resultobj = Py_None;
8218 return resultobj;
8219 fail:
8220 return NULL;
8221}
8222
8223
c32bde28 8224static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8225 PyObject *resultobj;
8226 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8227 PyObject *arg2 = (PyObject *) 0 ;
8228 PyObject *arg3 = (PyObject *) 0 ;
8229 int arg4 = (int) 1 ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8241 arg2 = obj1;
8242 arg3 = obj2;
8243 if (obj3) {
093d3ff1
RD
8244 {
8245 arg4 = (int)(SWIG_As_int(obj3));
8246 if (SWIG_arg_fail(4)) SWIG_fail;
8247 }
d55e5bfc
RD
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260}
8261
8262
c32bde28 8263static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8264 PyObject *resultobj;
8265 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8266 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
8267 int arg3 = (int) -1 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 PyObject * obj2 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self",(char *) "owner",(char *) "id", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8277 if (SWIG_arg_fail(1)) SWIG_fail;
8278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8280 if (obj2) {
093d3ff1
RD
8281 {
8282 arg3 = (int)(SWIG_As_int(obj2));
8283 if (SWIG_arg_fail(3)) SWIG_fail;
8284 }
d55e5bfc
RD
8285 }
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->SetOwner(arg2,arg3);
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297}
8298
8299
c32bde28 8300static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1a6bba1e
RD
8301 PyObject *resultobj;
8302 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8303 wxEvtHandler *result;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (wxEvtHandler *)(arg1)->GetOwner();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 {
412d302d 8320 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
8321 }
8322 return resultobj;
8323 fail:
8324 return NULL;
8325}
8326
8327
c32bde28 8328static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8329 PyObject *resultobj;
8330 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8331 int arg2 = (int) -1 ;
ae8162c8 8332 bool arg3 = (bool) false ;
d55e5bfc
RD
8333 bool result;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 PyObject * obj2 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 8344 if (obj1) {
093d3ff1
RD
8345 {
8346 arg2 = (int)(SWIG_As_int(obj1));
8347 if (SWIG_arg_fail(2)) SWIG_fail;
8348 }
d55e5bfc
RD
8349 }
8350 if (obj2) {
093d3ff1
RD
8351 {
8352 arg3 = (bool)(SWIG_As_bool(obj2));
8353 if (SWIG_arg_fail(3)) SWIG_fail;
8354 }
d55e5bfc
RD
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (bool)(arg1)->Start(arg2,arg3);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8365 }
8366 return resultobj;
8367 fail:
8368 return NULL;
8369}
8370
8371
c32bde28 8372static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8373 PyObject *resultobj;
8374 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8375 PyObject * obj0 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
8381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 (arg1)->Stop();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 Py_INCREF(Py_None); resultobj = Py_None;
8391 return resultobj;
8392 fail:
8393 return NULL;
8394}
8395
8396
c32bde28 8397static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8398 PyObject *resultobj;
8399 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8400 bool result;
8401 PyObject * obj0 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
8419 return resultobj;
8420 fail:
8421 return NULL;
8422}
8423
8424
c32bde28 8425static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8426 PyObject *resultobj;
8427 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8428 int result;
8429 PyObject * obj0 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (int)((wxPyTimer const *)arg1)->GetInterval();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
093d3ff1
RD
8444 {
8445 resultobj = SWIG_From_int((int)(result));
8446 }
d55e5bfc
RD
8447 return resultobj;
8448 fail:
8449 return NULL;
8450}
8451
8452
c32bde28 8453static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8454 PyObject *resultobj;
8455 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8456 bool result;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
8463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 {
8473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8474 }
8475 return resultobj;
8476 fail:
8477 return NULL;
8478}
8479
8480
c32bde28 8481static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8482 PyObject *resultobj;
8483 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8484 int result;
8485 PyObject * obj0 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
8491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (int)((wxPyTimer const *)arg1)->GetId();
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
093d3ff1
RD
8500 {
8501 resultobj = SWIG_From_int((int)(result));
8502 }
d55e5bfc
RD
8503 return resultobj;
8504 fail:
8505 return NULL;
8506}
8507
8508
c32bde28 8509static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8510 PyObject *obj;
8511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8512 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
8513 Py_INCREF(obj);
8514 return Py_BuildValue((char *)"");
8515}
c32bde28 8516static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8517 PyObject *resultobj;
8518 int arg1 = (int) 0 ;
8519 int arg2 = (int) 0 ;
8520 wxTimerEvent *result;
8521 PyObject * obj0 = 0 ;
8522 PyObject * obj1 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "timerid",(char *) "interval", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
8528 if (obj0) {
093d3ff1
RD
8529 {
8530 arg1 = (int)(SWIG_As_int(obj0));
8531 if (SWIG_arg_fail(1)) SWIG_fail;
8532 }
d55e5bfc
RD
8533 }
8534 if (obj1) {
093d3ff1
RD
8535 {
8536 arg2 = (int)(SWIG_As_int(obj1));
8537 if (SWIG_arg_fail(2)) SWIG_fail;
8538 }
d55e5bfc
RD
8539 }
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
8548 return resultobj;
8549 fail:
8550 return NULL;
8551}
8552
8553
c32bde28 8554static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8555 PyObject *resultobj;
8556 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
8557 int result;
8558 PyObject * obj0 = 0 ;
8559 char *kwnames[] = {
8560 (char *) "self", NULL
8561 };
8562
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
093d3ff1
RD
8573 {
8574 resultobj = SWIG_From_int((int)(result));
8575 }
d55e5bfc
RD
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
c32bde28 8582static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8583 PyObject *obj;
8584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
8586 Py_INCREF(obj);
8587 return Py_BuildValue((char *)"");
8588}
c32bde28 8589static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
8590 PyObject *resultobj;
8591 wxTimer *arg1 = 0 ;
8592 wxTimerRunner *result;
8593 PyObject * obj0 = 0 ;
8594
8595 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
8596 {
8597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8598 if (SWIG_arg_fail(1)) SWIG_fail;
8599 if (arg1 == NULL) {
8600 SWIG_null_ref("wxTimer");
8601 }
8602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8603 }
8604 {
0439c23b 8605 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
8608
8609 wxPyEndAllowThreads(__tstate);
110da5b0 8610 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8611 }
8612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8613 return resultobj;
8614 fail:
8615 return NULL;
8616}
8617
8618
c32bde28 8619static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
8620 PyObject *resultobj;
8621 wxTimer *arg1 = 0 ;
8622 int arg2 ;
ae8162c8 8623 bool arg3 = (bool) false ;
d55e5bfc
RD
8624 wxTimerRunner *result;
8625 PyObject * obj0 = 0 ;
8626 PyObject * obj1 = 0 ;
8627 PyObject * obj2 = 0 ;
8628
8629 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8630 {
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
8633 if (arg1 == NULL) {
8634 SWIG_null_ref("wxTimer");
8635 }
8636 if (SWIG_arg_fail(1)) SWIG_fail;
8637 }
8638 {
8639 arg2 = (int)(SWIG_As_int(obj1));
8640 if (SWIG_arg_fail(2)) SWIG_fail;
8641 }
d55e5bfc 8642 if (obj2) {
093d3ff1
RD
8643 {
8644 arg3 = (bool)(SWIG_As_bool(obj2));
8645 if (SWIG_arg_fail(3)) SWIG_fail;
8646 }
d55e5bfc
RD
8647 }
8648 {
0439c23b 8649 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
8652
8653 wxPyEndAllowThreads(__tstate);
110da5b0 8654 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8655 }
8656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8657 return resultobj;
8658 fail:
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
8664 int argc;
8665 PyObject *argv[4];
8666 int ii;
8667
8668 argc = PyObject_Length(args);
8669 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8670 argv[ii] = PyTuple_GetItem(args,ii);
8671 }
8672 if (argc == 1) {
8673 int _v;
8674 {
093d3ff1 8675 void *ptr = 0;
d55e5bfc
RD
8676 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8677 _v = 0;
8678 PyErr_Clear();
8679 } else {
093d3ff1 8680 _v = (ptr != 0);
d55e5bfc
RD
8681 }
8682 }
8683 if (_v) {
8684 return _wrap_new_TimerRunner__SWIG_0(self,args);
8685 }
8686 }
8687 if ((argc >= 2) && (argc <= 3)) {
8688 int _v;
8689 {
093d3ff1 8690 void *ptr = 0;
d55e5bfc
RD
8691 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8692 _v = 0;
8693 PyErr_Clear();
8694 } else {
093d3ff1 8695 _v = (ptr != 0);
d55e5bfc
RD
8696 }
8697 }
8698 if (_v) {
c32bde28 8699 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
8700 if (_v) {
8701 if (argc <= 2) {
8702 return _wrap_new_TimerRunner__SWIG_1(self,args);
8703 }
c32bde28 8704 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
8705 if (_v) {
8706 return _wrap_new_TimerRunner__SWIG_1(self,args);
8707 }
8708 }
8709 }
8710 }
8711
093d3ff1 8712 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
8713 return NULL;
8714}
8715
8716
c32bde28 8717static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8718 PyObject *resultobj;
8719 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8720 PyObject * obj0 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 delete arg1;
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 Py_INCREF(Py_None); resultobj = Py_None;
8736 return resultobj;
8737 fail:
8738 return NULL;
8739}
8740
8741
c32bde28 8742static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8743 PyObject *resultobj;
8744 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8745 int arg2 ;
ae8162c8 8746 bool arg3 = (bool) false ;
d55e5bfc
RD
8747 PyObject * obj0 = 0 ;
8748 PyObject * obj1 = 0 ;
8749 PyObject * obj2 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail;
8757 {
8758 arg2 = (int)(SWIG_As_int(obj1));
8759 if (SWIG_arg_fail(2)) SWIG_fail;
8760 }
d55e5bfc 8761 if (obj2) {
093d3ff1
RD
8762 {
8763 arg3 = (bool)(SWIG_As_bool(obj2));
8764 if (SWIG_arg_fail(3)) SWIG_fail;
8765 }
d55e5bfc
RD
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->Start(arg2,arg3);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 return resultobj;
8776 fail:
8777 return NULL;
8778}
8779
8780
c32bde28 8781static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8782 PyObject *obj;
8783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8784 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
8785 Py_INCREF(obj);
8786 return Py_BuildValue((char *)"");
8787}
c32bde28 8788static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8789 PyObject *resultobj;
8790 wxLog *result;
8791 char *kwnames[] = {
8792 NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (wxLog *)new wxLog();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807}
8808
8809
c32bde28 8810static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8811 PyObject *resultobj;
8812 bool result;
8813 char *kwnames[] = {
8814 NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (bool)wxLog::IsEnabled();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 {
8826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8827 }
8828 return resultobj;
8829 fail:
8830 return NULL;
8831}
8832
8833
c32bde28 8834static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8835 PyObject *resultobj;
ae8162c8 8836 bool arg1 = (bool) true ;
d55e5bfc
RD
8837 bool result;
8838 PyObject * obj0 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "doIt", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
8844 if (obj0) {
093d3ff1
RD
8845 {
8846 arg1 = (bool)(SWIG_As_bool(obj0));
8847 if (SWIG_arg_fail(1)) SWIG_fail;
8848 }
d55e5bfc
RD
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (bool)wxLog::EnableLogging(arg1);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8859 }
8860 return resultobj;
8861 fail:
8862 return NULL;
8863}
8864
8865
c32bde28 8866static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8867 PyObject *resultobj;
8868 wxLogLevel arg1 ;
8869 wxChar *arg2 = (wxChar *) 0 ;
8870 time_t arg3 ;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 PyObject * obj2 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "level",(char *) "szString",(char *) "t", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8879 {
8880 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
8881 if (SWIG_arg_fail(1)) SWIG_fail;
8882 }
8883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
8884 if (SWIG_arg_fail(2)) SWIG_fail;
8885 {
8886 arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
8887 if (SWIG_arg_fail(3)) SWIG_fail;
8888 }
d55e5bfc
RD
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
c32bde28 8903static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8904 PyObject *resultobj;
8905 wxLog *arg1 = (wxLog *) 0 ;
8906 PyObject * obj0 = 0 ;
8907 char *kwnames[] = {
8908 (char *) "self", NULL
8909 };
8910
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
8912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 (arg1)->Flush();
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 Py_INCREF(Py_None); resultobj = Py_None;
8922 return resultobj;
8923 fail:
8924 return NULL;
8925}
8926
8927
c32bde28 8928static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8929 PyObject *resultobj;
8930 char *kwnames[] = {
8931 NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 wxLog::FlushActive();
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
c32bde28 8949static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8950 PyObject *resultobj;
8951 wxLog *result;
8952 char *kwnames[] = {
8953 NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = (wxLog *)wxLog::GetActiveTarget();
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8965 return resultobj;
8966 fail:
8967 return NULL;
8968}
8969
8970
c32bde28 8971static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8972 PyObject *resultobj;
8973 wxLog *arg1 = (wxLog *) 0 ;
8974 wxLog *result;
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "pLogger", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
8981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (wxLog *)wxLog::SetActiveTarget(arg1);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8991 return resultobj;
8992 fail:
8993 return NULL;
8994}
8995
8996
c32bde28 8997static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8998 PyObject *resultobj;
8999 char *kwnames[] = {
9000 NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 wxLog::Suspend();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015}
9016
9017
c32bde28 9018static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9019 PyObject *resultobj;
9020 char *kwnames[] = {
9021 NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 wxLog::Resume();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036}
9037
9038
c32bde28 9039static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 9040 PyObject *resultobj;
ae8162c8 9041 bool arg1 = (bool) true ;
d55e5bfc
RD
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "bVerbose", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9048 if (obj0) {
093d3ff1
RD
9049 {
9050 arg1 = (bool)(SWIG_As_bool(obj0));
9051 if (SWIG_arg_fail(1)) SWIG_fail;
9052 }
d55e5bfc
RD
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 wxLog::SetVerbose(arg1);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
c32bde28 9068static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9069 PyObject *resultobj;
9070 wxLogLevel arg1 ;
9071 PyObject * obj0 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "logLevel", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
9077 {
9078 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9079 if (SWIG_arg_fail(1)) SWIG_fail;
9080 }
d55e5bfc
RD
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 wxLog::SetLogLevel(arg1);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092}
9093
9094
c32bde28 9095static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9096 PyObject *resultobj;
9097 char *kwnames[] = {
9098 NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 wxLog::DontCreateOnDemand();
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 Py_INCREF(Py_None); resultobj = Py_None;
9110 return resultobj;
9111 fail:
9112 return NULL;
9113}
9114
9115
c32bde28 9116static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9117 PyObject *resultobj;
9118 wxTraceMask arg1 ;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "ulMask", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9125 {
9126 arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
9127 if (SWIG_arg_fail(1)) SWIG_fail;
9128 }
d55e5bfc
RD
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 wxLog::SetTraceMask(arg1);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
c32bde28 9143static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9144 PyObject *resultobj;
9145 wxString *arg1 = 0 ;
ae8162c8 9146 bool temp1 = false ;
d55e5bfc
RD
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "str", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
9153 {
9154 arg1 = wxString_in_helper(obj0);
9155 if (arg1 == NULL) SWIG_fail;
ae8162c8 9156 temp1 = true;
d55e5bfc
RD
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 wxLog::AddTraceMask((wxString const &)*arg1);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 Py_INCREF(Py_None); resultobj = Py_None;
9166 {
9167 if (temp1)
9168 delete arg1;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp1)
9174 delete arg1;
9175 }
9176 return NULL;
9177}
9178
9179
c32bde28 9180static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9181 PyObject *resultobj;
9182 wxString *arg1 = 0 ;
ae8162c8 9183 bool temp1 = false ;
d55e5bfc
RD
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "str", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
9190 {
9191 arg1 = wxString_in_helper(obj0);
9192 if (arg1 == NULL) SWIG_fail;
ae8162c8 9193 temp1 = true;
d55e5bfc
RD
9194 }
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 wxLog::RemoveTraceMask((wxString const &)*arg1);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 {
9204 if (temp1)
9205 delete arg1;
9206 }
9207 return resultobj;
9208 fail:
9209 {
9210 if (temp1)
9211 delete arg1;
9212 }
9213 return NULL;
9214}
9215
9216
c32bde28 9217static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9218 PyObject *resultobj;
9219 char *kwnames[] = {
9220 NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 wxLog::ClearTraceMasks();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 Py_INCREF(Py_None); resultobj = Py_None;
9232 return resultobj;
9233 fail:
9234 return NULL;
9235}
9236
9237
c32bde28 9238static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9239 PyObject *resultobj;
9240 wxArrayString *result;
9241 char *kwnames[] = {
9242 NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 {
9249 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
9250 result = (wxArrayString *) &_result_ref;
9251 }
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 {
9257 resultobj = wxArrayString2PyList_helper(*result);
9258 }
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c32bde28 9265static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9266 PyObject *resultobj;
9267 wxChar *arg1 = (wxChar *) 0 ;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "ts", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
9274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 wxLog::SetTimestamp((wxChar const *)arg1);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 return resultobj;
9285 fail:
9286 return NULL;
9287}
9288
9289
c32bde28 9290static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9291 PyObject *resultobj;
9292 bool result;
9293 char *kwnames[] = {
9294 NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (bool)wxLog::GetVerbose();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 {
9306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9307 }
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
c32bde28 9314static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9315 PyObject *resultobj;
9316 wxTraceMask result;
9317 char *kwnames[] = {
9318 NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (wxTraceMask)wxLog::GetTraceMask();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
093d3ff1
RD
9329 {
9330 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9331 }
d55e5bfc
RD
9332 return resultobj;
9333 fail:
9334 return NULL;
9335}
9336
9337
c32bde28 9338static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9339 PyObject *resultobj;
9340 wxChar *arg1 = (wxChar *) 0 ;
9341 bool result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "mask", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 {
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 }
9360 return resultobj;
9361 fail:
9362 return NULL;
9363}
9364
9365
c32bde28 9366static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9367 PyObject *resultobj;
9368 wxLogLevel result;
9369 char *kwnames[] = {
9370 NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (wxLogLevel)wxLog::GetLogLevel();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
093d3ff1
RD
9381 {
9382 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9383 }
d55e5bfc
RD
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
c32bde28 9390static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9391 PyObject *resultobj;
9392 wxChar *result;
9393 char *kwnames[] = {
9394 NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (wxChar *)wxLog::GetTimestamp();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
9406 return resultobj;
9407 fail:
9408 return NULL;
9409}
9410
9411
c32bde28 9412static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9413 PyObject *resultobj;
9414 wxString result;
9415 char *kwnames[] = {
9416 NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = Log_TimeStamp();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 {
9428#if wxUSE_UNICODE
9429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9430#else
9431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9432#endif
9433 }
9434 return resultobj;
9435 fail:
9436 return NULL;
9437}
9438
9439
c32bde28 9440static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9441 PyObject *resultobj;
9442 wxLog *arg1 = (wxLog *) 0 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 wxLog_Destroy(arg1);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 Py_INCREF(Py_None); resultobj = Py_None;
9459 return resultobj;
9460 fail:
9461 return NULL;
9462}
9463
9464
c32bde28 9465static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9466 PyObject *obj;
9467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9468 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
9469 Py_INCREF(obj);
9470 return Py_BuildValue((char *)"");
9471}
c32bde28 9472static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9473 PyObject *resultobj;
9474 wxLogStderr *result;
9475 char *kwnames[] = {
9476 NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (wxLogStderr *)new wxLogStderr();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491}
9492
9493
c32bde28 9494static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9495 PyObject *obj;
9496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9497 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
9498 Py_INCREF(obj);
9499 return Py_BuildValue((char *)"");
9500}
c32bde28 9501static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9502 PyObject *resultobj;
9503 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9504 wxLogTextCtrl *result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "pTextCtrl", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
9521 return resultobj;
9522 fail:
9523 return NULL;
9524}
9525
9526
c32bde28 9527static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9528 PyObject *obj;
9529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9530 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
9531 Py_INCREF(obj);
9532 return Py_BuildValue((char *)"");
9533}
c32bde28 9534static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9535 PyObject *resultobj;
9536 wxLogGui *result;
9537 char *kwnames[] = {
9538 NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (wxLogGui *)new wxLogGui();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
9550 return resultobj;
9551 fail:
9552 return NULL;
9553}
9554
9555
c32bde28 9556static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9557 PyObject *obj;
9558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
9560 Py_INCREF(obj);
9561 return Py_BuildValue((char *)"");
9562}
c32bde28 9563static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9564 PyObject *resultobj;
9565 wxFrame *arg1 = (wxFrame *) 0 ;
9566 wxString *arg2 = 0 ;
ae8162c8
RD
9567 bool arg3 = (bool) true ;
9568 bool arg4 = (bool) true ;
d55e5bfc 9569 wxLogWindow *result;
ae8162c8 9570 bool temp2 = false ;
d55e5bfc
RD
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 PyObject * obj2 = 0 ;
9574 PyObject * obj3 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9582 {
9583 arg2 = wxString_in_helper(obj1);
9584 if (arg2 == NULL) SWIG_fail;
ae8162c8 9585 temp2 = true;
d55e5bfc
RD
9586 }
9587 if (obj2) {
093d3ff1
RD
9588 {
9589 arg3 = (bool)(SWIG_As_bool(obj2));
9590 if (SWIG_arg_fail(3)) SWIG_fail;
9591 }
d55e5bfc
RD
9592 }
9593 if (obj3) {
093d3ff1
RD
9594 {
9595 arg4 = (bool)(SWIG_As_bool(obj3));
9596 if (SWIG_arg_fail(4)) SWIG_fail;
9597 }
d55e5bfc
RD
9598 }
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
9607 {
9608 if (temp2)
9609 delete arg2;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp2)
9615 delete arg2;
9616 }
9617 return NULL;
9618}
9619
9620
c32bde28 9621static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9622 PyObject *resultobj;
9623 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 9624 bool arg2 = (bool) true ;
d55e5bfc
RD
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "bShow", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9634 if (obj1) {
093d3ff1
RD
9635 {
9636 arg2 = (bool)(SWIG_As_bool(obj1));
9637 if (SWIG_arg_fail(2)) SWIG_fail;
9638 }
d55e5bfc
RD
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 (arg1)->Show(arg2);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 Py_INCREF(Py_None); resultobj = Py_None;
9648 return resultobj;
9649 fail:
9650 return NULL;
9651}
9652
9653
c32bde28 9654static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9655 PyObject *resultobj;
9656 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9657 wxFrame *result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
9664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 {
412d302d 9674 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
9675 }
9676 return resultobj;
9677 fail:
9678 return NULL;
9679}
9680
9681
c32bde28 9682static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9683 PyObject *resultobj;
9684 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9685 wxLog *result;
9686 PyObject * obj0 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
c32bde28 9708static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9709 PyObject *resultobj;
9710 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9711 bool result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9729 }
9730 return resultobj;
9731 fail:
9732 return NULL;
9733}
9734
9735
c32bde28 9736static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9737 PyObject *resultobj;
9738 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9739 bool arg2 ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "bDoPass", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail;
9749 {
9750 arg2 = (bool)(SWIG_As_bool(obj1));
9751 if (SWIG_arg_fail(2)) SWIG_fail;
9752 }
d55e5bfc
RD
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 (arg1)->PassMessages(arg2);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 Py_INCREF(Py_None); resultobj = Py_None;
9761 return resultobj;
9762 fail:
9763 return NULL;
9764}
9765
9766
c32bde28 9767static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9768 PyObject *obj;
9769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9770 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
9771 Py_INCREF(obj);
9772 return Py_BuildValue((char *)"");
9773}
c32bde28 9774static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9775 PyObject *resultobj;
9776 wxLog *arg1 = (wxLog *) 0 ;
9777 wxLogChain *result;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "logger", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
9784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (wxLogChain *)new wxLogChain(arg1);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
9794 return resultobj;
9795 fail:
9796 return NULL;
9797}
9798
9799
c32bde28 9800static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9801 PyObject *resultobj;
9802 wxLogChain *arg1 = (wxLogChain *) 0 ;
9803 wxLog *arg2 = (wxLog *) 0 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "logger", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9812 if (SWIG_arg_fail(1)) SWIG_fail;
9813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9814 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 (arg1)->SetLog(arg2);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 return resultobj;
9824 fail:
9825 return NULL;
9826}
9827
9828
c32bde28 9829static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9830 PyObject *resultobj;
9831 wxLogChain *arg1 = (wxLogChain *) 0 ;
9832 bool arg2 ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "bDoPass", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9841 if (SWIG_arg_fail(1)) SWIG_fail;
9842 {
9843 arg2 = (bool)(SWIG_As_bool(obj1));
9844 if (SWIG_arg_fail(2)) SWIG_fail;
9845 }
d55e5bfc
RD
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 (arg1)->PassMessages(arg2);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 Py_INCREF(Py_None); resultobj = Py_None;
9854 return resultobj;
9855 fail:
9856 return NULL;
9857}
9858
9859
c32bde28 9860static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9861 PyObject *resultobj;
9862 wxLogChain *arg1 = (wxLogChain *) 0 ;
9863 bool result;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (bool)(arg1)->IsPassingMessages();
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 {
9880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9881 }
9882 return resultobj;
9883 fail:
9884 return NULL;
9885}
9886
9887
c32bde28 9888static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9889 PyObject *resultobj;
9890 wxLogChain *arg1 = (wxLogChain *) 0 ;
9891 wxLog *result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (wxLog *)(arg1)->GetOldLog();
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911}
9912
9913
c32bde28 9914static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9915 PyObject *obj;
9916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
9918 Py_INCREF(obj);
9919 return Py_BuildValue((char *)"");
9920}
c32bde28 9921static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9922 PyObject *resultobj;
9923 unsigned long result;
9924 char *kwnames[] = {
9925 NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (unsigned long)wxSysErrorCode();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
093d3ff1
RD
9936 {
9937 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9938 }
d55e5bfc
RD
9939 return resultobj;
9940 fail:
9941 return NULL;
9942}
9943
9944
c32bde28 9945static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9946 PyObject *resultobj;
9947 unsigned long arg1 = (unsigned long) 0 ;
9948 wxString result;
9949 PyObject * obj0 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "nErrCode", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
9955 if (obj0) {
093d3ff1
RD
9956 {
9957 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
9958 if (SWIG_arg_fail(1)) SWIG_fail;
9959 }
d55e5bfc
RD
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = wxSysErrorMsg(arg1);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969#if wxUSE_UNICODE
9970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9971#else
9972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9973#endif
9974 }
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
c32bde28 9981static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9982 PyObject *resultobj;
9983 wxString *arg1 = 0 ;
ae8162c8 9984 bool temp1 = false ;
d55e5bfc
RD
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "msg", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
9991 {
9992 arg1 = wxString_in_helper(obj0);
9993 if (arg1 == NULL) SWIG_fail;
ae8162c8 9994 temp1 = true;
d55e5bfc
RD
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 9998 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 {
10005 if (temp1)
10006 delete arg1;
10007 }
10008 return resultobj;
10009 fail:
10010 {
10011 if (temp1)
10012 delete arg1;
10013 }
10014 return NULL;
10015}
10016
10017
c32bde28 10018static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10019 PyObject *resultobj;
10020 wxString *arg1 = 0 ;
ae8162c8 10021 bool temp1 = false ;
d55e5bfc
RD
10022 PyObject * obj0 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "msg", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
10028 {
10029 arg1 = wxString_in_helper(obj0);
10030 if (arg1 == NULL) SWIG_fail;
ae8162c8 10031 temp1 = true;
d55e5bfc
RD
10032 }
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10035 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 {
10042 if (temp1)
10043 delete arg1;
10044 }
10045 return resultobj;
10046 fail:
10047 {
10048 if (temp1)
10049 delete arg1;
10050 }
10051 return NULL;
10052}
10053
10054
c32bde28 10055static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10056 PyObject *resultobj;
10057 wxString *arg1 = 0 ;
ae8162c8 10058 bool temp1 = false ;
d55e5bfc
RD
10059 PyObject * obj0 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "msg", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
10065 {
10066 arg1 = wxString_in_helper(obj0);
10067 if (arg1 == NULL) SWIG_fail;
ae8162c8 10068 temp1 = true;
d55e5bfc
RD
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10072 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 {
10079 if (temp1)
10080 delete arg1;
10081 }
10082 return resultobj;
10083 fail:
10084 {
10085 if (temp1)
10086 delete arg1;
10087 }
10088 return NULL;
10089}
10090
10091
c32bde28 10092static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10093 PyObject *resultobj;
10094 wxString *arg1 = 0 ;
ae8162c8 10095 bool temp1 = false ;
d55e5bfc
RD
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "msg", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
10102 {
10103 arg1 = wxString_in_helper(obj0);
10104 if (arg1 == NULL) SWIG_fail;
ae8162c8 10105 temp1 = true;
d55e5bfc
RD
10106 }
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10109 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 Py_INCREF(Py_None); resultobj = Py_None;
10115 {
10116 if (temp1)
10117 delete arg1;
10118 }
10119 return resultobj;
10120 fail:
10121 {
10122 if (temp1)
10123 delete arg1;
10124 }
10125 return NULL;
10126}
10127
10128
c32bde28 10129static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10130 PyObject *resultobj;
10131 wxString *arg1 = 0 ;
ae8162c8 10132 bool temp1 = false ;
d55e5bfc
RD
10133 PyObject * obj0 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "msg", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
10139 {
10140 arg1 = wxString_in_helper(obj0);
10141 if (arg1 == NULL) SWIG_fail;
ae8162c8 10142 temp1 = true;
d55e5bfc
RD
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10146 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 Py_INCREF(Py_None); resultobj = Py_None;
10152 {
10153 if (temp1)
10154 delete arg1;
10155 }
10156 return resultobj;
10157 fail:
10158 {
10159 if (temp1)
10160 delete arg1;
10161 }
10162 return NULL;
10163}
10164
10165
c32bde28 10166static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10167 PyObject *resultobj;
10168 wxString *arg1 = 0 ;
ae8162c8 10169 bool temp1 = false ;
d55e5bfc
RD
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "msg", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
10176 {
10177 arg1 = wxString_in_helper(obj0);
10178 if (arg1 == NULL) SWIG_fail;
ae8162c8 10179 temp1 = true;
d55e5bfc
RD
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10183 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 Py_INCREF(Py_None); resultobj = Py_None;
10189 {
10190 if (temp1)
10191 delete arg1;
10192 }
10193 return resultobj;
10194 fail:
10195 {
10196 if (temp1)
10197 delete arg1;
10198 }
10199 return NULL;
10200}
10201
10202
c32bde28 10203static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10204 PyObject *resultobj;
10205 wxString *arg1 = 0 ;
ae8162c8 10206 bool temp1 = false ;
d55e5bfc
RD
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "msg", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
10213 {
10214 arg1 = wxString_in_helper(obj0);
10215 if (arg1 == NULL) SWIG_fail;
ae8162c8 10216 temp1 = true;
d55e5bfc
RD
10217 }
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10220 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 Py_INCREF(Py_None); resultobj = Py_None;
10226 {
10227 if (temp1)
10228 delete arg1;
10229 }
10230 return resultobj;
10231 fail:
10232 {
10233 if (temp1)
10234 delete arg1;
10235 }
10236 return NULL;
10237}
10238
10239
c32bde28 10240static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10241 PyObject *resultobj;
10242 wxString *arg1 = 0 ;
ae8162c8 10243 bool temp1 = false ;
d55e5bfc
RD
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "msg", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
10250 {
10251 arg1 = wxString_in_helper(obj0);
10252 if (arg1 == NULL) SWIG_fail;
ae8162c8 10253 temp1 = true;
d55e5bfc
RD
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10257 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 {
10264 if (temp1)
10265 delete arg1;
10266 }
10267 return resultobj;
10268 fail:
10269 {
10270 if (temp1)
10271 delete arg1;
10272 }
10273 return NULL;
10274}
10275
10276
c32bde28 10277static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10278 PyObject *resultobj;
10279 wxFrame *arg1 = (wxFrame *) 0 ;
10280 wxString *arg2 = 0 ;
ae8162c8 10281 bool temp2 = false ;
d55e5bfc
RD
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "pFrame",(char *) "msg", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
ae8162c8 10294 temp2 = true;
d55e5bfc
RD
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10298 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315}
10316
10317
c32bde28 10318static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10319 PyObject *resultobj;
10320 wxString *arg1 = 0 ;
ae8162c8 10321 bool temp1 = false ;
d55e5bfc
RD
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "msg", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
10328 {
10329 arg1 = wxString_in_helper(obj0);
10330 if (arg1 == NULL) SWIG_fail;
ae8162c8 10331 temp1 = true;
d55e5bfc
RD
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10335 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 {
10342 if (temp1)
10343 delete arg1;
10344 }
10345 return resultobj;
10346 fail:
10347 {
10348 if (temp1)
10349 delete arg1;
10350 }
10351 return NULL;
10352}
10353
10354
f78cc896
RD
10355static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 unsigned long arg1 ;
10358 wxString *arg2 = 0 ;
10359 bool temp2 = false ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "level",(char *) "msg", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10367 {
10368 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10369 if (SWIG_arg_fail(1)) SWIG_fail;
10370 }
f78cc896
RD
10371 {
10372 arg2 = wxString_in_helper(obj1);
10373 if (arg2 == NULL) SWIG_fail;
10374 temp2 = true;
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 wxPyLogGeneric(arg1,(wxString const &)*arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 {
10385 if (temp2)
10386 delete arg2;
10387 }
10388 return resultobj;
10389 fail:
10390 {
10391 if (temp2)
10392 delete arg2;
10393 }
10394 return NULL;
10395}
10396
10397
c32bde28 10398static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
10399 PyObject *resultobj;
10400 unsigned long arg1 ;
10401 wxString *arg2 = 0 ;
ae8162c8 10402 bool temp2 = false ;
d55e5bfc
RD
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405
10406 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1
RD
10407 {
10408 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10409 if (SWIG_arg_fail(1)) SWIG_fail;
10410 }
d55e5bfc
RD
10411 {
10412 arg2 = wxString_in_helper(obj1);
10413 if (arg2 == NULL) SWIG_fail;
ae8162c8 10414 temp2 = true;
d55e5bfc
RD
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10418 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 {
10425 if (temp2)
10426 delete arg2;
10427 }
10428 return resultobj;
10429 fail:
10430 {
10431 if (temp2)
10432 delete arg2;
10433 }
10434 return NULL;
10435}
10436
10437
c32bde28 10438static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
10439 PyObject *resultobj;
10440 wxString *arg1 = 0 ;
10441 wxString *arg2 = 0 ;
ae8162c8
RD
10442 bool temp1 = false ;
10443 bool temp2 = false ;
d55e5bfc
RD
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446
10447 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
10448 {
10449 arg1 = wxString_in_helper(obj0);
10450 if (arg1 == NULL) SWIG_fail;
ae8162c8 10451 temp1 = true;
d55e5bfc
RD
10452 }
10453 {
10454 arg2 = wxString_in_helper(obj1);
10455 if (arg2 == NULL) SWIG_fail;
ae8162c8 10456 temp2 = true;
d55e5bfc
RD
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10460 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 {
10467 if (temp1)
10468 delete arg1;
10469 }
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp1)
10478 delete arg1;
10479 }
10480 {
10481 if (temp2)
10482 delete arg2;
10483 }
10484 return NULL;
10485}
10486
10487
10488static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
10489 int argc;
10490 PyObject *argv[3];
10491 int ii;
10492
10493 argc = PyObject_Length(args);
10494 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
10495 argv[ii] = PyTuple_GetItem(args,ii);
10496 }
10497 if (argc == 2) {
10498 int _v;
10499 {
10500 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
10501 }
10502 if (_v) {
10503 {
10504 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10505 }
10506 if (_v) {
10507 return _wrap_LogTrace__SWIG_1(self,args);
10508 }
10509 }
10510 }
10511 if (argc == 2) {
10512 int _v;
c32bde28 10513 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
10514 if (_v) {
10515 {
10516 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10517 }
10518 if (_v) {
10519 return _wrap_LogTrace__SWIG_0(self,args);
10520 }
10521 }
10522 }
10523
093d3ff1 10524 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
10525 return NULL;
10526}
10527
10528
c32bde28 10529static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10530 PyObject *resultobj;
10531 wxString *arg1 = 0 ;
10532 wxString *arg2 = 0 ;
ae8162c8
RD
10533 bool temp1 = false ;
10534 bool temp2 = false ;
d55e5bfc
RD
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "title",(char *) "text", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
10542 {
10543 arg1 = wxString_in_helper(obj0);
10544 if (arg1 == NULL) SWIG_fail;
ae8162c8 10545 temp1 = true;
d55e5bfc
RD
10546 }
10547 {
10548 arg2 = wxString_in_helper(obj1);
10549 if (arg2 == NULL) SWIG_fail;
ae8162c8 10550 temp2 = true;
d55e5bfc
RD
10551 }
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 {
10561 if (temp1)
10562 delete arg1;
10563 }
10564 {
10565 if (temp2)
10566 delete arg2;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp1)
10572 delete arg1;
10573 }
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return NULL;
10579}
10580
10581
c32bde28 10582static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10583 PyObject *resultobj;
10584 wxLogNull *result;
10585 char *kwnames[] = {
10586 NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxLogNull *)new wxLogNull();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
10598 return resultobj;
10599 fail:
10600 return NULL;
10601}
10602
10603
c32bde28 10604static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10605 PyObject *resultobj;
10606 wxLogNull *arg1 = (wxLogNull *) 0 ;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
10613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 delete arg1;
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 Py_INCREF(Py_None); resultobj = Py_None;
10623 return resultobj;
10624 fail:
10625 return NULL;
10626}
10627
10628
c32bde28 10629static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10630 PyObject *obj;
10631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10632 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
10633 Py_INCREF(obj);
10634 return Py_BuildValue((char *)"");
10635}
c32bde28 10636static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10637 PyObject *resultobj;
10638 wxPyLog *result;
10639 char *kwnames[] = {
10640 NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (wxPyLog *)new wxPyLog();
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
10652 return resultobj;
10653 fail:
10654 return NULL;
10655}
10656
10657
c32bde28 10658static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10659 PyObject *resultobj;
10660 wxPyLog *arg1 = (wxPyLog *) 0 ;
10661 PyObject *arg2 = (PyObject *) 0 ;
10662 PyObject *arg3 = (PyObject *) 0 ;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 PyObject * obj2 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "self",(char *) "_class", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10673 arg2 = obj1;
10674 arg3 = obj2;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 (arg1)->_setCallbackInfo(arg2,arg3);
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 Py_INCREF(Py_None); resultobj = Py_None;
10683 return resultobj;
10684 fail:
10685 return NULL;
10686}
10687
10688
c32bde28 10689static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10690 PyObject *obj;
10691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10692 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
10693 Py_INCREF(obj);
10694 return Py_BuildValue((char *)"");
10695}
c32bde28 10696static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10697 PyObject *resultobj;
10698 int arg1 ;
093d3ff1 10699 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70 10700 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 10701 wxKillError result;
d55e5bfc
RD
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
c9c2cf70 10704 PyObject * obj2 = 0 ;
d55e5bfc 10705 char *kwnames[] = {
c9c2cf70 10706 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
10707 };
10708
c9c2cf70 10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10710 {
10711 arg1 = (int)(SWIG_As_int(obj0));
10712 if (SWIG_arg_fail(1)) SWIG_fail;
10713 }
d55e5bfc 10714 if (obj1) {
093d3ff1
RD
10715 {
10716 arg2 = (wxSignal)(SWIG_As_int(obj1));
10717 if (SWIG_arg_fail(2)) SWIG_fail;
10718 }
d55e5bfc 10719 }
c9c2cf70 10720 if (obj2) {
093d3ff1
RD
10721 {
10722 arg3 = (int)(SWIG_As_int(obj2));
10723 if (SWIG_arg_fail(3)) SWIG_fail;
10724 }
c9c2cf70 10725 }
d55e5bfc
RD
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10728 result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
d55e5bfc
RD
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
093d3ff1 10733 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10734 return resultobj;
10735 fail:
10736 return NULL;
10737}
10738
10739
c32bde28 10740static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10741 PyObject *resultobj;
10742 int arg1 ;
10743 bool result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "pid", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1
RD
10750 {
10751 arg1 = (int)(SWIG_As_int(obj0));
10752 if (SWIG_arg_fail(1)) SWIG_fail;
10753 }
d55e5bfc
RD
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (bool)wxPyProcess::Exists(arg1);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 {
10762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10763 }
10764 return resultobj;
10765 fail:
10766 return NULL;
10767}
10768
10769
c32bde28 10770static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10771 PyObject *resultobj;
10772 wxString *arg1 = 0 ;
10773 int arg2 = (int) wxEXEC_ASYNC ;
10774 wxPyProcess *result;
ae8162c8 10775 bool temp1 = false ;
d55e5bfc
RD
10776 PyObject * obj0 = 0 ;
10777 PyObject * obj1 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "cmd",(char *) "flags", NULL
10780 };
10781
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
10783 {
10784 arg1 = wxString_in_helper(obj0);
10785 if (arg1 == NULL) SWIG_fail;
ae8162c8 10786 temp1 = true;
d55e5bfc
RD
10787 }
10788 if (obj1) {
093d3ff1
RD
10789 {
10790 arg2 = (int)(SWIG_As_int(obj1));
10791 if (SWIG_arg_fail(2)) SWIG_fail;
10792 }
d55e5bfc
RD
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
10802 {
10803 if (temp1)
10804 delete arg1;
10805 }
10806 return resultobj;
10807 fail:
10808 {
10809 if (temp1)
10810 delete arg1;
10811 }
10812 return NULL;
10813}
10814
10815
c32bde28 10816static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10817 PyObject *resultobj;
10818 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
10819 int arg2 = (int) -1 ;
10820 wxPyProcess *result;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "parent",(char *) "id", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
10828 if (obj0) {
093d3ff1
RD
10829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10831 }
10832 if (obj1) {
093d3ff1
RD
10833 {
10834 arg2 = (int)(SWIG_As_int(obj1));
10835 if (SWIG_arg_fail(2)) SWIG_fail;
10836 }
d55e5bfc
RD
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
c32bde28 10852static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10853 PyObject *resultobj;
10854 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10855 PyObject *arg2 = (PyObject *) 0 ;
10856 PyObject *arg3 = (PyObject *) 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 char *kwnames[] = {
10861 (char *) "self",(char *) "self",(char *) "_class", NULL
10862 };
10863
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10867 arg2 = obj1;
10868 arg3 = obj2;
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->_setCallbackInfo(arg2,arg3);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 return resultobj;
10878 fail:
10879 return NULL;
10880}
10881
10882
c32bde28 10883static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10884 PyObject *resultobj;
10885 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10886 int arg2 ;
10887 int arg3 ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 PyObject * obj2 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "pid",(char *) "status", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10897 if (SWIG_arg_fail(1)) SWIG_fail;
10898 {
10899 arg2 = (int)(SWIG_As_int(obj1));
10900 if (SWIG_arg_fail(2)) SWIG_fail;
10901 }
10902 {
10903 arg3 = (int)(SWIG_As_int(obj2));
10904 if (SWIG_arg_fail(3)) SWIG_fail;
10905 }
d55e5bfc
RD
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 (arg1)->base_OnTerminate(arg2,arg3);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 Py_INCREF(Py_None); resultobj = Py_None;
10914 return resultobj;
10915 fail:
10916 return NULL;
10917}
10918
10919
c32bde28 10920static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10921 PyObject *resultobj;
10922 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10923 PyObject * obj0 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 (arg1)->Redirect();
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 Py_INCREF(Py_None); resultobj = Py_None;
10939 return resultobj;
10940 fail:
10941 return NULL;
10942}
10943
10944
c32bde28 10945static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10946 PyObject *resultobj;
10947 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10948 bool result;
10949 PyObject * obj0 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
10955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (bool)(arg1)->IsRedirected();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 {
10965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10966 }
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
c32bde28 10973static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10974 PyObject *resultobj;
10975 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
10982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 (arg1)->Detach();
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 Py_INCREF(Py_None); resultobj = Py_None;
10992 return resultobj;
10993 fail:
10994 return NULL;
10995}
10996
10997
c32bde28 10998static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10999 PyObject *resultobj;
11000 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11001 wxInputStream *result;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 result = (wxInputStream *)(arg1)->GetInputStream();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 wxPyInputStream * _ptr = NULL;
11019
11020 if (result) {
11021 _ptr = new wxPyInputStream(result);
11022 }
fc71d09b 11023 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11024 }
11025 return resultobj;
11026 fail:
11027 return NULL;
11028}
11029
11030
c32bde28 11031static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11032 PyObject *resultobj;
11033 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11034 wxInputStream *result;
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 result = (wxInputStream *)(arg1)->GetErrorStream();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 {
11051 wxPyInputStream * _ptr = NULL;
11052
11053 if (result) {
11054 _ptr = new wxPyInputStream(result);
11055 }
fc71d09b 11056 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
11057 }
11058 return resultobj;
11059 fail:
11060 return NULL;
11061}
11062
11063
c32bde28 11064static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11065 PyObject *resultobj;
11066 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11067 wxOutputStream *result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (wxOutputStream *)(arg1)->GetOutputStream();
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
11084 return resultobj;
11085 fail:
11086 return NULL;
11087}
11088
11089
c32bde28 11090static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11091 PyObject *resultobj;
11092 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->CloseOutput();
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112}
11113
11114
c32bde28 11115static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11116 PyObject *resultobj;
11117 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11118 bool result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
11125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11136 }
11137 return resultobj;
11138 fail:
11139 return NULL;
11140}
11141
11142
c32bde28 11143static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11144 PyObject *resultobj;
11145 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11146 bool result;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166 fail:
11167 return NULL;
11168}
11169
11170
c32bde28 11171static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11172 PyObject *resultobj;
11173 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11174 bool result;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 {
11191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196}
11197
11198
c32bde28 11199static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11200 PyObject *obj;
11201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11202 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
11203 Py_INCREF(obj);
11204 return Py_BuildValue((char *)"");
11205}
c32bde28 11206static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11207 PyObject *resultobj;
11208 int arg1 = (int) 0 ;
11209 int arg2 = (int) 0 ;
11210 int arg3 = (int) 0 ;
11211 wxProcessEvent *result;
11212 PyObject * obj0 = 0 ;
11213 PyObject * obj1 = 0 ;
11214 PyObject * obj2 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
11220 if (obj0) {
093d3ff1
RD
11221 {
11222 arg1 = (int)(SWIG_As_int(obj0));
11223 if (SWIG_arg_fail(1)) SWIG_fail;
11224 }
d55e5bfc
RD
11225 }
11226 if (obj1) {
093d3ff1
RD
11227 {
11228 arg2 = (int)(SWIG_As_int(obj1));
11229 if (SWIG_arg_fail(2)) SWIG_fail;
11230 }
d55e5bfc
RD
11231 }
11232 if (obj2) {
093d3ff1
RD
11233 {
11234 arg3 = (int)(SWIG_As_int(obj2));
11235 if (SWIG_arg_fail(3)) SWIG_fail;
11236 }
d55e5bfc
RD
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
11246 return resultobj;
11247 fail:
11248 return NULL;
11249}
11250
11251
c32bde28 11252static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11253 PyObject *resultobj;
11254 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11255 int result;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
11262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (int)(arg1)->GetPid();
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
093d3ff1
RD
11271 {
11272 resultobj = SWIG_From_int((int)(result));
11273 }
d55e5bfc
RD
11274 return resultobj;
11275 fail:
11276 return NULL;
11277}
11278
11279
c32bde28 11280static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11281 PyObject *resultobj;
11282 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11283 int result;
11284 PyObject * obj0 = 0 ;
11285 char *kwnames[] = {
11286 (char *) "self", NULL
11287 };
11288
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
11290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (int)(arg1)->GetExitCode();
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
093d3ff1
RD
11299 {
11300 resultobj = SWIG_From_int((int)(result));
11301 }
d55e5bfc
RD
11302 return resultobj;
11303 fail:
11304 return NULL;
11305}
11306
11307
c32bde28 11308static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11309 PyObject *resultobj;
11310 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11311 int arg2 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "m_pid", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail;
11321 {
11322 arg2 = (int)(SWIG_As_int(obj1));
11323 if (SWIG_arg_fail(2)) SWIG_fail;
11324 }
d55e5bfc
RD
11325 if (arg1) (arg1)->m_pid = arg2;
11326
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331}
11332
11333
c32bde28 11334static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11335 PyObject *resultobj;
11336 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11337 int result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11346 result = (int) ((arg1)->m_pid);
11347
093d3ff1
RD
11348 {
11349 resultobj = SWIG_From_int((int)(result));
11350 }
d55e5bfc
RD
11351 return resultobj;
11352 fail:
11353 return NULL;
11354}
11355
11356
c32bde28 11357static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11358 PyObject *resultobj;
11359 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11360 int arg2 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "m_exitcode", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail;
11370 {
11371 arg2 = (int)(SWIG_As_int(obj1));
11372 if (SWIG_arg_fail(2)) SWIG_fail;
11373 }
d55e5bfc
RD
11374 if (arg1) (arg1)->m_exitcode = arg2;
11375
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380}
11381
11382
c32bde28 11383static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11384 PyObject *resultobj;
11385 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11386 int result;
11387 PyObject * obj0 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11395 result = (int) ((arg1)->m_exitcode);
11396
093d3ff1
RD
11397 {
11398 resultobj = SWIG_From_int((int)(result));
11399 }
d55e5bfc
RD
11400 return resultobj;
11401 fail:
11402 return NULL;
11403}
11404
11405
c32bde28 11406static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11407 PyObject *obj;
11408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11409 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
11410 Py_INCREF(obj);
11411 return Py_BuildValue((char *)"");
11412}
c32bde28 11413static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11414 PyObject *resultobj;
11415 wxString *arg1 = 0 ;
11416 int arg2 = (int) wxEXEC_ASYNC ;
11417 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
11418 long result;
ae8162c8 11419 bool temp1 = false ;
d55e5bfc
RD
11420 PyObject * obj0 = 0 ;
11421 PyObject * obj1 = 0 ;
11422 PyObject * obj2 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "command",(char *) "flags",(char *) "process", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
11428 {
11429 arg1 = wxString_in_helper(obj0);
11430 if (arg1 == NULL) SWIG_fail;
ae8162c8 11431 temp1 = true;
d55e5bfc
RD
11432 }
11433 if (obj1) {
093d3ff1
RD
11434 {
11435 arg2 = (int)(SWIG_As_int(obj1));
11436 if (SWIG_arg_fail(2)) SWIG_fail;
11437 }
d55e5bfc
RD
11438 }
11439 if (obj2) {
093d3ff1
RD
11440 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11441 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
11442 }
11443 {
0439c23b 11444 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
110da5b0 11449 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 11450 }
093d3ff1
RD
11451 {
11452 resultobj = SWIG_From_long((long)(result));
11453 }
d55e5bfc
RD
11454 {
11455 if (temp1)
11456 delete arg1;
11457 }
11458 return resultobj;
11459 fail:
11460 {
11461 if (temp1)
11462 delete arg1;
11463 }
11464 return NULL;
11465}
11466
11467
c9c2cf70
RD
11468static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 long arg1 ;
093d3ff1 11471 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70
RD
11472 wxKillError *arg3 = (wxKillError *) 0 ;
11473 int arg4 = (int) wxKILL_NOCHILDREN ;
11474 int result;
11475 wxKillError temp3 ;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 PyObject * obj2 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11481 };
11482
11483 {
11484 arg3 = &temp3;
11485 }
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11487 {
11488 arg1 = (long)(SWIG_As_long(obj0));
11489 if (SWIG_arg_fail(1)) SWIG_fail;
11490 }
c9c2cf70 11491 if (obj1) {
093d3ff1
RD
11492 {
11493 arg2 = (wxSignal)(SWIG_As_int(obj1));
11494 if (SWIG_arg_fail(2)) SWIG_fail;
11495 }
c9c2cf70
RD
11496 }
11497 if (obj2) {
093d3ff1
RD
11498 {
11499 arg4 = (int)(SWIG_As_int(obj2));
11500 if (SWIG_arg_fail(4)) SWIG_fail;
11501 }
c9c2cf70
RD
11502 }
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
093d3ff1
RD
11510 {
11511 resultobj = SWIG_From_int((int)(result));
11512 }
c9c2cf70
RD
11513 {
11514 PyObject* o;
11515 o = PyInt_FromLong((long) (*arg3));
11516 resultobj = t_output_helper(resultobj, o);
11517 }
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
c32bde28 11524static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11525 PyObject *resultobj;
11526 int arg1 = (int) wxJOYSTICK1 ;
11527 wxJoystick *result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "joystick", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
11534 if (obj0) {
093d3ff1
RD
11535 {
11536 arg1 = (int)(SWIG_As_int(obj0));
11537 if (SWIG_arg_fail(1)) SWIG_fail;
11538 }
d55e5bfc
RD
11539 }
11540 {
0439c23b 11541 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (wxJoystick *)new wxJoystick(arg1);
11544
11545 wxPyEndAllowThreads(__tstate);
110da5b0 11546 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11547 }
11548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
11549 return resultobj;
11550 fail:
11551 return NULL;
11552}
11553
11554
c32bde28 11555static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11556 PyObject *resultobj;
11557 wxJoystick *arg1 = (wxJoystick *) 0 ;
11558 PyObject * obj0 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
11564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 delete arg1;
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 Py_INCREF(Py_None); resultobj = Py_None;
11574 return resultobj;
11575 fail:
11576 return NULL;
11577}
11578
11579
c32bde28 11580static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11581 PyObject *resultobj;
11582 wxJoystick *arg1 = (wxJoystick *) 0 ;
11583 wxPoint result;
11584 PyObject * obj0 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self", NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (arg1)->GetPosition();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 wxPoint * resultptr;
093d3ff1 11601 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
11602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11603 }
11604 return resultobj;
11605 fail:
11606 return NULL;
11607}
11608
11609
c32bde28 11610static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11611 PyObject *resultobj;
11612 wxJoystick *arg1 = (wxJoystick *) 0 ;
11613 int result;
11614 PyObject * obj0 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "self", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 result = (int)(arg1)->GetZPosition();
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
093d3ff1
RD
11629 {
11630 resultobj = SWIG_From_int((int)(result));
11631 }
d55e5bfc
RD
11632 return resultobj;
11633 fail:
11634 return NULL;
11635}
11636
11637
c32bde28 11638static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11639 PyObject *resultobj;
11640 wxJoystick *arg1 = (wxJoystick *) 0 ;
11641 int result;
11642 PyObject * obj0 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
11648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (int)(arg1)->GetButtonState();
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
093d3ff1
RD
11657 {
11658 resultobj = SWIG_From_int((int)(result));
11659 }
d55e5bfc
RD
11660 return resultobj;
11661 fail:
11662 return NULL;
11663}
11664
11665
c32bde28 11666static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11667 PyObject *resultobj;
11668 wxJoystick *arg1 = (wxJoystick *) 0 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (int)(arg1)->GetPOVPosition();
11681
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
093d3ff1
RD
11685 {
11686 resultobj = SWIG_From_int((int)(result));
11687 }
d55e5bfc
RD
11688 return resultobj;
11689 fail:
11690 return NULL;
11691}
11692
11693
c32bde28 11694static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11695 PyObject *resultobj;
11696 wxJoystick *arg1 = (wxJoystick *) 0 ;
11697 int result;
11698 PyObject * obj0 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (int)(arg1)->GetPOVCTSPosition();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
093d3ff1
RD
11713 {
11714 resultobj = SWIG_From_int((int)(result));
11715 }
d55e5bfc
RD
11716 return resultobj;
11717 fail:
11718 return NULL;
11719}
11720
11721
c32bde28 11722static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11723 PyObject *resultobj;
11724 wxJoystick *arg1 = (wxJoystick *) 0 ;
11725 int result;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11733 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (int)(arg1)->GetRudderPosition();
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
093d3ff1
RD
11741 {
11742 resultobj = SWIG_From_int((int)(result));
11743 }
d55e5bfc
RD
11744 return resultobj;
11745 fail:
11746 return NULL;
11747}
11748
11749
c32bde28 11750static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11751 PyObject *resultobj;
11752 wxJoystick *arg1 = (wxJoystick *) 0 ;
11753 int result;
11754 PyObject * obj0 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (int)(arg1)->GetUPosition();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
093d3ff1
RD
11769 {
11770 resultobj = SWIG_From_int((int)(result));
11771 }
d55e5bfc
RD
11772 return resultobj;
11773 fail:
11774 return NULL;
11775}
11776
11777
c32bde28 11778static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11779 PyObject *resultobj;
11780 wxJoystick *arg1 = (wxJoystick *) 0 ;
11781 int result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (int)(arg1)->GetVPosition();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
093d3ff1
RD
11797 {
11798 resultobj = SWIG_From_int((int)(result));
11799 }
d55e5bfc
RD
11800 return resultobj;
11801 fail:
11802 return NULL;
11803}
11804
11805
c32bde28 11806static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11807 PyObject *resultobj;
11808 wxJoystick *arg1 = (wxJoystick *) 0 ;
11809 int result;
11810 PyObject * obj0 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
11816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (int)(arg1)->GetMovementThreshold();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
093d3ff1
RD
11825 {
11826 resultobj = SWIG_From_int((int)(result));
11827 }
d55e5bfc
RD
11828 return resultobj;
11829 fail:
11830 return NULL;
11831}
11832
11833
c32bde28 11834static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11835 PyObject *resultobj;
11836 wxJoystick *arg1 = (wxJoystick *) 0 ;
11837 int arg2 ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self",(char *) "threshold", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail;
11847 {
11848 arg2 = (int)(SWIG_As_int(obj1));
11849 if (SWIG_arg_fail(2)) SWIG_fail;
11850 }
d55e5bfc
RD
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetMovementThreshold(arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 Py_INCREF(Py_None); resultobj = Py_None;
11859 return resultobj;
11860 fail:
11861 return NULL;
11862}
11863
11864
c32bde28 11865static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11866 PyObject *resultobj;
11867 wxJoystick *arg1 = (wxJoystick *) 0 ;
11868 bool result;
11869 PyObject * obj0 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
11875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (bool)(arg1)->IsOk();
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 {
11885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11886 }
11887 return resultobj;
11888 fail:
11889 return NULL;
11890}
11891
11892
c32bde28 11893static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11894 PyObject *resultobj;
11895 wxJoystick *arg1 = (wxJoystick *) 0 ;
11896 int result;
11897 PyObject * obj0 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
11903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11905 {
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = (int)(arg1)->GetNumberJoysticks();
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
093d3ff1
RD
11912 {
11913 resultobj = SWIG_From_int((int)(result));
11914 }
d55e5bfc
RD
11915 return resultobj;
11916 fail:
11917 return NULL;
11918}
11919
11920
c32bde28 11921static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11922 PyObject *resultobj;
11923 wxJoystick *arg1 = (wxJoystick *) 0 ;
11924 int result;
11925 PyObject * obj0 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
11931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (int)(arg1)->GetManufacturerId();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
093d3ff1
RD
11940 {
11941 resultobj = SWIG_From_int((int)(result));
11942 }
d55e5bfc
RD
11943 return resultobj;
11944 fail:
11945 return NULL;
11946}
11947
11948
c32bde28 11949static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11950 PyObject *resultobj;
11951 wxJoystick *arg1 = (wxJoystick *) 0 ;
11952 int result;
11953 PyObject * obj0 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
11959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 result = (int)(arg1)->GetProductId();
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
093d3ff1
RD
11968 {
11969 resultobj = SWIG_From_int((int)(result));
11970 }
d55e5bfc
RD
11971 return resultobj;
11972 fail:
11973 return NULL;
11974}
11975
11976
c32bde28 11977static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11978 PyObject *resultobj;
11979 wxJoystick *arg1 = (wxJoystick *) 0 ;
11980 wxString result;
11981 PyObject * obj0 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (arg1)->GetProductName();
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 {
11997#if wxUSE_UNICODE
11998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11999#else
12000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12001#endif
12002 }
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
c32bde28 12009static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12010 PyObject *resultobj;
12011 wxJoystick *arg1 = (wxJoystick *) 0 ;
12012 int result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (int)(arg1)->GetXMin();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
093d3ff1
RD
12028 {
12029 resultobj = SWIG_From_int((int)(result));
12030 }
d55e5bfc
RD
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
c32bde28 12037static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12038 PyObject *resultobj;
12039 wxJoystick *arg1 = (wxJoystick *) 0 ;
12040 int result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)(arg1)->GetYMin();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
093d3ff1
RD
12056 {
12057 resultobj = SWIG_From_int((int)(result));
12058 }
d55e5bfc
RD
12059 return resultobj;
12060 fail:
12061 return NULL;
12062}
12063
12064
c32bde28 12065static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12066 PyObject *resultobj;
12067 wxJoystick *arg1 = (wxJoystick *) 0 ;
12068 int result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (int)(arg1)->GetZMin();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
093d3ff1
RD
12084 {
12085 resultobj = SWIG_From_int((int)(result));
12086 }
d55e5bfc
RD
12087 return resultobj;
12088 fail:
12089 return NULL;
12090}
12091
12092
c32bde28 12093static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12094 PyObject *resultobj;
12095 wxJoystick *arg1 = (wxJoystick *) 0 ;
12096 int result;
12097 PyObject * obj0 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (int)(arg1)->GetXMax();
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
093d3ff1
RD
12112 {
12113 resultobj = SWIG_From_int((int)(result));
12114 }
d55e5bfc
RD
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12122 PyObject *resultobj;
12123 wxJoystick *arg1 = (wxJoystick *) 0 ;
12124 int result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (int)(arg1)->GetYMax();
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
093d3ff1
RD
12140 {
12141 resultobj = SWIG_From_int((int)(result));
12142 }
d55e5bfc
RD
12143 return resultobj;
12144 fail:
12145 return NULL;
12146}
12147
12148
c32bde28 12149static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12150 PyObject *resultobj;
12151 wxJoystick *arg1 = (wxJoystick *) 0 ;
12152 int result;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (int)(arg1)->GetZMax();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
093d3ff1
RD
12168 {
12169 resultobj = SWIG_From_int((int)(result));
12170 }
d55e5bfc
RD
12171 return resultobj;
12172 fail:
12173 return NULL;
12174}
12175
12176
c32bde28 12177static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12178 PyObject *resultobj;
12179 wxJoystick *arg1 = (wxJoystick *) 0 ;
12180 int result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)(arg1)->GetNumberButtons();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
093d3ff1
RD
12196 {
12197 resultobj = SWIG_From_int((int)(result));
12198 }
d55e5bfc
RD
12199 return resultobj;
12200 fail:
12201 return NULL;
12202}
12203
12204
c32bde28 12205static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12206 PyObject *resultobj;
12207 wxJoystick *arg1 = (wxJoystick *) 0 ;
12208 int result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (int)(arg1)->GetNumberAxes();
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
093d3ff1
RD
12224 {
12225 resultobj = SWIG_From_int((int)(result));
12226 }
d55e5bfc
RD
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
c32bde28 12233static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12234 PyObject *resultobj;
12235 wxJoystick *arg1 = (wxJoystick *) 0 ;
12236 int result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = (int)(arg1)->GetMaxButtons();
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
093d3ff1
RD
12252 {
12253 resultobj = SWIG_From_int((int)(result));
12254 }
d55e5bfc
RD
12255 return resultobj;
12256 fail:
12257 return NULL;
12258}
12259
12260
c32bde28 12261static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12262 PyObject *resultobj;
12263 wxJoystick *arg1 = (wxJoystick *) 0 ;
12264 int result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (int)(arg1)->GetMaxAxes();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
093d3ff1
RD
12280 {
12281 resultobj = SWIG_From_int((int)(result));
12282 }
d55e5bfc
RD
12283 return resultobj;
12284 fail:
12285 return NULL;
12286}
12287
12288
c32bde28 12289static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12290 PyObject *resultobj;
12291 wxJoystick *arg1 = (wxJoystick *) 0 ;
12292 int result;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (int)(arg1)->GetPollingMin();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
093d3ff1
RD
12308 {
12309 resultobj = SWIG_From_int((int)(result));
12310 }
d55e5bfc
RD
12311 return resultobj;
12312 fail:
12313 return NULL;
12314}
12315
12316
c32bde28 12317static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12318 PyObject *resultobj;
12319 wxJoystick *arg1 = (wxJoystick *) 0 ;
12320 int result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (int)(arg1)->GetPollingMax();
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
093d3ff1
RD
12336 {
12337 resultobj = SWIG_From_int((int)(result));
12338 }
d55e5bfc
RD
12339 return resultobj;
12340 fail:
12341 return NULL;
12342}
12343
12344
c32bde28 12345static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12346 PyObject *resultobj;
12347 wxJoystick *arg1 = (wxJoystick *) 0 ;
12348 int result;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (int)(arg1)->GetRudderMin();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
093d3ff1
RD
12364 {
12365 resultobj = SWIG_From_int((int)(result));
12366 }
d55e5bfc
RD
12367 return resultobj;
12368 fail:
12369 return NULL;
12370}
12371
12372
c32bde28 12373static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12374 PyObject *resultobj;
12375 wxJoystick *arg1 = (wxJoystick *) 0 ;
12376 int result;
12377 PyObject * obj0 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (int)(arg1)->GetRudderMax();
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
093d3ff1
RD
12392 {
12393 resultobj = SWIG_From_int((int)(result));
12394 }
d55e5bfc
RD
12395 return resultobj;
12396 fail:
12397 return NULL;
12398}
12399
12400
c32bde28 12401static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12402 PyObject *resultobj;
12403 wxJoystick *arg1 = (wxJoystick *) 0 ;
12404 int result;
12405 PyObject * obj0 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "self", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (int)(arg1)->GetUMin();
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
093d3ff1
RD
12420 {
12421 resultobj = SWIG_From_int((int)(result));
12422 }
d55e5bfc
RD
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
c32bde28 12429static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12430 PyObject *resultobj;
12431 wxJoystick *arg1 = (wxJoystick *) 0 ;
12432 int result;
12433 PyObject * obj0 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 result = (int)(arg1)->GetUMax();
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
093d3ff1
RD
12448 {
12449 resultobj = SWIG_From_int((int)(result));
12450 }
d55e5bfc
RD
12451 return resultobj;
12452 fail:
12453 return NULL;
12454}
12455
12456
c32bde28 12457static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12458 PyObject *resultobj;
12459 wxJoystick *arg1 = (wxJoystick *) 0 ;
12460 int result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (int)(arg1)->GetVMin();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
093d3ff1
RD
12476 {
12477 resultobj = SWIG_From_int((int)(result));
12478 }
d55e5bfc
RD
12479 return resultobj;
12480 fail:
12481 return NULL;
12482}
12483
12484
c32bde28 12485static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12486 PyObject *resultobj;
12487 wxJoystick *arg1 = (wxJoystick *) 0 ;
12488 int result;
12489 PyObject * obj0 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (int)(arg1)->GetVMax();
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
093d3ff1
RD
12504 {
12505 resultobj = SWIG_From_int((int)(result));
12506 }
d55e5bfc
RD
12507 return resultobj;
12508 fail:
12509 return NULL;
12510}
12511
12512
c32bde28 12513static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12514 PyObject *resultobj;
12515 wxJoystick *arg1 = (wxJoystick *) 0 ;
12516 bool result;
12517 PyObject * obj0 = 0 ;
12518 char *kwnames[] = {
12519 (char *) "self", NULL
12520 };
12521
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
12523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 result = (bool)(arg1)->HasRudder();
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 {
12533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12534 }
12535 return resultobj;
12536 fail:
12537 return NULL;
12538}
12539
12540
c32bde28 12541static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12542 PyObject *resultobj;
12543 wxJoystick *arg1 = (wxJoystick *) 0 ;
12544 bool result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
12551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (bool)(arg1)->HasZ();
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 {
12561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12562 }
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
c32bde28 12569static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12570 PyObject *resultobj;
12571 wxJoystick *arg1 = (wxJoystick *) 0 ;
12572 bool result;
12573 PyObject * obj0 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
12579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (bool)(arg1)->HasU();
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
12588 {
12589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12590 }
12591 return resultobj;
12592 fail:
12593 return NULL;
12594}
12595
12596
c32bde28 12597static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12598 PyObject *resultobj;
12599 wxJoystick *arg1 = (wxJoystick *) 0 ;
12600 bool result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (bool)(arg1)->HasV();
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12618 }
12619 return resultobj;
12620 fail:
12621 return NULL;
12622}
12623
12624
c32bde28 12625static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12626 PyObject *resultobj;
12627 wxJoystick *arg1 = (wxJoystick *) 0 ;
12628 bool result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 result = (bool)(arg1)->HasPOV();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 {
12645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650}
12651
12652
c32bde28 12653static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12654 PyObject *resultobj;
12655 wxJoystick *arg1 = (wxJoystick *) 0 ;
12656 bool result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
12663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (bool)(arg1)->HasPOV4Dir();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 {
12673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12674 }
12675 return resultobj;
12676 fail:
12677 return NULL;
12678}
12679
12680
c32bde28 12681static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12682 PyObject *resultobj;
12683 wxJoystick *arg1 = (wxJoystick *) 0 ;
12684 bool result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
12691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (bool)(arg1)->HasPOVCTS();
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 {
12701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12702 }
12703 return resultobj;
12704 fail:
12705 return NULL;
12706}
12707
12708
c32bde28 12709static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12710 PyObject *resultobj;
12711 wxJoystick *arg1 = (wxJoystick *) 0 ;
12712 wxWindow *arg2 = (wxWindow *) 0 ;
12713 int arg3 = (int) 0 ;
12714 bool result;
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717 PyObject * obj2 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail;
12725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12726 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12727 if (obj2) {
093d3ff1
RD
12728 {
12729 arg3 = (int)(SWIG_As_int(obj2));
12730 if (SWIG_arg_fail(3)) SWIG_fail;
12731 }
d55e5bfc
RD
12732 }
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (bool)(arg1)->SetCapture(arg2,arg3);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12742 }
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
c32bde28 12749static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12750 PyObject *resultobj;
12751 wxJoystick *arg1 = (wxJoystick *) 0 ;
12752 bool result;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
12759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (bool)(arg1)->ReleaseCapture();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 {
12769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12770 }
12771 return resultobj;
12772 fail:
12773 return NULL;
12774}
12775
12776
c32bde28 12777static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12778 PyObject *obj;
12779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12780 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
12781 Py_INCREF(obj);
12782 return Py_BuildValue((char *)"");
12783}
c32bde28 12784static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12785 PyObject *resultobj;
12786 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12787 int arg2 = (int) 0 ;
12788 int arg3 = (int) wxJOYSTICK1 ;
12789 int arg4 = (int) 0 ;
12790 wxJoystickEvent *result;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12800 if (obj0) {
093d3ff1
RD
12801 {
12802 arg1 = (wxEventType)(SWIG_As_int(obj0));
12803 if (SWIG_arg_fail(1)) SWIG_fail;
12804 }
d55e5bfc
RD
12805 }
12806 if (obj1) {
093d3ff1
RD
12807 {
12808 arg2 = (int)(SWIG_As_int(obj1));
12809 if (SWIG_arg_fail(2)) SWIG_fail;
12810 }
d55e5bfc
RD
12811 }
12812 if (obj2) {
093d3ff1
RD
12813 {
12814 arg3 = (int)(SWIG_As_int(obj2));
12815 if (SWIG_arg_fail(3)) SWIG_fail;
12816 }
d55e5bfc
RD
12817 }
12818 if (obj3) {
093d3ff1
RD
12819 {
12820 arg4 = (int)(SWIG_As_int(obj3));
12821 if (SWIG_arg_fail(4)) SWIG_fail;
12822 }
d55e5bfc
RD
12823 }
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
12832 return resultobj;
12833 fail:
12834 return NULL;
12835}
12836
12837
c32bde28 12838static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12839 PyObject *resultobj;
12840 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12841 wxPoint result;
12842 PyObject * obj0 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = ((wxJoystickEvent const *)arg1)->GetPosition();
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 {
12858 wxPoint * resultptr;
093d3ff1 12859 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12869 PyObject *resultobj;
12870 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
093d3ff1
RD
12887 {
12888 resultobj = SWIG_From_int((int)(result));
12889 }
d55e5bfc
RD
12890 return resultobj;
12891 fail:
12892 return NULL;
12893}
12894
12895
c32bde28 12896static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12897 PyObject *resultobj;
12898 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12899 int result;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
12906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
093d3ff1
RD
12915 {
12916 resultobj = SWIG_From_int((int)(result));
12917 }
d55e5bfc
RD
12918 return resultobj;
12919 fail:
12920 return NULL;
12921}
12922
12923
c32bde28 12924static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12925 PyObject *resultobj;
12926 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12927 int result;
12928 PyObject * obj0 = 0 ;
12929 char *kwnames[] = {
12930 (char *) "self", NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
12934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
093d3ff1
RD
12943 {
12944 resultobj = SWIG_From_int((int)(result));
12945 }
d55e5bfc
RD
12946 return resultobj;
12947 fail:
12948 return NULL;
12949}
12950
12951
c32bde28 12952static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12953 PyObject *resultobj;
12954 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12955 int result;
12956 PyObject * obj0 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
12962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
093d3ff1
RD
12971 {
12972 resultobj = SWIG_From_int((int)(result));
12973 }
d55e5bfc
RD
12974 return resultobj;
12975 fail:
12976 return NULL;
12977}
12978
12979
c32bde28 12980static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12981 PyObject *resultobj;
12982 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12983 int arg2 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "self",(char *) "stick", NULL
12988 };
12989
12990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail;
12993 {
12994 arg2 = (int)(SWIG_As_int(obj1));
12995 if (SWIG_arg_fail(2)) SWIG_fail;
12996 }
d55e5bfc
RD
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 (arg1)->SetJoystick(arg2);
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 Py_INCREF(Py_None); resultobj = Py_None;
13005 return resultobj;
13006 fail:
13007 return NULL;
13008}
13009
13010
c32bde28 13011static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13012 PyObject *resultobj;
13013 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13014 int arg2 ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self",(char *) "state", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail;
13024 {
13025 arg2 = (int)(SWIG_As_int(obj1));
13026 if (SWIG_arg_fail(2)) SWIG_fail;
13027 }
d55e5bfc
RD
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->SetButtonState(arg2);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039}
13040
13041
c32bde28 13042static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13043 PyObject *resultobj;
13044 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13045 int arg2 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "change", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail;
13055 {
13056 arg2 = (int)(SWIG_As_int(obj1));
13057 if (SWIG_arg_fail(2)) SWIG_fail;
13058 }
d55e5bfc
RD
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 (arg1)->SetButtonChange(arg2);
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 Py_INCREF(Py_None); resultobj = Py_None;
13067 return resultobj;
13068 fail:
13069 return NULL;
13070}
13071
13072
c32bde28 13073static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13074 PyObject *resultobj;
13075 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13076 wxPoint *arg2 = 0 ;
13077 wxPoint temp2 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "self",(char *) "pos", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13087 {
13088 arg2 = &temp2;
13089 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13090 }
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 (arg1)->SetPosition((wxPoint const &)*arg2);
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 Py_INCREF(Py_None); resultobj = Py_None;
13099 return resultobj;
13100 fail:
13101 return NULL;
13102}
13103
13104
c32bde28 13105static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13106 PyObject *resultobj;
13107 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13108 int arg2 ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "zPos", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13117 if (SWIG_arg_fail(1)) SWIG_fail;
13118 {
13119 arg2 = (int)(SWIG_As_int(obj1));
13120 if (SWIG_arg_fail(2)) SWIG_fail;
13121 }
d55e5bfc
RD
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 (arg1)->SetZPosition(arg2);
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 Py_INCREF(Py_None); resultobj = Py_None;
13130 return resultobj;
13131 fail:
13132 return NULL;
13133}
13134
13135
c32bde28 13136static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13137 PyObject *resultobj;
13138 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13139 bool result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
13146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 {
13156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13157 }
13158 return resultobj;
13159 fail:
13160 return NULL;
13161}
13162
13163
c32bde28 13164static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13165 PyObject *resultobj;
13166 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13167 bool result;
13168 PyObject * obj0 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13175 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 {
13184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13185 }
13186 return resultobj;
13187 fail:
13188 return NULL;
13189}
13190
13191
c32bde28 13192static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13193 PyObject *resultobj;
13194 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13195 bool result;
13196 PyObject * obj0 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 {
13212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13213 }
13214 return resultobj;
13215 fail:
13216 return NULL;
13217}
13218
13219
c32bde28 13220static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13221 PyObject *resultobj;
13222 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13223 int arg2 = (int) wxJOY_BUTTON_ANY ;
13224 bool result;
13225 PyObject * obj0 = 0 ;
13226 PyObject * obj1 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self",(char *) "but", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13234 if (obj1) {
093d3ff1
RD
13235 {
13236 arg2 = (int)(SWIG_As_int(obj1));
13237 if (SWIG_arg_fail(2)) SWIG_fail;
13238 }
d55e5bfc
RD
13239 }
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 {
13248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13249 }
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
c32bde28 13256static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13257 PyObject *resultobj;
13258 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13259 int arg2 = (int) wxJOY_BUTTON_ANY ;
13260 bool result;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "but", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13269 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13270 if (obj1) {
093d3ff1
RD
13271 {
13272 arg2 = (int)(SWIG_As_int(obj1));
13273 if (SWIG_arg_fail(2)) SWIG_fail;
13274 }
d55e5bfc
RD
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 {
13284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13285 }
13286 return resultobj;
13287 fail:
13288 return NULL;
13289}
13290
13291
c32bde28 13292static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13293 PyObject *resultobj;
13294 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13295 int arg2 = (int) wxJOY_BUTTON_ANY ;
13296 bool result;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "but", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13306 if (obj1) {
093d3ff1
RD
13307 {
13308 arg2 = (int)(SWIG_As_int(obj1));
13309 if (SWIG_arg_fail(2)) SWIG_fail;
13310 }
d55e5bfc
RD
13311 }
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 {
13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325}
13326
13327
c32bde28 13328static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13329 PyObject *obj;
13330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
13332 Py_INCREF(obj);
13333 return Py_BuildValue((char *)"");
13334}
c32bde28 13335static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13336 PyObject *resultobj;
b1f29bf7
RD
13337 wxString const &arg1_defvalue = wxPyEmptyString ;
13338 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 13339 wxSound *result;
ae8162c8 13340 bool temp1 = false ;
d55e5bfc 13341 PyObject * obj0 = 0 ;
b1f29bf7
RD
13342 char *kwnames[] = {
13343 (char *) "fileName", NULL
13344 };
d55e5bfc 13345
b1f29bf7
RD
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
13347 if (obj0) {
13348 {
13349 arg1 = wxString_in_helper(obj0);
13350 if (arg1 == NULL) SWIG_fail;
ae8162c8 13351 temp1 = true;
b1f29bf7 13352 }
d55e5bfc
RD
13353 }
13354 {
0439c23b 13355 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13357 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
13358
13359 wxPyEndAllowThreads(__tstate);
110da5b0 13360 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13361 }
13362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13363 {
13364 if (temp1)
13365 delete arg1;
13366 }
13367 return resultobj;
13368 fail:
13369 {
13370 if (temp1)
13371 delete arg1;
13372 }
13373 return NULL;
13374}
13375
13376
c32bde28 13377static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13378 PyObject *resultobj;
b1f29bf7 13379 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
13380 wxSound *result;
13381 PyObject * obj0 = 0 ;
b1f29bf7
RD
13382 char *kwnames[] = {
13383 (char *) "data", NULL
13384 };
d55e5bfc 13385
b1f29bf7
RD
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
13387 arg1 = obj0;
d55e5bfc 13388 {
0439c23b 13389 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13391 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
13392
13393 wxPyEndAllowThreads(__tstate);
110da5b0 13394 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13395 }
13396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13397 return resultobj;
13398 fail:
13399 return NULL;
13400}
13401
13402
c32bde28 13403static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13404 PyObject *resultobj;
13405 wxSound *arg1 = (wxSound *) 0 ;
13406 PyObject * obj0 = 0 ;
13407 char *kwnames[] = {
13408 (char *) "self", NULL
13409 };
13410
13411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
13412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 delete arg1;
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 Py_INCREF(Py_None); resultobj = Py_None;
13422 return resultobj;
13423 fail:
13424 return NULL;
13425}
13426
13427
c32bde28 13428static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13429 PyObject *resultobj;
13430 wxSound *arg1 = (wxSound *) 0 ;
13431 wxString *arg2 = 0 ;
d55e5bfc 13432 bool result;
ae8162c8 13433 bool temp2 = false ;
d55e5bfc
RD
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
b1f29bf7
RD
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "fileName", NULL
13438 };
d55e5bfc 13439
b1f29bf7 13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13443 {
13444 arg2 = wxString_in_helper(obj1);
13445 if (arg2 == NULL) SWIG_fail;
ae8162c8 13446 temp2 = true;
d55e5bfc 13447 }
d55e5bfc
RD
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13450 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13457 }
13458 {
13459 if (temp2)
13460 delete arg2;
13461 }
13462 return resultobj;
13463 fail:
13464 {
13465 if (temp2)
13466 delete arg2;
13467 }
13468 return NULL;
13469}
13470
13471
c32bde28 13472static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13473 PyObject *resultobj;
13474 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 13475 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
13476 bool result;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
b1f29bf7
RD
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "data", NULL
13481 };
d55e5bfc 13482
b1f29bf7 13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail;
b1f29bf7 13486 arg2 = obj1;
d55e5bfc
RD
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 13489 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 {
13495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13496 }
13497 return resultobj;
13498 fail:
13499 return NULL;
13500}
13501
13502
c32bde28 13503static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13504 PyObject *resultobj;
13505 wxSound *arg1 = (wxSound *) 0 ;
13506 bool result;
13507 PyObject * obj0 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "self", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (bool)(arg1)->IsOk();
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13524 }
13525 return resultobj;
13526 fail:
13527 return NULL;
13528}
13529
13530
c32bde28 13531static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13532 PyObject *resultobj;
13533 wxSound *arg1 = (wxSound *) 0 ;
13534 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
b1f29bf7
RD
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "flags", NULL
13540 };
d55e5bfc 13541
b1f29bf7 13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13545 if (obj1) {
093d3ff1
RD
13546 {
13547 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13548 if (SWIG_arg_fail(2)) SWIG_fail;
13549 }
d55e5bfc
RD
13550 }
13551 {
0439c23b 13552 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 result = (bool)((wxSound const *)arg1)->Play(arg2);
13555
13556 wxPyEndAllowThreads(__tstate);
110da5b0 13557 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13558 }
13559 {
13560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13561 }
13562 return resultobj;
13563 fail:
13564 return NULL;
13565}
13566
13567
c32bde28 13568static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13569 PyObject *resultobj;
13570 wxString *arg1 = 0 ;
13571 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13572 bool result;
ae8162c8 13573 bool temp1 = false ;
d55e5bfc
RD
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
b1f29bf7
RD
13576 char *kwnames[] = {
13577 (char *) "filename",(char *) "flags", NULL
13578 };
d55e5bfc 13579
b1f29bf7 13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
13581 {
13582 arg1 = wxString_in_helper(obj0);
13583 if (arg1 == NULL) SWIG_fail;
ae8162c8 13584 temp1 = true;
d55e5bfc
RD
13585 }
13586 if (obj1) {
093d3ff1
RD
13587 {
13588 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13589 if (SWIG_arg_fail(2)) SWIG_fail;
13590 }
d55e5bfc
RD
13591 }
13592 {
0439c23b 13593 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
13596
13597 wxPyEndAllowThreads(__tstate);
110da5b0 13598 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13599 }
13600 {
13601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13602 }
13603 {
13604 if (temp1)
13605 delete arg1;
13606 }
13607 return resultobj;
13608 fail:
13609 {
13610 if (temp1)
13611 delete arg1;
13612 }
13613 return NULL;
13614}
13615
13616
c32bde28 13617static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13618 PyObject *resultobj;
13619 char *kwnames[] = {
13620 NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
13624 {
0439c23b 13625 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 wxSound::Stop();
13628
13629 wxPyEndAllowThreads(__tstate);
110da5b0 13630 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13631 }
13632 Py_INCREF(Py_None); resultobj = Py_None;
13633 return resultobj;
13634 fail:
13635 return NULL;
13636}
13637
13638
c32bde28 13639static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13640 PyObject *obj;
13641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
13643 Py_INCREF(obj);
13644 return Py_BuildValue((char *)"");
13645}
c32bde28 13646static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13647 PyObject *resultobj;
13648 wxString *arg1 = 0 ;
13649 wxString *arg2 = 0 ;
13650 wxString *arg3 = 0 ;
13651 wxString *arg4 = 0 ;
13652 wxFileTypeInfo *result;
ae8162c8
RD
13653 bool temp1 = false ;
13654 bool temp2 = false ;
13655 bool temp3 = false ;
13656 bool temp4 = false ;
d55e5bfc
RD
13657 PyObject * obj0 = 0 ;
13658 PyObject * obj1 = 0 ;
13659 PyObject * obj2 = 0 ;
13660 PyObject * obj3 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13666 {
13667 arg1 = wxString_in_helper(obj0);
13668 if (arg1 == NULL) SWIG_fail;
ae8162c8 13669 temp1 = true;
d55e5bfc
RD
13670 }
13671 {
13672 arg2 = wxString_in_helper(obj1);
13673 if (arg2 == NULL) SWIG_fail;
ae8162c8 13674 temp2 = true;
d55e5bfc
RD
13675 }
13676 {
13677 arg3 = wxString_in_helper(obj2);
13678 if (arg3 == NULL) SWIG_fail;
ae8162c8 13679 temp3 = true;
d55e5bfc
RD
13680 }
13681 {
13682 arg4 = wxString_in_helper(obj3);
13683 if (arg4 == NULL) SWIG_fail;
ae8162c8 13684 temp4 = true;
d55e5bfc
RD
13685 }
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13694 {
13695 if (temp1)
13696 delete arg1;
13697 }
13698 {
13699 if (temp2)
13700 delete arg2;
13701 }
13702 {
13703 if (temp3)
13704 delete arg3;
13705 }
13706 {
13707 if (temp4)
13708 delete arg4;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp1)
13714 delete arg1;
13715 }
13716 {
13717 if (temp2)
13718 delete arg2;
13719 }
13720 {
13721 if (temp3)
13722 delete arg3;
13723 }
13724 {
13725 if (temp4)
13726 delete arg4;
13727 }
13728 return NULL;
13729}
13730
13731
c32bde28 13732static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13733 PyObject *resultobj;
13734 wxArrayString *arg1 = 0 ;
13735 wxFileTypeInfo *result;
ae8162c8 13736 bool temp1 = false ;
d55e5bfc
RD
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "sArray", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
13743 {
13744 if (! PySequence_Check(obj0)) {
13745 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13746 SWIG_fail;
13747 }
13748 arg1 = new wxArrayString;
ae8162c8 13749 temp1 = true;
d55e5bfc
RD
13750 int i, len=PySequence_Length(obj0);
13751 for (i=0; i<len; i++) {
13752 PyObject* item = PySequence_GetItem(obj0, i);
13753#if wxUSE_UNICODE
13754 PyObject* str = PyObject_Unicode(item);
13755#else
13756 PyObject* str = PyObject_Str(item);
13757#endif
13758 if (PyErr_Occurred()) SWIG_fail;
13759 arg1->Add(Py2wxString(str));
13760 Py_DECREF(item);
13761 Py_DECREF(str);
13762 }
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13772 {
13773 if (temp1) delete arg1;
13774 }
13775 return resultobj;
13776 fail:
13777 {
13778 if (temp1) delete arg1;
13779 }
13780 return NULL;
13781}
13782
13783
c32bde28 13784static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13785 PyObject *resultobj;
13786 wxFileTypeInfo *result;
13787 char *kwnames[] = {
13788 NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (wxFileTypeInfo *)new wxFileTypeInfo();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13800 return resultobj;
13801 fail:
13802 return NULL;
13803}
13804
13805
c32bde28 13806static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13807 PyObject *resultobj;
13808 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13809 bool result;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
13816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 {
13826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831}
13832
13833
c32bde28 13834static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13835 PyObject *resultobj;
13836 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13837 wxString *arg2 = 0 ;
13838 int arg3 = (int) 0 ;
ae8162c8 13839 bool temp2 = false ;
d55e5bfc
RD
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
13843 char *kwnames[] = {
13844 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13845 };
13846
13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13850 {
13851 arg2 = wxString_in_helper(obj1);
13852 if (arg2 == NULL) SWIG_fail;
ae8162c8 13853 temp2 = true;
d55e5bfc
RD
13854 }
13855 if (obj2) {
093d3ff1
RD
13856 {
13857 arg3 = (int)(SWIG_As_int(obj2));
13858 if (SWIG_arg_fail(3)) SWIG_fail;
13859 }
d55e5bfc
RD
13860 }
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->SetIcon((wxString const &)*arg2,arg3);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 {
13870 if (temp2)
13871 delete arg2;
13872 }
13873 return resultobj;
13874 fail:
13875 {
13876 if (temp2)
13877 delete arg2;
13878 }
13879 return NULL;
13880}
13881
13882
c32bde28 13883static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13884 PyObject *resultobj;
13885 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13886 wxString *arg2 = 0 ;
ae8162c8 13887 bool temp2 = false ;
d55e5bfc
RD
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self",(char *) "shortDesc", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13897 {
13898 arg2 = wxString_in_helper(obj1);
13899 if (arg2 == NULL) SWIG_fail;
ae8162c8 13900 temp2 = true;
d55e5bfc
RD
13901 }
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->SetShortDesc((wxString const &)*arg2);
13905
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 Py_INCREF(Py_None); resultobj = Py_None;
13910 {
13911 if (temp2)
13912 delete arg2;
13913 }
13914 return resultobj;
13915 fail:
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return NULL;
13921}
13922
13923
c32bde28 13924static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13925 PyObject *resultobj;
13926 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13927 wxString *result;
13928 PyObject * obj0 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
13934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 {
13939 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
13940 result = (wxString *) &_result_ref;
13941 }
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947#if wxUSE_UNICODE
13948 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13949#else
13950 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13951#endif
13952 }
13953 return resultobj;
13954 fail:
13955 return NULL;
13956}
13957
13958
c32bde28 13959static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13960 PyObject *resultobj;
13961 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13962 wxString *result;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
13969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 {
13974 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
13975 result = (wxString *) &_result_ref;
13976 }
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 {
13982#if wxUSE_UNICODE
13983 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13984#else
13985 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13986#endif
13987 }
13988 return resultobj;
13989 fail:
13990 return NULL;
13991}
13992
13993
c32bde28 13994static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13995 PyObject *resultobj;
13996 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13997 wxString *result;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 {
14009 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
14010 result = (wxString *) &_result_ref;
14011 }
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 {
14017#if wxUSE_UNICODE
14018 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14019#else
14020 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14021#endif
14022 }
14023 return resultobj;
14024 fail:
14025 return NULL;
14026}
14027
14028
c32bde28 14029static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14030 PyObject *resultobj;
14031 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14032 wxString *result;
14033 PyObject * obj0 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
14039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 {
14044 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
14045 result = (wxString *) &_result_ref;
14046 }
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 {
14052#if wxUSE_UNICODE
14053 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14054#else
14055 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14056#endif
14057 }
14058 return resultobj;
14059 fail:
14060 return NULL;
14061}
14062
14063
c32bde28 14064static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14065 PyObject *resultobj;
14066 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14067 wxString *result;
14068 PyObject * obj0 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 {
14079 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
14080 result = (wxString *) &_result_ref;
14081 }
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087#if wxUSE_UNICODE
14088 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14089#else
14090 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14091#endif
14092 }
14093 return resultobj;
14094 fail:
14095 return NULL;
14096}
14097
14098
c32bde28 14099static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14100 PyObject *resultobj;
14101 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14102 wxArrayString *result;
14103 PyObject * obj0 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 {
14114 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
14115 result = (wxArrayString *) &_result_ref;
14116 }
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 {
14122 resultobj = wxArrayString2PyList_helper(*result);
14123 }
14124 return resultobj;
14125 fail:
14126 return NULL;
14127}
14128
14129
c32bde28 14130static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14131 PyObject *resultobj;
14132 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14133 int result;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
093d3ff1
RD
14149 {
14150 resultobj = SWIG_From_int((int)(result));
14151 }
d55e5bfc
RD
14152 return resultobj;
14153 fail:
14154 return NULL;
14155}
14156
14157
c32bde28 14158static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14159 PyObject *resultobj;
14160 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14161 wxString *result;
14162 PyObject * obj0 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
14168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 {
14173 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
14174 result = (wxString *) &_result_ref;
14175 }
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 {
14181#if wxUSE_UNICODE
14182 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14183#else
14184 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14185#endif
14186 }
14187 return resultobj;
14188 fail:
14189 return NULL;
14190}
14191
14192
c32bde28 14193static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14194 PyObject *resultobj;
14195 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14196 int result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
093d3ff1
RD
14212 {
14213 resultobj = SWIG_From_int((int)(result));
14214 }
d55e5bfc
RD
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
c32bde28 14221static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14222 PyObject *obj;
14223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14224 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
14225 Py_INCREF(obj);
14226 return Py_BuildValue((char *)"");
14227}
c32bde28 14228static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14229 PyObject *resultobj;
14230 wxFileTypeInfo *arg1 = 0 ;
14231 wxFileType *result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "ftInfo", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14238 {
14239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail;
14241 if (arg1 == NULL) {
14242 SWIG_null_ref("wxFileTypeInfo");
14243 }
14244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14245 }
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
14254 return resultobj;
14255 fail:
14256 return NULL;
14257}
14258
14259
c32bde28 14260static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14261 PyObject *resultobj;
14262 wxFileType *arg1 = (wxFileType *) 0 ;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 delete arg1;
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 return resultobj;
14280 fail:
14281 return NULL;
14282}
14283
14284
c32bde28 14285static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14286 PyObject *resultobj;
14287 wxFileType *arg1 = (wxFileType *) 0 ;
14288 PyObject *result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (PyObject *)wxFileType_GetMimeType(arg1);
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 resultobj = result;
14305 return resultobj;
14306 fail:
14307 return NULL;
14308}
14309
14310
c32bde28 14311static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14312 PyObject *resultobj;
14313 wxFileType *arg1 = (wxFileType *) 0 ;
14314 PyObject *result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
14321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = result;
14331 return resultobj;
14332 fail:
14333 return NULL;
14334}
14335
14336
c32bde28 14337static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14338 PyObject *resultobj;
14339 wxFileType *arg1 = (wxFileType *) 0 ;
14340 PyObject *result;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 result = (PyObject *)wxFileType_GetExtensions(arg1);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 resultobj = result;
14357 return resultobj;
14358 fail:
14359 return NULL;
14360}
14361
14362
c32bde28 14363static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14364 PyObject *resultobj;
14365 wxFileType *arg1 = (wxFileType *) 0 ;
14366 wxIcon *result;
14367 PyObject * obj0 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
14373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = (wxIcon *)wxFileType_GetIcon(arg1);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
14383 return resultobj;
14384 fail:
14385 return NULL;
14386}
14387
14388
c32bde28 14389static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14390 PyObject *resultobj;
14391 wxFileType *arg1 = (wxFileType *) 0 ;
14392 PyObject *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
14399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (PyObject *)wxFileType_GetIconInfo(arg1);
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 resultobj = result;
14409 return resultobj;
14410 fail:
14411 return NULL;
14412}
14413
14414
c32bde28 14415static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14416 PyObject *resultobj;
14417 wxFileType *arg1 = (wxFileType *) 0 ;
14418 PyObject *result;
14419 PyObject * obj0 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (PyObject *)wxFileType_GetDescription(arg1);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 resultobj = result;
14435 return resultobj;
14436 fail:
14437 return NULL;
14438}
14439
14440
c32bde28 14441static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14442 PyObject *resultobj;
14443 wxFileType *arg1 = (wxFileType *) 0 ;
14444 wxString *arg2 = 0 ;
14445 wxString const &arg3_defvalue = wxPyEmptyString ;
14446 wxString *arg3 = (wxString *) &arg3_defvalue ;
14447 PyObject *result;
ae8162c8
RD
14448 bool temp2 = false ;
14449 bool temp3 = false ;
d55e5bfc
RD
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
14452 PyObject * obj2 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14460 {
14461 arg2 = wxString_in_helper(obj1);
14462 if (arg2 == NULL) SWIG_fail;
ae8162c8 14463 temp2 = true;
d55e5bfc
RD
14464 }
14465 if (obj2) {
14466 {
14467 arg3 = wxString_in_helper(obj2);
14468 if (arg3 == NULL) SWIG_fail;
ae8162c8 14469 temp3 = true;
d55e5bfc
RD
14470 }
14471 }
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 resultobj = result;
14480 {
14481 if (temp2)
14482 delete arg2;
14483 }
14484 {
14485 if (temp3)
14486 delete arg3;
14487 }
14488 return resultobj;
14489 fail:
14490 {
14491 if (temp2)
14492 delete arg2;
14493 }
14494 {
14495 if (temp3)
14496 delete arg3;
14497 }
14498 return NULL;
14499}
14500
14501
c32bde28 14502static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14503 PyObject *resultobj;
14504 wxFileType *arg1 = (wxFileType *) 0 ;
14505 wxString *arg2 = 0 ;
14506 wxString const &arg3_defvalue = wxPyEmptyString ;
14507 wxString *arg3 = (wxString *) &arg3_defvalue ;
14508 PyObject *result;
ae8162c8
RD
14509 bool temp2 = false ;
14510 bool temp3 = false ;
d55e5bfc
RD
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 PyObject * obj2 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14521 {
14522 arg2 = wxString_in_helper(obj1);
14523 if (arg2 == NULL) SWIG_fail;
ae8162c8 14524 temp2 = true;
d55e5bfc
RD
14525 }
14526 if (obj2) {
14527 {
14528 arg3 = wxString_in_helper(obj2);
14529 if (arg3 == NULL) SWIG_fail;
ae8162c8 14530 temp3 = true;
d55e5bfc
RD
14531 }
14532 }
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 resultobj = result;
14541 {
14542 if (temp2)
14543 delete arg2;
14544 }
14545 {
14546 if (temp3)
14547 delete arg3;
14548 }
14549 return resultobj;
14550 fail:
14551 {
14552 if (temp2)
14553 delete arg2;
14554 }
14555 {
14556 if (temp3)
14557 delete arg3;
14558 }
14559 return NULL;
14560}
14561
14562
c32bde28 14563static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14564 PyObject *resultobj;
14565 wxFileType *arg1 = (wxFileType *) 0 ;
14566 wxString *arg2 = 0 ;
14567 wxString const &arg3_defvalue = wxPyEmptyString ;
14568 wxString *arg3 = (wxString *) &arg3_defvalue ;
14569 PyObject *result;
ae8162c8
RD
14570 bool temp2 = false ;
14571 bool temp3 = false ;
d55e5bfc
RD
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14582 {
14583 arg2 = wxString_in_helper(obj1);
14584 if (arg2 == NULL) SWIG_fail;
ae8162c8 14585 temp2 = true;
d55e5bfc
RD
14586 }
14587 if (obj2) {
14588 {
14589 arg3 = wxString_in_helper(obj2);
14590 if (arg3 == NULL) SWIG_fail;
ae8162c8 14591 temp3 = true;
d55e5bfc
RD
14592 }
14593 }
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 resultobj = result;
14602 {
14603 if (temp2)
14604 delete arg2;
14605 }
14606 {
14607 if (temp3)
14608 delete arg3;
14609 }
14610 return resultobj;
14611 fail:
14612 {
14613 if (temp2)
14614 delete arg2;
14615 }
14616 {
14617 if (temp3)
14618 delete arg3;
14619 }
14620 return NULL;
14621}
14622
14623
c32bde28 14624static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14625 PyObject *resultobj;
14626 wxFileType *arg1 = (wxFileType *) 0 ;
14627 wxString *arg2 = 0 ;
14628 wxString *arg3 = 0 ;
ae8162c8 14629 bool arg4 = (bool) true ;
d55e5bfc 14630 bool result;
ae8162c8
RD
14631 bool temp2 = false ;
14632 bool temp3 = false ;
d55e5bfc
RD
14633 PyObject * obj0 = 0 ;
14634 PyObject * obj1 = 0 ;
14635 PyObject * obj2 = 0 ;
14636 PyObject * obj3 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14644 {
14645 arg2 = wxString_in_helper(obj1);
14646 if (arg2 == NULL) SWIG_fail;
ae8162c8 14647 temp2 = true;
d55e5bfc
RD
14648 }
14649 {
14650 arg3 = wxString_in_helper(obj2);
14651 if (arg3 == NULL) SWIG_fail;
ae8162c8 14652 temp3 = true;
d55e5bfc
RD
14653 }
14654 if (obj3) {
093d3ff1
RD
14655 {
14656 arg4 = (bool)(SWIG_As_bool(obj3));
14657 if (SWIG_arg_fail(4)) SWIG_fail;
14658 }
d55e5bfc
RD
14659 }
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
14663
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 return resultobj;
14679 fail:
14680 {
14681 if (temp2)
14682 delete arg2;
14683 }
14684 {
14685 if (temp3)
14686 delete arg3;
14687 }
14688 return NULL;
14689}
14690
14691
c32bde28 14692static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14693 PyObject *resultobj;
14694 wxFileType *arg1 = (wxFileType *) 0 ;
14695 wxString const &arg2_defvalue = wxPyEmptyString ;
14696 wxString *arg2 = (wxString *) &arg2_defvalue ;
14697 int arg3 = (int) 0 ;
14698 bool result;
ae8162c8 14699 bool temp2 = false ;
d55e5bfc
RD
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 PyObject * obj2 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self",(char *) "cmd",(char *) "index", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14710 if (obj1) {
14711 {
14712 arg2 = wxString_in_helper(obj1);
14713 if (arg2 == NULL) SWIG_fail;
ae8162c8 14714 temp2 = true;
d55e5bfc
RD
14715 }
14716 }
14717 if (obj2) {
093d3ff1
RD
14718 {
14719 arg3 = (int)(SWIG_As_int(obj2));
14720 if (SWIG_arg_fail(3)) SWIG_fail;
14721 }
d55e5bfc
RD
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 {
14734 if (temp2)
14735 delete arg2;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp2)
14741 delete arg2;
14742 }
14743 return NULL;
14744}
14745
14746
c32bde28 14747static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14748 PyObject *resultobj;
14749 wxFileType *arg1 = (wxFileType *) 0 ;
14750 bool result;
14751 PyObject * obj0 = 0 ;
14752 char *kwnames[] = {
14753 (char *) "self", NULL
14754 };
14755
14756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
14757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (bool)(arg1)->Unassociate();
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 {
14767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14768 }
14769 return resultobj;
14770 fail:
14771 return NULL;
14772}
14773
14774
c32bde28 14775static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14776 PyObject *resultobj;
14777 wxString *arg1 = 0 ;
14778 wxString *arg2 = 0 ;
14779 wxString const &arg3_defvalue = wxPyEmptyString ;
14780 wxString *arg3 = (wxString *) &arg3_defvalue ;
14781 wxString result;
ae8162c8
RD
14782 bool temp1 = false ;
14783 bool temp2 = false ;
14784 bool temp3 = false ;
d55e5bfc
RD
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 PyObject * obj2 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14793 {
14794 arg1 = wxString_in_helper(obj0);
14795 if (arg1 == NULL) SWIG_fail;
ae8162c8 14796 temp1 = true;
d55e5bfc
RD
14797 }
14798 {
14799 arg2 = wxString_in_helper(obj1);
14800 if (arg2 == NULL) SWIG_fail;
ae8162c8 14801 temp2 = true;
d55e5bfc
RD
14802 }
14803 if (obj2) {
14804 {
14805 arg3 = wxString_in_helper(obj2);
14806 if (arg3 == NULL) SWIG_fail;
ae8162c8 14807 temp3 = true;
d55e5bfc
RD
14808 }
14809 }
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818#if wxUSE_UNICODE
14819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14820#else
14821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14822#endif
14823 }
14824 {
14825 if (temp1)
14826 delete arg1;
14827 }
14828 {
14829 if (temp2)
14830 delete arg2;
14831 }
14832 {
14833 if (temp3)
14834 delete arg3;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp1)
14840 delete arg1;
14841 }
14842 {
14843 if (temp2)
14844 delete arg2;
14845 }
14846 {
14847 if (temp3)
14848 delete arg3;
14849 }
14850 return NULL;
14851}
14852
14853
c32bde28 14854static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14855 PyObject *obj;
14856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
14858 Py_INCREF(obj);
14859 return Py_BuildValue((char *)"");
14860}
c32bde28 14861static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
14862 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
14863 return 1;
14864}
14865
14866
093d3ff1 14867static PyObject *_wrap_TheMimeTypesManager_get(void) {
d55e5bfc
RD
14868 PyObject *pyobj;
14869
14870 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
14871 return pyobj;
14872}
14873
14874
c32bde28 14875static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14876 PyObject *resultobj;
14877 wxString *arg1 = 0 ;
14878 wxString *arg2 = 0 ;
14879 bool result;
ae8162c8
RD
14880 bool temp1 = false ;
14881 bool temp2 = false ;
d55e5bfc
RD
14882 PyObject * obj0 = 0 ;
14883 PyObject * obj1 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "mimeType",(char *) "wildcard", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
14889 {
14890 arg1 = wxString_in_helper(obj0);
14891 if (arg1 == NULL) SWIG_fail;
ae8162c8 14892 temp1 = true;
d55e5bfc
RD
14893 }
14894 {
14895 arg2 = wxString_in_helper(obj1);
14896 if (arg2 == NULL) SWIG_fail;
ae8162c8 14897 temp2 = true;
d55e5bfc
RD
14898 }
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 {
14910 if (temp1)
14911 delete arg1;
14912 }
14913 {
14914 if (temp2)
14915 delete arg2;
14916 }
14917 return resultobj;
14918 fail:
14919 {
14920 if (temp1)
14921 delete arg1;
14922 }
14923 {
14924 if (temp2)
14925 delete arg2;
14926 }
14927 return NULL;
14928}
14929
14930
c32bde28 14931static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14932 PyObject *resultobj;
14933 wxMimeTypesManager *result;
14934 char *kwnames[] = {
14935 NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (wxMimeTypesManager *)new wxMimeTypesManager();
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
14947 return resultobj;
14948 fail:
14949 return NULL;
14950}
14951
14952
c32bde28 14953static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14954 PyObject *resultobj;
14955 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
14956 int arg2 = (int) wxMAILCAP_ALL ;
14957 wxString const &arg3_defvalue = wxPyEmptyString ;
14958 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 14959 bool temp3 = false ;
d55e5bfc
RD
14960 PyObject * obj0 = 0 ;
14961 PyObject * obj1 = 0 ;
14962 PyObject * obj2 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14970 if (obj1) {
093d3ff1
RD
14971 {
14972 arg2 = (int)(SWIG_As_int(obj1));
14973 if (SWIG_arg_fail(2)) SWIG_fail;
14974 }
d55e5bfc
RD
14975 }
14976 if (obj2) {
14977 {
14978 arg3 = wxString_in_helper(obj2);
14979 if (arg3 == NULL) SWIG_fail;
ae8162c8 14980 temp3 = true;
d55e5bfc
RD
14981 }
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 (arg1)->Initialize(arg2,(wxString const &)*arg3);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 Py_INCREF(Py_None); resultobj = Py_None;
14991 {
14992 if (temp3)
14993 delete arg3;
14994 }
14995 return resultobj;
14996 fail:
14997 {
14998 if (temp3)
14999 delete arg3;
15000 }
15001 return NULL;
15002}
15003
15004
c32bde28 15005static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15006 PyObject *resultobj;
15007 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 (arg1)->ClearData();
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 Py_INCREF(Py_None); resultobj = Py_None;
15024 return resultobj;
15025 fail:
15026 return NULL;
15027}
15028
15029
c32bde28 15030static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15031 PyObject *resultobj;
15032 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15033 wxString *arg2 = 0 ;
15034 wxFileType *result;
ae8162c8 15035 bool temp2 = false ;
d55e5bfc
RD
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "ext", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15045 {
15046 arg2 = wxString_in_helper(obj1);
15047 if (arg2 == NULL) SWIG_fail;
ae8162c8 15048 temp2 = true;
d55e5bfc
RD
15049 }
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15058 {
15059 if (temp2)
15060 delete arg2;
15061 }
15062 return resultobj;
15063 fail:
15064 {
15065 if (temp2)
15066 delete arg2;
15067 }
15068 return NULL;
15069}
15070
15071
c32bde28 15072static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15073 PyObject *resultobj;
15074 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15075 wxString *arg2 = 0 ;
15076 wxFileType *result;
ae8162c8 15077 bool temp2 = false ;
d55e5bfc
RD
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self",(char *) "mimeType", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15087 {
15088 arg2 = wxString_in_helper(obj1);
15089 if (arg2 == NULL) SWIG_fail;
ae8162c8 15090 temp2 = true;
d55e5bfc
RD
15091 }
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15100 {
15101 if (temp2)
15102 delete arg2;
15103 }
15104 return resultobj;
15105 fail:
15106 {
15107 if (temp2)
15108 delete arg2;
15109 }
15110 return NULL;
15111}
15112
15113
c32bde28 15114static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15115 PyObject *resultobj;
15116 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15117 wxString *arg2 = 0 ;
ae8162c8 15118 bool arg3 = (bool) false ;
d55e5bfc 15119 bool result;
ae8162c8 15120 bool temp2 = false ;
d55e5bfc
RD
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 PyObject * obj2 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15131 {
15132 arg2 = wxString_in_helper(obj1);
15133 if (arg2 == NULL) SWIG_fail;
ae8162c8 15134 temp2 = true;
d55e5bfc
RD
15135 }
15136 if (obj2) {
093d3ff1
RD
15137 {
15138 arg3 = (bool)(SWIG_As_bool(obj2));
15139 if (SWIG_arg_fail(3)) SWIG_fail;
15140 }
d55e5bfc
RD
15141 }
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 {
15150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15151 }
15152 {
15153 if (temp2)
15154 delete arg2;
15155 }
15156 return resultobj;
15157 fail:
15158 {
15159 if (temp2)
15160 delete arg2;
15161 }
15162 return NULL;
15163}
15164
15165
c32bde28 15166static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15167 PyObject *resultobj;
15168 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15169 wxString *arg2 = 0 ;
15170 bool result;
ae8162c8 15171 bool temp2 = false ;
d55e5bfc
RD
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "filename", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15181 {
15182 arg2 = wxString_in_helper(obj1);
15183 if (arg2 == NULL) SWIG_fail;
ae8162c8 15184 temp2 = true;
d55e5bfc
RD
15185 }
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15195 }
15196 {
15197 if (temp2)
15198 delete arg2;
15199 }
15200 return resultobj;
15201 fail:
15202 {
15203 if (temp2)
15204 delete arg2;
15205 }
15206 return NULL;
15207}
15208
15209
c32bde28 15210static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15211 PyObject *resultobj;
15212 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15213 PyObject *result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 resultobj = result;
15230 return resultobj;
15231 fail:
15232 return NULL;
15233}
15234
15235
c32bde28 15236static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15237 PyObject *resultobj;
15238 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15239 wxFileTypeInfo *arg2 = 0 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "ft", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail;
15249 {
15250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15251 if (SWIG_arg_fail(2)) SWIG_fail;
15252 if (arg2 == NULL) {
15253 SWIG_null_ref("wxFileTypeInfo");
15254 }
15255 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15256 }
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
15260
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
15264 Py_INCREF(Py_None); resultobj = Py_None;
15265 return resultobj;
15266 fail:
15267 return NULL;
15268}
15269
15270
c32bde28 15271static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15272 PyObject *resultobj;
15273 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15274 wxFileTypeInfo *arg2 = 0 ;
15275 wxFileType *result;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self",(char *) "ftInfo", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail;
15285 {
15286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15287 if (SWIG_arg_fail(2)) SWIG_fail;
15288 if (arg2 == NULL) {
15289 SWIG_null_ref("wxFileTypeInfo");
15290 }
15291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15292 }
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15301 return resultobj;
15302 fail:
15303 return NULL;
15304}
15305
15306
c32bde28 15307static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15308 PyObject *resultobj;
15309 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15310 wxFileType *arg2 = (wxFileType *) 0 ;
15311 bool result;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self",(char *) "ft", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail;
15321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15322 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (bool)(arg1)->Unassociate(arg2);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 {
15331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15332 }
15333 return resultobj;
15334 fail:
15335 return NULL;
15336}
15337
15338
c32bde28 15339static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15340 PyObject *resultobj;
15341 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15342 PyObject * obj0 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
15348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 delete arg1;
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 * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15365 PyObject *obj;
15366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15367 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
15368 Py_INCREF(obj);
15369 return Py_BuildValue((char *)"");
15370}
c32bde28 15371static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
15372 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
15373 return 1;
15374}
15375
15376
093d3ff1 15377static PyObject *_wrap_ART_TOOLBAR_get(void) {
d55e5bfc
RD
15378 PyObject *pyobj;
15379
15380 {
15381#if wxUSE_UNICODE
15382 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15383#else
15384 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15385#endif
15386 }
15387 return pyobj;
15388}
15389
15390
c32bde28 15391static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
15392 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
15393 return 1;
15394}
15395
15396
093d3ff1 15397static PyObject *_wrap_ART_MENU_get(void) {
d55e5bfc
RD
15398 PyObject *pyobj;
15399
15400 {
15401#if wxUSE_UNICODE
15402 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15403#else
15404 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15405#endif
15406 }
15407 return pyobj;
15408}
15409
15410
c32bde28 15411static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
15412 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
15413 return 1;
15414}
15415
15416
093d3ff1 15417static PyObject *_wrap_ART_FRAME_ICON_get(void) {
d55e5bfc
RD
15418 PyObject *pyobj;
15419
15420 {
15421#if wxUSE_UNICODE
15422 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15423#else
15424 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15425#endif
15426 }
15427 return pyobj;
15428}
15429
15430
c32bde28 15431static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
15432 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
15433 return 1;
15434}
15435
15436
093d3ff1 15437static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
d55e5bfc
RD
15438 PyObject *pyobj;
15439
15440 {
15441#if wxUSE_UNICODE
15442 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15443#else
15444 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15445#endif
15446 }
15447 return pyobj;
15448}
15449
15450
c32bde28 15451static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
15452 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
15453 return 1;
15454}
15455
15456
093d3ff1 15457static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
d55e5bfc
RD
15458 PyObject *pyobj;
15459
15460 {
15461#if wxUSE_UNICODE
15462 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15463#else
15464 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15465#endif
15466 }
15467 return pyobj;
15468}
15469
15470
c32bde28 15471static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
15472 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
15473 return 1;
15474}
15475
15476
093d3ff1 15477static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
d55e5bfc
RD
15478 PyObject *pyobj;
15479
15480 {
15481#if wxUSE_UNICODE
15482 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15483#else
15484 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15485#endif
15486 }
15487 return pyobj;
15488}
15489
15490
c32bde28 15491static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
15492 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
15493 return 1;
15494}
15495
15496
093d3ff1 15497static PyObject *_wrap_ART_BUTTON_get(void) {
4cf4100f
RD
15498 PyObject *pyobj;
15499
15500 {
15501#if wxUSE_UNICODE
15502 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15503#else
15504 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15505#endif
15506 }
15507 return pyobj;
15508}
15509
15510
c32bde28 15511static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
15512 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
15513 return 1;
15514}
15515
15516
093d3ff1 15517static PyObject *_wrap_ART_OTHER_get(void) {
d55e5bfc
RD
15518 PyObject *pyobj;
15519
15520 {
15521#if wxUSE_UNICODE
15522 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15523#else
15524 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15525#endif
15526 }
15527 return pyobj;
15528}
15529
15530
c32bde28 15531static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15532 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
15533 return 1;
15534}
15535
15536
093d3ff1 15537static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
d55e5bfc
RD
15538 PyObject *pyobj;
15539
15540 {
15541#if wxUSE_UNICODE
15542 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15543#else
15544 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15545#endif
15546 }
15547 return pyobj;
15548}
15549
15550
c32bde28 15551static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
15552 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
15553 return 1;
15554}
15555
15556
093d3ff1 15557static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
d55e5bfc
RD
15558 PyObject *pyobj;
15559
15560 {
15561#if wxUSE_UNICODE
15562 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15563#else
15564 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15565#endif
15566 }
15567 return pyobj;
15568}
15569
15570
c32bde28 15571static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
15572 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
15573 return 1;
15574}
15575
15576
093d3ff1 15577static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
d55e5bfc
RD
15578 PyObject *pyobj;
15579
15580 {
15581#if wxUSE_UNICODE
15582 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15583#else
15584 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15585#endif
15586 }
15587 return pyobj;
15588}
15589
15590
c32bde28 15591static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
15592 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
15593 return 1;
15594}
15595
15596
093d3ff1 15597static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
d55e5bfc
RD
15598 PyObject *pyobj;
15599
15600 {
15601#if wxUSE_UNICODE
15602 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15603#else
15604 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15605#endif
15606 }
15607 return pyobj;
15608}
15609
15610
c32bde28 15611static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
15612 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
15613 return 1;
15614}
15615
15616
093d3ff1 15617static PyObject *_wrap_ART_HELP_BOOK_get(void) {
d55e5bfc
RD
15618 PyObject *pyobj;
15619
15620 {
15621#if wxUSE_UNICODE
15622 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15623#else
15624 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15625#endif
15626 }
15627 return pyobj;
15628}
15629
15630
c32bde28 15631static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
15632 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
15633 return 1;
15634}
15635
15636
093d3ff1 15637static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
d55e5bfc
RD
15638 PyObject *pyobj;
15639
15640 {
15641#if wxUSE_UNICODE
15642 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15643#else
15644 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15645#endif
15646 }
15647 return pyobj;
15648}
15649
15650
c32bde28 15651static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
15652 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
15653 return 1;
15654}
15655
15656
093d3ff1 15657static PyObject *_wrap_ART_HELP_PAGE_get(void) {
d55e5bfc
RD
15658 PyObject *pyobj;
15659
15660 {
15661#if wxUSE_UNICODE
15662 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15663#else
15664 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15665#endif
15666 }
15667 return pyobj;
15668}
15669
15670
c32bde28 15671static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
15672 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
15673 return 1;
15674}
15675
15676
093d3ff1 15677static PyObject *_wrap_ART_GO_BACK_get(void) {
d55e5bfc
RD
15678 PyObject *pyobj;
15679
15680 {
15681#if wxUSE_UNICODE
15682 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15683#else
15684 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15685#endif
15686 }
15687 return pyobj;
15688}
15689
15690
c32bde28 15691static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
15692 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
15693 return 1;
15694}
15695
15696
093d3ff1 15697static PyObject *_wrap_ART_GO_FORWARD_get(void) {
d55e5bfc
RD
15698 PyObject *pyobj;
15699
15700 {
15701#if wxUSE_UNICODE
15702 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15703#else
15704 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15705#endif
15706 }
15707 return pyobj;
15708}
15709
15710
c32bde28 15711static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
15712 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
15713 return 1;
15714}
15715
15716
093d3ff1 15717static PyObject *_wrap_ART_GO_UP_get(void) {
d55e5bfc
RD
15718 PyObject *pyobj;
15719
15720 {
15721#if wxUSE_UNICODE
15722 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15723#else
15724 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15725#endif
15726 }
15727 return pyobj;
15728}
15729
15730
c32bde28 15731static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
15732 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
15733 return 1;
15734}
15735
15736
093d3ff1 15737static PyObject *_wrap_ART_GO_DOWN_get(void) {
d55e5bfc
RD
15738 PyObject *pyobj;
15739
15740 {
15741#if wxUSE_UNICODE
15742 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15743#else
15744 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15745#endif
15746 }
15747 return pyobj;
15748}
15749
15750
c32bde28 15751static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
15752 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
15753 return 1;
15754}
15755
15756
093d3ff1 15757static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
d55e5bfc
RD
15758 PyObject *pyobj;
15759
15760 {
15761#if wxUSE_UNICODE
15762 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15763#else
15764 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15765#endif
15766 }
15767 return pyobj;
15768}
15769
15770
c32bde28 15771static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
15772 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
15773 return 1;
15774}
15775
15776
093d3ff1 15777static PyObject *_wrap_ART_GO_HOME_get(void) {
d55e5bfc
RD
15778 PyObject *pyobj;
15779
15780 {
15781#if wxUSE_UNICODE
15782 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15783#else
15784 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15785#endif
15786 }
15787 return pyobj;
15788}
15789
15790
c32bde28 15791static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
15792 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
15793 return 1;
15794}
15795
15796
093d3ff1 15797static PyObject *_wrap_ART_FILE_OPEN_get(void) {
d55e5bfc
RD
15798 PyObject *pyobj;
15799
15800 {
15801#if wxUSE_UNICODE
15802 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15803#else
15804 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15805#endif
15806 }
15807 return pyobj;
15808}
15809
15810
68350608
RD
15811static int _wrap_ART_FILE_SAVE_set(PyObject *) {
15812 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
15813 return 1;
15814}
15815
15816
15817static PyObject *_wrap_ART_FILE_SAVE_get(void) {
15818 PyObject *pyobj;
15819
15820 {
15821#if wxUSE_UNICODE
15822 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15823#else
15824 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15825#endif
15826 }
15827 return pyobj;
15828}
15829
15830
15831static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
15832 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
15833 return 1;
15834}
15835
15836
15837static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
15838 PyObject *pyobj;
15839
15840 {
15841#if wxUSE_UNICODE
15842 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15843#else
15844 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15845#endif
15846 }
15847 return pyobj;
15848}
15849
15850
c32bde28 15851static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
15852 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
15853 return 1;
15854}
15855
15856
093d3ff1 15857static PyObject *_wrap_ART_PRINT_get(void) {
d55e5bfc
RD
15858 PyObject *pyobj;
15859
15860 {
15861#if wxUSE_UNICODE
15862 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15863#else
15864 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15865#endif
15866 }
15867 return pyobj;
15868}
15869
15870
c32bde28 15871static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
15872 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
15873 return 1;
15874}
15875
15876
093d3ff1 15877static PyObject *_wrap_ART_HELP_get(void) {
d55e5bfc
RD
15878 PyObject *pyobj;
15879
15880 {
15881#if wxUSE_UNICODE
15882 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15883#else
15884 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15885#endif
15886 }
15887 return pyobj;
15888}
15889
15890
c32bde28 15891static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
15892 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
15893 return 1;
15894}
15895
15896
093d3ff1 15897static PyObject *_wrap_ART_TIP_get(void) {
d55e5bfc
RD
15898 PyObject *pyobj;
15899
15900 {
15901#if wxUSE_UNICODE
15902 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15903#else
15904 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15905#endif
15906 }
15907 return pyobj;
15908}
15909
15910
c32bde28 15911static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
15912 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
15913 return 1;
15914}
15915
15916
093d3ff1 15917static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
d55e5bfc
RD
15918 PyObject *pyobj;
15919
15920 {
15921#if wxUSE_UNICODE
15922 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
15923#else
15924 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
15925#endif
15926 }
15927 return pyobj;
15928}
15929
15930
c32bde28 15931static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
15932 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
15933 return 1;
15934}
15935
15936
093d3ff1 15937static PyObject *_wrap_ART_LIST_VIEW_get(void) {
d55e5bfc
RD
15938 PyObject *pyobj;
15939
15940 {
15941#if wxUSE_UNICODE
15942 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
15943#else
15944 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
15945#endif
15946 }
15947 return pyobj;
15948}
15949
15950
c32bde28 15951static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
15952 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
15953 return 1;
15954}
15955
15956
093d3ff1 15957static PyObject *_wrap_ART_NEW_DIR_get(void) {
d55e5bfc
RD
15958 PyObject *pyobj;
15959
15960 {
15961#if wxUSE_UNICODE
15962 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
15963#else
15964 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
15965#endif
15966 }
15967 return pyobj;
15968}
15969
15970
f78cc896
RD
15971static int _wrap_ART_HARDDISK_set(PyObject *) {
15972 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
15973 return 1;
15974}
15975
15976
093d3ff1 15977static PyObject *_wrap_ART_HARDDISK_get(void) {
f78cc896
RD
15978 PyObject *pyobj;
15979
15980 {
15981#if wxUSE_UNICODE
15982 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
15983#else
15984 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
15985#endif
15986 }
15987 return pyobj;
15988}
15989
15990
15991static int _wrap_ART_FLOPPY_set(PyObject *) {
15992 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
15993 return 1;
15994}
15995
15996
093d3ff1 15997static PyObject *_wrap_ART_FLOPPY_get(void) {
f78cc896
RD
15998 PyObject *pyobj;
15999
16000 {
16001#if wxUSE_UNICODE
16002 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16003#else
16004 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16005#endif
16006 }
16007 return pyobj;
16008}
16009
16010
16011static int _wrap_ART_CDROM_set(PyObject *) {
16012 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
16013 return 1;
16014}
16015
16016
093d3ff1 16017static PyObject *_wrap_ART_CDROM_get(void) {
f78cc896
RD
16018 PyObject *pyobj;
16019
16020 {
16021#if wxUSE_UNICODE
16022 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16023#else
16024 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16025#endif
16026 }
16027 return pyobj;
16028}
16029
16030
16031static int _wrap_ART_REMOVABLE_set(PyObject *) {
16032 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
16033 return 1;
16034}
16035
16036
093d3ff1 16037static PyObject *_wrap_ART_REMOVABLE_get(void) {
f78cc896
RD
16038 PyObject *pyobj;
16039
16040 {
16041#if wxUSE_UNICODE
16042 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16043#else
16044 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16045#endif
16046 }
16047 return pyobj;
16048}
16049
16050
c32bde28 16051static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
16052 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
16053 return 1;
16054}
16055
16056
093d3ff1 16057static PyObject *_wrap_ART_FOLDER_get(void) {
d55e5bfc
RD
16058 PyObject *pyobj;
16059
16060 {
16061#if wxUSE_UNICODE
16062 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16063#else
16064 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16065#endif
16066 }
16067 return pyobj;
16068}
16069
16070
f78cc896
RD
16071static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
16072 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
16073 return 1;
16074}
16075
16076
093d3ff1 16077static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
f78cc896
RD
16078 PyObject *pyobj;
16079
16080 {
16081#if wxUSE_UNICODE
16082 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16083#else
16084 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16085#endif
16086 }
16087 return pyobj;
16088}
16089
16090
c32bde28 16091static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
16092 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
16093 return 1;
16094}
16095
16096
093d3ff1 16097static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
d55e5bfc
RD
16098 PyObject *pyobj;
16099
16100 {
16101#if wxUSE_UNICODE
16102 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16103#else
16104 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16105#endif
16106 }
16107 return pyobj;
16108}
16109
16110
c32bde28 16111static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
16112 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
16113 return 1;
16114}
16115
16116
093d3ff1 16117static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
d55e5bfc
RD
16118 PyObject *pyobj;
16119
16120 {
16121#if wxUSE_UNICODE
16122 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16123#else
16124 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16125#endif
16126 }
16127 return pyobj;
16128}
16129
16130
c32bde28 16131static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
16132 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
16133 return 1;
16134}
16135
16136
093d3ff1 16137static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
d55e5bfc
RD
16138 PyObject *pyobj;
16139
16140 {
16141#if wxUSE_UNICODE
16142 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16143#else
16144 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16145#endif
16146 }
16147 return pyobj;
16148}
16149
16150
c32bde28 16151static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
16152 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
16153 return 1;
16154}
16155
16156
093d3ff1 16157static PyObject *_wrap_ART_TICK_MARK_get(void) {
d55e5bfc
RD
16158 PyObject *pyobj;
16159
16160 {
16161#if wxUSE_UNICODE
16162 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16163#else
16164 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16165#endif
16166 }
16167 return pyobj;
16168}
16169
16170
c32bde28 16171static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
16172 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
16173 return 1;
16174}
16175
16176
093d3ff1 16177static PyObject *_wrap_ART_CROSS_MARK_get(void) {
d55e5bfc
RD
16178 PyObject *pyobj;
16179
16180 {
16181#if wxUSE_UNICODE
16182 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16183#else
16184 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16185#endif
16186 }
16187 return pyobj;
16188}
16189
16190
c32bde28 16191static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
16192 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
16193 return 1;
16194}
16195
16196
093d3ff1 16197static PyObject *_wrap_ART_ERROR_get(void) {
d55e5bfc
RD
16198 PyObject *pyobj;
16199
16200 {
16201#if wxUSE_UNICODE
16202 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16203#else
16204 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16205#endif
16206 }
16207 return pyobj;
16208}
16209
16210
c32bde28 16211static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
16212 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
16213 return 1;
16214}
16215
16216
093d3ff1 16217static PyObject *_wrap_ART_QUESTION_get(void) {
d55e5bfc
RD
16218 PyObject *pyobj;
16219
16220 {
16221#if wxUSE_UNICODE
16222 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16223#else
16224 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16225#endif
16226 }
16227 return pyobj;
16228}
16229
16230
c32bde28 16231static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
16232 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
16233 return 1;
16234}
16235
16236
093d3ff1 16237static PyObject *_wrap_ART_WARNING_get(void) {
d55e5bfc
RD
16238 PyObject *pyobj;
16239
16240 {
16241#if wxUSE_UNICODE
16242 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16243#else
16244 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16245#endif
16246 }
16247 return pyobj;
16248}
16249
16250
c32bde28 16251static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
16252 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
16253 return 1;
16254}
16255
16256
093d3ff1 16257static PyObject *_wrap_ART_INFORMATION_get(void) {
d55e5bfc
RD
16258 PyObject *pyobj;
16259
16260 {
16261#if wxUSE_UNICODE
16262 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16263#else
16264 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16265#endif
16266 }
16267 return pyobj;
16268}
16269
16270
c32bde28 16271static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
16272 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
16273 return 1;
16274}
16275
16276
093d3ff1 16277static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
d55e5bfc
RD
16278 PyObject *pyobj;
16279
16280 {
16281#if wxUSE_UNICODE
16282 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16283#else
16284 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16285#endif
16286 }
16287 return pyobj;
16288}
16289
16290
68350608
RD
16291static int _wrap_ART_COPY_set(PyObject *) {
16292 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
16293 return 1;
16294}
16295
16296
16297static PyObject *_wrap_ART_COPY_get(void) {
16298 PyObject *pyobj;
16299
16300 {
16301#if wxUSE_UNICODE
16302 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16303#else
16304 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16305#endif
16306 }
16307 return pyobj;
16308}
16309
16310
16311static int _wrap_ART_CUT_set(PyObject *) {
16312 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
16313 return 1;
16314}
16315
16316
16317static PyObject *_wrap_ART_CUT_get(void) {
16318 PyObject *pyobj;
16319
16320 {
16321#if wxUSE_UNICODE
16322 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16323#else
16324 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16325#endif
16326 }
16327 return pyobj;
16328}
16329
16330
16331static int _wrap_ART_PASTE_set(PyObject *) {
16332 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
16333 return 1;
16334}
16335
16336
16337static PyObject *_wrap_ART_PASTE_get(void) {
16338 PyObject *pyobj;
16339
16340 {
16341#if wxUSE_UNICODE
16342 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16343#else
16344 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16345#endif
16346 }
16347 return pyobj;
16348}
16349
16350
16351static int _wrap_ART_DELETE_set(PyObject *) {
16352 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
16353 return 1;
16354}
16355
16356
16357static PyObject *_wrap_ART_DELETE_get(void) {
16358 PyObject *pyobj;
16359
16360 {
16361#if wxUSE_UNICODE
16362 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16363#else
16364 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16365#endif
16366 }
16367 return pyobj;
16368}
16369
16370
16371static int _wrap_ART_UNDO_set(PyObject *) {
16372 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
16373 return 1;
16374}
16375
16376
16377static PyObject *_wrap_ART_UNDO_get(void) {
16378 PyObject *pyobj;
16379
16380 {
16381#if wxUSE_UNICODE
16382 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16383#else
16384 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16385#endif
16386 }
16387 return pyobj;
16388}
16389
16390
16391static int _wrap_ART_REDO_set(PyObject *) {
16392 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
16393 return 1;
16394}
16395
16396
16397static PyObject *_wrap_ART_REDO_get(void) {
16398 PyObject *pyobj;
16399
16400 {
16401#if wxUSE_UNICODE
16402 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16403#else
16404 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16405#endif
16406 }
16407 return pyobj;
16408}
16409
16410
16411static int _wrap_ART_QUIT_set(PyObject *) {
16412 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
16413 return 1;
16414}
16415
16416
16417static PyObject *_wrap_ART_QUIT_get(void) {
16418 PyObject *pyobj;
16419
16420 {
16421#if wxUSE_UNICODE
16422 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16423#else
16424 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16425#endif
16426 }
16427 return pyobj;
16428}
16429
16430
16431static int _wrap_ART_FIND_set(PyObject *) {
16432 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
16433 return 1;
16434}
16435
16436
16437static PyObject *_wrap_ART_FIND_get(void) {
16438 PyObject *pyobj;
16439
16440 {
16441#if wxUSE_UNICODE
16442 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16443#else
16444 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16445#endif
16446 }
16447 return pyobj;
16448}
16449
16450
16451static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
16452 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
16453 return 1;
16454}
16455
16456
16457static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
16458 PyObject *pyobj;
16459
16460 {
16461#if wxUSE_UNICODE
16462 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16463#else
16464 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16465#endif
16466 }
16467 return pyobj;
16468}
16469
16470
c32bde28 16471static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16472 PyObject *resultobj;
16473 wxPyArtProvider *result;
16474 char *kwnames[] = {
16475 NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
16479 {
0439c23b 16480 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (wxPyArtProvider *)new wxPyArtProvider();
16483
16484 wxPyEndAllowThreads(__tstate);
110da5b0 16485 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16486 }
16487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
16488 return resultobj;
16489 fail:
16490 return NULL;
16491}
16492
16493
c32bde28 16494static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16495 PyObject *resultobj;
16496 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16497 PyObject *arg2 = (PyObject *) 0 ;
16498 PyObject *arg3 = (PyObject *) 0 ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 PyObject * obj2 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "self",(char *) "_class", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16509 arg2 = obj1;
16510 arg3 = obj2;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->_setCallbackInfo(arg2,arg3);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522}
16523
16524
c32bde28 16525static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16526 PyObject *resultobj;
16527 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "provider", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 wxPyArtProvider::PushProvider(arg1);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 Py_INCREF(Py_None); resultobj = Py_None;
16544 return resultobj;
16545 fail:
16546 return NULL;
16547}
16548
16549
c32bde28 16550static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16551 PyObject *resultobj;
16552 bool result;
16553 char *kwnames[] = {
16554 NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (bool)wxPyArtProvider::PopProvider();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16567 }
16568 return resultobj;
16569 fail:
16570 return NULL;
16571}
16572
16573
c32bde28 16574static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16575 PyObject *resultobj;
16576 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16577 bool result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "provider", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16595 }
16596 return resultobj;
16597 fail:
16598 return NULL;
16599}
16600
16601
c32bde28 16602static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16603 PyObject *resultobj;
16604 wxString *arg1 = 0 ;
16605 wxString const &arg2_defvalue = wxPyART_OTHER ;
16606 wxString *arg2 = (wxString *) &arg2_defvalue ;
16607 wxSize const &arg3_defvalue = wxDefaultSize ;
16608 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16609 wxBitmap result;
ae8162c8
RD
16610 bool temp1 = false ;
16611 bool temp2 = false ;
d55e5bfc
RD
16612 wxSize temp3 ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj1 = 0 ;
16615 PyObject * obj2 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "id",(char *) "client",(char *) "size", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
16621 {
16622 arg1 = wxString_in_helper(obj0);
16623 if (arg1 == NULL) SWIG_fail;
ae8162c8 16624 temp1 = true;
d55e5bfc
RD
16625 }
16626 if (obj1) {
16627 {
16628 arg2 = wxString_in_helper(obj1);
16629 if (arg2 == NULL) SWIG_fail;
ae8162c8 16630 temp2 = true;
d55e5bfc
RD
16631 }
16632 }
16633 if (obj2) {
16634 {
16635 arg3 = &temp3;
16636 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16637 }
16638 }
16639 {
0439c23b 16640 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16643
16644 wxPyEndAllowThreads(__tstate);
110da5b0 16645 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16646 }
16647 {
16648 wxBitmap * resultptr;
093d3ff1 16649 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
16650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16651 }
16652 {
16653 if (temp1)
16654 delete arg1;
16655 }
16656 {
16657 if (temp2)
16658 delete arg2;
16659 }
16660 return resultobj;
16661 fail:
16662 {
16663 if (temp1)
16664 delete arg1;
16665 }
16666 {
16667 if (temp2)
16668 delete arg2;
16669 }
16670 return NULL;
16671}
16672
16673
c32bde28 16674static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16675 PyObject *resultobj;
16676 wxString *arg1 = 0 ;
16677 wxString const &arg2_defvalue = wxPyART_OTHER ;
16678 wxString *arg2 = (wxString *) &arg2_defvalue ;
16679 wxSize const &arg3_defvalue = wxDefaultSize ;
16680 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16681 wxIcon result;
ae8162c8
RD
16682 bool temp1 = false ;
16683 bool temp2 = false ;
d55e5bfc
RD
16684 wxSize temp3 ;
16685 PyObject * obj0 = 0 ;
16686 PyObject * obj1 = 0 ;
16687 PyObject * obj2 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "id",(char *) "client",(char *) "size", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
16693 {
16694 arg1 = wxString_in_helper(obj0);
16695 if (arg1 == NULL) SWIG_fail;
ae8162c8 16696 temp1 = true;
d55e5bfc
RD
16697 }
16698 if (obj1) {
16699 {
16700 arg2 = wxString_in_helper(obj1);
16701 if (arg2 == NULL) SWIG_fail;
ae8162c8 16702 temp2 = true;
d55e5bfc
RD
16703 }
16704 }
16705 if (obj2) {
16706 {
16707 arg3 = &temp3;
16708 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16709 }
16710 }
16711 {
0439c23b 16712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16715
16716 wxPyEndAllowThreads(__tstate);
110da5b0 16717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16718 }
16719 {
16720 wxIcon * resultptr;
093d3ff1 16721 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
16722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
16723 }
16724 {
16725 if (temp1)
16726 delete arg1;
16727 }
16728 {
16729 if (temp2)
16730 delete arg2;
16731 }
16732 return resultobj;
16733 fail:
16734 {
16735 if (temp1)
16736 delete arg1;
16737 }
16738 {
16739 if (temp2)
16740 delete arg2;
16741 }
16742 return NULL;
16743}
16744
16745
9c874b48
RD
16746static PyObject *_wrap_ArtProvider_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxString *arg1 = 0 ;
16749 bool arg2 = (bool) false ;
16750 wxSize result;
16751 bool temp1 = false ;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "client",(char *) "platform_dependent", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSize",kwnames,&obj0,&obj1)) goto fail;
16759 {
16760 arg1 = wxString_in_helper(obj0);
16761 if (arg1 == NULL) SWIG_fail;
16762 temp1 = true;
16763 }
16764 if (obj1) {
16765 {
16766 arg2 = (bool)(SWIG_As_bool(obj1));
16767 if (SWIG_arg_fail(2)) SWIG_fail;
16768 }
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = wxPyArtProvider::GetSize((wxString const &)*arg1,arg2);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 {
16778 wxSize * resultptr;
16779 resultptr = new wxSize((wxSize &)(result));
16780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16781 }
16782 {
16783 if (temp1)
16784 delete arg1;
16785 }
16786 return resultobj;
16787 fail:
16788 {
16789 if (temp1)
16790 delete arg1;
16791 }
16792 return NULL;
16793}
16794
16795
c32bde28 16796static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16797 PyObject *resultobj;
16798 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
16805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 wxPyArtProvider_Destroy(arg1);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 Py_INCREF(Py_None); resultobj = Py_None;
16815 return resultobj;
16816 fail:
16817 return NULL;
16818}
16819
16820
c32bde28 16821static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16822 PyObject *obj;
16823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16824 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
16825 Py_INCREF(obj);
16826 return Py_BuildValue((char *)"");
16827}
c32bde28 16828static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16829 PyObject *resultobj;
16830 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
16837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 delete arg1;
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 Py_INCREF(Py_None); resultobj = Py_None;
16847 return resultobj;
16848 fail:
16849 return NULL;
16850}
16851
16852
c32bde28 16853static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16854 PyObject *resultobj;
16855 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16856 wxConfigBase *result;
16857 PyObject * obj0 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "config", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
093d3ff1
RD
16863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (wxConfigBase *)wxConfigBase::Set(arg1);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16873 return resultobj;
16874 fail:
16875 return NULL;
16876}
16877
16878
c32bde28 16879static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16880 PyObject *resultobj;
ae8162c8 16881 bool arg1 = (bool) true ;
d55e5bfc
RD
16882 wxConfigBase *result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "createOnDemand", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
16889 if (obj0) {
093d3ff1
RD
16890 {
16891 arg1 = (bool)(SWIG_As_bool(obj0));
16892 if (SWIG_arg_fail(1)) SWIG_fail;
16893 }
d55e5bfc
RD
16894 }
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (wxConfigBase *)wxConfigBase::Get(arg1);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
c32bde28 16909static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16910 PyObject *resultobj;
16911 wxConfigBase *result;
16912 char *kwnames[] = {
16913 NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 result = (wxConfigBase *)wxConfigBase::Create();
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16925 return resultobj;
16926 fail:
16927 return NULL;
16928}
16929
16930
c32bde28 16931static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16932 PyObject *resultobj;
16933 char *kwnames[] = {
16934 NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 wxConfigBase::DontCreateOnDemand();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949}
16950
16951
c32bde28 16952static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16953 PyObject *resultobj;
16954 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16955 wxString *arg2 = 0 ;
ae8162c8 16956 bool temp2 = false ;
d55e5bfc
RD
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "path", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16966 {
16967 arg2 = wxString_in_helper(obj1);
16968 if (arg2 == NULL) SWIG_fail;
ae8162c8 16969 temp2 = true;
d55e5bfc
RD
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->SetPath((wxString const &)*arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 {
16980 if (temp2)
16981 delete arg2;
16982 }
16983 return resultobj;
16984 fail:
16985 {
16986 if (temp2)
16987 delete arg2;
16988 }
16989 return NULL;
16990}
16991
16992
c32bde28 16993static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16994 PyObject *resultobj;
16995 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16996 wxString *result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
17003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 {
17008 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
17009 result = (wxString *) &_result_ref;
17010 }
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016#if wxUSE_UNICODE
17017 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17018#else
17019 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17020#endif
17021 }
17022 return resultobj;
17023 fail:
17024 return NULL;
17025}
17026
17027
c32bde28 17028static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17029 PyObject *resultobj;
17030 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17031 PyObject *result;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
17038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 resultobj = result;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051}
17052
17053
c32bde28 17054static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17055 PyObject *resultobj;
17056 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17057 long arg2 ;
17058 PyObject *result;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "index", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail;
17068 {
17069 arg2 = (long)(SWIG_As_long(obj1));
17070 if (SWIG_arg_fail(2)) SWIG_fail;
17071 }
d55e5bfc
RD
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = result;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
c32bde28 17086static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17087 PyObject *resultobj;
17088 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17089 PyObject *result;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
17096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
17101
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 resultobj = result;
17106 return resultobj;
17107 fail:
17108 return NULL;
17109}
17110
17111
c32bde28 17112static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17113 PyObject *resultobj;
17114 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17115 long arg2 ;
17116 PyObject *result;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self",(char *) "index", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail;
17126 {
17127 arg2 = (long)(SWIG_As_long(obj1));
17128 if (SWIG_arg_fail(2)) SWIG_fail;
17129 }
d55e5bfc
RD
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 resultobj = result;
17138 return resultobj;
17139 fail:
17140 return NULL;
17141}
17142
17143
c32bde28 17144static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17145 PyObject *resultobj;
17146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17147 bool arg2 = (bool) false ;
d55e5bfc
RD
17148 size_t result;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "recursive", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17158 if (obj1) {
093d3ff1
RD
17159 {
17160 arg2 = (bool)(SWIG_As_bool(obj1));
17161 if (SWIG_arg_fail(2)) SWIG_fail;
17162 }
d55e5bfc
RD
17163 }
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
093d3ff1
RD
17171 {
17172 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17173 }
d55e5bfc
RD
17174 return resultobj;
17175 fail:
17176 return NULL;
17177}
17178
17179
c32bde28 17180static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17181 PyObject *resultobj;
17182 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17183 bool arg2 = (bool) false ;
d55e5bfc
RD
17184 size_t result;
17185 PyObject * obj0 = 0 ;
17186 PyObject * obj1 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "recursive", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17194 if (obj1) {
093d3ff1
RD
17195 {
17196 arg2 = (bool)(SWIG_As_bool(obj1));
17197 if (SWIG_arg_fail(2)) SWIG_fail;
17198 }
d55e5bfc
RD
17199 }
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
093d3ff1
RD
17207 {
17208 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17209 }
d55e5bfc
RD
17210 return resultobj;
17211 fail:
17212 return NULL;
17213}
17214
17215
c32bde28 17216static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17217 PyObject *resultobj;
17218 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17219 wxString *arg2 = 0 ;
17220 bool result;
ae8162c8 17221 bool temp2 = false ;
d55e5bfc
RD
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "name", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17231 {
17232 arg2 = wxString_in_helper(obj1);
17233 if (arg2 == NULL) SWIG_fail;
ae8162c8 17234 temp2 = true;
d55e5bfc
RD
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17245 }
17246 {
17247 if (temp2)
17248 delete arg2;
17249 }
17250 return resultobj;
17251 fail:
17252 {
17253 if (temp2)
17254 delete arg2;
17255 }
17256 return NULL;
17257}
17258
17259
c32bde28 17260static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17261 PyObject *resultobj;
17262 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17263 wxString *arg2 = 0 ;
17264 bool result;
ae8162c8 17265 bool temp2 = false ;
d55e5bfc
RD
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self",(char *) "name", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17275 {
17276 arg2 = wxString_in_helper(obj1);
17277 if (arg2 == NULL) SWIG_fail;
ae8162c8 17278 temp2 = true;
d55e5bfc
RD
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
17283
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 {
17288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17289 }
17290 {
17291 if (temp2)
17292 delete arg2;
17293 }
17294 return resultobj;
17295 fail:
17296 {
17297 if (temp2)
17298 delete arg2;
17299 }
17300 return NULL;
17301}
17302
17303
c32bde28 17304static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17305 PyObject *resultobj;
17306 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17307 wxString *arg2 = 0 ;
17308 bool result;
ae8162c8 17309 bool temp2 = false ;
d55e5bfc
RD
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self",(char *) "name", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17319 {
17320 arg2 = wxString_in_helper(obj1);
17321 if (arg2 == NULL) SWIG_fail;
ae8162c8 17322 temp2 = true;
d55e5bfc
RD
17323 }
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17333 }
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp2)
17342 delete arg2;
17343 }
17344 return NULL;
17345}
17346
17347
c32bde28 17348static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17349 PyObject *resultobj;
17350 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17351 wxString *arg2 = 0 ;
093d3ff1 17352 wxConfigBase::EntryType result;
ae8162c8 17353 bool temp2 = false ;
d55e5bfc
RD
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "name", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17363 {
17364 arg2 = wxString_in_helper(obj1);
17365 if (arg2 == NULL) SWIG_fail;
ae8162c8 17366 temp2 = true;
d55e5bfc
RD
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17370 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
093d3ff1 17375 resultobj = SWIG_From_int((result));
d55e5bfc
RD
17376 {
17377 if (temp2)
17378 delete arg2;
17379 }
17380 return resultobj;
17381 fail:
17382 {
17383 if (temp2)
17384 delete arg2;
17385 }
17386 return NULL;
17387}
17388
17389
c32bde28 17390static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17391 PyObject *resultobj;
17392 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17393 wxString *arg2 = 0 ;
17394 wxString const &arg3_defvalue = wxPyEmptyString ;
17395 wxString *arg3 = (wxString *) &arg3_defvalue ;
17396 wxString result;
ae8162c8
RD
17397 bool temp2 = false ;
17398 bool temp3 = false ;
d55e5bfc
RD
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17409 {
17410 arg2 = wxString_in_helper(obj1);
17411 if (arg2 == NULL) SWIG_fail;
ae8162c8 17412 temp2 = true;
d55e5bfc
RD
17413 }
17414 if (obj2) {
17415 {
17416 arg3 = wxString_in_helper(obj2);
17417 if (arg3 == NULL) SWIG_fail;
ae8162c8 17418 temp3 = true;
d55e5bfc
RD
17419 }
17420 }
17421 {
17422 PyThreadState* __tstate = wxPyBeginAllowThreads();
17423 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
17424
17425 wxPyEndAllowThreads(__tstate);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 {
17429#if wxUSE_UNICODE
17430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17431#else
17432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17433#endif
17434 }
17435 {
17436 if (temp2)
17437 delete arg2;
17438 }
17439 {
17440 if (temp3)
17441 delete arg3;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (temp2)
17447 delete arg2;
17448 }
17449 {
17450 if (temp3)
17451 delete arg3;
17452 }
17453 return NULL;
17454}
17455
17456
c32bde28 17457static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17458 PyObject *resultobj;
17459 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17460 wxString *arg2 = 0 ;
17461 long arg3 = (long) 0 ;
17462 long result;
ae8162c8 17463 bool temp2 = false ;
d55e5bfc
RD
17464 PyObject * obj0 = 0 ;
17465 PyObject * obj1 = 0 ;
17466 PyObject * obj2 = 0 ;
17467 char *kwnames[] = {
17468 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17469 };
17470
17471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17474 {
17475 arg2 = wxString_in_helper(obj1);
17476 if (arg2 == NULL) SWIG_fail;
ae8162c8 17477 temp2 = true;
d55e5bfc
RD
17478 }
17479 if (obj2) {
093d3ff1
RD
17480 {
17481 arg3 = (long)(SWIG_As_long(obj2));
17482 if (SWIG_arg_fail(3)) SWIG_fail;
17483 }
d55e5bfc
RD
17484 }
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
093d3ff1
RD
17492 {
17493 resultobj = SWIG_From_long((long)(result));
17494 }
d55e5bfc
RD
17495 {
17496 if (temp2)
17497 delete arg2;
17498 }
17499 return resultobj;
17500 fail:
17501 {
17502 if (temp2)
17503 delete arg2;
17504 }
17505 return NULL;
17506}
17507
17508
c32bde28 17509static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17510 PyObject *resultobj;
17511 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17512 wxString *arg2 = 0 ;
17513 double arg3 = (double) 0.0 ;
17514 double result;
ae8162c8 17515 bool temp2 = false ;
d55e5bfc
RD
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 PyObject * obj2 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17526 {
17527 arg2 = wxString_in_helper(obj1);
17528 if (arg2 == NULL) SWIG_fail;
ae8162c8 17529 temp2 = true;
d55e5bfc
RD
17530 }
17531 if (obj2) {
093d3ff1
RD
17532 {
17533 arg3 = (double)(SWIG_As_double(obj2));
17534 if (SWIG_arg_fail(3)) SWIG_fail;
17535 }
d55e5bfc
RD
17536 }
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
093d3ff1
RD
17544 {
17545 resultobj = SWIG_From_double((double)(result));
17546 }
d55e5bfc
RD
17547 {
17548 if (temp2)
17549 delete arg2;
17550 }
17551 return resultobj;
17552 fail:
17553 {
17554 if (temp2)
17555 delete arg2;
17556 }
17557 return NULL;
17558}
17559
17560
c32bde28 17561static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17562 PyObject *resultobj;
17563 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17564 wxString *arg2 = 0 ;
ae8162c8 17565 bool arg3 = (bool) false ;
d55e5bfc 17566 bool result;
ae8162c8 17567 bool temp2 = false ;
d55e5bfc
RD
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 PyObject * obj2 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17578 {
17579 arg2 = wxString_in_helper(obj1);
17580 if (arg2 == NULL) SWIG_fail;
ae8162c8 17581 temp2 = true;
d55e5bfc
RD
17582 }
17583 if (obj2) {
093d3ff1
RD
17584 {
17585 arg3 = (bool)(SWIG_As_bool(obj2));
17586 if (SWIG_arg_fail(3)) SWIG_fail;
17587 }
d55e5bfc
RD
17588 }
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 {
17597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17598 }
17599 {
17600 if (temp2)
17601 delete arg2;
17602 }
17603 return resultobj;
17604 fail:
17605 {
17606 if (temp2)
17607 delete arg2;
17608 }
17609 return NULL;
17610}
17611
17612
c32bde28 17613static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17614 PyObject *resultobj;
17615 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17616 wxString *arg2 = 0 ;
17617 wxString *arg3 = 0 ;
17618 bool result;
ae8162c8
RD
17619 bool temp2 = false ;
17620 bool temp3 = false ;
d55e5bfc
RD
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 PyObject * obj2 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self",(char *) "key",(char *) "value", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17631 {
17632 arg2 = wxString_in_helper(obj1);
17633 if (arg2 == NULL) SWIG_fail;
ae8162c8 17634 temp2 = true;
d55e5bfc
RD
17635 }
17636 {
17637 arg3 = wxString_in_helper(obj2);
17638 if (arg3 == NULL) SWIG_fail;
ae8162c8 17639 temp3 = true;
d55e5bfc
RD
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 {
17649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17650 }
17651 {
17652 if (temp2)
17653 delete arg2;
17654 }
17655 {
17656 if (temp3)
17657 delete arg3;
17658 }
17659 return resultobj;
17660 fail:
17661 {
17662 if (temp2)
17663 delete arg2;
17664 }
17665 {
17666 if (temp3)
17667 delete arg3;
17668 }
17669 return NULL;
17670}
17671
17672
c32bde28 17673static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17674 PyObject *resultobj;
17675 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17676 wxString *arg2 = 0 ;
17677 long arg3 ;
17678 bool result;
ae8162c8 17679 bool temp2 = false ;
d55e5bfc
RD
17680 PyObject * obj0 = 0 ;
17681 PyObject * obj1 = 0 ;
17682 PyObject * obj2 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "key",(char *) "value", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17690 {
17691 arg2 = wxString_in_helper(obj1);
17692 if (arg2 == NULL) SWIG_fail;
ae8162c8 17693 temp2 = true;
d55e5bfc 17694 }
093d3ff1
RD
17695 {
17696 arg3 = (long)(SWIG_As_long(obj2));
17697 if (SWIG_arg_fail(3)) SWIG_fail;
17698 }
d55e5bfc
RD
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 {
17707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17708 }
17709 {
17710 if (temp2)
17711 delete arg2;
17712 }
17713 return resultobj;
17714 fail:
17715 {
17716 if (temp2)
17717 delete arg2;
17718 }
17719 return NULL;
17720}
17721
17722
c32bde28 17723static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17724 PyObject *resultobj;
17725 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17726 wxString *arg2 = 0 ;
17727 double arg3 ;
17728 bool result;
ae8162c8 17729 bool temp2 = false ;
d55e5bfc
RD
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 PyObject * obj2 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "key",(char *) "value", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17740 {
17741 arg2 = wxString_in_helper(obj1);
17742 if (arg2 == NULL) SWIG_fail;
ae8162c8 17743 temp2 = true;
d55e5bfc 17744 }
093d3ff1
RD
17745 {
17746 arg3 = (double)(SWIG_As_double(obj2));
17747 if (SWIG_arg_fail(3)) SWIG_fail;
17748 }
d55e5bfc
RD
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 {
17757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17758 }
17759 {
17760 if (temp2)
17761 delete arg2;
17762 }
17763 return resultobj;
17764 fail:
17765 {
17766 if (temp2)
17767 delete arg2;
17768 }
17769 return NULL;
17770}
17771
17772
c32bde28 17773static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17774 PyObject *resultobj;
17775 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17776 wxString *arg2 = 0 ;
17777 bool arg3 ;
17778 bool result;
ae8162c8 17779 bool temp2 = false ;
d55e5bfc
RD
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 PyObject * obj2 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "key",(char *) "value", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17790 {
17791 arg2 = wxString_in_helper(obj1);
17792 if (arg2 == NULL) SWIG_fail;
ae8162c8 17793 temp2 = true;
d55e5bfc 17794 }
093d3ff1
RD
17795 {
17796 arg3 = (bool)(SWIG_As_bool(obj2));
17797 if (SWIG_arg_fail(3)) SWIG_fail;
17798 }
d55e5bfc
RD
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 {
17807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17808 }
17809 {
17810 if (temp2)
17811 delete arg2;
17812 }
17813 return resultobj;
17814 fail:
17815 {
17816 if (temp2)
17817 delete arg2;
17818 }
17819 return NULL;
17820}
17821
17822
c32bde28 17823static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17824 PyObject *resultobj;
17825 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17826 bool arg2 = (bool) false ;
d55e5bfc
RD
17827 bool result;
17828 PyObject * obj0 = 0 ;
17829 PyObject * obj1 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self",(char *) "currentOnly", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17837 if (obj1) {
093d3ff1
RD
17838 {
17839 arg2 = (bool)(SWIG_As_bool(obj1));
17840 if (SWIG_arg_fail(2)) SWIG_fail;
17841 }
d55e5bfc
RD
17842 }
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (bool)(arg1)->Flush(arg2);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 {
17851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17852 }
17853 return resultobj;
17854 fail:
17855 return NULL;
17856}
17857
17858
c32bde28 17859static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17860 PyObject *resultobj;
17861 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17862 wxString *arg2 = 0 ;
17863 wxString *arg3 = 0 ;
17864 bool result;
ae8162c8
RD
17865 bool temp2 = false ;
17866 bool temp3 = false ;
d55e5bfc
RD
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 PyObject * obj2 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17877 {
17878 arg2 = wxString_in_helper(obj1);
17879 if (arg2 == NULL) SWIG_fail;
ae8162c8 17880 temp2 = true;
d55e5bfc
RD
17881 }
17882 {
17883 arg3 = wxString_in_helper(obj2);
17884 if (arg3 == NULL) SWIG_fail;
ae8162c8 17885 temp3 = true;
d55e5bfc
RD
17886 }
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 {
17895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17896 }
17897 {
17898 if (temp2)
17899 delete arg2;
17900 }
17901 {
17902 if (temp3)
17903 delete arg3;
17904 }
17905 return resultobj;
17906 fail:
17907 {
17908 if (temp2)
17909 delete arg2;
17910 }
17911 {
17912 if (temp3)
17913 delete arg3;
17914 }
17915 return NULL;
17916}
17917
17918
c32bde28 17919static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17920 PyObject *resultobj;
17921 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17922 wxString *arg2 = 0 ;
17923 wxString *arg3 = 0 ;
17924 bool result;
ae8162c8
RD
17925 bool temp2 = false ;
17926 bool temp3 = false ;
d55e5bfc
RD
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 PyObject * obj2 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17937 {
17938 arg2 = wxString_in_helper(obj1);
17939 if (arg2 == NULL) SWIG_fail;
ae8162c8 17940 temp2 = true;
d55e5bfc
RD
17941 }
17942 {
17943 arg3 = wxString_in_helper(obj2);
17944 if (arg3 == NULL) SWIG_fail;
ae8162c8 17945 temp3 = true;
d55e5bfc
RD
17946 }
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 {
17955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17956 }
17957 {
17958 if (temp2)
17959 delete arg2;
17960 }
17961 {
17962 if (temp3)
17963 delete arg3;
17964 }
17965 return resultobj;
17966 fail:
17967 {
17968 if (temp2)
17969 delete arg2;
17970 }
17971 {
17972 if (temp3)
17973 delete arg3;
17974 }
17975 return NULL;
17976}
17977
17978
c32bde28 17979static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17980 PyObject *resultobj;
17981 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17982 wxString *arg2 = 0 ;
ae8162c8 17983 bool arg3 = (bool) true ;
d55e5bfc 17984 bool result;
ae8162c8 17985 bool temp2 = false ;
d55e5bfc
RD
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 PyObject * obj2 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17996 {
17997 arg2 = wxString_in_helper(obj1);
17998 if (arg2 == NULL) SWIG_fail;
ae8162c8 17999 temp2 = true;
d55e5bfc
RD
18000 }
18001 if (obj2) {
093d3ff1
RD
18002 {
18003 arg3 = (bool)(SWIG_As_bool(obj2));
18004 if (SWIG_arg_fail(3)) SWIG_fail;
18005 }
d55e5bfc
RD
18006 }
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 {
18015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18016 }
18017 {
18018 if (temp2)
18019 delete arg2;
18020 }
18021 return resultobj;
18022 fail:
18023 {
18024 if (temp2)
18025 delete arg2;
18026 }
18027 return NULL;
18028}
18029
18030
c32bde28 18031static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18032 PyObject *resultobj;
18033 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18034 wxString *arg2 = 0 ;
18035 bool result;
ae8162c8 18036 bool temp2 = false ;
d55e5bfc
RD
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "key", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18046 {
18047 arg2 = wxString_in_helper(obj1);
18048 if (arg2 == NULL) SWIG_fail;
ae8162c8 18049 temp2 = true;
d55e5bfc
RD
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 {
18059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18060 }
18061 {
18062 if (temp2)
18063 delete arg2;
18064 }
18065 return resultobj;
18066 fail:
18067 {
18068 if (temp2)
18069 delete arg2;
18070 }
18071 return NULL;
18072}
18073
18074
c32bde28 18075static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18076 PyObject *resultobj;
18077 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18078 bool result;
18079 PyObject * obj0 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
18085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (bool)(arg1)->DeleteAll();
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 {
18095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100}
18101
18102
c32bde28 18103static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18104 PyObject *resultobj;
18105 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18106 bool arg2 = (bool) true ;
d55e5bfc
RD
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj1 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "doIt", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18116 if (obj1) {
093d3ff1
RD
18117 {
18118 arg2 = (bool)(SWIG_As_bool(obj1));
18119 if (SWIG_arg_fail(2)) SWIG_fail;
18120 }
d55e5bfc
RD
18121 }
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 (arg1)->SetExpandEnvVars(arg2);
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 Py_INCREF(Py_None); resultobj = Py_None;
18130 return resultobj;
18131 fail:
18132 return NULL;
18133}
18134
18135
c32bde28 18136static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18137 PyObject *resultobj;
18138 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18139 bool result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
18146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
c32bde28 18164static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18165 PyObject *resultobj;
18166 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18167 bool arg2 = (bool) true ;
d55e5bfc
RD
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self",(char *) "doIt", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18177 if (obj1) {
093d3ff1
RD
18178 {
18179 arg2 = (bool)(SWIG_As_bool(obj1));
18180 if (SWIG_arg_fail(2)) SWIG_fail;
18181 }
d55e5bfc
RD
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 (arg1)->SetRecordDefaults(arg2);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 Py_INCREF(Py_None); resultobj = Py_None;
18191 return resultobj;
18192 fail:
18193 return NULL;
18194}
18195
18196
c32bde28 18197static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18198 PyObject *resultobj;
18199 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18200 bool result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
18207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 {
18217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18218 }
18219 return resultobj;
18220 fail:
18221 return NULL;
18222}
18223
18224
c32bde28 18225static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18226 PyObject *resultobj;
18227 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18228 wxString *arg2 = 0 ;
18229 wxString result;
ae8162c8 18230 bool temp2 = false ;
d55e5bfc
RD
18231 PyObject * obj0 = 0 ;
18232 PyObject * obj1 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self",(char *) "str", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18240 {
18241 arg2 = wxString_in_helper(obj1);
18242 if (arg2 == NULL) SWIG_fail;
ae8162c8 18243 temp2 = true;
d55e5bfc
RD
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253#if wxUSE_UNICODE
18254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18255#else
18256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18257#endif
18258 }
18259 {
18260 if (temp2)
18261 delete arg2;
18262 }
18263 return resultobj;
18264 fail:
18265 {
18266 if (temp2)
18267 delete arg2;
18268 }
18269 return NULL;
18270}
18271
18272
c32bde28 18273static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18274 PyObject *resultobj;
18275 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18276 wxString result;
18277 PyObject * obj0 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = ((wxConfigBase const *)arg1)->GetAppName();
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 {
18293#if wxUSE_UNICODE
18294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18295#else
18296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18297#endif
18298 }
18299 return resultobj;
18300 fail:
18301 return NULL;
18302}
18303
18304
c32bde28 18305static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18306 PyObject *resultobj;
18307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18308 wxString result;
18309 PyObject * obj0 = 0 ;
18310 char *kwnames[] = {
18311 (char *) "self", NULL
18312 };
18313
18314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = ((wxConfigBase const *)arg1)->GetVendorName();
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 {
18325#if wxUSE_UNICODE
18326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18327#else
18328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18329#endif
18330 }
18331 return resultobj;
18332 fail:
18333 return NULL;
18334}
18335
18336
c32bde28 18337static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18338 PyObject *resultobj;
18339 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18340 wxString *arg2 = 0 ;
ae8162c8 18341 bool temp2 = false ;
d55e5bfc
RD
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "appName", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18351 {
18352 arg2 = wxString_in_helper(obj1);
18353 if (arg2 == NULL) SWIG_fail;
ae8162c8 18354 temp2 = true;
d55e5bfc
RD
18355 }
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 (arg1)->SetAppName((wxString const &)*arg2);
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 Py_INCREF(Py_None); resultobj = Py_None;
18364 {
18365 if (temp2)
18366 delete arg2;
18367 }
18368 return resultobj;
18369 fail:
18370 {
18371 if (temp2)
18372 delete arg2;
18373 }
18374 return NULL;
18375}
18376
18377
c32bde28 18378static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18379 PyObject *resultobj;
18380 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18381 wxString *arg2 = 0 ;
ae8162c8 18382 bool temp2 = false ;
d55e5bfc
RD
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "vendorName", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18392 {
18393 arg2 = wxString_in_helper(obj1);
18394 if (arg2 == NULL) SWIG_fail;
ae8162c8 18395 temp2 = true;
d55e5bfc
RD
18396 }
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 (arg1)->SetVendorName((wxString const &)*arg2);
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 Py_INCREF(Py_None); resultobj = Py_None;
18405 {
18406 if (temp2)
18407 delete arg2;
18408 }
18409 return resultobj;
18410 fail:
18411 {
18412 if (temp2)
18413 delete arg2;
18414 }
18415 return NULL;
18416}
18417
18418
c32bde28 18419static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18420 PyObject *resultobj;
18421 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18422 long arg2 ;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self",(char *) "style", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail;
18432 {
18433 arg2 = (long)(SWIG_As_long(obj1));
18434 if (SWIG_arg_fail(2)) SWIG_fail;
18435 }
d55e5bfc
RD
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 (arg1)->SetStyle(arg2);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 Py_INCREF(Py_None); resultobj = Py_None;
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
c32bde28 18450static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18451 PyObject *resultobj;
18452 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18453 long result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (long)((wxConfigBase const *)arg1)->GetStyle();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
093d3ff1
RD
18469 {
18470 resultobj = SWIG_From_long((long)(result));
18471 }
d55e5bfc
RD
18472 return resultobj;
18473 fail:
18474 return NULL;
18475}
18476
18477
c32bde28 18478static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18479 PyObject *obj;
18480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18481 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
18482 Py_INCREF(obj);
18483 return Py_BuildValue((char *)"");
18484}
c32bde28 18485static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18486 PyObject *resultobj;
18487 wxString const &arg1_defvalue = wxPyEmptyString ;
18488 wxString *arg1 = (wxString *) &arg1_defvalue ;
18489 wxString const &arg2_defvalue = wxPyEmptyString ;
18490 wxString *arg2 = (wxString *) &arg2_defvalue ;
18491 wxString const &arg3_defvalue = wxPyEmptyString ;
18492 wxString *arg3 = (wxString *) &arg3_defvalue ;
18493 wxString const &arg4_defvalue = wxPyEmptyString ;
18494 wxString *arg4 = (wxString *) &arg4_defvalue ;
18495 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18496 wxConfig *result;
ae8162c8
RD
18497 bool temp1 = false ;
18498 bool temp2 = false ;
18499 bool temp3 = false ;
18500 bool temp4 = false ;
d55e5bfc
RD
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503 PyObject * obj2 = 0 ;
18504 PyObject * obj3 = 0 ;
18505 PyObject * obj4 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18511 if (obj0) {
18512 {
18513 arg1 = wxString_in_helper(obj0);
18514 if (arg1 == NULL) SWIG_fail;
ae8162c8 18515 temp1 = true;
d55e5bfc
RD
18516 }
18517 }
18518 if (obj1) {
18519 {
18520 arg2 = wxString_in_helper(obj1);
18521 if (arg2 == NULL) SWIG_fail;
ae8162c8 18522 temp2 = true;
d55e5bfc
RD
18523 }
18524 }
18525 if (obj2) {
18526 {
18527 arg3 = wxString_in_helper(obj2);
18528 if (arg3 == NULL) SWIG_fail;
ae8162c8 18529 temp3 = true;
d55e5bfc
RD
18530 }
18531 }
18532 if (obj3) {
18533 {
18534 arg4 = wxString_in_helper(obj3);
18535 if (arg4 == NULL) SWIG_fail;
ae8162c8 18536 temp4 = true;
d55e5bfc
RD
18537 }
18538 }
18539 if (obj4) {
093d3ff1
RD
18540 {
18541 arg5 = (long)(SWIG_As_long(obj4));
18542 if (SWIG_arg_fail(5)) SWIG_fail;
18543 }
d55e5bfc
RD
18544 }
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18548
18549 wxPyEndAllowThreads(__tstate);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 }
18552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
18553 {
18554 if (temp1)
18555 delete arg1;
18556 }
18557 {
18558 if (temp2)
18559 delete arg2;
18560 }
18561 {
18562 if (temp3)
18563 delete arg3;
18564 }
18565 {
18566 if (temp4)
18567 delete arg4;
18568 }
18569 return resultobj;
18570 fail:
18571 {
18572 if (temp1)
18573 delete arg1;
18574 }
18575 {
18576 if (temp2)
18577 delete arg2;
18578 }
18579 {
18580 if (temp3)
18581 delete arg3;
18582 }
18583 {
18584 if (temp4)
18585 delete arg4;
18586 }
18587 return NULL;
18588}
18589
18590
c32bde28 18591static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18592 PyObject *resultobj;
18593 wxConfig *arg1 = (wxConfig *) 0 ;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
18600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 delete arg1;
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613}
18614
18615
c32bde28 18616static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18617 PyObject *obj;
18618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18619 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
18620 Py_INCREF(obj);
18621 return Py_BuildValue((char *)"");
18622}
c32bde28 18623static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18624 PyObject *resultobj;
18625 wxString const &arg1_defvalue = wxPyEmptyString ;
18626 wxString *arg1 = (wxString *) &arg1_defvalue ;
18627 wxString const &arg2_defvalue = wxPyEmptyString ;
18628 wxString *arg2 = (wxString *) &arg2_defvalue ;
18629 wxString const &arg3_defvalue = wxPyEmptyString ;
18630 wxString *arg3 = (wxString *) &arg3_defvalue ;
18631 wxString const &arg4_defvalue = wxPyEmptyString ;
18632 wxString *arg4 = (wxString *) &arg4_defvalue ;
18633 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18634 wxFileConfig *result;
ae8162c8
RD
18635 bool temp1 = false ;
18636 bool temp2 = false ;
18637 bool temp3 = false ;
18638 bool temp4 = false ;
d55e5bfc
RD
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641 PyObject * obj2 = 0 ;
18642 PyObject * obj3 = 0 ;
18643 PyObject * obj4 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18649 if (obj0) {
18650 {
18651 arg1 = wxString_in_helper(obj0);
18652 if (arg1 == NULL) SWIG_fail;
ae8162c8 18653 temp1 = true;
d55e5bfc
RD
18654 }
18655 }
18656 if (obj1) {
18657 {
18658 arg2 = wxString_in_helper(obj1);
18659 if (arg2 == NULL) SWIG_fail;
ae8162c8 18660 temp2 = true;
d55e5bfc
RD
18661 }
18662 }
18663 if (obj2) {
18664 {
18665 arg3 = wxString_in_helper(obj2);
18666 if (arg3 == NULL) SWIG_fail;
ae8162c8 18667 temp3 = true;
d55e5bfc
RD
18668 }
18669 }
18670 if (obj3) {
18671 {
18672 arg4 = wxString_in_helper(obj3);
18673 if (arg4 == NULL) SWIG_fail;
ae8162c8 18674 temp4 = true;
d55e5bfc
RD
18675 }
18676 }
18677 if (obj4) {
093d3ff1
RD
18678 {
18679 arg5 = (long)(SWIG_As_long(obj4));
18680 if (SWIG_arg_fail(5)) SWIG_fail;
18681 }
d55e5bfc
RD
18682 }
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
18691 {
18692 if (temp1)
18693 delete arg1;
18694 }
18695 {
18696 if (temp2)
18697 delete arg2;
18698 }
18699 {
18700 if (temp3)
18701 delete arg3;
18702 }
18703 {
18704 if (temp4)
18705 delete arg4;
18706 }
18707 return resultobj;
18708 fail:
18709 {
18710 if (temp1)
18711 delete arg1;
18712 }
18713 {
18714 if (temp2)
18715 delete arg2;
18716 }
18717 {
18718 if (temp3)
18719 delete arg3;
18720 }
18721 {
18722 if (temp4)
18723 delete arg4;
18724 }
18725 return NULL;
18726}
18727
18728
c32bde28 18729static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18730 PyObject *resultobj;
18731 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
18738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 delete arg1;
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 Py_INCREF(Py_None); resultobj = Py_None;
18748 return resultobj;
18749 fail:
18750 return NULL;
18751}
18752
18753
c32bde28 18754static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18755 PyObject *obj;
18756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
18758 Py_INCREF(obj);
18759 return Py_BuildValue((char *)"");
18760}
c32bde28 18761static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18762 PyObject *resultobj;
18763 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18764 wxString *arg2 = 0 ;
18765 wxConfigPathChanger *result;
ae8162c8 18766 bool temp2 = false ;
d55e5bfc
RD
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "config",(char *) "entry", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18776 {
18777 arg2 = wxString_in_helper(obj1);
18778 if (arg2 == NULL) SWIG_fail;
ae8162c8 18779 temp2 = true;
d55e5bfc
RD
18780 }
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
18789 {
18790 if (temp2)
18791 delete arg2;
18792 }
18793 return resultobj;
18794 fail:
18795 {
18796 if (temp2)
18797 delete arg2;
18798 }
18799 return NULL;
18800}
18801
18802
c32bde28 18803static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18804 PyObject *resultobj;
18805 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
18812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 delete arg1;
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825}
18826
18827
c32bde28 18828static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18829 PyObject *resultobj;
18830 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18831 wxString *result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 {
18843 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
18844 result = (wxString *) &_result_ref;
18845 }
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 {
18851#if wxUSE_UNICODE
18852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18853#else
18854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18855#endif
18856 }
18857 return resultobj;
18858 fail:
18859 return NULL;
18860}
18861
18862
c32bde28 18863static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18864 PyObject *obj;
18865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18866 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
18867 Py_INCREF(obj);
18868 return Py_BuildValue((char *)"");
18869}
c32bde28 18870static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18871 PyObject *resultobj;
18872 wxString *arg1 = 0 ;
18873 wxString result;
ae8162c8 18874 bool temp1 = false ;
d55e5bfc
RD
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "sz", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
18881 {
18882 arg1 = wxString_in_helper(obj0);
18883 if (arg1 == NULL) SWIG_fail;
ae8162c8 18884 temp1 = true;
d55e5bfc
RD
18885 }
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 result = wxExpandEnvVars((wxString const &)*arg1);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 {
18894#if wxUSE_UNICODE
18895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18896#else
18897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18898#endif
18899 }
18900 {
18901 if (temp1)
18902 delete arg1;
18903 }
18904 return resultobj;
18905 fail:
18906 {
18907 if (temp1)
18908 delete arg1;
18909 }
18910 return NULL;
18911}
18912
18913
fef4c27a
RD
18914static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
18915 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
18916 return 1;
18917}
18918
18919
fef4c27a 18920static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
d55e5bfc
RD
18921 PyObject *pyobj;
18922
18923 {
18924#if wxUSE_UNICODE
fef4c27a 18925 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 18926#else
fef4c27a 18927 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
18928#endif
18929 }
18930 return pyobj;
18931}
18932
18933
fef4c27a
RD
18934static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
18935 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
18936 return 1;
18937}
18938
18939
fef4c27a 18940static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
d55e5bfc
RD
18941 PyObject *pyobj;
18942
18943 {
18944#if wxUSE_UNICODE
fef4c27a 18945 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 18946#else
fef4c27a 18947 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
18948#endif
18949 }
18950 return pyobj;
18951}
18952
18953
c32bde28 18954static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18955 PyObject *resultobj;
093d3ff1 18956 wxDateTime::Country arg1 ;
d55e5bfc
RD
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "country", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1
RD
18963 {
18964 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
18965 if (SWIG_arg_fail(1)) SWIG_fail;
18966 }
d55e5bfc
RD
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 wxDateTime::SetCountry((wxDateTime::Country )arg1);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978}
18979
18980
c32bde28 18981static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18982 PyObject *resultobj;
093d3ff1 18983 wxDateTime::Country result;
d55e5bfc
RD
18984 char *kwnames[] = {
18985 NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18991 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
093d3ff1 18996 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18997 return resultobj;
18998 fail:
18999 return NULL;
19000}
19001
19002
c32bde28 19003static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19004 PyObject *resultobj;
093d3ff1 19005 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19006 bool result;
19007 PyObject * obj0 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "country", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
19013 if (obj0) {
093d3ff1
RD
19014 {
19015 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19016 if (SWIG_arg_fail(1)) SWIG_fail;
19017 }
d55e5bfc
RD
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032}
19033
19034
c32bde28 19035static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19036 PyObject *resultobj;
093d3ff1 19037 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19038 int result;
19039 PyObject * obj0 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "cal", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
19045 if (obj0) {
093d3ff1
RD
19046 {
19047 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19048 if (SWIG_arg_fail(1)) SWIG_fail;
19049 }
d55e5bfc
RD
19050 }
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
093d3ff1
RD
19058 {
19059 resultobj = SWIG_From_int((int)(result));
19060 }
d55e5bfc
RD
19061 return resultobj;
19062 fail:
19063 return NULL;
19064}
19065
19066
c32bde28 19067static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19068 PyObject *resultobj;
19069 int arg1 ;
19070 int result;
19071 PyObject * obj0 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "year", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1
RD
19077 {
19078 arg1 = (int)(SWIG_As_int(obj0));
19079 if (SWIG_arg_fail(1)) SWIG_fail;
19080 }
d55e5bfc
RD
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 result = (int)wxDateTime::ConvertYearToBC(arg1);
19084
19085 wxPyEndAllowThreads(__tstate);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
093d3ff1
RD
19088 {
19089 resultobj = SWIG_From_int((int)(result));
19090 }
d55e5bfc
RD
19091 return resultobj;
19092 fail:
19093 return NULL;
19094}
19095
19096
c32bde28 19097static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19098 PyObject *resultobj;
093d3ff1
RD
19099 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19100 wxDateTime::Month result;
d55e5bfc
RD
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "cal", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
19107 if (obj0) {
093d3ff1
RD
19108 {
19109 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19110 if (SWIG_arg_fail(1)) SWIG_fail;
19111 }
d55e5bfc
RD
19112 }
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19115 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
d55e5bfc
RD
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
093d3ff1 19120 resultobj = SWIG_From_int((result));
d55e5bfc
RD
19121 return resultobj;
19122 fail:
19123 return NULL;
19124}
19125
19126
c32bde28 19127static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19128 PyObject *resultobj;
19129 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19130 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19131 bool result;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "year",(char *) "cal", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
19139 if (obj0) {
093d3ff1
RD
19140 {
19141 arg1 = (int)(SWIG_As_int(obj0));
19142 if (SWIG_arg_fail(1)) SWIG_fail;
19143 }
d55e5bfc
RD
19144 }
19145 if (obj1) {
093d3ff1
RD
19146 {
19147 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19148 if (SWIG_arg_fail(2)) SWIG_fail;
19149 }
d55e5bfc
RD
19150 }
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 {
19159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19160 }
19161 return resultobj;
19162 fail:
19163 return NULL;
19164}
19165
19166
c32bde28 19167static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19168 PyObject *resultobj;
19169 int arg1 = (int) wxDateTime::Inv_Year ;
19170 int result;
19171 PyObject * obj0 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "year", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
19177 if (obj0) {
093d3ff1
RD
19178 {
19179 arg1 = (int)(SWIG_As_int(obj0));
19180 if (SWIG_arg_fail(1)) SWIG_fail;
19181 }
d55e5bfc
RD
19182 }
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 result = (int)wxDateTime::GetCentury(arg1);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
093d3ff1
RD
19190 {
19191 resultobj = SWIG_From_int((int)(result));
19192 }
d55e5bfc
RD
19193 return resultobj;
19194 fail:
19195 return NULL;
19196}
19197
19198
c32bde28 19199static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19200 PyObject *resultobj;
19201 int arg1 ;
093d3ff1 19202 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19203 int result;
19204 PyObject * obj0 = 0 ;
19205 PyObject * obj1 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "year",(char *) "cal", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19211 {
19212 arg1 = (int)(SWIG_As_int(obj0));
19213 if (SWIG_arg_fail(1)) SWIG_fail;
19214 }
d55e5bfc 19215 if (obj1) {
093d3ff1
RD
19216 {
19217 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19218 if (SWIG_arg_fail(2)) SWIG_fail;
19219 }
d55e5bfc
RD
19220 }
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
093d3ff1
RD
19228 {
19229 resultobj = SWIG_From_int((int)(result));
19230 }
d55e5bfc
RD
19231 return resultobj;
19232 fail:
19233 return NULL;
19234}
19235
19236
c32bde28 19237static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19238 PyObject *resultobj;
093d3ff1 19239 wxDateTime::Month arg1 ;
d55e5bfc 19240 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 19241 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
19242 int result;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 PyObject * obj2 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "month",(char *) "year",(char *) "cal", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19251 {
19252 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19253 if (SWIG_arg_fail(1)) SWIG_fail;
19254 }
d55e5bfc 19255 if (obj1) {
093d3ff1
RD
19256 {
19257 arg2 = (int)(SWIG_As_int(obj1));
19258 if (SWIG_arg_fail(2)) SWIG_fail;
19259 }
d55e5bfc
RD
19260 }
19261 if (obj2) {
093d3ff1
RD
19262 {
19263 arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
19264 if (SWIG_arg_fail(3)) SWIG_fail;
19265 }
d55e5bfc
RD
19266 }
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
093d3ff1
RD
19274 {
19275 resultobj = SWIG_From_int((int)(result));
19276 }
d55e5bfc
RD
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
c32bde28 19283static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19284 PyObject *resultobj;
093d3ff1
RD
19285 wxDateTime::Month arg1 ;
19286 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19287 wxString result;
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "month",(char *) "flags", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19295 {
19296 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19297 if (SWIG_arg_fail(1)) SWIG_fail;
19298 }
d55e5bfc 19299 if (obj1) {
093d3ff1
RD
19300 {
19301 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19302 if (SWIG_arg_fail(2)) SWIG_fail;
19303 }
d55e5bfc
RD
19304 }
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 {
19313#if wxUSE_UNICODE
19314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19315#else
19316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19317#endif
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322}
19323
19324
c32bde28 19325static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19326 PyObject *resultobj;
093d3ff1
RD
19327 wxDateTime::WeekDay arg1 ;
19328 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
19329 wxString result;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "weekday",(char *) "flags", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19337 {
19338 arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
19339 if (SWIG_arg_fail(1)) SWIG_fail;
19340 }
d55e5bfc 19341 if (obj1) {
093d3ff1
RD
19342 {
19343 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19344 if (SWIG_arg_fail(2)) SWIG_fail;
19345 }
d55e5bfc
RD
19346 }
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 {
19355#if wxUSE_UNICODE
19356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19357#else
19358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19359#endif
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364}
19365
19366
c32bde28 19367static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 19368 PyObject *resultobj;
b9d6a5f3 19369 PyObject *result;
d55e5bfc 19370 char *kwnames[] = {
b9d6a5f3 19371 NULL
d55e5bfc
RD
19372 };
19373
b9d6a5f3 19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
b9d6a5f3 19377 result = (PyObject *)DateTime_GetAmPmStrings();
d55e5bfc
RD
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
b9d6a5f3 19382 resultobj = result;
d55e5bfc
RD
19383 return resultobj;
19384 fail:
d55e5bfc
RD
19385 return NULL;
19386}
19387
19388
c32bde28 19389static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19390 PyObject *resultobj;
19391 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19392 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19393 bool result;
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "year",(char *) "country", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
19401 if (obj0) {
093d3ff1
RD
19402 {
19403 arg1 = (int)(SWIG_As_int(obj0));
19404 if (SWIG_arg_fail(1)) SWIG_fail;
19405 }
d55e5bfc
RD
19406 }
19407 if (obj1) {
093d3ff1
RD
19408 {
19409 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19410 if (SWIG_arg_fail(2)) SWIG_fail;
19411 }
d55e5bfc
RD
19412 }
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19422 }
19423 return resultobj;
19424 fail:
19425 return NULL;
19426}
19427
19428
c32bde28 19429static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19430 PyObject *resultobj;
19431 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19432 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19433 wxDateTime result;
19434 PyObject * obj0 = 0 ;
19435 PyObject * obj1 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "year",(char *) "country", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
19441 if (obj0) {
093d3ff1
RD
19442 {
19443 arg1 = (int)(SWIG_As_int(obj0));
19444 if (SWIG_arg_fail(1)) SWIG_fail;
19445 }
d55e5bfc
RD
19446 }
19447 if (obj1) {
093d3ff1
RD
19448 {
19449 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19450 if (SWIG_arg_fail(2)) SWIG_fail;
19451 }
d55e5bfc
RD
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 {
19461 wxDateTime * resultptr;
093d3ff1 19462 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19464 }
19465 return resultobj;
19466 fail:
19467 return NULL;
19468}
19469
19470
c32bde28 19471static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19472 PyObject *resultobj;
19473 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19474 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
19475 wxDateTime result;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "year",(char *) "country", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
19483 if (obj0) {
093d3ff1
RD
19484 {
19485 arg1 = (int)(SWIG_As_int(obj0));
19486 if (SWIG_arg_fail(1)) SWIG_fail;
19487 }
d55e5bfc
RD
19488 }
19489 if (obj1) {
093d3ff1
RD
19490 {
19491 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19492 if (SWIG_arg_fail(2)) SWIG_fail;
19493 }
d55e5bfc
RD
19494 }
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 {
19503 wxDateTime * resultptr;
093d3ff1 19504 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19506 }
19507 return resultobj;
19508 fail:
19509 return NULL;
19510}
19511
19512
c32bde28 19513static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19514 PyObject *resultobj;
19515 wxDateTime result;
19516 char *kwnames[] = {
19517 NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = wxDateTime::Now();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529 wxDateTime * resultptr;
093d3ff1 19530 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19532 }
19533 return resultobj;
19534 fail:
19535 return NULL;
19536}
19537
19538
c32bde28 19539static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19540 PyObject *resultobj;
19541 wxDateTime result;
19542 char *kwnames[] = {
19543 NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 result = wxDateTime::UNow();
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 {
19555 wxDateTime * resultptr;
093d3ff1 19556 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19558 }
19559 return resultobj;
19560 fail:
19561 return NULL;
19562}
19563
19564
c32bde28 19565static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19566 PyObject *resultobj;
19567 wxDateTime result;
19568 char *kwnames[] = {
19569 NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 result = wxDateTime::Today();
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 {
19581 wxDateTime * resultptr;
093d3ff1 19582 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
19583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19584 }
19585 return resultobj;
19586 fail:
19587 return NULL;
19588}
19589
19590
c32bde28 19591static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19592 PyObject *resultobj;
19593 wxDateTime *result;
19594 char *kwnames[] = {
19595 NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (wxDateTime *)new wxDateTime();
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19607 return resultobj;
19608 fail:
19609 return NULL;
19610}
19611
19612
c32bde28 19613static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19614 PyObject *resultobj;
19615 time_t arg1 ;
19616 wxDateTime *result;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "timet", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1
RD
19623 {
19624 arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
19625 if (SWIG_arg_fail(1)) SWIG_fail;
19626 }
d55e5bfc
RD
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (wxDateTime *)new wxDateTime(arg1);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638}
19639
19640
c32bde28 19641static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19642 PyObject *resultobj;
19643 double arg1 ;
19644 wxDateTime *result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "jdn", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
19651 {
19652 arg1 = (double)(SWIG_As_double(obj0));
19653 if (SWIG_arg_fail(1)) SWIG_fail;
19654 }
d55e5bfc
RD
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (wxDateTime *)new wxDateTime(arg1);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19663 return resultobj;
19664 fail:
19665 return NULL;
19666}
19667
19668
c32bde28 19669static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19670 PyObject *resultobj;
19671 int arg1 ;
19672 int arg2 = (int) 0 ;
19673 int arg3 = (int) 0 ;
19674 int arg4 = (int) 0 ;
19675 wxDateTime *result;
19676 PyObject * obj0 = 0 ;
19677 PyObject * obj1 = 0 ;
19678 PyObject * obj2 = 0 ;
19679 PyObject * obj3 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
19685 {
19686 arg1 = (int)(SWIG_As_int(obj0));
19687 if (SWIG_arg_fail(1)) SWIG_fail;
19688 }
d55e5bfc 19689 if (obj1) {
093d3ff1
RD
19690 {
19691 arg2 = (int)(SWIG_As_int(obj1));
19692 if (SWIG_arg_fail(2)) SWIG_fail;
19693 }
d55e5bfc
RD
19694 }
19695 if (obj2) {
093d3ff1
RD
19696 {
19697 arg3 = (int)(SWIG_As_int(obj2));
19698 if (SWIG_arg_fail(3)) SWIG_fail;
19699 }
d55e5bfc
RD
19700 }
19701 if (obj3) {
093d3ff1
RD
19702 {
19703 arg4 = (int)(SWIG_As_int(obj3));
19704 if (SWIG_arg_fail(4)) SWIG_fail;
19705 }
d55e5bfc
RD
19706 }
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718}
19719
19720
c32bde28 19721static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19722 PyObject *resultobj;
19723 int arg1 ;
093d3ff1 19724 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
19725 int arg3 = (int) wxDateTime::Inv_Year ;
19726 int arg4 = (int) 0 ;
19727 int arg5 = (int) 0 ;
19728 int arg6 = (int) 0 ;
19729 int arg7 = (int) 0 ;
19730 wxDateTime *result;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 PyObject * obj2 = 0 ;
19734 PyObject * obj3 = 0 ;
19735 PyObject * obj4 = 0 ;
19736 PyObject * obj5 = 0 ;
19737 PyObject * obj6 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
19743 {
19744 arg1 = (int)(SWIG_As_int(obj0));
19745 if (SWIG_arg_fail(1)) SWIG_fail;
19746 }
d55e5bfc 19747 if (obj1) {
093d3ff1
RD
19748 {
19749 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
19750 if (SWIG_arg_fail(2)) SWIG_fail;
19751 }
d55e5bfc
RD
19752 }
19753 if (obj2) {
093d3ff1
RD
19754 {
19755 arg3 = (int)(SWIG_As_int(obj2));
19756 if (SWIG_arg_fail(3)) SWIG_fail;
19757 }
d55e5bfc
RD
19758 }
19759 if (obj3) {
093d3ff1
RD
19760 {
19761 arg4 = (int)(SWIG_As_int(obj3));
19762 if (SWIG_arg_fail(4)) SWIG_fail;
19763 }
d55e5bfc
RD
19764 }
19765 if (obj4) {
093d3ff1
RD
19766 {
19767 arg5 = (int)(SWIG_As_int(obj4));
19768 if (SWIG_arg_fail(5)) SWIG_fail;
19769 }
d55e5bfc
RD
19770 }
19771 if (obj5) {
093d3ff1
RD
19772 {
19773 arg6 = (int)(SWIG_As_int(obj5));
19774 if (SWIG_arg_fail(6)) SWIG_fail;
19775 }
d55e5bfc
RD
19776 }
19777 if (obj6) {
093d3ff1
RD
19778 {
19779 arg7 = (int)(SWIG_As_int(obj6));
19780 if (SWIG_arg_fail(7)) SWIG_fail;
19781 }
d55e5bfc
RD
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19791 return resultobj;
19792 fail:
19793 return NULL;
19794}
19795
19796
c32bde28 19797static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19798 PyObject *resultobj;
19799 wxDateTime *arg1 = (wxDateTime *) 0 ;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
19806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 delete arg1;
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 Py_INCREF(Py_None); resultobj = Py_None;
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
c32bde28 19822static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19823 PyObject *resultobj;
19824 wxDateTime *arg1 = (wxDateTime *) 0 ;
19825 wxDateTime *result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
19832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 {
19837 wxDateTime &_result_ref = (arg1)->SetToCurrent();
19838 result = (wxDateTime *) &_result_ref;
19839 }
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19845 return resultobj;
19846 fail:
19847 return NULL;
19848}
19849
19850
c32bde28 19851static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19852 PyObject *resultobj;
19853 wxDateTime *arg1 = (wxDateTime *) 0 ;
19854 time_t arg2 ;
19855 wxDateTime *result;
19856 PyObject * obj0 = 0 ;
19857 PyObject * obj1 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self",(char *) "timet", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail;
19865 {
19866 arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
19867 if (SWIG_arg_fail(2)) SWIG_fail;
19868 }
d55e5bfc
RD
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 {
19872 wxDateTime &_result_ref = (arg1)->Set(arg2);
19873 result = (wxDateTime *) &_result_ref;
19874 }
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19880 return resultobj;
19881 fail:
19882 return NULL;
19883}
19884
19885
c32bde28 19886static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19887 PyObject *resultobj;
19888 wxDateTime *arg1 = (wxDateTime *) 0 ;
19889 double arg2 ;
19890 wxDateTime *result;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj1 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self",(char *) "jdn", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail;
19900 {
19901 arg2 = (double)(SWIG_As_double(obj1));
19902 if (SWIG_arg_fail(2)) SWIG_fail;
19903 }
d55e5bfc
RD
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 {
19907 wxDateTime &_result_ref = (arg1)->Set(arg2);
19908 result = (wxDateTime *) &_result_ref;
19909 }
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19915 return resultobj;
19916 fail:
19917 return NULL;
19918}
19919
19920
c32bde28 19921static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19922 PyObject *resultobj;
19923 wxDateTime *arg1 = (wxDateTime *) 0 ;
19924 int arg2 ;
19925 int arg3 = (int) 0 ;
19926 int arg4 = (int) 0 ;
19927 int arg5 = (int) 0 ;
19928 wxDateTime *result;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 PyObject * obj2 = 0 ;
19932 PyObject * obj3 = 0 ;
19933 PyObject * obj4 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail;
19941 {
19942 arg2 = (int)(SWIG_As_int(obj1));
19943 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 19944 }
093d3ff1
RD
19945 if (obj2) {
19946 {
19947 arg3 = (int)(SWIG_As_int(obj2));
19948 if (SWIG_arg_fail(3)) SWIG_fail;
19949 }
19950 }
19951 if (obj3) {
19952 {
19953 arg4 = (int)(SWIG_As_int(obj3));
19954 if (SWIG_arg_fail(4)) SWIG_fail;
19955 }
d55e5bfc
RD
19956 }
19957 if (obj4) {
093d3ff1
RD
19958 {
19959 arg5 = (int)(SWIG_As_int(obj4));
19960 if (SWIG_arg_fail(5)) SWIG_fail;
19961 }
d55e5bfc
RD
19962 }
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 {
19966 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
19967 result = (wxDateTime *) &_result_ref;
19968 }
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
c32bde28 19980static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19981 PyObject *resultobj;
19982 wxDateTime *arg1 = (wxDateTime *) 0 ;
19983 int arg2 ;
093d3ff1 19984 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
19985 int arg4 = (int) wxDateTime::Inv_Year ;
19986 int arg5 = (int) 0 ;
19987 int arg6 = (int) 0 ;
19988 int arg7 = (int) 0 ;
19989 int arg8 = (int) 0 ;
19990 wxDateTime *result;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 PyObject * obj3 = 0 ;
19995 PyObject * obj4 = 0 ;
19996 PyObject * obj5 = 0 ;
19997 PyObject * obj6 = 0 ;
19998 PyObject * obj7 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail;
20006 {
20007 arg2 = (int)(SWIG_As_int(obj1));
20008 if (SWIG_arg_fail(2)) SWIG_fail;
20009 }
d55e5bfc 20010 if (obj2) {
093d3ff1
RD
20011 {
20012 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20013 if (SWIG_arg_fail(3)) SWIG_fail;
20014 }
d55e5bfc
RD
20015 }
20016 if (obj3) {
093d3ff1
RD
20017 {
20018 arg4 = (int)(SWIG_As_int(obj3));
20019 if (SWIG_arg_fail(4)) SWIG_fail;
20020 }
d55e5bfc
RD
20021 }
20022 if (obj4) {
093d3ff1
RD
20023 {
20024 arg5 = (int)(SWIG_As_int(obj4));
20025 if (SWIG_arg_fail(5)) SWIG_fail;
20026 }
d55e5bfc
RD
20027 }
20028 if (obj5) {
093d3ff1
RD
20029 {
20030 arg6 = (int)(SWIG_As_int(obj5));
20031 if (SWIG_arg_fail(6)) SWIG_fail;
20032 }
d55e5bfc
RD
20033 }
20034 if (obj6) {
093d3ff1
RD
20035 {
20036 arg7 = (int)(SWIG_As_int(obj6));
20037 if (SWIG_arg_fail(7)) SWIG_fail;
20038 }
d55e5bfc
RD
20039 }
20040 if (obj7) {
093d3ff1
RD
20041 {
20042 arg8 = (int)(SWIG_As_int(obj7));
20043 if (SWIG_arg_fail(8)) SWIG_fail;
20044 }
d55e5bfc
RD
20045 }
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 {
20049 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
20050 result = (wxDateTime *) &_result_ref;
20051 }
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
c32bde28 20063static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20064 PyObject *resultobj;
20065 wxDateTime *arg1 = (wxDateTime *) 0 ;
20066 wxDateTime *result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 {
20078 wxDateTime &_result_ref = (arg1)->ResetTime();
20079 result = (wxDateTime *) &_result_ref;
20080 }
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
c32bde28 20092static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20093 PyObject *resultobj;
20094 wxDateTime *arg1 = (wxDateTime *) 0 ;
20095 int arg2 ;
20096 wxDateTime *result;
20097 PyObject * obj0 = 0 ;
20098 PyObject * obj1 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self",(char *) "year", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20105 if (SWIG_arg_fail(1)) SWIG_fail;
20106 {
20107 arg2 = (int)(SWIG_As_int(obj1));
20108 if (SWIG_arg_fail(2)) SWIG_fail;
20109 }
d55e5bfc
RD
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 {
20113 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
20114 result = (wxDateTime *) &_result_ref;
20115 }
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124}
20125
20126
c32bde28 20127static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20128 PyObject *resultobj;
20129 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20130 wxDateTime::Month arg2 ;
d55e5bfc
RD
20131 wxDateTime *result;
20132 PyObject * obj0 = 0 ;
20133 PyObject * obj1 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self",(char *) "month", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20140 if (SWIG_arg_fail(1)) SWIG_fail;
20141 {
20142 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20143 if (SWIG_arg_fail(2)) SWIG_fail;
20144 }
d55e5bfc
RD
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 {
20148 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
20149 result = (wxDateTime *) &_result_ref;
20150 }
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20156 return resultobj;
20157 fail:
20158 return NULL;
20159}
20160
20161
c32bde28 20162static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20163 PyObject *resultobj;
20164 wxDateTime *arg1 = (wxDateTime *) 0 ;
20165 int arg2 ;
20166 wxDateTime *result;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "day", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail;
20176 {
20177 arg2 = (int)(SWIG_As_int(obj1));
20178 if (SWIG_arg_fail(2)) SWIG_fail;
20179 }
d55e5bfc
RD
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 {
20183 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
20184 result = (wxDateTime *) &_result_ref;
20185 }
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194}
20195
20196
c32bde28 20197static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20198 PyObject *resultobj;
20199 wxDateTime *arg1 = (wxDateTime *) 0 ;
20200 int arg2 ;
20201 wxDateTime *result;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "hour", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail;
20211 {
20212 arg2 = (int)(SWIG_As_int(obj1));
20213 if (SWIG_arg_fail(2)) SWIG_fail;
20214 }
d55e5bfc
RD
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 {
20218 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
20219 result = (wxDateTime *) &_result_ref;
20220 }
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20226 return resultobj;
20227 fail:
20228 return NULL;
20229}
20230
20231
c32bde28 20232static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20233 PyObject *resultobj;
20234 wxDateTime *arg1 = (wxDateTime *) 0 ;
20235 int arg2 ;
20236 wxDateTime *result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "minute", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 arg2 = (int)(SWIG_As_int(obj1));
20248 if (SWIG_arg_fail(2)) SWIG_fail;
20249 }
d55e5bfc
RD
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 {
20253 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
20254 result = (wxDateTime *) &_result_ref;
20255 }
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
c32bde28 20267static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20268 PyObject *resultobj;
20269 wxDateTime *arg1 = (wxDateTime *) 0 ;
20270 int arg2 ;
20271 wxDateTime *result;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self",(char *) "second", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail;
20281 {
20282 arg2 = (int)(SWIG_As_int(obj1));
20283 if (SWIG_arg_fail(2)) SWIG_fail;
20284 }
d55e5bfc
RD
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 {
20288 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
20289 result = (wxDateTime *) &_result_ref;
20290 }
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20296 return resultobj;
20297 fail:
20298 return NULL;
20299}
20300
20301
c32bde28 20302static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20303 PyObject *resultobj;
20304 wxDateTime *arg1 = (wxDateTime *) 0 ;
20305 int arg2 ;
20306 wxDateTime *result;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "millisecond", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail;
20316 {
20317 arg2 = (int)(SWIG_As_int(obj1));
20318 if (SWIG_arg_fail(2)) SWIG_fail;
20319 }
d55e5bfc
RD
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 {
20323 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
20324 result = (wxDateTime *) &_result_ref;
20325 }
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20331 return resultobj;
20332 fail:
20333 return NULL;
20334}
20335
20336
c32bde28 20337static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20338 PyObject *resultobj;
20339 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20340 wxDateTime::WeekDay arg2 ;
20341 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20342 wxDateTime *result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 PyObject * obj2 = 0 ;
20346 char *kwnames[] = {
20347 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20348 };
20349
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20352 if (SWIG_arg_fail(1)) SWIG_fail;
20353 {
20354 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20355 if (SWIG_arg_fail(2)) SWIG_fail;
20356 }
d55e5bfc 20357 if (obj2) {
093d3ff1
RD
20358 {
20359 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20360 if (SWIG_arg_fail(3)) SWIG_fail;
20361 }
d55e5bfc
RD
20362 }
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 {
20366 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
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_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20381 PyObject *resultobj;
20382 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20383 wxDateTime::WeekDay arg2 ;
20384 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20385 wxDateTime result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 PyObject * obj2 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail;
20396 {
20397 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20398 if (SWIG_arg_fail(2)) SWIG_fail;
20399 }
d55e5bfc 20400 if (obj2) {
093d3ff1
RD
20401 {
20402 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20403 if (SWIG_arg_fail(3)) SWIG_fail;
20404 }
d55e5bfc
RD
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 {
20414 wxDateTime * resultptr;
093d3ff1 20415 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20417 }
20418 return resultobj;
20419 fail:
20420 return NULL;
20421}
20422
20423
c32bde28 20424static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20425 PyObject *resultobj;
20426 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20427 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20428 wxDateTime *result;
20429 PyObject * obj0 = 0 ;
20430 PyObject * obj1 = 0 ;
20431 char *kwnames[] = {
20432 (char *) "self",(char *) "weekday", NULL
20433 };
20434
20435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail;
20438 {
20439 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20440 if (SWIG_arg_fail(2)) SWIG_fail;
20441 }
d55e5bfc
RD
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 {
20445 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
20446 result = (wxDateTime *) &_result_ref;
20447 }
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
c32bde28 20459static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20460 PyObject *resultobj;
20461 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20462 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20463 wxDateTime result;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self",(char *) "weekday", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail;
20473 {
20474 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20475 if (SWIG_arg_fail(2)) SWIG_fail;
20476 }
d55e5bfc
RD
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 {
20485 wxDateTime * resultptr;
093d3ff1 20486 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20488 }
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
c32bde28 20495static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20496 PyObject *resultobj;
20497 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20498 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20499 wxDateTime *result;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self",(char *) "weekday", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) 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
RD
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 {
20516 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
20517 result = (wxDateTime *) &_result_ref;
20518 }
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20524 return resultobj;
20525 fail:
20526 return NULL;
20527}
20528
20529
c32bde28 20530static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20531 PyObject *resultobj;
20532 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20533 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
20534 wxDateTime result;
20535 PyObject * obj0 = 0 ;
20536 PyObject * obj1 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self",(char *) "weekday", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail;
20544 {
20545 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20546 if (SWIG_arg_fail(2)) SWIG_fail;
20547 }
d55e5bfc
RD
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 wxDateTime * resultptr;
093d3ff1 20557 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20559 }
20560 return resultobj;
20561 fail:
20562 return NULL;
20563}
20564
20565
c32bde28 20566static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20567 PyObject *resultobj;
20568 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20569 wxDateTime::WeekDay arg2 ;
d55e5bfc 20570 int arg3 = (int) 1 ;
093d3ff1 20571 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20572 int arg5 = (int) wxDateTime::Inv_Year ;
20573 bool result;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
20577 PyObject * obj3 = 0 ;
20578 PyObject * obj4 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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 20590 if (obj2) {
093d3ff1
RD
20591 {
20592 arg3 = (int)(SWIG_As_int(obj2));
20593 if (SWIG_arg_fail(3)) SWIG_fail;
20594 }
d55e5bfc
RD
20595 }
20596 if (obj3) {
093d3ff1
RD
20597 {
20598 arg4 = (wxDateTime::Month)(SWIG_As_int(obj3));
20599 if (SWIG_arg_fail(4)) SWIG_fail;
20600 }
d55e5bfc
RD
20601 }
20602 if (obj4) {
093d3ff1
RD
20603 {
20604 arg5 = (int)(SWIG_As_int(obj4));
20605 if (SWIG_arg_fail(5)) SWIG_fail;
20606 }
d55e5bfc
RD
20607 }
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
c32bde28 20624static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20625 PyObject *resultobj;
20626 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20627 wxDateTime::WeekDay arg2 ;
20628 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20629 int arg4 = (int) wxDateTime::Inv_Year ;
20630 bool result;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 PyObject * obj3 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20641 if (SWIG_arg_fail(1)) SWIG_fail;
20642 {
20643 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20644 if (SWIG_arg_fail(2)) SWIG_fail;
20645 }
d55e5bfc 20646 if (obj2) {
093d3ff1
RD
20647 {
20648 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20649 if (SWIG_arg_fail(3)) SWIG_fail;
20650 }
d55e5bfc
RD
20651 }
20652 if (obj3) {
093d3ff1
RD
20653 {
20654 arg4 = (int)(SWIG_As_int(obj3));
20655 if (SWIG_arg_fail(4)) SWIG_fail;
20656 }
d55e5bfc
RD
20657 }
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 {
20666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671}
20672
20673
c32bde28 20674static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20675 PyObject *resultobj;
20676 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20677 wxDateTime::WeekDay arg2 ;
20678 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20679 int arg4 = (int) wxDateTime::Inv_Year ;
20680 wxDateTime result;
20681 PyObject * obj0 = 0 ;
20682 PyObject * obj1 = 0 ;
20683 PyObject * obj2 = 0 ;
20684 PyObject * obj3 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
20692 {
20693 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20694 if (SWIG_arg_fail(2)) SWIG_fail;
20695 }
d55e5bfc 20696 if (obj2) {
093d3ff1
RD
20697 {
20698 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20699 if (SWIG_arg_fail(3)) SWIG_fail;
20700 }
d55e5bfc
RD
20701 }
20702 if (obj3) {
093d3ff1
RD
20703 {
20704 arg4 = (int)(SWIG_As_int(obj3));
20705 if (SWIG_arg_fail(4)) SWIG_fail;
20706 }
d55e5bfc
RD
20707 }
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 wxDateTime * resultptr;
093d3ff1 20717 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723}
20724
20725
c32bde28 20726static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20727 PyObject *resultobj;
20728 wxDateTime *arg1 = (wxDateTime *) 0 ;
20729 int arg2 ;
093d3ff1
RD
20730 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20731 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20732 bool result;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 PyObject * obj2 = 0 ;
20736 PyObject * obj3 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
20744 {
20745 arg2 = (int)(SWIG_As_int(obj1));
20746 if (SWIG_arg_fail(2)) SWIG_fail;
20747 }
d55e5bfc 20748 if (obj2) {
093d3ff1
RD
20749 {
20750 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20751 if (SWIG_arg_fail(3)) SWIG_fail;
20752 }
d55e5bfc
RD
20753 }
20754 if (obj3) {
093d3ff1
RD
20755 {
20756 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20757 if (SWIG_arg_fail(4)) SWIG_fail;
20758 }
d55e5bfc
RD
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20769 }
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
c32bde28 20776static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20777 PyObject *resultobj;
20778 wxDateTime *arg1 = (wxDateTime *) 0 ;
20779 int arg2 ;
093d3ff1
RD
20780 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20781 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
20782 wxDateTime result;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 PyObject * obj2 = 0 ;
20786 PyObject * obj3 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 arg2 = (int)(SWIG_As_int(obj1));
20796 if (SWIG_arg_fail(2)) SWIG_fail;
20797 }
d55e5bfc 20798 if (obj2) {
093d3ff1
RD
20799 {
20800 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20801 if (SWIG_arg_fail(3)) SWIG_fail;
20802 }
d55e5bfc
RD
20803 }
20804 if (obj3) {
093d3ff1
RD
20805 {
20806 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20807 if (SWIG_arg_fail(4)) SWIG_fail;
20808 }
d55e5bfc
RD
20809 }
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 {
20818 wxDateTime * resultptr;
093d3ff1 20819 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825}
20826
20827
7e63a440
RD
20828static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 int arg1 ;
20831 int arg2 ;
093d3ff1 20832 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
20833 wxDateTime result;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 PyObject * obj2 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20842 {
20843 arg1 = (int)(SWIG_As_int(obj0));
20844 if (SWIG_arg_fail(1)) SWIG_fail;
20845 }
20846 {
20847 arg2 = (int)(SWIG_As_int(obj1));
20848 if (SWIG_arg_fail(2)) SWIG_fail;
20849 }
7e63a440 20850 if (obj2) {
093d3ff1
RD
20851 {
20852 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20853 if (SWIG_arg_fail(3)) SWIG_fail;
20854 }
7e63a440
RD
20855 }
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 {
20864 wxDateTime * resultptr;
093d3ff1 20865 resultptr = new wxDateTime((wxDateTime &)(result));
7e63a440
RD
20866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
c32bde28 20874static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20875 PyObject *resultobj;
20876 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20877 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20878 int arg3 = (int) wxDateTime::Inv_Year ;
20879 wxDateTime *result;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 PyObject * obj2 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self",(char *) "month",(char *) "year", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 20890 if (obj1) {
093d3ff1
RD
20891 {
20892 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20893 if (SWIG_arg_fail(2)) SWIG_fail;
20894 }
d55e5bfc
RD
20895 }
20896 if (obj2) {
093d3ff1
RD
20897 {
20898 arg3 = (int)(SWIG_As_int(obj2));
20899 if (SWIG_arg_fail(3)) SWIG_fail;
20900 }
d55e5bfc
RD
20901 }
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 {
20905 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
20906 result = (wxDateTime *) &_result_ref;
20907 }
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20913 return resultobj;
20914 fail:
20915 return NULL;
20916}
20917
20918
c32bde28 20919static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20920 PyObject *resultobj;
20921 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20922 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20923 int arg3 = (int) wxDateTime::Inv_Year ;
20924 wxDateTime result;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 PyObject * obj2 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self",(char *) "month",(char *) "year", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 20935 if (obj1) {
093d3ff1
RD
20936 {
20937 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20938 if (SWIG_arg_fail(2)) SWIG_fail;
20939 }
d55e5bfc
RD
20940 }
20941 if (obj2) {
093d3ff1
RD
20942 {
20943 arg3 = (int)(SWIG_As_int(obj2));
20944 if (SWIG_arg_fail(3)) SWIG_fail;
20945 }
d55e5bfc
RD
20946 }
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 {
20955 wxDateTime * resultptr;
093d3ff1 20956 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
20957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20958 }
20959 return resultobj;
20960 fail:
20961 return NULL;
20962}
20963
20964
c32bde28 20965static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20966 PyObject *resultobj;
20967 wxDateTime *arg1 = (wxDateTime *) 0 ;
20968 int arg2 ;
20969 wxDateTime *result;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self",(char *) "yday", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20978 if (SWIG_arg_fail(1)) SWIG_fail;
20979 {
20980 arg2 = (int)(SWIG_As_int(obj1));
20981 if (SWIG_arg_fail(2)) SWIG_fail;
20982 }
d55e5bfc
RD
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 {
20986 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
20987 result = (wxDateTime *) &_result_ref;
20988 }
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20994 return resultobj;
20995 fail:
20996 return NULL;
20997}
20998
20999
c32bde28 21000static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21001 PyObject *resultobj;
21002 wxDateTime *arg1 = (wxDateTime *) 0 ;
21003 int arg2 ;
21004 wxDateTime result;
21005 PyObject * obj0 = 0 ;
21006 PyObject * obj1 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self",(char *) "yday", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail;
21014 {
21015 arg2 = (int)(SWIG_As_int(obj1));
21016 if (SWIG_arg_fail(2)) SWIG_fail;
21017 }
d55e5bfc
RD
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (arg1)->GetYearDay(arg2);
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 wxDateTime * resultptr;
093d3ff1 21027 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21029 }
21030 return resultobj;
21031 fail:
21032 return NULL;
21033}
21034
21035
c32bde28 21036static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21037 PyObject *resultobj;
21038 wxDateTime *arg1 = (wxDateTime *) 0 ;
21039 double result;
21040 PyObject * obj0 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) 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
RD
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (double)(arg1)->GetJulianDayNumber();
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
093d3ff1
RD
21055 {
21056 resultobj = SWIG_From_double((double)(result));
21057 }
d55e5bfc
RD
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
c32bde28 21064static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21065 PyObject *resultobj;
21066 wxDateTime *arg1 = (wxDateTime *) 0 ;
21067 double result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
21074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = (double)(arg1)->GetJDN();
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
093d3ff1
RD
21083 {
21084 resultobj = SWIG_From_double((double)(result));
21085 }
d55e5bfc
RD
21086 return resultobj;
21087 fail:
21088 return NULL;
21089}
21090
21091
c32bde28 21092static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21093 PyObject *resultobj;
21094 wxDateTime *arg1 = (wxDateTime *) 0 ;
21095 double result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
093d3ff1
RD
21111 {
21112 resultobj = SWIG_From_double((double)(result));
21113 }
d55e5bfc
RD
21114 return resultobj;
21115 fail:
21116 return NULL;
21117}
21118
21119
c32bde28 21120static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21121 PyObject *resultobj;
21122 wxDateTime *arg1 = (wxDateTime *) 0 ;
21123 double result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
21130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (double)(arg1)->GetMJD();
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
093d3ff1
RD
21139 {
21140 resultobj = SWIG_From_double((double)(result));
21141 }
d55e5bfc
RD
21142 return resultobj;
21143 fail:
21144 return NULL;
21145}
21146
21147
c32bde28 21148static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21149 PyObject *resultobj;
21150 wxDateTime *arg1 = (wxDateTime *) 0 ;
21151 double result;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
21158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (double)(arg1)->GetRataDie();
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
093d3ff1
RD
21167 {
21168 resultobj = SWIG_From_double((double)(result));
21169 }
d55e5bfc
RD
21170 return resultobj;
21171 fail:
21172 return NULL;
21173}
21174
21175
c32bde28 21176static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21177 PyObject *resultobj;
21178 wxDateTime *arg1 = (wxDateTime *) 0 ;
21179 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21180 bool arg3 = (bool) false ;
d55e5bfc 21181 wxDateTime result;
ae8162c8 21182 bool temp2 = false ;
d55e5bfc
RD
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 PyObject * obj2 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21193 {
21194 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21195 temp2 = true;
d55e5bfc
RD
21196 }
21197 if (obj2) {
093d3ff1
RD
21198 {
21199 arg3 = (bool)(SWIG_As_bool(obj2));
21200 if (SWIG_arg_fail(3)) SWIG_fail;
21201 }
d55e5bfc
RD
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 {
21211 wxDateTime * resultptr;
093d3ff1 21212 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21214 }
21215 {
21216 if (temp2) delete arg2;
21217 }
21218 return resultobj;
21219 fail:
21220 {
21221 if (temp2) delete arg2;
21222 }
21223 return NULL;
21224}
21225
21226
c32bde28 21227static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21228 PyObject *resultobj;
21229 wxDateTime *arg1 = (wxDateTime *) 0 ;
21230 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21231 bool arg3 = (bool) false ;
d55e5bfc 21232 wxDateTime *result;
ae8162c8 21233 bool temp2 = false ;
d55e5bfc
RD
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 PyObject * obj2 = 0 ;
21237 char *kwnames[] = {
21238 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21244 {
21245 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21246 temp2 = true;
d55e5bfc
RD
21247 }
21248 if (obj2) {
093d3ff1
RD
21249 {
21250 arg3 = (bool)(SWIG_As_bool(obj2));
21251 if (SWIG_arg_fail(3)) SWIG_fail;
21252 }
d55e5bfc
RD
21253 }
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 {
21257 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21258 result = (wxDateTime *) &_result_ref;
21259 }
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21265 {
21266 if (temp2) delete arg2;
21267 }
21268 return resultobj;
21269 fail:
21270 {
21271 if (temp2) delete arg2;
21272 }
21273 return NULL;
21274}
21275
21276
c32bde28 21277static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21278 PyObject *resultobj;
21279 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21280 bool arg2 = (bool) false ;
d55e5bfc
RD
21281 wxDateTime result;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self",(char *) "noDST", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21291 if (obj1) {
093d3ff1
RD
21292 {
21293 arg2 = (bool)(SWIG_As_bool(obj1));
21294 if (SWIG_arg_fail(2)) SWIG_fail;
21295 }
d55e5bfc
RD
21296 }
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (arg1)->ToGMT(arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 {
21305 wxDateTime * resultptr;
093d3ff1 21306 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
21307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312}
21313
21314
c32bde28 21315static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21316 PyObject *resultobj;
21317 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21318 bool arg2 = (bool) false ;
d55e5bfc
RD
21319 wxDateTime *result;
21320 PyObject * obj0 = 0 ;
21321 PyObject * obj1 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self",(char *) "noDST", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21329 if (obj1) {
093d3ff1
RD
21330 {
21331 arg2 = (bool)(SWIG_As_bool(obj1));
21332 if (SWIG_arg_fail(2)) SWIG_fail;
21333 }
d55e5bfc
RD
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 {
21338 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
21339 result = (wxDateTime *) &_result_ref;
21340 }
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
c32bde28 21352static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21353 PyObject *resultobj;
21354 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21355 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
21356 int result;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "country", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21366 if (obj1) {
093d3ff1
RD
21367 {
21368 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21369 if (SWIG_arg_fail(2)) SWIG_fail;
21370 }
d55e5bfc
RD
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
093d3ff1
RD
21379 {
21380 resultobj = SWIG_From_int((int)(result));
21381 }
d55e5bfc
RD
21382 return resultobj;
21383 fail:
21384 return NULL;
21385}
21386
21387
c32bde28 21388static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21389 PyObject *resultobj;
21390 wxDateTime *arg1 = (wxDateTime *) 0 ;
21391 bool result;
21392 PyObject * obj0 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
21398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (bool)((wxDateTime const *)arg1)->IsValid();
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 {
21408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21409 }
21410 return resultobj;
21411 fail:
21412 return NULL;
21413}
21414
21415
c32bde28 21416static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21417 PyObject *resultobj;
21418 wxDateTime *arg1 = (wxDateTime *) 0 ;
21419 time_t result;
21420 PyObject * obj0 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
21426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
093d3ff1
RD
21435 {
21436 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
21437 }
d55e5bfc
RD
21438 return resultobj;
21439 fail:
21440 return NULL;
21441}
21442
21443
c32bde28 21444static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21445 PyObject *resultobj;
21446 wxDateTime *arg1 = (wxDateTime *) 0 ;
21447 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21448 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21449 int result;
ae8162c8 21450 bool temp2 = false ;
d55e5bfc
RD
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self",(char *) "tz", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21460 if (obj1) {
21461 {
21462 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21463 temp2 = true;
d55e5bfc
RD
21464 }
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
093d3ff1
RD
21473 {
21474 resultobj = SWIG_From_int((int)(result));
21475 }
d55e5bfc
RD
21476 {
21477 if (temp2) delete arg2;
21478 }
21479 return resultobj;
21480 fail:
21481 {
21482 if (temp2) delete arg2;
21483 }
21484 return NULL;
21485}
21486
21487
c32bde28 21488static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21489 PyObject *resultobj;
21490 wxDateTime *arg1 = (wxDateTime *) 0 ;
21491 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21492 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21493 wxDateTime::Month result;
ae8162c8 21494 bool temp2 = false ;
d55e5bfc
RD
21495 PyObject * obj0 = 0 ;
21496 PyObject * obj1 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self",(char *) "tz", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21504 if (obj1) {
21505 {
21506 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21507 temp2 = true;
d55e5bfc
RD
21508 }
21509 }
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21512 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
093d3ff1 21517 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21518 {
21519 if (temp2) delete arg2;
21520 }
21521 return resultobj;
21522 fail:
21523 {
21524 if (temp2) delete arg2;
21525 }
21526 return NULL;
21527}
21528
21529
c32bde28 21530static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21531 PyObject *resultobj;
21532 wxDateTime *arg1 = (wxDateTime *) 0 ;
21533 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21534 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21535 int result;
ae8162c8 21536 bool temp2 = false ;
d55e5bfc
RD
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "tz", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21546 if (obj1) {
21547 {
21548 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21549 temp2 = true;
d55e5bfc
RD
21550 }
21551 }
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
093d3ff1
RD
21559 {
21560 resultobj = SWIG_From_int((int)(result));
21561 }
d55e5bfc
RD
21562 {
21563 if (temp2) delete arg2;
21564 }
21565 return resultobj;
21566 fail:
21567 {
21568 if (temp2) delete arg2;
21569 }
21570 return NULL;
21571}
21572
21573
c32bde28 21574static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21575 PyObject *resultobj;
21576 wxDateTime *arg1 = (wxDateTime *) 0 ;
21577 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21578 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21579 wxDateTime::WeekDay result;
ae8162c8 21580 bool temp2 = false ;
d55e5bfc
RD
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "tz", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21590 if (obj1) {
21591 {
21592 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21593 temp2 = true;
d55e5bfc
RD
21594 }
21595 }
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21598 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
093d3ff1 21603 resultobj = SWIG_From_int((result));
d55e5bfc
RD
21604 {
21605 if (temp2) delete arg2;
21606 }
21607 return resultobj;
21608 fail:
21609 {
21610 if (temp2) delete arg2;
21611 }
21612 return NULL;
21613}
21614
21615
c32bde28 21616static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21617 PyObject *resultobj;
21618 wxDateTime *arg1 = (wxDateTime *) 0 ;
21619 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21620 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21621 int result;
ae8162c8 21622 bool temp2 = false ;
d55e5bfc
RD
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "tz", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21632 if (obj1) {
21633 {
21634 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21635 temp2 = true;
d55e5bfc
RD
21636 }
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
093d3ff1
RD
21645 {
21646 resultobj = SWIG_From_int((int)(result));
21647 }
d55e5bfc
RD
21648 {
21649 if (temp2) delete arg2;
21650 }
21651 return resultobj;
21652 fail:
21653 {
21654 if (temp2) delete arg2;
21655 }
21656 return NULL;
21657}
21658
21659
c32bde28 21660static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21661 PyObject *resultobj;
21662 wxDateTime *arg1 = (wxDateTime *) 0 ;
21663 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21664 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21665 int result;
ae8162c8 21666 bool temp2 = false ;
d55e5bfc
RD
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self",(char *) "tz", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21676 if (obj1) {
21677 {
21678 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21679 temp2 = true;
d55e5bfc
RD
21680 }
21681 }
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
093d3ff1
RD
21689 {
21690 resultobj = SWIG_From_int((int)(result));
21691 }
d55e5bfc
RD
21692 {
21693 if (temp2) delete arg2;
21694 }
21695 return resultobj;
21696 fail:
21697 {
21698 if (temp2) delete arg2;
21699 }
21700 return NULL;
21701}
21702
21703
c32bde28 21704static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21705 PyObject *resultobj;
21706 wxDateTime *arg1 = (wxDateTime *) 0 ;
21707 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21708 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21709 int result;
ae8162c8 21710 bool temp2 = false ;
d55e5bfc
RD
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "tz", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21720 if (obj1) {
21721 {
21722 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21723 temp2 = true;
d55e5bfc
RD
21724 }
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
093d3ff1
RD
21733 {
21734 resultobj = SWIG_From_int((int)(result));
21735 }
d55e5bfc
RD
21736 {
21737 if (temp2) delete arg2;
21738 }
21739 return resultobj;
21740 fail:
21741 {
21742 if (temp2) delete arg2;
21743 }
21744 return NULL;
21745}
21746
21747
c32bde28 21748static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21749 PyObject *resultobj;
21750 wxDateTime *arg1 = (wxDateTime *) 0 ;
21751 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21752 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21753 int result;
ae8162c8 21754 bool temp2 = false ;
d55e5bfc
RD
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "tz", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) 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 if (obj1) {
21765 {
21766 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21767 temp2 = true;
d55e5bfc
RD
21768 }
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
093d3ff1
RD
21777 {
21778 resultobj = SWIG_From_int((int)(result));
21779 }
d55e5bfc
RD
21780 {
21781 if (temp2) delete arg2;
21782 }
21783 return resultobj;
21784 fail:
21785 {
21786 if (temp2) delete arg2;
21787 }
21788 return NULL;
21789}
21790
21791
c32bde28 21792static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21793 PyObject *resultobj;
21794 wxDateTime *arg1 = (wxDateTime *) 0 ;
21795 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21796 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21797 int result;
ae8162c8 21798 bool temp2 = false ;
d55e5bfc
RD
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "tz", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21808 if (obj1) {
21809 {
21810 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21811 temp2 = true;
d55e5bfc
RD
21812 }
21813 }
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
093d3ff1
RD
21821 {
21822 resultobj = SWIG_From_int((int)(result));
21823 }
d55e5bfc
RD
21824 {
21825 if (temp2) delete arg2;
21826 }
21827 return resultobj;
21828 fail:
21829 {
21830 if (temp2) delete arg2;
21831 }
21832 return NULL;
21833}
21834
21835
c32bde28 21836static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21837 PyObject *resultobj;
21838 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21839 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21840 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21841 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21842 int result;
ae8162c8 21843 bool temp3 = false ;
d55e5bfc
RD
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "flags",(char *) "tz", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21854 if (obj1) {
093d3ff1
RD
21855 {
21856 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21857 if (SWIG_arg_fail(2)) SWIG_fail;
21858 }
d55e5bfc
RD
21859 }
21860 if (obj2) {
21861 {
21862 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21863 temp3 = true;
d55e5bfc
RD
21864 }
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
093d3ff1
RD
21873 {
21874 resultobj = SWIG_From_int((int)(result));
21875 }
d55e5bfc
RD
21876 {
21877 if (temp3) delete arg3;
21878 }
21879 return resultobj;
21880 fail:
21881 {
21882 if (temp3) delete arg3;
21883 }
21884 return NULL;
21885}
21886
21887
c32bde28 21888static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21889 PyObject *resultobj;
21890 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21891 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21892 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21893 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21894 int result;
ae8162c8 21895 bool temp3 = false ;
d55e5bfc
RD
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "flags",(char *) "tz", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21906 if (obj1) {
093d3ff1
RD
21907 {
21908 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21909 if (SWIG_arg_fail(2)) SWIG_fail;
21910 }
d55e5bfc
RD
21911 }
21912 if (obj2) {
21913 {
21914 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 21915 temp3 = true;
d55e5bfc
RD
21916 }
21917 }
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
093d3ff1
RD
21925 {
21926 resultobj = SWIG_From_int((int)(result));
21927 }
d55e5bfc
RD
21928 {
21929 if (temp3) delete arg3;
21930 }
21931 return resultobj;
21932 fail:
21933 {
21934 if (temp3) delete arg3;
21935 }
21936 return NULL;
21937}
21938
21939
c32bde28 21940static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21941 PyObject *resultobj;
21942 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21943 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
21944 bool result;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "country", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",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 21954 if (obj1) {
093d3ff1
RD
21955 {
21956 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21957 if (SWIG_arg_fail(2)) SWIG_fail;
21958 }
d55e5bfc
RD
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
c32bde28 21976static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21977 PyObject *resultobj;
21978 wxDateTime *arg1 = (wxDateTime *) 0 ;
21979 wxDateTime *arg2 = 0 ;
21980 bool result;
21981 PyObject * obj0 = 0 ;
21982 PyObject * obj1 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "datetime", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail;
21990 {
21991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(2)) SWIG_fail;
21993 if (arg2 == NULL) {
21994 SWIG_null_ref("wxDateTime");
21995 }
21996 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21997 }
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 {
22006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22007 }
22008 return resultobj;
22009 fail:
22010 return NULL;
22011}
22012
22013
c32bde28 22014static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22015 PyObject *resultobj;
22016 wxDateTime *arg1 = (wxDateTime *) 0 ;
22017 wxDateTime *arg2 = 0 ;
22018 bool result;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self",(char *) "datetime", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail;
22028 {
22029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22030 if (SWIG_arg_fail(2)) SWIG_fail;
22031 if (arg2 == NULL) {
22032 SWIG_null_ref("wxDateTime");
22033 }
22034 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22035 }
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 {
22044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22045 }
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
c32bde28 22052static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22053 PyObject *resultobj;
22054 wxDateTime *arg1 = (wxDateTime *) 0 ;
22055 wxDateTime *arg2 = 0 ;
22056 bool result;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "datetime", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail;
22066 {
22067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22068 if (SWIG_arg_fail(2)) SWIG_fail;
22069 if (arg2 == NULL) {
22070 SWIG_null_ref("wxDateTime");
22071 }
22072 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 {
22082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087}
22088
22089
c32bde28 22090static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22091 PyObject *resultobj;
22092 wxDateTime *arg1 = (wxDateTime *) 0 ;
22093 wxDateTime *arg2 = 0 ;
22094 wxDateTime *arg3 = 0 ;
22095 bool result;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 PyObject * obj2 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "t1",(char *) "t2", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
22106 {
22107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22108 if (SWIG_arg_fail(2)) SWIG_fail;
22109 if (arg2 == NULL) {
22110 SWIG_null_ref("wxDateTime");
22111 }
22112 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22113 }
093d3ff1
RD
22114 {
22115 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22116 if (SWIG_arg_fail(3)) SWIG_fail;
22117 if (arg3 == NULL) {
22118 SWIG_null_ref("wxDateTime");
22119 }
22120 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22121 }
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 {
22130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22131 }
22132 return resultobj;
22133 fail:
22134 return NULL;
22135}
22136
22137
c32bde28 22138static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22139 PyObject *resultobj;
22140 wxDateTime *arg1 = (wxDateTime *) 0 ;
22141 wxDateTime *arg2 = 0 ;
22142 wxDateTime *arg3 = 0 ;
22143 bool result;
22144 PyObject * obj0 = 0 ;
22145 PyObject * obj1 = 0 ;
22146 PyObject * obj2 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "t1",(char *) "t2", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail;
22154 {
22155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22156 if (SWIG_arg_fail(2)) SWIG_fail;
22157 if (arg2 == NULL) {
22158 SWIG_null_ref("wxDateTime");
22159 }
22160 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22161 }
093d3ff1
RD
22162 {
22163 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22164 if (SWIG_arg_fail(3)) SWIG_fail;
22165 if (arg3 == NULL) {
22166 SWIG_null_ref("wxDateTime");
22167 }
22168 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 {
22178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183}
22184
22185
c32bde28 22186static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22187 PyObject *resultobj;
22188 wxDateTime *arg1 = (wxDateTime *) 0 ;
22189 wxDateTime *arg2 = 0 ;
22190 bool result;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self",(char *) "dt", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail;
22200 {
22201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22202 if (SWIG_arg_fail(2)) SWIG_fail;
22203 if (arg2 == NULL) {
22204 SWIG_null_ref("wxDateTime");
22205 }
22206 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22217 }
22218 return resultobj;
22219 fail:
22220 return NULL;
22221}
22222
22223
c32bde28 22224static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22225 PyObject *resultobj;
22226 wxDateTime *arg1 = (wxDateTime *) 0 ;
22227 wxDateTime *arg2 = 0 ;
22228 bool result;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self",(char *) "dt", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail;
22238 {
22239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(2)) SWIG_fail;
22241 if (arg2 == NULL) {
22242 SWIG_null_ref("wxDateTime");
22243 }
22244 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22245 }
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 {
22254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22255 }
22256 return resultobj;
22257 fail:
22258 return NULL;
22259}
22260
22261
c32bde28 22262static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22263 PyObject *resultobj;
22264 wxDateTime *arg1 = (wxDateTime *) 0 ;
22265 wxDateTime *arg2 = 0 ;
22266 wxTimeSpan *arg3 = 0 ;
22267 bool result;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 PyObject * obj2 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "dt",(char *) "ts", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail;
22278 {
22279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22280 if (SWIG_arg_fail(2)) SWIG_fail;
22281 if (arg2 == NULL) {
22282 SWIG_null_ref("wxDateTime");
22283 }
22284 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 22285 }
093d3ff1
RD
22286 {
22287 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22288 if (SWIG_arg_fail(3)) SWIG_fail;
22289 if (arg3 == NULL) {
22290 SWIG_null_ref("wxTimeSpan");
22291 }
22292 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
22293 }
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
22297
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 {
22302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22303 }
22304 return resultobj;
22305 fail:
22306 return NULL;
22307}
22308
22309
c32bde28 22310static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22311 PyObject *resultobj;
22312 wxDateTime *arg1 = (wxDateTime *) 0 ;
22313 wxTimeSpan *arg2 = 0 ;
22314 wxDateTime *result;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self",(char *) "diff", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail;
22324 {
22325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22326 if (SWIG_arg_fail(2)) SWIG_fail;
22327 if (arg2 == NULL) {
22328 SWIG_null_ref("wxTimeSpan");
22329 }
22330 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22331 }
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 {
22335 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22336 result = (wxDateTime *) &_result_ref;
22337 }
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22343 return resultobj;
22344 fail:
22345 return NULL;
22346}
22347
22348
c32bde28 22349static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22350 PyObject *resultobj;
22351 wxDateTime *arg1 = (wxDateTime *) 0 ;
22352 wxDateSpan *arg2 = 0 ;
22353 wxDateTime *result;
22354 PyObject * obj0 = 0 ;
22355 PyObject * obj1 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self",(char *) "diff", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail;
22363 {
22364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22365 if (SWIG_arg_fail(2)) SWIG_fail;
22366 if (arg2 == NULL) {
22367 SWIG_null_ref("wxDateSpan");
22368 }
22369 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22370 }
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 {
22374 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22375 result = (wxDateTime *) &_result_ref;
22376 }
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22382 return resultobj;
22383 fail:
22384 return NULL;
22385}
22386
22387
c32bde28 22388static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22389 PyObject *resultobj;
22390 wxDateTime *arg1 = (wxDateTime *) 0 ;
22391 wxTimeSpan *arg2 = 0 ;
22392 wxDateTime *result;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "self",(char *) "diff", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail;
22402 {
22403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22404 if (SWIG_arg_fail(2)) SWIG_fail;
22405 if (arg2 == NULL) {
22406 SWIG_null_ref("wxTimeSpan");
22407 }
22408 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 {
22413 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22414 result = (wxDateTime *) &_result_ref;
22415 }
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22421 return resultobj;
22422 fail:
22423 return NULL;
22424}
22425
22426
c32bde28 22427static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22428 PyObject *resultobj;
22429 wxDateTime *arg1 = (wxDateTime *) 0 ;
22430 wxDateSpan *arg2 = 0 ;
22431 wxDateTime *result;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "diff", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22440 if (SWIG_arg_fail(1)) SWIG_fail;
22441 {
22442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(2)) SWIG_fail;
22444 if (arg2 == NULL) {
22445 SWIG_null_ref("wxDateSpan");
22446 }
22447 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 {
22452 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22453 result = (wxDateTime *) &_result_ref;
22454 }
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22460 return resultobj;
22461 fail:
22462 return NULL;
22463}
22464
22465
c32bde28 22466static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22467 PyObject *resultobj;
22468 wxDateTime *arg1 = (wxDateTime *) 0 ;
22469 wxDateTime *arg2 = 0 ;
22470 wxTimeSpan result;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "dt", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail;
22480 {
22481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(2)) SWIG_fail;
22483 if (arg2 == NULL) {
22484 SWIG_null_ref("wxDateTime");
22485 }
22486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22487 }
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 {
22496 wxTimeSpan * resultptr;
093d3ff1 22497 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
22498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22499 }
22500 return resultobj;
22501 fail:
22502 return NULL;
22503}
22504
22505
c32bde28 22506static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22507 PyObject *resultobj;
22508 wxDateTime *arg1 = (wxDateTime *) 0 ;
22509 wxTimeSpan *arg2 = 0 ;
22510 wxDateTime *result;
22511 PyObject * obj0 = 0 ;
22512 PyObject * obj1 = 0 ;
22513
22514 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22516 if (SWIG_arg_fail(1)) SWIG_fail;
22517 {
22518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22519 if (SWIG_arg_fail(2)) SWIG_fail;
22520 if (arg2 == NULL) {
22521 SWIG_null_ref("wxTimeSpan");
22522 }
22523 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 {
22528 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22529 result = (wxDateTime *) &_result_ref;
22530 }
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
c32bde28 22535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22536 return resultobj;
22537 fail:
22538 return NULL;
22539}
22540
22541
c32bde28 22542static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22543 PyObject *resultobj;
22544 wxDateTime *arg1 = (wxDateTime *) 0 ;
22545 wxDateSpan *arg2 = 0 ;
22546 wxDateTime *result;
22547 PyObject * obj0 = 0 ;
22548 PyObject * obj1 = 0 ;
22549
22550 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22552 if (SWIG_arg_fail(1)) SWIG_fail;
22553 {
22554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22555 if (SWIG_arg_fail(2)) SWIG_fail;
22556 if (arg2 == NULL) {
22557 SWIG_null_ref("wxDateSpan");
22558 }
22559 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22560 }
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 {
22564 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22565 result = (wxDateTime *) &_result_ref;
22566 }
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
c32bde28 22571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
22578static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
22579 int argc;
22580 PyObject *argv[3];
22581 int ii;
22582
22583 argc = PyObject_Length(args);
22584 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22585 argv[ii] = PyTuple_GetItem(args,ii);
22586 }
22587 if (argc == 2) {
22588 int _v;
22589 {
22590 void *ptr;
22591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22592 _v = 0;
22593 PyErr_Clear();
22594 } else {
22595 _v = 1;
22596 }
22597 }
22598 if (_v) {
22599 {
093d3ff1 22600 void *ptr = 0;
d55e5bfc
RD
22601 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22602 _v = 0;
22603 PyErr_Clear();
22604 } else {
093d3ff1 22605 _v = (ptr != 0);
d55e5bfc
RD
22606 }
22607 }
22608 if (_v) {
22609 return _wrap_DateTime___iadd____SWIG_0(self,args);
22610 }
22611 }
22612 }
22613 if (argc == 2) {
22614 int _v;
22615 {
22616 void *ptr;
22617 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22618 _v = 0;
22619 PyErr_Clear();
22620 } else {
22621 _v = 1;
22622 }
22623 }
22624 if (_v) {
22625 {
093d3ff1 22626 void *ptr = 0;
d55e5bfc
RD
22627 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22628 _v = 0;
22629 PyErr_Clear();
22630 } else {
093d3ff1 22631 _v = (ptr != 0);
d55e5bfc
RD
22632 }
22633 }
22634 if (_v) {
22635 return _wrap_DateTime___iadd____SWIG_1(self,args);
22636 }
22637 }
22638 }
22639
093d3ff1 22640 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
22641 return NULL;
22642}
22643
22644
c32bde28 22645static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22646 PyObject *resultobj;
22647 wxDateTime *arg1 = (wxDateTime *) 0 ;
22648 wxTimeSpan *arg2 = 0 ;
22649 wxDateTime *result;
22650 PyObject * obj0 = 0 ;
22651 PyObject * obj1 = 0 ;
22652
22653 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22655 if (SWIG_arg_fail(1)) SWIG_fail;
22656 {
22657 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22658 if (SWIG_arg_fail(2)) SWIG_fail;
22659 if (arg2 == NULL) {
22660 SWIG_null_ref("wxTimeSpan");
22661 }
22662 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22663 }
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 {
22667 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22668 result = (wxDateTime *) &_result_ref;
22669 }
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
c32bde28 22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22675 return resultobj;
22676 fail:
22677 return NULL;
22678}
22679
22680
c32bde28 22681static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22682 PyObject *resultobj;
22683 wxDateTime *arg1 = (wxDateTime *) 0 ;
22684 wxDateSpan *arg2 = 0 ;
22685 wxDateTime *result;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688
22689 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22692 {
093d3ff1
RD
22693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22694 if (SWIG_arg_fail(2)) SWIG_fail;
22695 if (arg2 == NULL) {
22696 SWIG_null_ref("wxDateSpan");
22697 }
22698 if (SWIG_arg_fail(2)) SWIG_fail;
22699 }
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
22702 {
22703 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22704 result = (wxDateTime *) &_result_ref;
22705 }
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
c32bde28 22710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
22711 return resultobj;
22712 fail:
22713 return NULL;
22714}
22715
22716
22717static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
22718 int argc;
22719 PyObject *argv[3];
22720 int ii;
22721
22722 argc = PyObject_Length(args);
22723 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22724 argv[ii] = PyTuple_GetItem(args,ii);
22725 }
22726 if (argc == 2) {
22727 int _v;
22728 {
22729 void *ptr;
22730 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22731 _v = 0;
22732 PyErr_Clear();
22733 } else {
22734 _v = 1;
22735 }
22736 }
22737 if (_v) {
22738 {
093d3ff1 22739 void *ptr = 0;
d55e5bfc
RD
22740 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22741 _v = 0;
22742 PyErr_Clear();
22743 } else {
093d3ff1 22744 _v = (ptr != 0);
d55e5bfc
RD
22745 }
22746 }
22747 if (_v) {
22748 return _wrap_DateTime___isub____SWIG_0(self,args);
22749 }
22750 }
22751 }
22752 if (argc == 2) {
22753 int _v;
22754 {
22755 void *ptr;
22756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22757 _v = 0;
22758 PyErr_Clear();
22759 } else {
22760 _v = 1;
22761 }
22762 }
22763 if (_v) {
22764 {
093d3ff1 22765 void *ptr = 0;
d55e5bfc
RD
22766 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22767 _v = 0;
22768 PyErr_Clear();
22769 } else {
093d3ff1 22770 _v = (ptr != 0);
d55e5bfc
RD
22771 }
22772 }
22773 if (_v) {
22774 return _wrap_DateTime___isub____SWIG_1(self,args);
22775 }
22776 }
22777 }
22778
093d3ff1 22779 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
22780 return NULL;
22781}
22782
22783
c32bde28 22784static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22785 PyObject *resultobj;
22786 wxDateTime *arg1 = (wxDateTime *) 0 ;
22787 wxTimeSpan *arg2 = 0 ;
22788 wxDateTime result;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791
22792 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22794 if (SWIG_arg_fail(1)) SWIG_fail;
22795 {
22796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(2)) SWIG_fail;
22798 if (arg2 == NULL) {
22799 SWIG_null_ref("wxTimeSpan");
22800 }
22801 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22802 }
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 {
22811 wxDateTime * resultptr;
093d3ff1 22812 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
22813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
c32bde28 22821static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22822 PyObject *resultobj;
22823 wxDateTime *arg1 = (wxDateTime *) 0 ;
22824 wxDateSpan *arg2 = 0 ;
22825 wxDateTime result;
22826 PyObject * obj0 = 0 ;
22827 PyObject * obj1 = 0 ;
22828
22829 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
22832 {
22833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22834 if (SWIG_arg_fail(2)) SWIG_fail;
22835 if (arg2 == NULL) {
22836 SWIG_null_ref("wxDateSpan");
22837 }
22838 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 {
22848 wxDateTime * resultptr;
093d3ff1 22849 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
22850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22851 }
22852 return resultobj;
22853 fail:
22854 return NULL;
22855}
22856
22857
22858static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
22859 int argc;
22860 PyObject *argv[3];
22861 int ii;
22862
22863 argc = PyObject_Length(args);
22864 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22865 argv[ii] = PyTuple_GetItem(args,ii);
22866 }
22867 if (argc == 2) {
22868 int _v;
22869 {
22870 void *ptr;
22871 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22872 _v = 0;
22873 PyErr_Clear();
22874 } else {
22875 _v = 1;
22876 }
22877 }
22878 if (_v) {
22879 {
093d3ff1 22880 void *ptr = 0;
d55e5bfc
RD
22881 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22882 _v = 0;
22883 PyErr_Clear();
22884 } else {
093d3ff1 22885 _v = (ptr != 0);
d55e5bfc
RD
22886 }
22887 }
22888 if (_v) {
22889 return _wrap_DateTime___add____SWIG_0(self,args);
22890 }
22891 }
22892 }
22893 if (argc == 2) {
22894 int _v;
22895 {
22896 void *ptr;
22897 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22898 _v = 0;
22899 PyErr_Clear();
22900 } else {
22901 _v = 1;
22902 }
22903 }
22904 if (_v) {
22905 {
093d3ff1 22906 void *ptr = 0;
d55e5bfc
RD
22907 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22908 _v = 0;
22909 PyErr_Clear();
22910 } else {
093d3ff1 22911 _v = (ptr != 0);
d55e5bfc
RD
22912 }
22913 }
22914 if (_v) {
22915 return _wrap_DateTime___add____SWIG_1(self,args);
22916 }
22917 }
22918 }
22919
093d3ff1
RD
22920 Py_INCREF(Py_NotImplemented);
22921 return Py_NotImplemented;
d55e5bfc
RD
22922}
22923
22924
c32bde28 22925static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22926 PyObject *resultobj;
22927 wxDateTime *arg1 = (wxDateTime *) 0 ;
22928 wxDateTime *arg2 = 0 ;
22929 wxTimeSpan result;
22930 PyObject * obj0 = 0 ;
22931 PyObject * obj1 = 0 ;
22932
22933 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail;
22936 {
22937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22938 if (SWIG_arg_fail(2)) SWIG_fail;
22939 if (arg2 == NULL) {
22940 SWIG_null_ref("wxDateTime");
22941 }
22942 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22943 }
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 {
22952 wxTimeSpan * resultptr;
093d3ff1 22953 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
22954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22955 }
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
c32bde28 22962static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22963 PyObject *resultobj;
22964 wxDateTime *arg1 = (wxDateTime *) 0 ;
22965 wxTimeSpan *arg2 = 0 ;
22966 wxDateTime result;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969
22970 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 {
22974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22975 if (SWIG_arg_fail(2)) SWIG_fail;
22976 if (arg2 == NULL) {
22977 SWIG_null_ref("wxTimeSpan");
22978 }
22979 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22980 }
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 wxDateTime * resultptr;
093d3ff1 22990 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
22991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22992 }
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
c32bde28 22999static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d55e5bfc
RD
23000 PyObject *resultobj;
23001 wxDateTime *arg1 = (wxDateTime *) 0 ;
23002 wxDateSpan *arg2 = 0 ;
23003 wxDateTime result;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006
23007 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
23010 {
23011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23012 if (SWIG_arg_fail(2)) SWIG_fail;
23013 if (arg2 == NULL) {
23014 SWIG_null_ref("wxDateSpan");
23015 }
23016 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23017 }
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 {
23026 wxDateTime * resultptr;
093d3ff1 23027 resultptr = new wxDateTime((wxDateTime &)(result));
d55e5bfc
RD
23028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23029 }
23030 return resultobj;
23031 fail:
23032 return NULL;
23033}
23034
23035
23036static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
23037 int argc;
23038 PyObject *argv[3];
23039 int ii;
23040
23041 argc = PyObject_Length(args);
23042 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23043 argv[ii] = PyTuple_GetItem(args,ii);
23044 }
23045 if (argc == 2) {
23046 int _v;
23047 {
23048 void *ptr;
23049 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23050 _v = 0;
23051 PyErr_Clear();
23052 } else {
23053 _v = 1;
23054 }
23055 }
23056 if (_v) {
23057 {
093d3ff1 23058 void *ptr = 0;
d55e5bfc
RD
23059 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23060 _v = 0;
23061 PyErr_Clear();
23062 } else {
093d3ff1 23063 _v = (ptr != 0);
d55e5bfc
RD
23064 }
23065 }
23066 if (_v) {
23067 return _wrap_DateTime___sub____SWIG_0(self,args);
23068 }
23069 }
23070 }
23071 if (argc == 2) {
23072 int _v;
23073 {
23074 void *ptr;
23075 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23076 _v = 0;
23077 PyErr_Clear();
23078 } else {
23079 _v = 1;
23080 }
23081 }
23082 if (_v) {
23083 {
093d3ff1 23084 void *ptr = 0;
d55e5bfc
RD
23085 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23086 _v = 0;
23087 PyErr_Clear();
23088 } else {
093d3ff1 23089 _v = (ptr != 0);
d55e5bfc
RD
23090 }
23091 }
23092 if (_v) {
23093 return _wrap_DateTime___sub____SWIG_1(self,args);
23094 }
23095 }
23096 }
23097 if (argc == 2) {
23098 int _v;
23099 {
23100 void *ptr;
23101 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23102 _v = 0;
23103 PyErr_Clear();
23104 } else {
23105 _v = 1;
23106 }
23107 }
23108 if (_v) {
23109 {
093d3ff1 23110 void *ptr = 0;
d55e5bfc
RD
23111 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23112 _v = 0;
23113 PyErr_Clear();
23114 } else {
093d3ff1 23115 _v = (ptr != 0);
d55e5bfc
RD
23116 }
23117 }
23118 if (_v) {
23119 return _wrap_DateTime___sub____SWIG_2(self,args);
23120 }
23121 }
23122 }
23123
093d3ff1
RD
23124 Py_INCREF(Py_NotImplemented);
23125 return Py_NotImplemented;
d55e5bfc
RD
23126}
23127
23128
fef4c27a 23129static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23130 PyObject *resultobj;
23131 wxDateTime *arg1 = (wxDateTime *) 0 ;
23132 wxDateTime *arg2 = (wxDateTime *) 0 ;
23133 bool result;
23134 PyObject * obj0 = 0 ;
23135 PyObject * obj1 = 0 ;
fef4c27a
RD
23136 char *kwnames[] = {
23137 (char *) "self",(char *) "other", NULL
23138 };
d55e5bfc 23139
fef4c27a 23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail;
23143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23144 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 {
23153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23154 }
23155 return resultobj;
23156 fail:
23157 return NULL;
23158}
23159
23160
fef4c27a 23161static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23162 PyObject *resultobj;
23163 wxDateTime *arg1 = (wxDateTime *) 0 ;
23164 wxDateTime *arg2 = (wxDateTime *) 0 ;
23165 bool result;
23166 PyObject * obj0 = 0 ;
23167 PyObject * obj1 = 0 ;
fef4c27a
RD
23168 char *kwnames[] = {
23169 (char *) "self",(char *) "other", NULL
23170 };
d55e5bfc 23171
fef4c27a 23172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail;
23175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23176 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190}
23191
23192
fef4c27a 23193static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23194 PyObject *resultobj;
23195 wxDateTime *arg1 = (wxDateTime *) 0 ;
23196 wxDateTime *arg2 = (wxDateTime *) 0 ;
23197 bool result;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
fef4c27a
RD
23200 char *kwnames[] = {
23201 (char *) "self",(char *) "other", NULL
23202 };
d55e5bfc 23203
fef4c27a 23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail;
23207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23208 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 {
23217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
fef4c27a 23225static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23226 PyObject *resultobj;
23227 wxDateTime *arg1 = (wxDateTime *) 0 ;
23228 wxDateTime *arg2 = (wxDateTime *) 0 ;
23229 bool result;
23230 PyObject * obj0 = 0 ;
23231 PyObject * obj1 = 0 ;
fef4c27a
RD
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "other", NULL
23234 };
d55e5bfc 23235
fef4c27a 23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail;
23239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23240 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23241 {
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 {
23249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23250 }
23251 return resultobj;
23252 fail:
23253 return NULL;
23254}
23255
23256
fef4c27a 23257static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23258 PyObject *resultobj;
23259 wxDateTime *arg1 = (wxDateTime *) 0 ;
23260 wxDateTime *arg2 = (wxDateTime *) 0 ;
23261 bool result;
23262 PyObject * obj0 = 0 ;
23263 PyObject * obj1 = 0 ;
fef4c27a
RD
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "other", NULL
23266 };
d55e5bfc 23267
fef4c27a 23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23270 if (SWIG_arg_fail(1)) SWIG_fail;
23271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23272 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
23276
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 {
23281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23282 }
23283 return resultobj;
23284 fail:
23285 return NULL;
23286}
23287
23288
fef4c27a 23289static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23290 PyObject *resultobj;
23291 wxDateTime *arg1 = (wxDateTime *) 0 ;
23292 wxDateTime *arg2 = (wxDateTime *) 0 ;
23293 bool result;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
fef4c27a
RD
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "other", NULL
23298 };
d55e5bfc 23299
fef4c27a 23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 {
23313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23314 }
23315 return resultobj;
23316 fail:
23317 return NULL;
23318}
23319
23320
c32bde28 23321static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23322 PyObject *resultobj;
23323 wxDateTime *arg1 = (wxDateTime *) 0 ;
23324 wxString *arg2 = 0 ;
23325 int result;
ae8162c8 23326 bool temp2 = false ;
d55e5bfc
RD
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self",(char *) "date", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23336 {
23337 arg2 = wxString_in_helper(obj1);
23338 if (arg2 == NULL) SWIG_fail;
ae8162c8 23339 temp2 = true;
d55e5bfc
RD
23340 }
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
093d3ff1
RD
23348 {
23349 resultobj = SWIG_From_int((int)(result));
23350 }
d55e5bfc
RD
23351 {
23352 if (temp2)
23353 delete arg2;
23354 }
23355 return resultobj;
23356 fail:
23357 {
23358 if (temp2)
23359 delete arg2;
23360 }
23361 return NULL;
23362}
23363
23364
c32bde28 23365static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23366 PyObject *resultobj;
23367 wxDateTime *arg1 = (wxDateTime *) 0 ;
23368 wxString *arg2 = 0 ;
fef4c27a 23369 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23370 wxString *arg3 = (wxString *) &arg3_defvalue ;
23371 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
23372 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
23373 int result;
ae8162c8
RD
23374 bool temp2 = false ;
23375 bool temp3 = false ;
d55e5bfc
RD
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 PyObject * obj2 = 0 ;
23379 PyObject * obj3 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23387 {
23388 arg2 = wxString_in_helper(obj1);
23389 if (arg2 == NULL) SWIG_fail;
ae8162c8 23390 temp2 = true;
d55e5bfc
RD
23391 }
23392 if (obj2) {
23393 {
23394 arg3 = wxString_in_helper(obj2);
23395 if (arg3 == NULL) SWIG_fail;
ae8162c8 23396 temp3 = true;
d55e5bfc
RD
23397 }
23398 }
23399 if (obj3) {
093d3ff1
RD
23400 {
23401 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23402 if (SWIG_arg_fail(4)) SWIG_fail;
23403 if (arg4 == NULL) {
23404 SWIG_null_ref("wxDateTime");
23405 }
23406 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
23407 }
23408 }
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
093d3ff1
RD
23416 {
23417 resultobj = SWIG_From_int((int)(result));
23418 }
d55e5bfc
RD
23419 {
23420 if (temp2)
23421 delete arg2;
23422 }
23423 {
23424 if (temp3)
23425 delete arg3;
23426 }
23427 return resultobj;
23428 fail:
23429 {
23430 if (temp2)
23431 delete arg2;
23432 }
23433 {
23434 if (temp3)
23435 delete arg3;
23436 }
23437 return NULL;
23438}
23439
23440
c32bde28 23441static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23442 PyObject *resultobj;
23443 wxDateTime *arg1 = (wxDateTime *) 0 ;
23444 wxString *arg2 = 0 ;
23445 int result;
ae8162c8 23446 bool temp2 = false ;
d55e5bfc
RD
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "datetime", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23456 {
23457 arg2 = wxString_in_helper(obj1);
23458 if (arg2 == NULL) SWIG_fail;
ae8162c8 23459 temp2 = true;
d55e5bfc
RD
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
093d3ff1
RD
23468 {
23469 resultobj = SWIG_From_int((int)(result));
23470 }
d55e5bfc
RD
23471 {
23472 if (temp2)
23473 delete arg2;
23474 }
23475 return resultobj;
23476 fail:
23477 {
23478 if (temp2)
23479 delete arg2;
23480 }
23481 return NULL;
23482}
23483
23484
c32bde28 23485static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23486 PyObject *resultobj;
23487 wxDateTime *arg1 = (wxDateTime *) 0 ;
23488 wxString *arg2 = 0 ;
23489 int result;
ae8162c8 23490 bool temp2 = false ;
d55e5bfc
RD
23491 PyObject * obj0 = 0 ;
23492 PyObject * obj1 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self",(char *) "date", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23500 {
23501 arg2 = wxString_in_helper(obj1);
23502 if (arg2 == NULL) SWIG_fail;
ae8162c8 23503 temp2 = true;
d55e5bfc
RD
23504 }
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
093d3ff1
RD
23512 {
23513 resultobj = SWIG_From_int((int)(result));
23514 }
d55e5bfc
RD
23515 {
23516 if (temp2)
23517 delete arg2;
23518 }
23519 return resultobj;
23520 fail:
23521 {
23522 if (temp2)
23523 delete arg2;
23524 }
23525 return NULL;
23526}
23527
23528
c32bde28 23529static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23530 PyObject *resultobj;
23531 wxDateTime *arg1 = (wxDateTime *) 0 ;
23532 wxString *arg2 = 0 ;
23533 int result;
ae8162c8 23534 bool temp2 = false ;
d55e5bfc
RD
23535 PyObject * obj0 = 0 ;
23536 PyObject * obj1 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "self",(char *) "time", NULL
23539 };
23540
23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23544 {
23545 arg2 = wxString_in_helper(obj1);
23546 if (arg2 == NULL) SWIG_fail;
ae8162c8 23547 temp2 = true;
d55e5bfc
RD
23548 }
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
093d3ff1
RD
23556 {
23557 resultobj = SWIG_From_int((int)(result));
23558 }
d55e5bfc
RD
23559 {
23560 if (temp2)
23561 delete arg2;
23562 }
23563 return resultobj;
23564 fail:
23565 {
23566 if (temp2)
23567 delete arg2;
23568 }
23569 return NULL;
23570}
23571
23572
c32bde28 23573static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23574 PyObject *resultobj;
23575 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 23576 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
23577 wxString *arg2 = (wxString *) &arg2_defvalue ;
23578 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23579 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23580 wxString result;
ae8162c8
RD
23581 bool temp2 = false ;
23582 bool temp3 = false ;
d55e5bfc
RD
23583 PyObject * obj0 = 0 ;
23584 PyObject * obj1 = 0 ;
23585 PyObject * obj2 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self",(char *) "format",(char *) "tz", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23593 if (obj1) {
23594 {
23595 arg2 = wxString_in_helper(obj1);
23596 if (arg2 == NULL) SWIG_fail;
ae8162c8 23597 temp2 = true;
d55e5bfc
RD
23598 }
23599 }
23600 if (obj2) {
23601 {
23602 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23603 temp3 = true;
d55e5bfc
RD
23604 }
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614#if wxUSE_UNICODE
23615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23616#else
23617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23618#endif
23619 }
23620 {
23621 if (temp2)
23622 delete arg2;
23623 }
23624 {
23625 if (temp3) delete arg3;
23626 }
23627 return resultobj;
23628 fail:
23629 {
23630 if (temp2)
23631 delete arg2;
23632 }
23633 {
23634 if (temp3) delete arg3;
23635 }
23636 return NULL;
23637}
23638
23639
c32bde28 23640static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23641 PyObject *resultobj;
23642 wxDateTime *arg1 = (wxDateTime *) 0 ;
23643 wxString result;
23644 PyObject * obj0 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = ((wxDateTime const *)arg1)->FormatDate();
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 {
23660#if wxUSE_UNICODE
23661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23662#else
23663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23664#endif
23665 }
23666 return resultobj;
23667 fail:
23668 return NULL;
23669}
23670
23671
c32bde28 23672static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23673 PyObject *resultobj;
23674 wxDateTime *arg1 = (wxDateTime *) 0 ;
23675 wxString result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = ((wxDateTime const *)arg1)->FormatTime();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 {
23692#if wxUSE_UNICODE
23693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23694#else
23695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23696#endif
23697 }
23698 return resultobj;
23699 fail:
23700 return NULL;
23701}
23702
23703
c32bde28 23704static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23705 PyObject *resultobj;
23706 wxDateTime *arg1 = (wxDateTime *) 0 ;
23707 wxString result;
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 result = ((wxDateTime const *)arg1)->FormatISODate();
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 {
23724#if wxUSE_UNICODE
23725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23726#else
23727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23728#endif
23729 }
23730 return resultobj;
23731 fail:
23732 return NULL;
23733}
23734
23735
c32bde28 23736static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23737 PyObject *resultobj;
23738 wxDateTime *arg1 = (wxDateTime *) 0 ;
23739 wxString result;
23740 PyObject * obj0 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = ((wxDateTime const *)arg1)->FormatISOTime();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 {
23756#if wxUSE_UNICODE
23757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23758#else
23759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23760#endif
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765}
23766
23767
c32bde28 23768static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23769 PyObject *obj;
23770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23771 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
23772 Py_INCREF(obj);
23773 return Py_BuildValue((char *)"");
23774}
c32bde28 23775static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23776 PyObject *resultobj;
23777 long arg1 ;
23778 wxTimeSpan result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "sec", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
23785 {
23786 arg1 = (long)(SWIG_As_long(obj0));
23787 if (SWIG_arg_fail(1)) SWIG_fail;
23788 }
d55e5bfc
RD
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = wxTimeSpan::Seconds(arg1);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 {
23797 wxTimeSpan * resultptr;
093d3ff1 23798 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23800 }
23801 return resultobj;
23802 fail:
23803 return NULL;
23804}
23805
23806
c32bde28 23807static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23808 PyObject *resultobj;
23809 wxTimeSpan result;
23810 char *kwnames[] = {
23811 NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = wxTimeSpan::Second();
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 {
23823 wxTimeSpan * resultptr;
093d3ff1 23824 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23826 }
23827 return resultobj;
23828 fail:
23829 return NULL;
23830}
23831
23832
c32bde28 23833static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23834 PyObject *resultobj;
23835 long arg1 ;
23836 wxTimeSpan result;
23837 PyObject * obj0 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "min", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
23843 {
23844 arg1 = (long)(SWIG_As_long(obj0));
23845 if (SWIG_arg_fail(1)) SWIG_fail;
23846 }
d55e5bfc
RD
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 result = wxTimeSpan::Minutes(arg1);
23850
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 {
23855 wxTimeSpan * resultptr;
093d3ff1 23856 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23858 }
23859 return resultobj;
23860 fail:
23861 return NULL;
23862}
23863
23864
c32bde28 23865static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23866 PyObject *resultobj;
23867 wxTimeSpan result;
23868 char *kwnames[] = {
23869 NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = wxTimeSpan::Minute();
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 {
23881 wxTimeSpan * resultptr;
093d3ff1 23882 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23884 }
23885 return resultobj;
23886 fail:
23887 return NULL;
23888}
23889
23890
c32bde28 23891static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23892 PyObject *resultobj;
23893 long arg1 ;
23894 wxTimeSpan result;
23895 PyObject * obj0 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "hours", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1
RD
23901 {
23902 arg1 = (long)(SWIG_As_long(obj0));
23903 if (SWIG_arg_fail(1)) SWIG_fail;
23904 }
d55e5bfc
RD
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = wxTimeSpan::Hours(arg1);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 {
23913 wxTimeSpan * resultptr;
093d3ff1 23914 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23916 }
23917 return resultobj;
23918 fail:
23919 return NULL;
23920}
23921
23922
c32bde28 23923static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23924 PyObject *resultobj;
23925 wxTimeSpan result;
23926 char *kwnames[] = {
23927 NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 result = wxTimeSpan::Hour();
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 {
23939 wxTimeSpan * resultptr;
093d3ff1 23940 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946}
23947
23948
c32bde28 23949static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23950 PyObject *resultobj;
23951 long arg1 ;
23952 wxTimeSpan result;
23953 PyObject * obj0 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "days", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
23959 {
23960 arg1 = (long)(SWIG_As_long(obj0));
23961 if (SWIG_arg_fail(1)) SWIG_fail;
23962 }
d55e5bfc
RD
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 result = wxTimeSpan::Days(arg1);
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 {
23971 wxTimeSpan * resultptr;
093d3ff1 23972 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23974 }
23975 return resultobj;
23976 fail:
23977 return NULL;
23978}
23979
23980
c32bde28 23981static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23982 PyObject *resultobj;
23983 wxTimeSpan result;
23984 char *kwnames[] = {
23985 NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = wxTimeSpan::Day();
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 wxTimeSpan * resultptr;
093d3ff1 23998 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
23999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24000 }
24001 return resultobj;
24002 fail:
24003 return NULL;
24004}
24005
24006
c32bde28 24007static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24008 PyObject *resultobj;
24009 long arg1 ;
24010 wxTimeSpan result;
24011 PyObject * obj0 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "days", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
24017 {
24018 arg1 = (long)(SWIG_As_long(obj0));
24019 if (SWIG_arg_fail(1)) SWIG_fail;
24020 }
d55e5bfc
RD
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = wxTimeSpan::Weeks(arg1);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 wxTimeSpan * resultptr;
093d3ff1 24030 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24032 }
24033 return resultobj;
24034 fail:
24035 return NULL;
24036}
24037
24038
c32bde28 24039static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24040 PyObject *resultobj;
24041 wxTimeSpan result;
24042 char *kwnames[] = {
24043 NULL
24044 };
24045
24046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = wxTimeSpan::Week();
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 {
24055 wxTimeSpan * resultptr;
093d3ff1 24056 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24058 }
24059 return resultobj;
24060 fail:
24061 return NULL;
24062}
24063
24064
c32bde28 24065static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24066 PyObject *resultobj;
24067 long arg1 = (long) 0 ;
24068 long arg2 = (long) 0 ;
24069 long arg3 = (long) 0 ;
24070 long arg4 = (long) 0 ;
24071 wxTimeSpan *result;
24072 PyObject * obj0 = 0 ;
24073 PyObject * obj1 = 0 ;
24074 PyObject * obj2 = 0 ;
24075 PyObject * obj3 = 0 ;
24076 char *kwnames[] = {
24077 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24078 };
24079
24080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24081 if (obj0) {
093d3ff1
RD
24082 {
24083 arg1 = (long)(SWIG_As_long(obj0));
24084 if (SWIG_arg_fail(1)) SWIG_fail;
24085 }
d55e5bfc
RD
24086 }
24087 if (obj1) {
093d3ff1
RD
24088 {
24089 arg2 = (long)(SWIG_As_long(obj1));
24090 if (SWIG_arg_fail(2)) SWIG_fail;
24091 }
d55e5bfc
RD
24092 }
24093 if (obj2) {
093d3ff1
RD
24094 {
24095 arg3 = (long)(SWIG_As_long(obj2));
24096 if (SWIG_arg_fail(3)) SWIG_fail;
24097 }
d55e5bfc
RD
24098 }
24099 if (obj3) {
093d3ff1
RD
24100 {
24101 arg4 = (long)(SWIG_As_long(obj3));
24102 if (SWIG_arg_fail(4)) SWIG_fail;
24103 }
d55e5bfc
RD
24104 }
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24113 return resultobj;
24114 fail:
24115 return NULL;
24116}
24117
24118
c32bde28 24119static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24120 PyObject *resultobj;
24121 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24122 PyObject * obj0 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
24128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 delete arg1;
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 Py_INCREF(Py_None); resultobj = Py_None;
24138 return resultobj;
24139 fail:
24140 return NULL;
24141}
24142
24143
c32bde28 24144static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24145 PyObject *resultobj;
24146 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24147 wxTimeSpan *arg2 = 0 ;
24148 wxTimeSpan *result;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "diff", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24157 if (SWIG_arg_fail(1)) SWIG_fail;
24158 {
24159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24160 if (SWIG_arg_fail(2)) SWIG_fail;
24161 if (arg2 == NULL) {
24162 SWIG_null_ref("wxTimeSpan");
24163 }
24164 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24165 }
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 {
24169 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
24170 result = (wxTimeSpan *) &_result_ref;
24171 }
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24177 return resultobj;
24178 fail:
24179 return NULL;
24180}
24181
24182
c32bde28 24183static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24184 PyObject *resultobj;
24185 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24186 wxTimeSpan *arg2 = 0 ;
24187 wxTimeSpan *result;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj1 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "diff", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail;
24197 {
24198 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24199 if (SWIG_arg_fail(2)) SWIG_fail;
24200 if (arg2 == NULL) {
24201 SWIG_null_ref("wxTimeSpan");
24202 }
24203 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24204 }
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 {
24208 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
24209 result = (wxTimeSpan *) &_result_ref;
24210 }
24211
24212 wxPyEndAllowThreads(__tstate);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 }
24215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24216 return resultobj;
24217 fail:
24218 return NULL;
24219}
24220
24221
c32bde28 24222static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24223 PyObject *resultobj;
24224 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24225 int arg2 ;
24226 wxTimeSpan *result;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 char *kwnames[] = {
24230 (char *) "self",(char *) "n", NULL
24231 };
24232
24233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail;
24236 {
24237 arg2 = (int)(SWIG_As_int(obj1));
24238 if (SWIG_arg_fail(2)) SWIG_fail;
24239 }
d55e5bfc
RD
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 {
24243 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
24244 result = (wxTimeSpan *) &_result_ref;
24245 }
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24251 return resultobj;
24252 fail:
24253 return NULL;
24254}
24255
24256
c32bde28 24257static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24258 PyObject *resultobj;
24259 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24260 wxTimeSpan *result;
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 {
24272 wxTimeSpan &_result_ref = (arg1)->Neg();
24273 result = (wxTimeSpan *) &_result_ref;
24274 }
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24280 return resultobj;
24281 fail:
24282 return NULL;
24283}
24284
24285
c32bde28 24286static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24287 PyObject *resultobj;
24288 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24289 wxTimeSpan result;
24290 PyObject * obj0 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
24296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = ((wxTimeSpan const *)arg1)->Abs();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 wxTimeSpan * resultptr;
093d3ff1 24307 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313}
24314
24315
c32bde28 24316static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24317 PyObject *resultobj;
24318 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24319 wxTimeSpan *arg2 = 0 ;
24320 wxTimeSpan *result;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "diff", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24329 if (SWIG_arg_fail(1)) SWIG_fail;
24330 {
24331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail;
24333 if (arg2 == NULL) {
24334 SWIG_null_ref("wxTimeSpan");
24335 }
24336 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 {
24341 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
24342 result = (wxTimeSpan *) &_result_ref;
24343 }
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
c32bde28 24348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24349 return resultobj;
24350 fail:
24351 return NULL;
24352}
24353
24354
c32bde28 24355static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24356 PyObject *resultobj;
24357 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24358 wxTimeSpan *arg2 = 0 ;
24359 wxTimeSpan *result;
24360 PyObject * obj0 = 0 ;
24361 PyObject * obj1 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self",(char *) "diff", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24368 if (SWIG_arg_fail(1)) SWIG_fail;
24369 {
24370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail;
24372 if (arg2 == NULL) {
24373 SWIG_null_ref("wxTimeSpan");
24374 }
24375 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24376 }
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 {
24380 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
24381 result = (wxTimeSpan *) &_result_ref;
24382 }
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
c32bde28 24387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24388 return resultobj;
24389 fail:
24390 return NULL;
24391}
24392
24393
c32bde28 24394static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24395 PyObject *resultobj;
24396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24397 int arg2 ;
24398 wxTimeSpan *result;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self",(char *) "n", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24407 if (SWIG_arg_fail(1)) SWIG_fail;
24408 {
24409 arg2 = (int)(SWIG_As_int(obj1));
24410 if (SWIG_arg_fail(2)) SWIG_fail;
24411 }
d55e5bfc
RD
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 {
24415 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
24416 result = (wxTimeSpan *) &_result_ref;
24417 }
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
c32bde28 24422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
24423 return resultobj;
24424 fail:
24425 return NULL;
24426}
24427
24428
c32bde28 24429static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24430 PyObject *resultobj;
24431 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24432 wxTimeSpan *result;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
24439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 {
24444 wxTimeSpan &_result_ref = (arg1)->operator -();
24445 result = (wxTimeSpan *) &_result_ref;
24446 }
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24452 return resultobj;
24453 fail:
24454 return NULL;
24455}
24456
24457
c32bde28 24458static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24459 PyObject *resultobj;
24460 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24461 wxTimeSpan *arg2 = 0 ;
24462 wxTimeSpan result;
24463 PyObject * obj0 = 0 ;
24464 PyObject * obj1 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self",(char *) "other", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24471 if (SWIG_arg_fail(1)) SWIG_fail;
24472 {
24473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail;
24475 if (arg2 == NULL) {
24476 SWIG_null_ref("wxTimeSpan");
24477 }
24478 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24479 }
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 {
24488 wxTimeSpan * resultptr;
093d3ff1 24489 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24491 }
24492 return resultobj;
24493 fail:
24494 return NULL;
24495}
24496
24497
c32bde28 24498static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24499 PyObject *resultobj;
24500 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24501 wxTimeSpan *arg2 = 0 ;
24502 wxTimeSpan result;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self",(char *) "other", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24511 if (SWIG_arg_fail(1)) SWIG_fail;
24512 {
24513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24514 if (SWIG_arg_fail(2)) SWIG_fail;
24515 if (arg2 == NULL) {
24516 SWIG_null_ref("wxTimeSpan");
24517 }
24518 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 wxTimeSpan * resultptr;
093d3ff1 24529 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24531 }
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c32bde28 24538static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24539 PyObject *resultobj;
24540 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24541 int arg2 ;
24542 wxTimeSpan result;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "n", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24551 if (SWIG_arg_fail(1)) SWIG_fail;
24552 {
24553 arg2 = (int)(SWIG_As_int(obj1));
24554 if (SWIG_arg_fail(2)) SWIG_fail;
24555 }
d55e5bfc
RD
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = wxTimeSpan___mul__(arg1,arg2);
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 {
24564 wxTimeSpan * resultptr;
093d3ff1 24565 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24567 }
24568 return resultobj;
24569 fail:
24570 return NULL;
24571}
24572
24573
c32bde28 24574static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24575 PyObject *resultobj;
24576 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24577 int arg2 ;
24578 wxTimeSpan result;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 char *kwnames[] = {
24582 (char *) "self",(char *) "n", NULL
24583 };
24584
24585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail;
24588 {
24589 arg2 = (int)(SWIG_As_int(obj1));
24590 if (SWIG_arg_fail(2)) SWIG_fail;
24591 }
d55e5bfc
RD
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = wxTimeSpan___rmul__(arg1,arg2);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 {
24600 wxTimeSpan * resultptr;
093d3ff1 24601 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
d55e5bfc
RD
24602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24603 }
24604 return resultobj;
24605 fail:
24606 return NULL;
24607}
24608
24609
c32bde28 24610static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24611 PyObject *resultobj;
24612 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24613 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24614 bool result;
24615 PyObject * obj0 = 0 ;
24616 PyObject * obj1 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "other", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail;
24624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24625 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639}
24640
24641
c32bde28 24642static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24643 PyObject *resultobj;
24644 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24645 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24646 bool result;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self",(char *) "other", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24655 if (SWIG_arg_fail(1)) SWIG_fail;
24656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 {
24666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24667 }
24668 return resultobj;
24669 fail:
24670 return NULL;
24671}
24672
24673
c32bde28 24674static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24675 PyObject *resultobj;
24676 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24677 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24678 bool result;
24679 PyObject * obj0 = 0 ;
24680 PyObject * obj1 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "other", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail;
24688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24689 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 {
24698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24699 }
24700 return resultobj;
24701 fail:
24702 return NULL;
24703}
24704
24705
c32bde28 24706static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24707 PyObject *resultobj;
24708 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24709 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24710 bool result;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self",(char *) "other", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail;
24720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24721 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 {
24730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24731 }
24732 return resultobj;
24733 fail:
24734 return NULL;
24735}
24736
24737
c32bde28 24738static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24739 PyObject *resultobj;
24740 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24741 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24742 bool result;
24743 PyObject * obj0 = 0 ;
24744 PyObject * obj1 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self",(char *) "other", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail;
24752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24753 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 {
24762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767}
24768
24769
c32bde28 24770static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24771 PyObject *resultobj;
24772 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24773 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24774 bool result;
24775 PyObject * obj0 = 0 ;
24776 PyObject * obj1 = 0 ;
24777 char *kwnames[] = {
24778 (char *) "self",(char *) "other", NULL
24779 };
24780
24781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24783 if (SWIG_arg_fail(1)) SWIG_fail;
24784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24785 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 {
24794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24795 }
24796 return resultobj;
24797 fail:
24798 return NULL;
24799}
24800
24801
c32bde28 24802static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24803 PyObject *resultobj;
24804 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24805 bool result;
24806 PyObject * obj0 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
24812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24823 }
24824 return resultobj;
24825 fail:
24826 return NULL;
24827}
24828
24829
c32bde28 24830static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24831 PyObject *resultobj;
24832 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24833 bool result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
24840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 {
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 }
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
c32bde28 24858static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24859 PyObject *resultobj;
24860 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24861 bool result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
24868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 {
24878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24879 }
24880 return resultobj;
24881 fail:
24882 return NULL;
24883}
24884
24885
c32bde28 24886static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24887 PyObject *resultobj;
24888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24889 wxTimeSpan *arg2 = 0 ;
24890 bool result;
24891 PyObject * obj0 = 0 ;
24892 PyObject * obj1 = 0 ;
24893 char *kwnames[] = {
24894 (char *) "self",(char *) "ts", NULL
24895 };
24896
24897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail;
24900 {
24901 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24902 if (SWIG_arg_fail(2)) SWIG_fail;
24903 if (arg2 == NULL) {
24904 SWIG_null_ref("wxTimeSpan");
24905 }
24906 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24907 }
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24917 }
24918 return resultobj;
24919 fail:
24920 return NULL;
24921}
24922
24923
c32bde28 24924static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24925 PyObject *resultobj;
24926 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24927 wxTimeSpan *arg2 = 0 ;
24928 bool result;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "ts", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
24938 {
24939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24940 if (SWIG_arg_fail(2)) SWIG_fail;
24941 if (arg2 == NULL) {
24942 SWIG_null_ref("wxTimeSpan");
24943 }
24944 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24945 }
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 {
24954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24955 }
24956 return resultobj;
24957 fail:
24958 return NULL;
24959}
24960
24961
c32bde28 24962static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24963 PyObject *resultobj;
24964 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24965 wxTimeSpan *arg2 = 0 ;
24966 bool result;
24967 PyObject * obj0 = 0 ;
24968 PyObject * obj1 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "t", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail;
24976 {
24977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24978 if (SWIG_arg_fail(2)) SWIG_fail;
24979 if (arg2 == NULL) {
24980 SWIG_null_ref("wxTimeSpan");
24981 }
24982 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 {
24992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24993 }
24994 return resultobj;
24995 fail:
24996 return NULL;
24997}
24998
24999
c32bde28 25000static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25001 PyObject *resultobj;
25002 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25003 int result;
25004 PyObject * obj0 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
093d3ff1
RD
25019 {
25020 resultobj = SWIG_From_int((int)(result));
25021 }
d55e5bfc
RD
25022 return resultobj;
25023 fail:
25024 return NULL;
25025}
25026
25027
c32bde28 25028static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25029 PyObject *resultobj;
25030 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25031 int result;
25032 PyObject * obj0 = 0 ;
25033 char *kwnames[] = {
25034 (char *) "self", NULL
25035 };
25036
25037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 result = (int)((wxTimeSpan const *)arg1)->GetDays();
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
093d3ff1
RD
25047 {
25048 resultobj = SWIG_From_int((int)(result));
25049 }
d55e5bfc
RD
25050 return resultobj;
25051 fail:
25052 return NULL;
25053}
25054
25055
c32bde28 25056static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25057 PyObject *resultobj;
25058 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25059 int result;
25060 PyObject * obj0 = 0 ;
25061 char *kwnames[] = {
25062 (char *) "self", NULL
25063 };
25064
25065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
25066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 result = (int)((wxTimeSpan const *)arg1)->GetHours();
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
093d3ff1
RD
25075 {
25076 resultobj = SWIG_From_int((int)(result));
25077 }
d55e5bfc
RD
25078 return resultobj;
25079 fail:
25080 return NULL;
25081}
25082
25083
c32bde28 25084static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25085 PyObject *resultobj;
25086 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25087 int result;
25088 PyObject * obj0 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "self", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
25094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
093d3ff1
RD
25103 {
25104 resultobj = SWIG_From_int((int)(result));
25105 }
d55e5bfc
RD
25106 return resultobj;
25107 fail:
25108 return NULL;
25109}
25110
25111
c32bde28 25112static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25113 PyObject *resultobj;
25114 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25115 wxLongLong result;
25116 PyObject * obj0 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = ((wxTimeSpan const *)arg1)->GetSeconds();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 PyObject *hi, *lo, *shifter, *shifted;
25133 hi = PyLong_FromLong( (&result)->GetHi() );
25134 lo = PyLong_FromLong( (&result)->GetLo() );
25135 shifter = PyLong_FromLong(32);
25136 shifted = PyNumber_Lshift(hi, shifter);
25137 resultobj = PyNumber_Or(shifted, lo);
25138 Py_DECREF(hi);
25139 Py_DECREF(lo);
25140 Py_DECREF(shifter);
25141 Py_DECREF(shifted);
25142 }
25143 return resultobj;
25144 fail:
25145 return NULL;
25146}
25147
25148
c32bde28 25149static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25150 PyObject *resultobj;
25151 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25152 wxLongLong result;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
25164
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 {
25169 PyObject *hi, *lo, *shifter, *shifted;
25170 hi = PyLong_FromLong( (&result)->GetHi() );
25171 lo = PyLong_FromLong( (&result)->GetLo() );
25172 shifter = PyLong_FromLong(32);
25173 shifted = PyNumber_Lshift(hi, shifter);
25174 resultobj = PyNumber_Or(shifted, lo);
25175 Py_DECREF(hi);
25176 Py_DECREF(lo);
25177 Py_DECREF(shifter);
25178 Py_DECREF(shifted);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183}
25184
25185
c32bde28 25186static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25187 PyObject *resultobj;
25188 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 25189 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
25190 wxString *arg2 = (wxString *) &arg2_defvalue ;
25191 wxString result;
ae8162c8 25192 bool temp2 = false ;
d55e5bfc
RD
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 char *kwnames[] = {
25196 (char *) "self",(char *) "format", NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25202 if (obj1) {
25203 {
25204 arg2 = wxString_in_helper(obj1);
25205 if (arg2 == NULL) SWIG_fail;
ae8162c8 25206 temp2 = true;
d55e5bfc
RD
25207 }
25208 }
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 {
25217#if wxUSE_UNICODE
25218 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25219#else
25220 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25221#endif
25222 }
25223 {
25224 if (temp2)
25225 delete arg2;
25226 }
25227 return resultobj;
25228 fail:
25229 {
25230 if (temp2)
25231 delete arg2;
25232 }
25233 return NULL;
25234}
25235
25236
c32bde28 25237static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25238 PyObject *obj;
25239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25240 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
25241 Py_INCREF(obj);
25242 return Py_BuildValue((char *)"");
25243}
c32bde28 25244static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25245 PyObject *resultobj;
25246 int arg1 = (int) 0 ;
25247 int arg2 = (int) 0 ;
25248 int arg3 = (int) 0 ;
25249 int arg4 = (int) 0 ;
25250 wxDateSpan *result;
25251 PyObject * obj0 = 0 ;
25252 PyObject * obj1 = 0 ;
25253 PyObject * obj2 = 0 ;
25254 PyObject * obj3 = 0 ;
25255 char *kwnames[] = {
25256 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25257 };
25258
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25260 if (obj0) {
093d3ff1
RD
25261 {
25262 arg1 = (int)(SWIG_As_int(obj0));
25263 if (SWIG_arg_fail(1)) SWIG_fail;
25264 }
d55e5bfc
RD
25265 }
25266 if (obj1) {
093d3ff1
RD
25267 {
25268 arg2 = (int)(SWIG_As_int(obj1));
25269 if (SWIG_arg_fail(2)) SWIG_fail;
25270 }
d55e5bfc
RD
25271 }
25272 if (obj2) {
093d3ff1
RD
25273 {
25274 arg3 = (int)(SWIG_As_int(obj2));
25275 if (SWIG_arg_fail(3)) SWIG_fail;
25276 }
d55e5bfc
RD
25277 }
25278 if (obj3) {
093d3ff1
RD
25279 {
25280 arg4 = (int)(SWIG_As_int(obj3));
25281 if (SWIG_arg_fail(4)) SWIG_fail;
25282 }
d55e5bfc
RD
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
25292 return resultobj;
25293 fail:
25294 return NULL;
25295}
25296
25297
c32bde28 25298static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25299 PyObject *resultobj;
25300 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25301 PyObject * obj0 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 delete arg1;
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 Py_INCREF(Py_None); resultobj = Py_None;
25317 return resultobj;
25318 fail:
25319 return NULL;
25320}
25321
25322
c32bde28 25323static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25324 PyObject *resultobj;
25325 int arg1 ;
25326 wxDateSpan result;
25327 PyObject * obj0 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "days", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
25333 {
25334 arg1 = (int)(SWIG_As_int(obj0));
25335 if (SWIG_arg_fail(1)) SWIG_fail;
25336 }
d55e5bfc
RD
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 result = wxDateSpan::Days(arg1);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 {
25345 wxDateSpan * resultptr;
093d3ff1 25346 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25348 }
25349 return resultobj;
25350 fail:
25351 return NULL;
25352}
25353
25354
c32bde28 25355static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25356 PyObject *resultobj;
25357 wxDateSpan result;
25358 char *kwnames[] = {
25359 NULL
25360 };
25361
25362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = wxDateSpan::Day();
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 wxDateSpan * resultptr;
093d3ff1 25372 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378}
25379
25380
c32bde28 25381static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25382 PyObject *resultobj;
25383 int arg1 ;
25384 wxDateSpan result;
25385 PyObject * obj0 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "weeks", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25391 {
25392 arg1 = (int)(SWIG_As_int(obj0));
25393 if (SWIG_arg_fail(1)) SWIG_fail;
25394 }
d55e5bfc
RD
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 result = wxDateSpan::Weeks(arg1);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 {
25403 wxDateSpan * resultptr;
093d3ff1 25404 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25406 }
25407 return resultobj;
25408 fail:
25409 return NULL;
25410}
25411
25412
c32bde28 25413static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25414 PyObject *resultobj;
25415 wxDateSpan result;
25416 char *kwnames[] = {
25417 NULL
25418 };
25419
25420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = wxDateSpan::Week();
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 {
25429 wxDateSpan * resultptr;
093d3ff1 25430 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25432 }
25433 return resultobj;
25434 fail:
25435 return NULL;
25436}
25437
25438
c32bde28 25439static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25440 PyObject *resultobj;
25441 int arg1 ;
25442 wxDateSpan result;
25443 PyObject * obj0 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "mon", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1
RD
25449 {
25450 arg1 = (int)(SWIG_As_int(obj0));
25451 if (SWIG_arg_fail(1)) SWIG_fail;
25452 }
d55e5bfc
RD
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = wxDateSpan::Months(arg1);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 {
25461 wxDateSpan * resultptr;
093d3ff1 25462 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25464 }
25465 return resultobj;
25466 fail:
25467 return NULL;
25468}
25469
25470
c32bde28 25471static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25472 PyObject *resultobj;
25473 wxDateSpan result;
25474 char *kwnames[] = {
25475 NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = wxDateSpan::Month();
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487 wxDateSpan * resultptr;
093d3ff1 25488 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25490 }
25491 return resultobj;
25492 fail:
25493 return NULL;
25494}
25495
25496
c32bde28 25497static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25498 PyObject *resultobj;
25499 int arg1 ;
25500 wxDateSpan result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "years", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1
RD
25507 {
25508 arg1 = (int)(SWIG_As_int(obj0));
25509 if (SWIG_arg_fail(1)) SWIG_fail;
25510 }
d55e5bfc
RD
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 result = wxDateSpan::Years(arg1);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 {
25519 wxDateSpan * resultptr;
093d3ff1 25520 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25522 }
25523 return resultobj;
25524 fail:
25525 return NULL;
25526}
25527
25528
c32bde28 25529static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25530 PyObject *resultobj;
25531 wxDateSpan result;
25532 char *kwnames[] = {
25533 NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = wxDateSpan::Year();
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 {
25545 wxDateSpan * resultptr;
093d3ff1 25546 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
25547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25548 }
25549 return resultobj;
25550 fail:
25551 return NULL;
25552}
25553
25554
c32bde28 25555static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25556 PyObject *resultobj;
25557 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25558 int arg2 ;
25559 wxDateSpan *result;
25560 PyObject * obj0 = 0 ;
25561 PyObject * obj1 = 0 ;
25562 char *kwnames[] = {
25563 (char *) "self",(char *) "n", NULL
25564 };
25565
25566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25568 if (SWIG_arg_fail(1)) SWIG_fail;
25569 {
25570 arg2 = (int)(SWIG_As_int(obj1));
25571 if (SWIG_arg_fail(2)) SWIG_fail;
25572 }
d55e5bfc
RD
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 {
25576 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
25577 result = (wxDateSpan *) &_result_ref;
25578 }
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25584 return resultobj;
25585 fail:
25586 return NULL;
25587}
25588
25589
c32bde28 25590static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25591 PyObject *resultobj;
25592 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25593 int arg2 ;
25594 wxDateSpan *result;
25595 PyObject * obj0 = 0 ;
25596 PyObject * obj1 = 0 ;
25597 char *kwnames[] = {
25598 (char *) "self",(char *) "n", NULL
25599 };
25600
25601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail;
25604 {
25605 arg2 = (int)(SWIG_As_int(obj1));
25606 if (SWIG_arg_fail(2)) SWIG_fail;
25607 }
d55e5bfc
RD
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 {
25611 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
25612 result = (wxDateSpan *) &_result_ref;
25613 }
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25619 return resultobj;
25620 fail:
25621 return NULL;
25622}
25623
25624
c32bde28 25625static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25626 PyObject *resultobj;
25627 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25628 int arg2 ;
25629 wxDateSpan *result;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "n", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25638 if (SWIG_arg_fail(1)) SWIG_fail;
25639 {
25640 arg2 = (int)(SWIG_As_int(obj1));
25641 if (SWIG_arg_fail(2)) SWIG_fail;
25642 }
d55e5bfc
RD
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 {
25646 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
25647 result = (wxDateSpan *) &_result_ref;
25648 }
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25654 return resultobj;
25655 fail:
25656 return NULL;
25657}
25658
25659
c32bde28 25660static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25661 PyObject *resultobj;
25662 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25663 int arg2 ;
25664 wxDateSpan *result;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self",(char *) "n", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail;
25674 {
25675 arg2 = (int)(SWIG_As_int(obj1));
25676 if (SWIG_arg_fail(2)) SWIG_fail;
25677 }
d55e5bfc
RD
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 {
25681 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
25682 result = (wxDateSpan *) &_result_ref;
25683 }
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
c32bde28 25695static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25696 PyObject *resultobj;
25697 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25698 int result;
25699 PyObject * obj0 = 0 ;
25700 char *kwnames[] = {
25701 (char *) "self", NULL
25702 };
25703
25704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
25705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (int)((wxDateSpan const *)arg1)->GetYears();
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
093d3ff1
RD
25714 {
25715 resultobj = SWIG_From_int((int)(result));
25716 }
d55e5bfc
RD
25717 return resultobj;
25718 fail:
25719 return NULL;
25720}
25721
25722
c32bde28 25723static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25724 PyObject *resultobj;
25725 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25726 int result;
25727 PyObject * obj0 = 0 ;
25728 char *kwnames[] = {
25729 (char *) "self", NULL
25730 };
25731
25732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
25733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25735 {
25736 PyThreadState* __tstate = wxPyBeginAllowThreads();
25737 result = (int)((wxDateSpan const *)arg1)->GetMonths();
25738
25739 wxPyEndAllowThreads(__tstate);
25740 if (PyErr_Occurred()) SWIG_fail;
25741 }
093d3ff1
RD
25742 {
25743 resultobj = SWIG_From_int((int)(result));
25744 }
d55e5bfc
RD
25745 return resultobj;
25746 fail:
25747 return NULL;
25748}
25749
25750
c32bde28 25751static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25752 PyObject *resultobj;
25753 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25754 int result;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
25766
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
093d3ff1
RD
25770 {
25771 resultobj = SWIG_From_int((int)(result));
25772 }
d55e5bfc
RD
25773 return resultobj;
25774 fail:
25775 return NULL;
25776}
25777
25778
c32bde28 25779static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25780 PyObject *resultobj;
25781 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25782 int result;
25783 PyObject * obj0 = 0 ;
25784 char *kwnames[] = {
25785 (char *) "self", NULL
25786 };
25787
25788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (int)((wxDateSpan const *)arg1)->GetDays();
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
093d3ff1
RD
25798 {
25799 resultobj = SWIG_From_int((int)(result));
25800 }
d55e5bfc
RD
25801 return resultobj;
25802 fail:
25803 return NULL;
25804}
25805
25806
c32bde28 25807static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25808 PyObject *resultobj;
25809 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25810 int result;
25811 PyObject * obj0 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
093d3ff1
RD
25826 {
25827 resultobj = SWIG_From_int((int)(result));
25828 }
d55e5bfc
RD
25829 return resultobj;
25830 fail:
25831 return NULL;
25832}
25833
25834
c32bde28 25835static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25836 PyObject *resultobj;
25837 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25838 wxDateSpan *arg2 = 0 ;
25839 wxDateSpan *result;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "other", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail;
25849 {
25850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25851 if (SWIG_arg_fail(2)) SWIG_fail;
25852 if (arg2 == NULL) {
25853 SWIG_null_ref("wxDateSpan");
25854 }
25855 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25856 }
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 {
25860 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
25861 result = (wxDateSpan *) &_result_ref;
25862 }
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25868 return resultobj;
25869 fail:
25870 return NULL;
25871}
25872
25873
c32bde28 25874static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25875 PyObject *resultobj;
25876 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25877 wxDateSpan *arg2 = 0 ;
25878 wxDateSpan *result;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "other", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25887 if (SWIG_arg_fail(1)) SWIG_fail;
25888 {
25889 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25890 if (SWIG_arg_fail(2)) SWIG_fail;
25891 if (arg2 == NULL) {
25892 SWIG_null_ref("wxDateSpan");
25893 }
25894 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25895 }
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 {
25899 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
25900 result = (wxDateSpan *) &_result_ref;
25901 }
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910}
25911
25912
c32bde28 25913static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25914 PyObject *resultobj;
25915 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25916 wxDateSpan *result;
25917 PyObject * obj0 = 0 ;
25918 char *kwnames[] = {
25919 (char *) "self", NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
25923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 {
25928 wxDateSpan &_result_ref = (arg1)->Neg();
25929 result = (wxDateSpan *) &_result_ref;
25930 }
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25936 return resultobj;
25937 fail:
25938 return NULL;
25939}
25940
25941
c32bde28 25942static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25943 PyObject *resultobj;
25944 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25945 int arg2 ;
25946 wxDateSpan *result;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self",(char *) "factor", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
25956 {
25957 arg2 = (int)(SWIG_As_int(obj1));
25958 if (SWIG_arg_fail(2)) SWIG_fail;
25959 }
d55e5bfc
RD
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 {
25963 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
25964 result = (wxDateSpan *) &_result_ref;
25965 }
25966
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25971 return resultobj;
25972 fail:
25973 return NULL;
25974}
25975
25976
c32bde28 25977static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25978 PyObject *resultobj;
25979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25980 wxDateSpan *arg2 = 0 ;
25981 wxDateSpan *result;
25982 PyObject * obj0 = 0 ;
25983 PyObject * obj1 = 0 ;
25984 char *kwnames[] = {
25985 (char *) "self",(char *) "other", NULL
25986 };
25987
25988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25990 if (SWIG_arg_fail(1)) SWIG_fail;
25991 {
25992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(2)) SWIG_fail;
25994 if (arg2 == NULL) {
25995 SWIG_null_ref("wxDateSpan");
25996 }
25997 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25998 }
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 {
26002 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
26003 result = (wxDateSpan *) &_result_ref;
26004 }
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
c32bde28 26009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26010 return resultobj;
26011 fail:
26012 return NULL;
26013}
26014
26015
c32bde28 26016static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26017 PyObject *resultobj;
26018 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26019 wxDateSpan *arg2 = 0 ;
26020 wxDateSpan *result;
26021 PyObject * obj0 = 0 ;
26022 PyObject * obj1 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "other", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26029 if (SWIG_arg_fail(1)) SWIG_fail;
26030 {
26031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26032 if (SWIG_arg_fail(2)) SWIG_fail;
26033 if (arg2 == NULL) {
26034 SWIG_null_ref("wxDateSpan");
26035 }
26036 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 {
26041 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
26042 result = (wxDateSpan *) &_result_ref;
26043 }
26044
26045 wxPyEndAllowThreads(__tstate);
26046 if (PyErr_Occurred()) SWIG_fail;
26047 }
c32bde28 26048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26049 return resultobj;
26050 fail:
26051 return NULL;
26052}
26053
26054
c32bde28 26055static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26056 PyObject *resultobj;
26057 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26058 wxDateSpan *result;
26059 PyObject * obj0 = 0 ;
26060 char *kwnames[] = {
26061 (char *) "self", NULL
26062 };
26063
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
26065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 {
26070 wxDateSpan &_result_ref = (arg1)->operator -();
26071 result = (wxDateSpan *) &_result_ref;
26072 }
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26078 return resultobj;
26079 fail:
26080 return NULL;
26081}
26082
26083
c32bde28 26084static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26085 PyObject *resultobj;
26086 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26087 int arg2 ;
26088 wxDateSpan *result;
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self",(char *) "factor", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26097 if (SWIG_arg_fail(1)) SWIG_fail;
26098 {
26099 arg2 = (int)(SWIG_As_int(obj1));
26100 if (SWIG_arg_fail(2)) SWIG_fail;
26101 }
d55e5bfc
RD
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 {
26105 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
26106 result = (wxDateSpan *) &_result_ref;
26107 }
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
c32bde28 26112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
26113 return resultobj;
26114 fail:
26115 return NULL;
26116}
26117
26118
c32bde28 26119static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26120 PyObject *resultobj;
26121 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26122 wxDateSpan *arg2 = 0 ;
26123 wxDateSpan result;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 char *kwnames[] = {
26127 (char *) "self",(char *) "other", NULL
26128 };
26129
26130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail;
26133 {
26134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26135 if (SWIG_arg_fail(2)) SWIG_fail;
26136 if (arg2 == NULL) {
26137 SWIG_null_ref("wxDateSpan");
26138 }
26139 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26140 }
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
26144
26145 wxPyEndAllowThreads(__tstate);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 {
26149 wxDateSpan * resultptr;
093d3ff1 26150 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26152 }
26153 return resultobj;
26154 fail:
26155 return NULL;
26156}
26157
26158
c32bde28 26159static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26160 PyObject *resultobj;
26161 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26162 wxDateSpan *arg2 = 0 ;
26163 wxDateSpan result;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "other", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail;
26173 {
26174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26175 if (SWIG_arg_fail(2)) SWIG_fail;
26176 if (arg2 == NULL) {
26177 SWIG_null_ref("wxDateSpan");
26178 }
26179 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 wxDateSpan * resultptr;
093d3ff1 26190 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26192 }
26193 return resultobj;
26194 fail:
26195 return NULL;
26196}
26197
26198
c32bde28 26199static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26200 PyObject *resultobj;
26201 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26202 int arg2 ;
26203 wxDateSpan result;
26204 PyObject * obj0 = 0 ;
26205 PyObject * obj1 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "n", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",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 arg2 = (int)(SWIG_As_int(obj1));
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 }
d55e5bfc
RD
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = wxDateSpan___mul__(arg1,arg2);
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 {
26225 wxDateSpan * resultptr;
093d3ff1 26226 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26228 }
26229 return resultobj;
26230 fail:
26231 return NULL;
26232}
26233
26234
c32bde28 26235static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26236 PyObject *resultobj;
26237 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26238 int arg2 ;
26239 wxDateSpan result;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "n", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail;
26249 {
26250 arg2 = (int)(SWIG_As_int(obj1));
26251 if (SWIG_arg_fail(2)) SWIG_fail;
26252 }
d55e5bfc
RD
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = wxDateSpan___rmul__(arg1,arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 wxDateSpan * resultptr;
093d3ff1 26262 resultptr = new wxDateSpan((wxDateSpan &)(result));
d55e5bfc
RD
26263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
c32bde28 26271static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26272 PyObject *resultobj;
26273 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26274 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "other", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
26297 return resultobj;
26298 fail:
26299 return NULL;
26300}
26301
26302
c32bde28 26303static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26304 PyObject *resultobj;
26305 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26306 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26307 bool result;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "other", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26318 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
26322
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 {
26327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26328 }
26329 return resultobj;
26330 fail:
26331 return NULL;
26332}
26333
26334
c32bde28 26335static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26336 PyObject *obj;
26337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26338 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
26339 Py_INCREF(obj);
26340 return Py_BuildValue((char *)"");
26341}
c32bde28 26342static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26343 PyObject *resultobj;
26344 long result;
26345 char *kwnames[] = {
26346 NULL
26347 };
26348
26349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (long)wxGetLocalTime();
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
093d3ff1
RD
26357 {
26358 resultobj = SWIG_From_long((long)(result));
26359 }
d55e5bfc
RD
26360 return resultobj;
26361 fail:
26362 return NULL;
26363}
26364
26365
c32bde28 26366static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26367 PyObject *resultobj;
26368 long result;
26369 char *kwnames[] = {
26370 NULL
26371 };
26372
26373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 result = (long)wxGetUTCTime();
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
093d3ff1
RD
26381 {
26382 resultobj = SWIG_From_long((long)(result));
26383 }
d55e5bfc
RD
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
c32bde28 26390static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26391 PyObject *resultobj;
26392 long result;
26393 char *kwnames[] = {
26394 NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 result = (long)wxGetCurrentTime();
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
093d3ff1
RD
26405 {
26406 resultobj = SWIG_From_long((long)(result));
26407 }
d55e5bfc
RD
26408 return resultobj;
26409 fail:
26410 return NULL;
26411}
26412
26413
c32bde28 26414static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26415 PyObject *resultobj;
26416 wxLongLong result;
26417 char *kwnames[] = {
26418 NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 result = wxGetLocalTimeMillis();
26425
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 PyObject *hi, *lo, *shifter, *shifted;
26431 hi = PyLong_FromLong( (&result)->GetHi() );
26432 lo = PyLong_FromLong( (&result)->GetLo() );
26433 shifter = PyLong_FromLong(32);
26434 shifted = PyNumber_Lshift(hi, shifter);
26435 resultobj = PyNumber_Or(shifted, lo);
26436 Py_DECREF(hi);
26437 Py_DECREF(lo);
26438 Py_DECREF(shifter);
26439 Py_DECREF(shifted);
26440 }
26441 return resultobj;
26442 fail:
26443 return NULL;
26444}
26445
26446
c32bde28 26447static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
26448 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
26449 return 1;
26450}
26451
26452
093d3ff1 26453static PyObject *_wrap_DefaultDateTime_get(void) {
d55e5bfc
RD
26454 PyObject *pyobj;
26455
26456 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
26457 return pyobj;
26458}
26459
26460
c32bde28 26461static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26462 PyObject *resultobj;
093d3ff1 26463 wxDataFormatId arg1 ;
d55e5bfc
RD
26464 wxDataFormat *result;
26465 PyObject * obj0 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "type", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26471 {
26472 arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
26473 if (SWIG_arg_fail(1)) SWIG_fail;
26474 }
d55e5bfc
RD
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26483 return resultobj;
26484 fail:
26485 return NULL;
26486}
26487
26488
c32bde28 26489static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26490 PyObject *resultobj;
26491 wxString *arg1 = 0 ;
26492 wxDataFormat *result;
ae8162c8 26493 bool temp1 = false ;
d55e5bfc
RD
26494 PyObject * obj0 = 0 ;
26495 char *kwnames[] = {
26496 (char *) "format", NULL
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
26500 {
26501 arg1 = wxString_in_helper(obj0);
26502 if (arg1 == NULL) SWIG_fail;
ae8162c8 26503 temp1 = true;
d55e5bfc
RD
26504 }
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26513 {
26514 if (temp1)
26515 delete arg1;
26516 }
26517 return resultobj;
26518 fail:
26519 {
26520 if (temp1)
26521 delete arg1;
26522 }
26523 return NULL;
26524}
26525
26526
c32bde28 26527static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26528 PyObject *resultobj;
26529 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26530 PyObject * obj0 = 0 ;
26531 char *kwnames[] = {
26532 (char *) "self", NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 delete arg1;
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 Py_INCREF(Py_None); resultobj = Py_None;
26546 return resultobj;
26547 fail:
26548 return NULL;
26549}
26550
26551
c32bde28 26552static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26553 PyObject *resultobj;
26554 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26555 wxDataFormatId arg2 ;
d55e5bfc
RD
26556 bool result;
26557 PyObject * obj0 = 0 ;
26558 PyObject * obj1 = 0 ;
26559
26560 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail;
26563 {
26564 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26565 if (SWIG_arg_fail(2)) SWIG_fail;
26566 }
d55e5bfc
RD
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26576 }
26577 return resultobj;
26578 fail:
26579 return NULL;
26580}
26581
26582
c32bde28 26583static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26584 PyObject *resultobj;
26585 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26586 wxDataFormatId arg2 ;
d55e5bfc
RD
26587 bool result;
26588 PyObject * obj0 = 0 ;
26589 PyObject * obj1 = 0 ;
26590
26591 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26593 if (SWIG_arg_fail(1)) SWIG_fail;
26594 {
26595 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26596 if (SWIG_arg_fail(2)) SWIG_fail;
26597 }
d55e5bfc
RD
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 {
26606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26607 }
26608 return resultobj;
26609 fail:
26610 return NULL;
26611}
26612
26613
c32bde28 26614static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26615 PyObject *resultobj;
26616 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26617 wxDataFormat *arg2 = 0 ;
26618 bool result;
26619 PyObject * obj0 = 0 ;
26620 PyObject * obj1 = 0 ;
26621
26622 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail;
26625 {
26626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(2)) SWIG_fail;
26628 if (arg2 == NULL) {
26629 SWIG_null_ref("wxDataFormat");
26630 }
26631 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26632 }
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
26636
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 {
26641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26642 }
26643 return resultobj;
26644 fail:
26645 return NULL;
26646}
26647
26648
26649static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
26650 int argc;
26651 PyObject *argv[3];
26652 int ii;
26653
26654 argc = PyObject_Length(args);
26655 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26656 argv[ii] = PyTuple_GetItem(args,ii);
26657 }
26658 if (argc == 2) {
26659 int _v;
26660 {
26661 void *ptr;
26662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26663 _v = 0;
26664 PyErr_Clear();
26665 } else {
26666 _v = 1;
26667 }
26668 }
26669 if (_v) {
26670 {
093d3ff1 26671 void *ptr = 0;
d55e5bfc
RD
26672 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26673 _v = 0;
26674 PyErr_Clear();
26675 } else {
093d3ff1 26676 _v = (ptr != 0);
d55e5bfc
RD
26677 }
26678 }
26679 if (_v) {
26680 return _wrap_DataFormat___eq____SWIG_1(self,args);
26681 }
26682 }
26683 }
26684 if (argc == 2) {
26685 int _v;
26686 {
26687 void *ptr;
26688 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26689 _v = 0;
26690 PyErr_Clear();
26691 } else {
26692 _v = 1;
26693 }
26694 }
26695 if (_v) {
c32bde28 26696 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
26697 if (_v) {
26698 return _wrap_DataFormat___eq____SWIG_0(self,args);
26699 }
26700 }
26701 }
26702
093d3ff1
RD
26703 Py_INCREF(Py_NotImplemented);
26704 return Py_NotImplemented;
d55e5bfc
RD
26705}
26706
26707
c32bde28 26708static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26709 PyObject *resultobj;
26710 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26711 wxDataFormat *arg2 = 0 ;
26712 bool result;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715
26716 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail;
26719 {
26720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26721 if (SWIG_arg_fail(2)) SWIG_fail;
26722 if (arg2 == NULL) {
26723 SWIG_null_ref("wxDataFormat");
26724 }
26725 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26726 }
26727 {
26728 PyThreadState* __tstate = wxPyBeginAllowThreads();
26729 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
26730
26731 wxPyEndAllowThreads(__tstate);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 }
26734 {
26735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26736 }
26737 return resultobj;
26738 fail:
26739 return NULL;
26740}
26741
26742
26743static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
26744 int argc;
26745 PyObject *argv[3];
26746 int ii;
26747
26748 argc = PyObject_Length(args);
26749 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26750 argv[ii] = PyTuple_GetItem(args,ii);
26751 }
26752 if (argc == 2) {
26753 int _v;
26754 {
26755 void *ptr;
26756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26757 _v = 0;
26758 PyErr_Clear();
26759 } else {
26760 _v = 1;
26761 }
26762 }
26763 if (_v) {
26764 {
093d3ff1 26765 void *ptr = 0;
d55e5bfc
RD
26766 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26767 _v = 0;
26768 PyErr_Clear();
26769 } else {
093d3ff1 26770 _v = (ptr != 0);
d55e5bfc
RD
26771 }
26772 }
26773 if (_v) {
26774 return _wrap_DataFormat___ne____SWIG_1(self,args);
26775 }
26776 }
26777 }
26778 if (argc == 2) {
26779 int _v;
26780 {
26781 void *ptr;
26782 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26783 _v = 0;
26784 PyErr_Clear();
26785 } else {
26786 _v = 1;
26787 }
26788 }
26789 if (_v) {
c32bde28 26790 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
26791 if (_v) {
26792 return _wrap_DataFormat___ne____SWIG_0(self,args);
26793 }
26794 }
26795 }
26796
093d3ff1
RD
26797 Py_INCREF(Py_NotImplemented);
26798 return Py_NotImplemented;
d55e5bfc
RD
26799}
26800
26801
c32bde28 26802static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26803 PyObject *resultobj;
26804 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26805 wxDataFormatId arg2 ;
d55e5bfc
RD
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "format", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
26815 {
26816 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26817 if (SWIG_arg_fail(2)) SWIG_fail;
26818 }
d55e5bfc
RD
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 (arg1)->SetType((wxDataFormatId )arg2);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 Py_INCREF(Py_None); resultobj = Py_None;
26827 return resultobj;
26828 fail:
26829 return NULL;
26830}
26831
26832
c32bde28 26833static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26834 PyObject *resultobj;
26835 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26836 wxDataFormatId result;
d55e5bfc
RD
26837 PyObject * obj0 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
26843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 26847 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
093d3ff1 26852 resultobj = SWIG_From_int((result));
d55e5bfc
RD
26853 return resultobj;
26854 fail:
26855 return NULL;
26856}
26857
26858
c32bde28 26859static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26860 PyObject *resultobj;
26861 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26862 wxString result;
26863 PyObject * obj0 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 result = ((wxDataFormat const *)arg1)->GetId();
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879#if wxUSE_UNICODE
26880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26881#else
26882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26883#endif
26884 }
26885 return resultobj;
26886 fail:
26887 return NULL;
26888}
26889
26890
c32bde28 26891static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26892 PyObject *resultobj;
26893 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26894 wxString *arg2 = 0 ;
ae8162c8 26895 bool temp2 = false ;
d55e5bfc
RD
26896 PyObject * obj0 = 0 ;
26897 PyObject * obj1 = 0 ;
26898 char *kwnames[] = {
26899 (char *) "self",(char *) "format", NULL
26900 };
26901
26902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26905 {
26906 arg2 = wxString_in_helper(obj1);
26907 if (arg2 == NULL) SWIG_fail;
ae8162c8 26908 temp2 = true;
d55e5bfc
RD
26909 }
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 (arg1)->SetId((wxString const &)*arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 Py_INCREF(Py_None); resultobj = Py_None;
26918 {
26919 if (temp2)
26920 delete arg2;
26921 }
26922 return resultobj;
26923 fail:
26924 {
26925 if (temp2)
26926 delete arg2;
26927 }
26928 return NULL;
26929}
26930
26931
c32bde28 26932static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26933 PyObject *obj;
26934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26935 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
26936 Py_INCREF(obj);
26937 return Py_BuildValue((char *)"");
26938}
c32bde28 26939static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
26940 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
26941 return 1;
26942}
26943
26944
093d3ff1 26945static PyObject *_wrap_FormatInvalid_get(void) {
d55e5bfc
RD
26946 PyObject *pyobj;
26947
26948 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
26949 return pyobj;
26950}
26951
26952
c32bde28 26953static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26954 PyObject *resultobj;
26955 wxDataObject *arg1 = (wxDataObject *) 0 ;
26956 PyObject * obj0 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
26962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26964 {
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 delete arg1;
26967
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 Py_INCREF(Py_None); resultobj = Py_None;
26972 return resultobj;
26973 fail:
26974 return NULL;
26975}
26976
26977
c32bde28 26978static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26979 PyObject *resultobj;
26980 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
26981 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
26982 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 char *kwnames[] = {
26986 (char *) "self",(char *) "dir", NULL
26987 };
26988
26989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26992 if (obj1) {
093d3ff1
RD
26993 {
26994 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
26995 if (SWIG_arg_fail(2)) SWIG_fail;
26996 }
d55e5bfc
RD
26997 }
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
27001
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 {
27006 wxDataFormat * resultptr;
093d3ff1 27007 resultptr = new wxDataFormat((wxDataFormat &)(result));
d55e5bfc
RD
27008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
27009 }
27010 return resultobj;
27011 fail:
27012 return NULL;
27013}
27014
27015
c32bde28 27016static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27017 PyObject *resultobj;
27018 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27019 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27020 size_t result;
27021 PyObject * obj0 = 0 ;
27022 PyObject * obj1 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "dir", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27030 if (obj1) {
093d3ff1
RD
27031 {
27032 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27033 if (SWIG_arg_fail(2)) SWIG_fail;
27034 }
d55e5bfc
RD
27035 }
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
093d3ff1
RD
27043 {
27044 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27045 }
d55e5bfc
RD
27046 return resultobj;
27047 fail:
27048 return NULL;
27049}
27050
27051
c32bde28 27052static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27053 PyObject *resultobj;
27054 wxDataObject *arg1 = (wxDataObject *) 0 ;
27055 wxDataFormat *arg2 = 0 ;
093d3ff1 27056 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
27057 bool result;
27058 PyObject * obj0 = 0 ;
27059 PyObject * obj1 = 0 ;
27060 PyObject * obj2 = 0 ;
27061 char *kwnames[] = {
27062 (char *) "self",(char *) "format",(char *) "dir", NULL
27063 };
27064
27065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail;
27068 {
27069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(2)) SWIG_fail;
27071 if (arg2 == NULL) {
27072 SWIG_null_ref("wxDataFormat");
27073 }
27074 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27075 }
27076 if (obj2) {
093d3ff1
RD
27077 {
27078 arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
27079 if (SWIG_arg_fail(3)) SWIG_fail;
27080 }
d55e5bfc
RD
27081 }
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
27085
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 {
27090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27091 }
27092 return resultobj;
27093 fail:
27094 return NULL;
27095}
27096
27097
c32bde28 27098static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27099 PyObject *resultobj;
27100 wxDataObject *arg1 = (wxDataObject *) 0 ;
27101 wxDataFormat *arg2 = 0 ;
27102 size_t result;
27103 PyObject * obj0 = 0 ;
27104 PyObject * obj1 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self",(char *) "format", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail;
27112 {
27113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27114 if (SWIG_arg_fail(2)) SWIG_fail;
27115 if (arg2 == NULL) {
27116 SWIG_null_ref("wxDataFormat");
27117 }
27118 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27119 }
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
27123
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
093d3ff1
RD
27127 {
27128 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27129 }
d55e5bfc
RD
27130 return resultobj;
27131 fail:
27132 return NULL;
27133}
27134
27135
c32bde28 27136static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27137 PyObject *resultobj;
27138 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27139 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
a07a67e6 27140 PyObject *result;
d55e5bfc
RD
27141 PyObject * obj0 = 0 ;
27142 PyObject * obj1 = 0 ;
d55e5bfc 27143 char *kwnames[] = {
a07a67e6 27144 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
27145 };
27146
a07a67e6 27147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6 27150 if (obj1) {
093d3ff1
RD
27151 {
27152 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27153 if (SWIG_arg_fail(2)) SWIG_fail;
27154 }
d55e5bfc
RD
27155 }
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27158 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d55e5bfc
RD
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
a07a67e6 27163 resultobj = result;
d55e5bfc
RD
27164 return resultobj;
27165 fail:
27166 return NULL;
27167}
27168
27169
c32bde28 27170static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27171 PyObject *resultobj;
27172 wxDataObject *arg1 = (wxDataObject *) 0 ;
27173 wxDataFormat *arg2 = 0 ;
a07a67e6 27174 PyObject *result;
d55e5bfc
RD
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
d55e5bfc 27177 char *kwnames[] = {
a07a67e6 27178 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
27179 };
27180
a07a67e6 27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail;
27184 {
27185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27186 if (SWIG_arg_fail(2)) SWIG_fail;
27187 if (arg2 == NULL) {
27188 SWIG_null_ref("wxDataFormat");
27189 }
27190 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27191 }
d55e5bfc
RD
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27194 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
a07a67e6 27199 resultobj = result;
d55e5bfc
RD
27200 return resultobj;
27201 fail:
27202 return NULL;
27203}
27204
27205
c32bde28 27206static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27207 PyObject *resultobj;
27208 wxDataObject *arg1 = (wxDataObject *) 0 ;
27209 wxDataFormat *arg2 = 0 ;
a07a67e6 27210 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
27211 bool result;
27212 PyObject * obj0 = 0 ;
27213 PyObject * obj1 = 0 ;
27214 PyObject * obj2 = 0 ;
d55e5bfc 27215 char *kwnames[] = {
a07a67e6 27216 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
27217 };
27218
a07a67e6 27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 {
27223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27224 if (SWIG_arg_fail(2)) SWIG_fail;
27225 if (arg2 == NULL) {
27226 SWIG_null_ref("wxDataFormat");
27227 }
27228 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27229 }
a07a67e6 27230 arg3 = obj2;
d55e5bfc
RD
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 27233 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 {
27239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27240 }
27241 return resultobj;
27242 fail:
27243 return NULL;
27244}
27245
27246
c32bde28 27247static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27248 PyObject *obj;
27249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27250 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
27251 Py_INCREF(obj);
27252 return Py_BuildValue((char *)"");
27253}
c32bde28 27254static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27255 PyObject *resultobj;
27256 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27257 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27258 wxDataObjectSimple *result;
27259 PyObject * obj0 = 0 ;
27260 char *kwnames[] = {
27261 (char *) "format", NULL
27262 };
27263
27264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
27265 if (obj0) {
093d3ff1
RD
27266 {
27267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail;
27269 if (arg1 == NULL) {
27270 SWIG_null_ref("wxDataFormat");
27271 }
27272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27273 }
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
27278
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
27283 return resultobj;
27284 fail:
27285 return NULL;
27286}
27287
27288
c32bde28 27289static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27290 PyObject *resultobj;
27291 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27292 wxDataFormat *result;
27293 PyObject * obj0 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 {
27304 wxDataFormat const &_result_ref = (arg1)->GetFormat();
27305 result = (wxDataFormat *) &_result_ref;
27306 }
27307
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
27312 return resultobj;
27313 fail:
27314 return NULL;
27315}
27316
27317
c32bde28 27318static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27319 PyObject *resultobj;
27320 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27321 wxDataFormat *arg2 = 0 ;
27322 PyObject * obj0 = 0 ;
27323 PyObject * obj1 = 0 ;
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "format", NULL
27326 };
27327
27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail;
27331 {
27332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27333 if (SWIG_arg_fail(2)) SWIG_fail;
27334 if (arg2 == NULL) {
27335 SWIG_null_ref("wxDataFormat");
27336 }
27337 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27338 }
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 (arg1)->SetFormat((wxDataFormat const &)*arg2);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 Py_INCREF(Py_None); resultobj = Py_None;
27347 return resultobj;
27348 fail:
27349 return NULL;
27350}
27351
27352
c32bde28 27353static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27354 PyObject *resultobj;
27355 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27356 size_t result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
093d3ff1
RD
27372 {
27373 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27374 }
a07a67e6
RD
27375 return resultobj;
27376 fail:
27377 return NULL;
27378}
27379
27380
c32bde28 27381static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27382 PyObject *resultobj;
27383 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27384 PyObject *result;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 resultobj = result;
27401 return resultobj;
27402 fail:
27403 return NULL;
27404}
27405
27406
c32bde28 27407static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
a07a67e6
RD
27408 PyObject *resultobj;
27409 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27410 PyObject *arg2 = (PyObject *) 0 ;
27411 bool result;
27412 PyObject * obj0 = 0 ;
27413 PyObject * obj1 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "self",(char *) "data", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27420 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
27421 arg2 = obj1;
27422 {
27423 PyThreadState* __tstate = wxPyBeginAllowThreads();
27424 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
27425
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 {
27430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27431 }
27432 return resultobj;
27433 fail:
27434 return NULL;
27435}
27436
27437
c32bde28 27438static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27439 PyObject *obj;
27440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
27442 Py_INCREF(obj);
27443 return Py_BuildValue((char *)"");
27444}
c32bde28 27445static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27446 PyObject *resultobj;
27447 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27448 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27449 wxPyDataObjectSimple *result;
27450 PyObject * obj0 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "format", NULL
27453 };
27454
27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
27456 if (obj0) {
093d3ff1
RD
27457 {
27458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail;
27460 if (arg1 == NULL) {
27461 SWIG_null_ref("wxDataFormat");
27462 }
27463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27464 }
27465 }
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
27474 return resultobj;
27475 fail:
27476 return NULL;
27477}
27478
27479
c32bde28 27480static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27481 PyObject *resultobj;
27482 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
27483 PyObject *arg2 = (PyObject *) 0 ;
27484 PyObject *arg3 = (PyObject *) 0 ;
27485 PyObject * obj0 = 0 ;
27486 PyObject * obj1 = 0 ;
27487 PyObject * obj2 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "self",(char *) "_class", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27495 arg2 = obj1;
27496 arg3 = obj2;
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 (arg1)->_setCallbackInfo(arg2,arg3);
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 Py_INCREF(Py_None); resultobj = Py_None;
27505 return resultobj;
27506 fail:
27507 return NULL;
27508}
27509
27510
c32bde28 27511static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27512 PyObject *obj;
27513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27514 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
27515 Py_INCREF(obj);
27516 return Py_BuildValue((char *)"");
27517}
c32bde28 27518static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27519 PyObject *resultobj;
27520 wxDataObjectComposite *result;
27521 char *kwnames[] = {
27522 NULL
27523 };
27524
27525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
27526 {
27527 PyThreadState* __tstate = wxPyBeginAllowThreads();
27528 result = (wxDataObjectComposite *)new wxDataObjectComposite();
27529
27530 wxPyEndAllowThreads(__tstate);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 }
27533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
27534 return resultobj;
27535 fail:
27536 return NULL;
27537}
27538
27539
c32bde28 27540static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27541 PyObject *resultobj;
27542 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
27543 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 27544 bool arg3 = (bool) false ;
d55e5bfc
RD
27545 PyObject * obj0 = 0 ;
27546 PyObject * obj1 = 0 ;
27547 PyObject * obj2 = 0 ;
27548 char *kwnames[] = {
27549 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27550 };
27551
27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail;
27555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27556 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 27557 if (obj2) {
093d3ff1
RD
27558 {
27559 arg3 = (bool)(SWIG_As_bool(obj2));
27560 if (SWIG_arg_fail(3)) SWIG_fail;
27561 }
d55e5bfc
RD
27562 }
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 (arg1)->Add(arg2,arg3);
27566
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 Py_INCREF(Py_None); resultobj = Py_None;
27571 return resultobj;
27572 fail:
27573 return NULL;
27574}
27575
27576
c32bde28 27577static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27578 PyObject *obj;
27579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27580 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
27581 Py_INCREF(obj);
27582 return Py_BuildValue((char *)"");
27583}
c32bde28 27584static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27585 PyObject *resultobj;
27586 wxString const &arg1_defvalue = wxPyEmptyString ;
27587 wxString *arg1 = (wxString *) &arg1_defvalue ;
27588 wxTextDataObject *result;
ae8162c8 27589 bool temp1 = false ;
d55e5bfc
RD
27590 PyObject * obj0 = 0 ;
27591 char *kwnames[] = {
27592 (char *) "text", NULL
27593 };
27594
27595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
27596 if (obj0) {
27597 {
27598 arg1 = wxString_in_helper(obj0);
27599 if (arg1 == NULL) SWIG_fail;
ae8162c8 27600 temp1 = true;
d55e5bfc
RD
27601 }
27602 }
27603 {
27604 PyThreadState* __tstate = wxPyBeginAllowThreads();
27605 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
27606
27607 wxPyEndAllowThreads(__tstate);
27608 if (PyErr_Occurred()) SWIG_fail;
27609 }
27610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
27611 {
27612 if (temp1)
27613 delete arg1;
27614 }
27615 return resultobj;
27616 fail:
27617 {
27618 if (temp1)
27619 delete arg1;
27620 }
27621 return NULL;
27622}
27623
27624
c32bde28 27625static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27626 PyObject *resultobj;
27627 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27628 size_t result;
27629 PyObject * obj0 = 0 ;
27630 char *kwnames[] = {
27631 (char *) "self", NULL
27632 };
27633
27634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
27635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (size_t)(arg1)->GetTextLength();
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
093d3ff1
RD
27644 {
27645 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27646 }
d55e5bfc
RD
27647 return resultobj;
27648 fail:
27649 return NULL;
27650}
27651
27652
c32bde28 27653static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27654 PyObject *resultobj;
27655 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27656 wxString result;
27657 PyObject * obj0 = 0 ;
27658 char *kwnames[] = {
27659 (char *) "self", NULL
27660 };
27661
27662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
27663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 result = (arg1)->GetText();
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 {
27673#if wxUSE_UNICODE
27674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27675#else
27676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27677#endif
27678 }
27679 return resultobj;
27680 fail:
27681 return NULL;
27682}
27683
27684
c32bde28 27685static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27686 PyObject *resultobj;
27687 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27688 wxString *arg2 = 0 ;
ae8162c8 27689 bool temp2 = false ;
d55e5bfc
RD
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "self",(char *) "text", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27699 {
27700 arg2 = wxString_in_helper(obj1);
27701 if (arg2 == NULL) SWIG_fail;
ae8162c8 27702 temp2 = true;
d55e5bfc
RD
27703 }
27704 {
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 (arg1)->SetText((wxString const &)*arg2);
27707
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 Py_INCREF(Py_None); resultobj = Py_None;
27712 {
27713 if (temp2)
27714 delete arg2;
27715 }
27716 return resultobj;
27717 fail:
27718 {
27719 if (temp2)
27720 delete arg2;
27721 }
27722 return NULL;
27723}
27724
27725
c32bde28 27726static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27727 PyObject *obj;
27728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27729 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
27730 Py_INCREF(obj);
27731 return Py_BuildValue((char *)"");
27732}
c32bde28 27733static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27734 PyObject *resultobj;
27735 wxString const &arg1_defvalue = wxPyEmptyString ;
27736 wxString *arg1 = (wxString *) &arg1_defvalue ;
27737 wxPyTextDataObject *result;
ae8162c8 27738 bool temp1 = false ;
d55e5bfc
RD
27739 PyObject * obj0 = 0 ;
27740 char *kwnames[] = {
27741 (char *) "text", NULL
27742 };
27743
27744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
27745 if (obj0) {
27746 {
27747 arg1 = wxString_in_helper(obj0);
27748 if (arg1 == NULL) SWIG_fail;
ae8162c8 27749 temp1 = true;
d55e5bfc
RD
27750 }
27751 }
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
27760 {
27761 if (temp1)
27762 delete arg1;
27763 }
27764 return resultobj;
27765 fail:
27766 {
27767 if (temp1)
27768 delete arg1;
27769 }
27770 return NULL;
27771}
27772
27773
c32bde28 27774static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27775 PyObject *resultobj;
27776 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
27777 PyObject *arg2 = (PyObject *) 0 ;
27778 PyObject *arg3 = (PyObject *) 0 ;
27779 PyObject * obj0 = 0 ;
27780 PyObject * obj1 = 0 ;
27781 PyObject * obj2 = 0 ;
27782 char *kwnames[] = {
27783 (char *) "self",(char *) "self",(char *) "_class", NULL
27784 };
27785
27786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27789 arg2 = obj1;
27790 arg3 = obj2;
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->_setCallbackInfo(arg2,arg3);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 return resultobj;
27800 fail:
27801 return NULL;
27802}
27803
27804
c32bde28 27805static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27806 PyObject *obj;
27807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27808 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
27809 Py_INCREF(obj);
27810 return Py_BuildValue((char *)"");
27811}
c32bde28 27812static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27813 PyObject *resultobj;
27814 wxBitmap const &arg1_defvalue = wxNullBitmap ;
27815 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
27816 wxBitmapDataObject *result;
27817 PyObject * obj0 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "bitmap", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
27823 if (obj0) {
093d3ff1
RD
27824 {
27825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail;
27827 if (arg1 == NULL) {
27828 SWIG_null_ref("wxBitmap");
27829 }
27830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27831 }
27832 }
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
27841 return resultobj;
27842 fail:
27843 return NULL;
27844}
27845
27846
c32bde28 27847static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27848 PyObject *resultobj;
27849 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27850 wxBitmap result;
27851 PyObject * obj0 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
27857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 {
27867 wxBitmap * resultptr;
093d3ff1 27868 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
27869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
27870 }
27871 return resultobj;
27872 fail:
27873 return NULL;
27874}
27875
27876
c32bde28 27877static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27878 PyObject *resultobj;
27879 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27880 wxBitmap *arg2 = 0 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self",(char *) "bitmap", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27889 if (SWIG_arg_fail(1)) SWIG_fail;
27890 {
27891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27892 if (SWIG_arg_fail(2)) SWIG_fail;
27893 if (arg2 == NULL) {
27894 SWIG_null_ref("wxBitmap");
27895 }
27896 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27897 }
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 (arg1)->SetBitmap((wxBitmap const &)*arg2);
27901
27902 wxPyEndAllowThreads(__tstate);
27903 if (PyErr_Occurred()) SWIG_fail;
27904 }
27905 Py_INCREF(Py_None); resultobj = Py_None;
27906 return resultobj;
27907 fail:
27908 return NULL;
27909}
27910
27911
c32bde28 27912static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27913 PyObject *obj;
27914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27915 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
27916 Py_INCREF(obj);
27917 return Py_BuildValue((char *)"");
27918}
c32bde28 27919static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27920 PyObject *resultobj;
27921 wxBitmap const &arg1_defvalue = wxNullBitmap ;
27922 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
27923 wxPyBitmapDataObject *result;
27924 PyObject * obj0 = 0 ;
27925 char *kwnames[] = {
27926 (char *) "bitmap", NULL
27927 };
27928
27929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
27930 if (obj0) {
093d3ff1
RD
27931 {
27932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail;
27934 if (arg1 == NULL) {
27935 SWIG_null_ref("wxBitmap");
27936 }
27937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27938 }
27939 }
27940 {
27941 PyThreadState* __tstate = wxPyBeginAllowThreads();
27942 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
27943
27944 wxPyEndAllowThreads(__tstate);
27945 if (PyErr_Occurred()) SWIG_fail;
27946 }
27947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
27948 return resultobj;
27949 fail:
27950 return NULL;
27951}
27952
27953
c32bde28 27954static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27955 PyObject *resultobj;
27956 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
27957 PyObject *arg2 = (PyObject *) 0 ;
27958 PyObject *arg3 = (PyObject *) 0 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 PyObject * obj2 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27969 arg2 = obj1;
27970 arg3 = obj2;
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
27973 (arg1)->_setCallbackInfo(arg2,arg3);
27974
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
27978 Py_INCREF(Py_None); resultobj = Py_None;
27979 return resultobj;
27980 fail:
27981 return NULL;
27982}
27983
27984
c32bde28 27985static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27986 PyObject *obj;
27987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27988 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
27989 Py_INCREF(obj);
27990 return Py_BuildValue((char *)"");
27991}
c32bde28 27992static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27993 PyObject *resultobj;
27994 wxFileDataObject *result;
27995 char *kwnames[] = {
27996 NULL
27997 };
27998
27999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 result = (wxFileDataObject *)new wxFileDataObject();
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
28008 return resultobj;
28009 fail:
28010 return NULL;
28011}
28012
28013
c32bde28 28014static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28015 PyObject *resultobj;
28016 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28017 wxArrayString *result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
28024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28025 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28026 {
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 {
28029 wxArrayString const &_result_ref = (arg1)->GetFilenames();
28030 result = (wxArrayString *) &_result_ref;
28031 }
28032
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037 resultobj = wxArrayString2PyList_helper(*result);
28038 }
28039 return resultobj;
28040 fail:
28041 return NULL;
28042}
28043
28044
c32bde28 28045static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28046 PyObject *resultobj;
28047 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28048 wxString *arg2 = 0 ;
ae8162c8 28049 bool temp2 = false ;
d55e5bfc
RD
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "filename", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28059 {
28060 arg2 = wxString_in_helper(obj1);
28061 if (arg2 == NULL) SWIG_fail;
ae8162c8 28062 temp2 = true;
d55e5bfc
RD
28063 }
28064 {
28065 PyThreadState* __tstate = wxPyBeginAllowThreads();
28066 (arg1)->AddFile((wxString const &)*arg2);
28067
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
28071 Py_INCREF(Py_None); resultobj = Py_None;
28072 {
28073 if (temp2)
28074 delete arg2;
28075 }
28076 return resultobj;
28077 fail:
28078 {
28079 if (temp2)
28080 delete arg2;
28081 }
28082 return NULL;
28083}
28084
28085
c32bde28 28086static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28087 PyObject *obj;
28088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28089 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
28090 Py_INCREF(obj);
28091 return Py_BuildValue((char *)"");
28092}
fef4c27a 28093static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc 28094 PyObject *resultobj;
fef4c27a 28095 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
28096 wxCustomDataObject *result;
28097 PyObject * obj0 = 0 ;
d55e5bfc 28098
fef4c27a
RD
28099 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28100 {
28101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail;
28103 if (arg1 == NULL) {
28104 SWIG_null_ref("wxDataFormat");
d55e5bfc 28105 }
fef4c27a 28106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28107 }
28108 {
28109 PyThreadState* __tstate = wxPyBeginAllowThreads();
28110 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
28111
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28116 return resultobj;
28117 fail:
28118 return NULL;
28119}
28120
28121
fef4c27a
RD
28122static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
28123 PyObject *resultobj;
28124 wxString *arg1 = 0 ;
28125 wxCustomDataObject *result;
28126 bool temp1 = false ;
28127 PyObject * obj0 = 0 ;
28128
28129 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28130 {
28131 arg1 = wxString_in_helper(obj0);
28132 if (arg1 == NULL) SWIG_fail;
28133 temp1 = true;
28134 }
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28143 {
28144 if (temp1)
28145 delete arg1;
28146 }
28147 return resultobj;
28148 fail:
28149 {
28150 if (temp1)
28151 delete arg1;
28152 }
28153 return NULL;
28154}
28155
28156
28157static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
28158 PyObject *resultobj;
28159 wxCustomDataObject *result;
28160
28161 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
28162 {
28163 PyThreadState* __tstate = wxPyBeginAllowThreads();
28164 result = (wxCustomDataObject *)new wxCustomDataObject();
28165
28166 wxPyEndAllowThreads(__tstate);
28167 if (PyErr_Occurred()) SWIG_fail;
28168 }
28169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28170 return resultobj;
28171 fail:
28172 return NULL;
28173}
28174
28175
28176static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
28177 int argc;
28178 PyObject *argv[2];
28179 int ii;
28180
28181 argc = PyObject_Length(args);
28182 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
28183 argv[ii] = PyTuple_GetItem(args,ii);
28184 }
28185 if (argc == 0) {
28186 return _wrap_new_CustomDataObject__SWIG_2(self,args);
28187 }
28188 if (argc == 1) {
28189 int _v;
28190 {
28191 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
28192 }
28193 if (_v) {
28194 return _wrap_new_CustomDataObject__SWIG_1(self,args);
28195 }
28196 }
28197 if (argc == 1) {
28198 int _v;
28199 {
28200 void *ptr = 0;
28201 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28202 _v = 0;
28203 PyErr_Clear();
28204 } else {
28205 _v = (ptr != 0);
28206 }
28207 }
28208 if (_v) {
28209 return _wrap_new_CustomDataObject__SWIG_0(self,args);
28210 }
28211 }
28212
28213 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
28214 return NULL;
28215}
28216
28217
c32bde28 28218static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28219 PyObject *resultobj;
28220 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28221 PyObject *arg2 = (PyObject *) 0 ;
28222 bool result;
28223 PyObject * obj0 = 0 ;
28224 PyObject * obj1 = 0 ;
28225 char *kwnames[] = {
28226 (char *) "self",(char *) "data", NULL
28227 };
28228
28229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28232 arg2 = obj1;
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
28235 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 {
28241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28242 }
28243 return resultobj;
28244 fail:
28245 return NULL;
28246}
28247
28248
c32bde28 28249static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28250 PyObject *resultobj;
28251 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28252 size_t result;
28253 PyObject * obj0 = 0 ;
28254 char *kwnames[] = {
28255 (char *) "self", NULL
28256 };
28257
28258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28261 {
28262 PyThreadState* __tstate = wxPyBeginAllowThreads();
28263 result = (size_t)(arg1)->GetSize();
28264
28265 wxPyEndAllowThreads(__tstate);
28266 if (PyErr_Occurred()) SWIG_fail;
28267 }
093d3ff1
RD
28268 {
28269 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28270 }
d55e5bfc
RD
28271 return resultobj;
28272 fail:
28273 return NULL;
28274}
28275
28276
c32bde28 28277static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28278 PyObject *resultobj;
28279 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28280 PyObject *result;
28281 PyObject * obj0 = 0 ;
28282 char *kwnames[] = {
28283 (char *) "self", NULL
28284 };
28285
28286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 result = (PyObject *)wxCustomDataObject_GetData(arg1);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 resultobj = result;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300}
28301
28302
c32bde28 28303static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28304 PyObject *obj;
28305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28306 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
28307 Py_INCREF(obj);
28308 return Py_BuildValue((char *)"");
28309}
c32bde28 28310static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28311 PyObject *resultobj;
28312 wxURLDataObject *result;
28313 char *kwnames[] = {
28314 NULL
28315 };
28316
28317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
28318 {
28319 PyThreadState* __tstate = wxPyBeginAllowThreads();
28320 result = (wxURLDataObject *)new wxURLDataObject();
28321
28322 wxPyEndAllowThreads(__tstate);
28323 if (PyErr_Occurred()) SWIG_fail;
28324 }
28325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
28326 return resultobj;
28327 fail:
28328 return NULL;
28329}
28330
28331
c32bde28 28332static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28333 PyObject *resultobj;
28334 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28335 wxString result;
28336 PyObject * obj0 = 0 ;
28337 char *kwnames[] = {
28338 (char *) "self", NULL
28339 };
28340
28341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
28342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 result = (arg1)->GetURL();
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 {
28352#if wxUSE_UNICODE
28353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28354#else
28355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28356#endif
28357 }
28358 return resultobj;
28359 fail:
28360 return NULL;
28361}
28362
28363
c32bde28 28364static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28365 PyObject *resultobj;
28366 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28367 wxString *arg2 = 0 ;
ae8162c8 28368 bool temp2 = false ;
d55e5bfc
RD
28369 PyObject * obj0 = 0 ;
28370 PyObject * obj1 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self",(char *) "url", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28378 {
28379 arg2 = wxString_in_helper(obj1);
28380 if (arg2 == NULL) SWIG_fail;
ae8162c8 28381 temp2 = true;
d55e5bfc
RD
28382 }
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->SetURL((wxString const &)*arg2);
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 Py_INCREF(Py_None); resultobj = Py_None;
28391 {
28392 if (temp2)
28393 delete arg2;
28394 }
28395 return resultobj;
28396 fail:
28397 {
28398 if (temp2)
28399 delete arg2;
28400 }
28401 return NULL;
28402}
28403
28404
c32bde28 28405static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28406 PyObject *obj;
28407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28408 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
28409 Py_INCREF(obj);
28410 return Py_BuildValue((char *)"");
28411}
c32bde28 28412static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28413 PyObject *resultobj;
28414 wxMetafileDataObject *result;
28415 char *kwnames[] = {
28416 NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
28420 {
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 result = (wxMetafileDataObject *)new wxMetafileDataObject();
28423
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
28428 return resultobj;
28429 fail:
28430 return NULL;
28431}
28432
28433
c32bde28 28434static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28435 PyObject *resultobj;
28436 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28437 wxMetafile *arg2 = 0 ;
28438 PyObject * obj0 = 0 ;
28439 PyObject * obj1 = 0 ;
28440 char *kwnames[] = {
28441 (char *) "self",(char *) "metafile", NULL
28442 };
28443
28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28447 {
093d3ff1
RD
28448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
28449 if (SWIG_arg_fail(2)) SWIG_fail;
28450 if (arg2 == NULL) {
28451 SWIG_null_ref("wxMetafile");
28452 }
28453 if (SWIG_arg_fail(2)) SWIG_fail;
28454 }
28455 {
28456 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
28457 (arg1)->SetMetafile((wxMetafile const &)*arg2);
28458
28459 wxPyEndAllowThreads(__tstate);
28460 if (PyErr_Occurred()) SWIG_fail;
28461 }
28462 Py_INCREF(Py_None); resultobj = Py_None;
28463 return resultobj;
28464 fail:
28465 return NULL;
28466}
28467
28468
c32bde28 28469static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28470 PyObject *resultobj;
28471 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28472 wxMetafile result;
28473 PyObject * obj0 = 0 ;
28474 char *kwnames[] = {
28475 (char *) "self", NULL
28476 };
28477
28478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
093d3ff1
RD
28479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
28484
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 {
28489 wxMetafile * resultptr;
093d3ff1 28490 resultptr = new wxMetafile((wxMetafile &)(result));
d55e5bfc
RD
28491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
28492 }
28493 return resultobj;
28494 fail:
28495 return NULL;
28496}
28497
28498
c32bde28 28499static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28500 PyObject *obj;
28501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
28503 Py_INCREF(obj);
28504 return Py_BuildValue((char *)"");
28505}
c32bde28 28506static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 28507 PyObject *resultobj;
093d3ff1 28508 wxDragResult arg1 ;
d55e5bfc
RD
28509 bool result;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "res", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28516 {
28517 arg1 = (wxDragResult)(SWIG_As_int(obj0));
28518 if (SWIG_arg_fail(1)) SWIG_fail;
28519 }
d55e5bfc
RD
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 {
28528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28529 }
28530 return resultobj;
28531 fail:
28532 return NULL;
28533}
28534
28535
c32bde28 28536static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28537 PyObject *resultobj;
28538 wxWindow *arg1 = (wxWindow *) 0 ;
28539 wxCursor const &arg2_defvalue = wxNullCursor ;
28540 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28541 wxCursor const &arg3_defvalue = wxNullCursor ;
28542 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
28543 wxCursor const &arg4_defvalue = wxNullCursor ;
28544 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
28545 wxPyDropSource *result;
28546 PyObject * obj0 = 0 ;
28547 PyObject * obj1 = 0 ;
28548 PyObject * obj2 = 0 ;
28549 PyObject * obj3 = 0 ;
28550 char *kwnames[] = {
28551 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28552 };
28553
28554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28557 if (obj1) {
093d3ff1
RD
28558 {
28559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28560 if (SWIG_arg_fail(2)) SWIG_fail;
28561 if (arg2 == NULL) {
28562 SWIG_null_ref("wxCursor");
28563 }
28564 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28565 }
28566 }
28567 if (obj2) {
093d3ff1
RD
28568 {
28569 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28570 if (SWIG_arg_fail(3)) SWIG_fail;
28571 if (arg3 == NULL) {
28572 SWIG_null_ref("wxCursor");
28573 }
28574 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28575 }
28576 }
28577 if (obj3) {
093d3ff1
RD
28578 {
28579 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28580 if (SWIG_arg_fail(4)) SWIG_fail;
28581 if (arg4 == NULL) {
28582 SWIG_null_ref("wxCursor");
28583 }
28584 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
28585 }
28586 }
28587 {
28588 PyThreadState* __tstate = wxPyBeginAllowThreads();
28589 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
28590
28591 wxPyEndAllowThreads(__tstate);
28592 if (PyErr_Occurred()) SWIG_fail;
28593 }
28594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
28595 return resultobj;
28596 fail:
28597 return NULL;
28598}
28599
28600
c32bde28 28601static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28602 PyObject *resultobj;
28603 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28604 PyObject *arg2 = (PyObject *) 0 ;
28605 PyObject *arg3 = (PyObject *) 0 ;
28606 int arg4 ;
28607 PyObject * obj0 = 0 ;
28608 PyObject * obj1 = 0 ;
28609 PyObject * obj2 = 0 ;
28610 PyObject * obj3 = 0 ;
28611 char *kwnames[] = {
28612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28613 };
28614
28615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28618 arg2 = obj1;
28619 arg3 = obj2;
093d3ff1
RD
28620 {
28621 arg4 = (int)(SWIG_As_int(obj3));
28622 if (SWIG_arg_fail(4)) SWIG_fail;
28623 }
d55e5bfc
RD
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 Py_INCREF(Py_None); resultobj = Py_None;
28632 return resultobj;
28633 fail:
28634 return NULL;
28635}
28636
28637
c32bde28 28638static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28639 PyObject *resultobj;
28640 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 delete arg1;
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 Py_INCREF(Py_None); resultobj = Py_None;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660}
28661
28662
c32bde28 28663static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28664 PyObject *resultobj;
28665 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28666 wxDataObject *arg2 = 0 ;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "data", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail;
28676 {
28677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail;
28679 if (arg2 == NULL) {
28680 SWIG_null_ref("wxDataObject");
28681 }
28682 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28683 }
28684 {
28685 PyThreadState* __tstate = wxPyBeginAllowThreads();
28686 (arg1)->SetData(*arg2);
28687
28688 wxPyEndAllowThreads(__tstate);
28689 if (PyErr_Occurred()) SWIG_fail;
28690 }
28691 Py_INCREF(Py_None); resultobj = Py_None;
28692 return resultobj;
28693 fail:
28694 return NULL;
28695}
28696
28697
c32bde28 28698static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28699 PyObject *resultobj;
28700 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28701 wxDataObject *result;
28702 PyObject * obj0 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = (wxDataObject *)(arg1)->GetDataObject();
28713
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
28718 return resultobj;
28719 fail:
28720 return NULL;
28721}
28722
28723
c32bde28 28724static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28725 PyObject *resultobj;
28726 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28727 wxDragResult arg2 ;
d55e5bfc
RD
28728 wxCursor *arg3 = 0 ;
28729 PyObject * obj0 = 0 ;
28730 PyObject * obj1 = 0 ;
28731 PyObject * obj2 = 0 ;
28732 char *kwnames[] = {
28733 (char *) "self",(char *) "res",(char *) "cursor", NULL
28734 };
28735
28736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28738 if (SWIG_arg_fail(1)) SWIG_fail;
28739 {
28740 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28741 if (SWIG_arg_fail(2)) SWIG_fail;
28742 }
28743 {
28744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28745 if (SWIG_arg_fail(3)) SWIG_fail;
28746 if (arg3 == NULL) {
28747 SWIG_null_ref("wxCursor");
28748 }
28749 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28750 }
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
28754
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 Py_INCREF(Py_None); resultobj = Py_None;
28759 return resultobj;
28760 fail:
28761 return NULL;
28762}
28763
28764
c32bde28 28765static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28766 PyObject *resultobj;
28767 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28768 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 28769 wxDragResult result;
d55e5bfc
RD
28770 PyObject * obj0 = 0 ;
28771 PyObject * obj1 = 0 ;
28772 char *kwnames[] = {
28773 (char *) "self",(char *) "flags", NULL
28774 };
28775
28776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28779 if (obj1) {
093d3ff1
RD
28780 {
28781 arg2 = (int)(SWIG_As_int(obj1));
28782 if (SWIG_arg_fail(2)) SWIG_fail;
28783 }
d55e5bfc
RD
28784 }
28785 {
28786 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28787 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
28788
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
093d3ff1 28792 resultobj = SWIG_From_int((result));
d55e5bfc
RD
28793 return resultobj;
28794 fail:
28795 return NULL;
28796}
28797
28798
c32bde28 28799static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28800 PyObject *resultobj;
28801 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28802 wxDragResult arg2 ;
d55e5bfc
RD
28803 bool result;
28804 PyObject * obj0 = 0 ;
28805 PyObject * obj1 = 0 ;
28806 char *kwnames[] = {
28807 (char *) "self",(char *) "effect", NULL
28808 };
28809
28810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail;
28813 {
28814 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28815 if (SWIG_arg_fail(2)) SWIG_fail;
28816 }
d55e5bfc
RD
28817 {
28818 PyThreadState* __tstate = wxPyBeginAllowThreads();
28819 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
28820
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
28824 {
28825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28826 }
28827 return resultobj;
28828 fail:
28829 return NULL;
28830}
28831
28832
c32bde28 28833static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28834 PyObject *obj;
28835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28836 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
28837 Py_INCREF(obj);
28838 return Py_BuildValue((char *)"");
28839}
c32bde28 28840static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28841 PyObject *resultobj;
28842 wxDataObject *arg1 = (wxDataObject *) NULL ;
28843 wxPyDropTarget *result;
28844 PyObject * obj0 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "dataObject", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
28850 if (obj0) {
093d3ff1
RD
28851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28853 }
28854 {
28855 PyThreadState* __tstate = wxPyBeginAllowThreads();
28856 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
28857
28858 wxPyEndAllowThreads(__tstate);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 }
28861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
28862 return resultobj;
28863 fail:
28864 return NULL;
28865}
28866
28867
c32bde28 28868static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28869 PyObject *resultobj;
28870 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28871 PyObject *arg2 = (PyObject *) 0 ;
28872 PyObject *arg3 = (PyObject *) 0 ;
28873 PyObject * obj0 = 0 ;
28874 PyObject * obj1 = 0 ;
28875 PyObject * obj2 = 0 ;
28876 char *kwnames[] = {
28877 (char *) "self",(char *) "self",(char *) "_class", NULL
28878 };
28879
28880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28882 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28883 arg2 = obj1;
28884 arg3 = obj2;
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->_setCallbackInfo(arg2,arg3);
28888
28889 wxPyEndAllowThreads(__tstate);
28890 if (PyErr_Occurred()) SWIG_fail;
28891 }
28892 Py_INCREF(Py_None); resultobj = Py_None;
28893 return resultobj;
28894 fail:
28895 return NULL;
28896}
28897
28898
c32bde28 28899static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28900 PyObject *resultobj;
28901 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28902 PyObject * obj0 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "self", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
28908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 delete arg1;
28913
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 Py_INCREF(Py_None); resultobj = Py_None;
28918 return resultobj;
28919 fail:
28920 return NULL;
28921}
28922
28923
c32bde28 28924static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28925 PyObject *resultobj;
28926 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28927 wxDataObject *result;
28928 PyObject * obj0 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 result = (wxDataObject *)(arg1)->GetDataObject();
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
28944 return resultobj;
28945 fail:
28946 return NULL;
28947}
28948
28949
c32bde28 28950static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28951 PyObject *resultobj;
28952 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28953 wxDataObject *arg2 = (wxDataObject *) 0 ;
28954 PyObject * obj0 = 0 ;
28955 PyObject * obj1 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self",(char *) "dataObject", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail;
28963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28964 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 (arg1)->SetDataObject(arg2);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 Py_INCREF(Py_None); resultobj = Py_None;
28973 return resultobj;
28974 fail:
28975 return NULL;
28976}
28977
28978
c32bde28 28979static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28980 PyObject *resultobj;
28981 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28982 int arg2 ;
28983 int arg3 ;
093d3ff1
RD
28984 wxDragResult arg4 ;
28985 wxDragResult result;
d55e5bfc
RD
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 PyObject * obj2 = 0 ;
28989 PyObject * obj3 = 0 ;
28990 char *kwnames[] = {
28991 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28992 };
28993
28994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail;
28997 {
28998 arg2 = (int)(SWIG_As_int(obj1));
28999 if (SWIG_arg_fail(2)) SWIG_fail;
29000 }
29001 {
29002 arg3 = (int)(SWIG_As_int(obj2));
29003 if (SWIG_arg_fail(3)) SWIG_fail;
29004 }
29005 {
29006 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29007 if (SWIG_arg_fail(4)) SWIG_fail;
29008 }
d55e5bfc
RD
29009 {
29010 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29011 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
093d3ff1 29016 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29017 return resultobj;
29018 fail:
29019 return NULL;
29020}
29021
29022
c32bde28 29023static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29024 PyObject *resultobj;
29025 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29026 int arg2 ;
29027 int arg3 ;
093d3ff1
RD
29028 wxDragResult arg4 ;
29029 wxDragResult result;
d55e5bfc
RD
29030 PyObject * obj0 = 0 ;
29031 PyObject * obj1 = 0 ;
29032 PyObject * obj2 = 0 ;
29033 PyObject * obj3 = 0 ;
29034 char *kwnames[] = {
29035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29036 };
29037
29038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail;
29041 {
29042 arg2 = (int)(SWIG_As_int(obj1));
29043 if (SWIG_arg_fail(2)) SWIG_fail;
29044 }
29045 {
29046 arg3 = (int)(SWIG_As_int(obj2));
29047 if (SWIG_arg_fail(3)) SWIG_fail;
29048 }
29049 {
29050 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29051 if (SWIG_arg_fail(4)) SWIG_fail;
29052 }
d55e5bfc
RD
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29055 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29056
29057 wxPyEndAllowThreads(__tstate);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 }
093d3ff1 29060 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29061 return resultobj;
29062 fail:
29063 return NULL;
29064}
29065
29066
c32bde28 29067static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29068 PyObject *resultobj;
29069 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29070 PyObject * obj0 = 0 ;
29071 char *kwnames[] = {
29072 (char *) "self", NULL
29073 };
29074
29075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 (arg1)->base_OnLeave();
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 Py_INCREF(Py_None); resultobj = Py_None;
29086 return resultobj;
29087 fail:
29088 return NULL;
29089}
29090
29091
c32bde28 29092static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29093 PyObject *resultobj;
29094 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29095 int arg2 ;
29096 int arg3 ;
29097 bool result;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 PyObject * obj2 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "x",(char *) "y", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail;
29108 {
29109 arg2 = (int)(SWIG_As_int(obj1));
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 }
29112 {
29113 arg3 = (int)(SWIG_As_int(obj2));
29114 if (SWIG_arg_fail(3)) SWIG_fail;
29115 }
d55e5bfc
RD
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29125 }
29126 return resultobj;
29127 fail:
29128 return NULL;
29129}
29130
29131
c32bde28 29132static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29133 PyObject *resultobj;
29134 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29135 bool result;
29136 PyObject * obj0 = 0 ;
29137 char *kwnames[] = {
29138 (char *) "self", NULL
29139 };
29140
29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (bool)(arg1)->GetData();
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 {
29152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29153 }
29154 return resultobj;
29155 fail:
29156 return NULL;
29157}
29158
29159
c32bde28 29160static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29161 PyObject *obj;
29162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29163 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
29164 Py_INCREF(obj);
29165 return Py_BuildValue((char *)"");
29166}
c32bde28 29167static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29168 PyObject *resultobj;
29169 wxPyTextDropTarget *result;
29170 char *kwnames[] = {
29171 NULL
29172 };
29173
29174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
29175 {
29176 PyThreadState* __tstate = wxPyBeginAllowThreads();
29177 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
29178
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
29183 return resultobj;
29184 fail:
29185 return NULL;
29186}
29187
29188
c32bde28 29189static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29190 PyObject *resultobj;
29191 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29192 PyObject *arg2 = (PyObject *) 0 ;
29193 PyObject *arg3 = (PyObject *) 0 ;
29194 PyObject * obj0 = 0 ;
29195 PyObject * obj1 = 0 ;
29196 PyObject * obj2 = 0 ;
29197 char *kwnames[] = {
29198 (char *) "self",(char *) "self",(char *) "_class", NULL
29199 };
29200
29201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29204 arg2 = obj1;
29205 arg3 = obj2;
29206 {
29207 PyThreadState* __tstate = wxPyBeginAllowThreads();
29208 (arg1)->_setCallbackInfo(arg2,arg3);
29209
29210 wxPyEndAllowThreads(__tstate);
29211 if (PyErr_Occurred()) SWIG_fail;
29212 }
29213 Py_INCREF(Py_None); resultobj = Py_None;
29214 return resultobj;
29215 fail:
29216 return NULL;
29217}
29218
29219
c32bde28 29220static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29221 PyObject *resultobj;
29222 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29223 int arg2 ;
29224 int arg3 ;
093d3ff1
RD
29225 wxDragResult arg4 ;
29226 wxDragResult result;
d55e5bfc
RD
29227 PyObject * obj0 = 0 ;
29228 PyObject * obj1 = 0 ;
29229 PyObject * obj2 = 0 ;
29230 PyObject * obj3 = 0 ;
29231 char *kwnames[] = {
29232 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29233 };
29234
29235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29237 if (SWIG_arg_fail(1)) SWIG_fail;
29238 {
29239 arg2 = (int)(SWIG_As_int(obj1));
29240 if (SWIG_arg_fail(2)) SWIG_fail;
29241 }
29242 {
29243 arg3 = (int)(SWIG_As_int(obj2));
29244 if (SWIG_arg_fail(3)) SWIG_fail;
29245 }
29246 {
29247 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29248 if (SWIG_arg_fail(4)) SWIG_fail;
29249 }
d55e5bfc
RD
29250 {
29251 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29252 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29253
29254 wxPyEndAllowThreads(__tstate);
29255 if (PyErr_Occurred()) SWIG_fail;
29256 }
093d3ff1 29257 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29258 return resultobj;
29259 fail:
29260 return NULL;
29261}
29262
29263
c32bde28 29264static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29265 PyObject *resultobj;
29266 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29267 int arg2 ;
29268 int arg3 ;
093d3ff1
RD
29269 wxDragResult arg4 ;
29270 wxDragResult result;
d55e5bfc
RD
29271 PyObject * obj0 = 0 ;
29272 PyObject * obj1 = 0 ;
29273 PyObject * obj2 = 0 ;
29274 PyObject * obj3 = 0 ;
29275 char *kwnames[] = {
29276 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29277 };
29278
29279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29281 if (SWIG_arg_fail(1)) SWIG_fail;
29282 {
29283 arg2 = (int)(SWIG_As_int(obj1));
29284 if (SWIG_arg_fail(2)) SWIG_fail;
29285 }
29286 {
29287 arg3 = (int)(SWIG_As_int(obj2));
29288 if (SWIG_arg_fail(3)) SWIG_fail;
29289 }
29290 {
29291 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29292 if (SWIG_arg_fail(4)) SWIG_fail;
29293 }
d55e5bfc
RD
29294 {
29295 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29296 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29297
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
093d3ff1 29301 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29302 return resultobj;
29303 fail:
29304 return NULL;
29305}
29306
29307
c32bde28 29308static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29309 PyObject *resultobj;
29310 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29311 PyObject * obj0 = 0 ;
29312 char *kwnames[] = {
29313 (char *) "self", NULL
29314 };
29315
29316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 (arg1)->base_OnLeave();
29322
29323 wxPyEndAllowThreads(__tstate);
29324 if (PyErr_Occurred()) SWIG_fail;
29325 }
29326 Py_INCREF(Py_None); resultobj = Py_None;
29327 return resultobj;
29328 fail:
29329 return NULL;
29330}
29331
29332
c32bde28 29333static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29334 PyObject *resultobj;
29335 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29336 int arg2 ;
29337 int arg3 ;
29338 bool result;
29339 PyObject * obj0 = 0 ;
29340 PyObject * obj1 = 0 ;
29341 PyObject * obj2 = 0 ;
29342 char *kwnames[] = {
29343 (char *) "self",(char *) "x",(char *) "y", NULL
29344 };
29345
29346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29348 if (SWIG_arg_fail(1)) SWIG_fail;
29349 {
29350 arg2 = (int)(SWIG_As_int(obj1));
29351 if (SWIG_arg_fail(2)) SWIG_fail;
29352 }
29353 {
29354 arg3 = (int)(SWIG_As_int(obj2));
29355 if (SWIG_arg_fail(3)) SWIG_fail;
29356 }
d55e5bfc
RD
29357 {
29358 PyThreadState* __tstate = wxPyBeginAllowThreads();
29359 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29360
29361 wxPyEndAllowThreads(__tstate);
29362 if (PyErr_Occurred()) SWIG_fail;
29363 }
29364 {
29365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29366 }
29367 return resultobj;
29368 fail:
29369 return NULL;
29370}
29371
29372
c32bde28 29373static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29374 PyObject *resultobj;
29375 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29376 int arg2 ;
29377 int arg3 ;
093d3ff1
RD
29378 wxDragResult arg4 ;
29379 wxDragResult result;
d55e5bfc
RD
29380 PyObject * obj0 = 0 ;
29381 PyObject * obj1 = 0 ;
29382 PyObject * obj2 = 0 ;
29383 PyObject * obj3 = 0 ;
29384 char *kwnames[] = {
29385 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29386 };
29387
29388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29390 if (SWIG_arg_fail(1)) SWIG_fail;
29391 {
29392 arg2 = (int)(SWIG_As_int(obj1));
29393 if (SWIG_arg_fail(2)) SWIG_fail;
29394 }
29395 {
29396 arg3 = (int)(SWIG_As_int(obj2));
29397 if (SWIG_arg_fail(3)) SWIG_fail;
29398 }
29399 {
29400 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29401 if (SWIG_arg_fail(4)) SWIG_fail;
29402 }
d55e5bfc
RD
29403 {
29404 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29405 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29406
29407 wxPyEndAllowThreads(__tstate);
29408 if (PyErr_Occurred()) SWIG_fail;
29409 }
093d3ff1 29410 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29411 return resultobj;
29412 fail:
29413 return NULL;
29414}
29415
29416
c32bde28 29417static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29418 PyObject *obj;
29419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29420 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
29421 Py_INCREF(obj);
29422 return Py_BuildValue((char *)"");
29423}
c32bde28 29424static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29425 PyObject *resultobj;
29426 wxPyFileDropTarget *result;
29427 char *kwnames[] = {
29428 NULL
29429 };
29430
29431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
29432 {
29433 PyThreadState* __tstate = wxPyBeginAllowThreads();
29434 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
29435
29436 wxPyEndAllowThreads(__tstate);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
29439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
29440 return resultobj;
29441 fail:
29442 return NULL;
29443}
29444
29445
c32bde28 29446static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29447 PyObject *resultobj;
29448 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29449 PyObject *arg2 = (PyObject *) 0 ;
29450 PyObject *arg3 = (PyObject *) 0 ;
29451 PyObject * obj0 = 0 ;
29452 PyObject * obj1 = 0 ;
29453 PyObject * obj2 = 0 ;
29454 char *kwnames[] = {
29455 (char *) "self",(char *) "self",(char *) "_class", NULL
29456 };
29457
29458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29461 arg2 = obj1;
29462 arg3 = obj2;
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 (arg1)->_setCallbackInfo(arg2,arg3);
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 Py_INCREF(Py_None); resultobj = Py_None;
29471 return resultobj;
29472 fail:
29473 return NULL;
29474}
29475
29476
c32bde28 29477static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29478 PyObject *resultobj;
29479 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29480 int arg2 ;
29481 int arg3 ;
093d3ff1
RD
29482 wxDragResult arg4 ;
29483 wxDragResult result;
d55e5bfc
RD
29484 PyObject * obj0 = 0 ;
29485 PyObject * obj1 = 0 ;
29486 PyObject * obj2 = 0 ;
29487 PyObject * obj3 = 0 ;
29488 char *kwnames[] = {
29489 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29490 };
29491
29492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29494 if (SWIG_arg_fail(1)) SWIG_fail;
29495 {
29496 arg2 = (int)(SWIG_As_int(obj1));
29497 if (SWIG_arg_fail(2)) SWIG_fail;
29498 }
29499 {
29500 arg3 = (int)(SWIG_As_int(obj2));
29501 if (SWIG_arg_fail(3)) SWIG_fail;
29502 }
29503 {
29504 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29505 if (SWIG_arg_fail(4)) SWIG_fail;
29506 }
d55e5bfc
RD
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29509 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29510
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
093d3ff1 29514 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29515 return resultobj;
29516 fail:
29517 return NULL;
29518}
29519
29520
c32bde28 29521static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29522 PyObject *resultobj;
29523 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29524 int arg2 ;
29525 int arg3 ;
093d3ff1
RD
29526 wxDragResult arg4 ;
29527 wxDragResult result;
d55e5bfc
RD
29528 PyObject * obj0 = 0 ;
29529 PyObject * obj1 = 0 ;
29530 PyObject * obj2 = 0 ;
29531 PyObject * obj3 = 0 ;
29532 char *kwnames[] = {
29533 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29534 };
29535
29536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29538 if (SWIG_arg_fail(1)) SWIG_fail;
29539 {
29540 arg2 = (int)(SWIG_As_int(obj1));
29541 if (SWIG_arg_fail(2)) SWIG_fail;
29542 }
29543 {
29544 arg3 = (int)(SWIG_As_int(obj2));
29545 if (SWIG_arg_fail(3)) SWIG_fail;
29546 }
29547 {
29548 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29549 if (SWIG_arg_fail(4)) SWIG_fail;
29550 }
d55e5bfc
RD
29551 {
29552 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29553 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29554
29555 wxPyEndAllowThreads(__tstate);
29556 if (PyErr_Occurred()) SWIG_fail;
29557 }
093d3ff1 29558 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29559 return resultobj;
29560 fail:
29561 return NULL;
29562}
29563
29564
c32bde28 29565static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29566 PyObject *resultobj;
29567 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29568 PyObject * obj0 = 0 ;
29569 char *kwnames[] = {
29570 (char *) "self", NULL
29571 };
29572
29573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29576 {
29577 PyThreadState* __tstate = wxPyBeginAllowThreads();
29578 (arg1)->base_OnLeave();
29579
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 Py_INCREF(Py_None); resultobj = Py_None;
29584 return resultobj;
29585 fail:
29586 return NULL;
29587}
29588
29589
c32bde28 29590static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29591 PyObject *resultobj;
29592 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29593 int arg2 ;
29594 int arg3 ;
29595 bool result;
29596 PyObject * obj0 = 0 ;
29597 PyObject * obj1 = 0 ;
29598 PyObject * obj2 = 0 ;
29599 char *kwnames[] = {
29600 (char *) "self",(char *) "x",(char *) "y", NULL
29601 };
29602
29603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29605 if (SWIG_arg_fail(1)) SWIG_fail;
29606 {
29607 arg2 = (int)(SWIG_As_int(obj1));
29608 if (SWIG_arg_fail(2)) SWIG_fail;
29609 }
29610 {
29611 arg3 = (int)(SWIG_As_int(obj2));
29612 if (SWIG_arg_fail(3)) SWIG_fail;
29613 }
d55e5bfc
RD
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29617
29618 wxPyEndAllowThreads(__tstate);
29619 if (PyErr_Occurred()) SWIG_fail;
29620 }
29621 {
29622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29623 }
29624 return resultobj;
29625 fail:
29626 return NULL;
29627}
29628
29629
c32bde28 29630static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29631 PyObject *resultobj;
29632 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29633 int arg2 ;
29634 int arg3 ;
093d3ff1
RD
29635 wxDragResult arg4 ;
29636 wxDragResult result;
d55e5bfc
RD
29637 PyObject * obj0 = 0 ;
29638 PyObject * obj1 = 0 ;
29639 PyObject * obj2 = 0 ;
29640 PyObject * obj3 = 0 ;
29641 char *kwnames[] = {
29642 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29643 };
29644
29645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29647 if (SWIG_arg_fail(1)) SWIG_fail;
29648 {
29649 arg2 = (int)(SWIG_As_int(obj1));
29650 if (SWIG_arg_fail(2)) SWIG_fail;
29651 }
29652 {
29653 arg3 = (int)(SWIG_As_int(obj2));
29654 if (SWIG_arg_fail(3)) SWIG_fail;
29655 }
29656 {
29657 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29658 if (SWIG_arg_fail(4)) SWIG_fail;
29659 }
d55e5bfc
RD
29660 {
29661 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29662 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d55e5bfc
RD
29663
29664 wxPyEndAllowThreads(__tstate);
29665 if (PyErr_Occurred()) SWIG_fail;
29666 }
093d3ff1 29667 resultobj = SWIG_From_int((result));
d55e5bfc
RD
29668 return resultobj;
29669 fail:
29670 return NULL;
29671}
29672
29673
c32bde28 29674static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29675 PyObject *obj;
29676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29677 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
29678 Py_INCREF(obj);
29679 return Py_BuildValue((char *)"");
29680}
c32bde28 29681static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29682 PyObject *resultobj;
29683 wxClipboard *result;
29684 char *kwnames[] = {
29685 NULL
29686 };
29687
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
29689 {
29690 PyThreadState* __tstate = wxPyBeginAllowThreads();
29691 result = (wxClipboard *)new wxClipboard();
29692
29693 wxPyEndAllowThreads(__tstate);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 }
29696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
29697 return resultobj;
29698 fail:
29699 return NULL;
29700}
29701
29702
c32bde28 29703static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29704 PyObject *resultobj;
29705 wxClipboard *arg1 = (wxClipboard *) 0 ;
29706 PyObject * obj0 = 0 ;
29707 char *kwnames[] = {
29708 (char *) "self", NULL
29709 };
29710
29711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
29712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29714 {
29715 PyThreadState* __tstate = wxPyBeginAllowThreads();
29716 delete arg1;
29717
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 Py_INCREF(Py_None); resultobj = Py_None;
29722 return resultobj;
29723 fail:
29724 return NULL;
29725}
29726
29727
c32bde28 29728static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29729 PyObject *resultobj;
29730 wxClipboard *arg1 = (wxClipboard *) 0 ;
29731 bool result;
29732 PyObject * obj0 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
29738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 result = (bool)(arg1)->Open();
29743
29744 wxPyEndAllowThreads(__tstate);
29745 if (PyErr_Occurred()) SWIG_fail;
29746 }
29747 {
29748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29749 }
29750 return resultobj;
29751 fail:
29752 return NULL;
29753}
29754
29755
c32bde28 29756static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29757 PyObject *resultobj;
29758 wxClipboard *arg1 = (wxClipboard *) 0 ;
29759 PyObject * obj0 = 0 ;
29760 char *kwnames[] = {
29761 (char *) "self", NULL
29762 };
29763
29764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
29765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29767 {
29768 PyThreadState* __tstate = wxPyBeginAllowThreads();
29769 (arg1)->Close();
29770
29771 wxPyEndAllowThreads(__tstate);
29772 if (PyErr_Occurred()) SWIG_fail;
29773 }
29774 Py_INCREF(Py_None); resultobj = Py_None;
29775 return resultobj;
29776 fail:
29777 return NULL;
29778}
29779
29780
c32bde28 29781static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29782 PyObject *resultobj;
29783 wxClipboard *arg1 = (wxClipboard *) 0 ;
29784 bool result;
29785 PyObject * obj0 = 0 ;
29786 char *kwnames[] = {
29787 (char *) "self", NULL
29788 };
29789
29790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
29791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29793 {
29794 PyThreadState* __tstate = wxPyBeginAllowThreads();
29795 result = (bool)((wxClipboard const *)arg1)->IsOpened();
29796
29797 wxPyEndAllowThreads(__tstate);
29798 if (PyErr_Occurred()) SWIG_fail;
29799 }
29800 {
29801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29802 }
29803 return resultobj;
29804 fail:
29805 return NULL;
29806}
29807
29808
c32bde28 29809static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29810 PyObject *resultobj;
29811 wxClipboard *arg1 = (wxClipboard *) 0 ;
29812 wxDataObject *arg2 = (wxDataObject *) 0 ;
29813 bool result;
29814 PyObject * obj0 = 0 ;
29815 PyObject * obj1 = 0 ;
29816 char *kwnames[] = {
29817 (char *) "self",(char *) "data", NULL
29818 };
29819
29820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29822 if (SWIG_arg_fail(1)) SWIG_fail;
29823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29824 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29825 {
29826 PyThreadState* __tstate = wxPyBeginAllowThreads();
29827 result = (bool)(arg1)->AddData(arg2);
29828
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 {
29833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29834 }
29835 return resultobj;
29836 fail:
29837 return NULL;
29838}
29839
29840
c32bde28 29841static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29842 PyObject *resultobj;
29843 wxClipboard *arg1 = (wxClipboard *) 0 ;
29844 wxDataObject *arg2 = (wxDataObject *) 0 ;
29845 bool result;
29846 PyObject * obj0 = 0 ;
29847 PyObject * obj1 = 0 ;
29848 char *kwnames[] = {
29849 (char *) "self",(char *) "data", NULL
29850 };
29851
29852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29854 if (SWIG_arg_fail(1)) SWIG_fail;
29855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29856 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29857 {
29858 PyThreadState* __tstate = wxPyBeginAllowThreads();
29859 result = (bool)(arg1)->SetData(arg2);
29860
29861 wxPyEndAllowThreads(__tstate);
29862 if (PyErr_Occurred()) SWIG_fail;
29863 }
29864 {
29865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29866 }
29867 return resultobj;
29868 fail:
29869 return NULL;
29870}
29871
29872
c32bde28 29873static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29874 PyObject *resultobj;
29875 wxClipboard *arg1 = (wxClipboard *) 0 ;
29876 wxDataFormat *arg2 = 0 ;
29877 bool result;
29878 PyObject * obj0 = 0 ;
29879 PyObject * obj1 = 0 ;
29880 char *kwnames[] = {
29881 (char *) "self",(char *) "format", NULL
29882 };
29883
29884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29886 if (SWIG_arg_fail(1)) SWIG_fail;
29887 {
29888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
29889 if (SWIG_arg_fail(2)) SWIG_fail;
29890 if (arg2 == NULL) {
29891 SWIG_null_ref("wxDataFormat");
29892 }
29893 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29894 }
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
29898
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 {
29903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29904 }
29905 return resultobj;
29906 fail:
29907 return NULL;
29908}
29909
29910
c32bde28 29911static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29912 PyObject *resultobj;
29913 wxClipboard *arg1 = (wxClipboard *) 0 ;
29914 wxDataObject *arg2 = 0 ;
29915 bool result;
29916 PyObject * obj0 = 0 ;
29917 PyObject * obj1 = 0 ;
29918 char *kwnames[] = {
29919 (char *) "self",(char *) "data", NULL
29920 };
29921
29922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29924 if (SWIG_arg_fail(1)) SWIG_fail;
29925 {
29926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29927 if (SWIG_arg_fail(2)) SWIG_fail;
29928 if (arg2 == NULL) {
29929 SWIG_null_ref("wxDataObject");
29930 }
29931 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29932 }
29933 {
29934 PyThreadState* __tstate = wxPyBeginAllowThreads();
29935 result = (bool)(arg1)->GetData(*arg2);
29936
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
29940 {
29941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29942 }
29943 return resultobj;
29944 fail:
29945 return NULL;
29946}
29947
29948
c32bde28 29949static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29950 PyObject *resultobj;
29951 wxClipboard *arg1 = (wxClipboard *) 0 ;
29952 PyObject * obj0 = 0 ;
29953 char *kwnames[] = {
29954 (char *) "self", NULL
29955 };
29956
29957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
29958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29960 {
29961 PyThreadState* __tstate = wxPyBeginAllowThreads();
29962 (arg1)->Clear();
29963
29964 wxPyEndAllowThreads(__tstate);
29965 if (PyErr_Occurred()) SWIG_fail;
29966 }
29967 Py_INCREF(Py_None); resultobj = Py_None;
29968 return resultobj;
29969 fail:
29970 return NULL;
29971}
29972
29973
c32bde28 29974static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29975 PyObject *resultobj;
29976 wxClipboard *arg1 = (wxClipboard *) 0 ;
29977 bool result;
29978 PyObject * obj0 = 0 ;
29979 char *kwnames[] = {
29980 (char *) "self", NULL
29981 };
29982
29983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
29984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29986 {
29987 PyThreadState* __tstate = wxPyBeginAllowThreads();
29988 result = (bool)(arg1)->Flush();
29989
29990 wxPyEndAllowThreads(__tstate);
29991 if (PyErr_Occurred()) SWIG_fail;
29992 }
29993 {
29994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29995 }
29996 return resultobj;
29997 fail:
29998 return NULL;
29999}
30000
30001
c32bde28 30002static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30003 PyObject *resultobj;
30004 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 30005 bool arg2 = (bool) true ;
d55e5bfc
RD
30006 PyObject * obj0 = 0 ;
30007 PyObject * obj1 = 0 ;
30008 char *kwnames[] = {
30009 (char *) "self",(char *) "primary", NULL
30010 };
30011
30012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30015 if (obj1) {
093d3ff1
RD
30016 {
30017 arg2 = (bool)(SWIG_As_bool(obj1));
30018 if (SWIG_arg_fail(2)) SWIG_fail;
30019 }
d55e5bfc
RD
30020 }
30021 {
30022 PyThreadState* __tstate = wxPyBeginAllowThreads();
30023 (arg1)->UsePrimarySelection(arg2);
30024
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
30028 Py_INCREF(Py_None); resultobj = Py_None;
30029 return resultobj;
30030 fail:
30031 return NULL;
30032}
30033
30034
c32bde28 30035static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
a001823c
RD
30036 PyObject *resultobj;
30037 wxClipboard *result;
30038 char *kwnames[] = {
30039 NULL
30040 };
30041
30042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
30043 {
30044 PyThreadState* __tstate = wxPyBeginAllowThreads();
30045 result = (wxClipboard *)wxClipboard::Get();
30046
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
30051 return resultobj;
30052 fail:
30053 return NULL;
30054}
30055
30056
c32bde28 30057static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30058 PyObject *obj;
30059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30060 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
30061 Py_INCREF(obj);
30062 return Py_BuildValue((char *)"");
30063}
c32bde28 30064static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30065 PyObject *resultobj;
30066 wxClipboard *arg1 = (wxClipboard *) NULL ;
30067 wxClipboardLocker *result;
30068 PyObject * obj0 = 0 ;
30069 char *kwnames[] = {
30070 (char *) "clipboard", NULL
30071 };
30072
30073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
30074 if (obj0) {
093d3ff1
RD
30075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30076 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30077 }
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
30086 return resultobj;
30087 fail:
30088 return NULL;
30089}
30090
30091
c32bde28 30092static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30093 PyObject *resultobj;
30094 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30095 PyObject * obj0 = 0 ;
30096 char *kwnames[] = {
30097 (char *) "self", NULL
30098 };
30099
30100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
30101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30103 {
30104 PyThreadState* __tstate = wxPyBeginAllowThreads();
30105 delete arg1;
30106
30107 wxPyEndAllowThreads(__tstate);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 }
30110 Py_INCREF(Py_None); resultobj = Py_None;
30111 return resultobj;
30112 fail:
30113 return NULL;
30114}
30115
30116
c32bde28 30117static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30118 PyObject *resultobj;
30119 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30120 bool result;
30121 PyObject * obj0 = 0 ;
30122 char *kwnames[] = {
30123 (char *) "self", NULL
30124 };
30125
30126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
30127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30129 {
30130 PyThreadState* __tstate = wxPyBeginAllowThreads();
30131 result = (bool)wxClipboardLocker___nonzero__(arg1);
30132
30133 wxPyEndAllowThreads(__tstate);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 {
30137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30138 }
30139 return resultobj;
30140 fail:
30141 return NULL;
30142}
30143
30144
c32bde28 30145static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30146 PyObject *obj;
30147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30148 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
30149 Py_INCREF(obj);
30150 return Py_BuildValue((char *)"");
30151}
c32bde28 30152static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30153 PyObject *resultobj;
30154 int arg1 = (int) 0 ;
30155 int arg2 = (int) 0 ;
30156 int arg3 = (int) 0 ;
30157 int arg4 = (int) 0 ;
30158 wxVideoMode *result;
30159 PyObject * obj0 = 0 ;
30160 PyObject * obj1 = 0 ;
30161 PyObject * obj2 = 0 ;
30162 PyObject * obj3 = 0 ;
30163 char *kwnames[] = {
30164 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30165 };
30166
30167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30168 if (obj0) {
093d3ff1
RD
30169 {
30170 arg1 = (int)(SWIG_As_int(obj0));
30171 if (SWIG_arg_fail(1)) SWIG_fail;
30172 }
d55e5bfc
RD
30173 }
30174 if (obj1) {
093d3ff1
RD
30175 {
30176 arg2 = (int)(SWIG_As_int(obj1));
30177 if (SWIG_arg_fail(2)) SWIG_fail;
30178 }
d55e5bfc
RD
30179 }
30180 if (obj2) {
093d3ff1
RD
30181 {
30182 arg3 = (int)(SWIG_As_int(obj2));
30183 if (SWIG_arg_fail(3)) SWIG_fail;
30184 }
d55e5bfc
RD
30185 }
30186 if (obj3) {
093d3ff1
RD
30187 {
30188 arg4 = (int)(SWIG_As_int(obj3));
30189 if (SWIG_arg_fail(4)) SWIG_fail;
30190 }
d55e5bfc
RD
30191 }
30192 {
30193 PyThreadState* __tstate = wxPyBeginAllowThreads();
30194 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
30195
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
30200 return resultobj;
30201 fail:
30202 return NULL;
30203}
30204
30205
c32bde28 30206static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30207 PyObject *resultobj;
30208 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30209 PyObject * obj0 = 0 ;
30210 char *kwnames[] = {
30211 (char *) "self", NULL
30212 };
30213
30214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
30215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30217 {
30218 PyThreadState* __tstate = wxPyBeginAllowThreads();
30219 delete arg1;
30220
30221 wxPyEndAllowThreads(__tstate);
30222 if (PyErr_Occurred()) SWIG_fail;
30223 }
30224 Py_INCREF(Py_None); resultobj = Py_None;
30225 return resultobj;
30226 fail:
30227 return NULL;
30228}
30229
30230
c32bde28 30231static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30232 PyObject *resultobj;
30233 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30234 wxVideoMode *arg2 = 0 ;
30235 bool result;
30236 PyObject * obj0 = 0 ;
30237 PyObject * obj1 = 0 ;
30238 char *kwnames[] = {
30239 (char *) "self",(char *) "other", NULL
30240 };
30241
30242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail;
30245 {
30246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30247 if (SWIG_arg_fail(2)) SWIG_fail;
30248 if (arg2 == NULL) {
30249 SWIG_null_ref("wxVideoMode");
30250 }
30251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30252 }
30253 {
30254 PyThreadState* __tstate = wxPyBeginAllowThreads();
30255 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
30256
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 {
30261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30262 }
30263 return resultobj;
30264 fail:
30265 return NULL;
30266}
30267
30268
c32bde28 30269static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30270 PyObject *resultobj;
30271 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30272 int result;
30273 PyObject * obj0 = 0 ;
30274 char *kwnames[] = {
30275 (char *) "self", NULL
30276 };
30277
30278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30281 {
30282 PyThreadState* __tstate = wxPyBeginAllowThreads();
30283 result = (int)((wxVideoMode const *)arg1)->GetWidth();
30284
30285 wxPyEndAllowThreads(__tstate);
30286 if (PyErr_Occurred()) SWIG_fail;
30287 }
093d3ff1
RD
30288 {
30289 resultobj = SWIG_From_int((int)(result));
30290 }
d55e5bfc
RD
30291 return resultobj;
30292 fail:
30293 return NULL;
30294}
30295
30296
c32bde28 30297static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30298 PyObject *resultobj;
30299 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30300 int result;
30301 PyObject * obj0 = 0 ;
30302 char *kwnames[] = {
30303 (char *) "self", NULL
30304 };
30305
30306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
30307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30309 {
30310 PyThreadState* __tstate = wxPyBeginAllowThreads();
30311 result = (int)((wxVideoMode const *)arg1)->GetHeight();
30312
30313 wxPyEndAllowThreads(__tstate);
30314 if (PyErr_Occurred()) SWIG_fail;
30315 }
093d3ff1
RD
30316 {
30317 resultobj = SWIG_From_int((int)(result));
30318 }
d55e5bfc
RD
30319 return resultobj;
30320 fail:
30321 return NULL;
30322}
30323
30324
c32bde28 30325static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30326 PyObject *resultobj;
30327 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30328 int result;
30329 PyObject * obj0 = 0 ;
30330 char *kwnames[] = {
30331 (char *) "self", NULL
30332 };
30333
30334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30337 {
30338 PyThreadState* __tstate = wxPyBeginAllowThreads();
30339 result = (int)((wxVideoMode const *)arg1)->GetDepth();
30340
30341 wxPyEndAllowThreads(__tstate);
30342 if (PyErr_Occurred()) SWIG_fail;
30343 }
093d3ff1
RD
30344 {
30345 resultobj = SWIG_From_int((int)(result));
30346 }
d55e5bfc
RD
30347 return resultobj;
30348 fail:
30349 return NULL;
30350}
30351
30352
c32bde28 30353static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30354 PyObject *resultobj;
30355 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30356 bool result;
30357 PyObject * obj0 = 0 ;
30358 char *kwnames[] = {
30359 (char *) "self", NULL
30360 };
30361
30362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 result = (bool)((wxVideoMode const *)arg1)->IsOk();
30368
30369 wxPyEndAllowThreads(__tstate);
30370 if (PyErr_Occurred()) SWIG_fail;
30371 }
30372 {
30373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30374 }
30375 return resultobj;
30376 fail:
30377 return NULL;
30378}
30379
30380
c32bde28 30381static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30382 PyObject *resultobj;
30383 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30384 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30385 bool result;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 char *kwnames[] = {
30389 (char *) "self",(char *) "other", NULL
30390 };
30391
30392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail;
30395 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30396 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 {
30405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30406 }
30407 return resultobj;
30408 fail:
30409 return NULL;
30410}
30411
30412
c32bde28 30413static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30414 PyObject *resultobj;
30415 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30416 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30417 bool result;
30418 PyObject * obj0 = 0 ;
30419 PyObject * obj1 = 0 ;
30420 char *kwnames[] = {
30421 (char *) "self",(char *) "other", NULL
30422 };
30423
30424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30426 if (SWIG_arg_fail(1)) SWIG_fail;
30427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30428 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30429 {
30430 PyThreadState* __tstate = wxPyBeginAllowThreads();
30431 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
30432
30433 wxPyEndAllowThreads(__tstate);
30434 if (PyErr_Occurred()) SWIG_fail;
30435 }
30436 {
30437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30438 }
30439 return resultobj;
30440 fail:
30441 return NULL;
30442}
30443
30444
c32bde28 30445static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30446 PyObject *resultobj;
30447 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30448 int arg2 ;
30449 PyObject * obj0 = 0 ;
30450 PyObject * obj1 = 0 ;
30451 char *kwnames[] = {
30452 (char *) "self",(char *) "w", NULL
30453 };
30454
30455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30457 if (SWIG_arg_fail(1)) SWIG_fail;
30458 {
30459 arg2 = (int)(SWIG_As_int(obj1));
30460 if (SWIG_arg_fail(2)) SWIG_fail;
30461 }
d55e5bfc
RD
30462 if (arg1) (arg1)->w = arg2;
30463
30464 Py_INCREF(Py_None); resultobj = Py_None;
30465 return resultobj;
30466 fail:
30467 return NULL;
30468}
30469
30470
c32bde28 30471static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30472 PyObject *resultobj;
30473 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30474 int result;
30475 PyObject * obj0 = 0 ;
30476 char *kwnames[] = {
30477 (char *) "self", NULL
30478 };
30479
30480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30483 result = (int) ((arg1)->w);
30484
093d3ff1
RD
30485 {
30486 resultobj = SWIG_From_int((int)(result));
30487 }
d55e5bfc
RD
30488 return resultobj;
30489 fail:
30490 return NULL;
30491}
30492
30493
c32bde28 30494static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30495 PyObject *resultobj;
30496 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30497 int arg2 ;
30498 PyObject * obj0 = 0 ;
30499 PyObject * obj1 = 0 ;
30500 char *kwnames[] = {
30501 (char *) "self",(char *) "h", NULL
30502 };
30503
30504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30506 if (SWIG_arg_fail(1)) SWIG_fail;
30507 {
30508 arg2 = (int)(SWIG_As_int(obj1));
30509 if (SWIG_arg_fail(2)) SWIG_fail;
30510 }
d55e5bfc
RD
30511 if (arg1) (arg1)->h = arg2;
30512
30513 Py_INCREF(Py_None); resultobj = Py_None;
30514 return resultobj;
30515 fail:
30516 return NULL;
30517}
30518
30519
c32bde28 30520static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30521 PyObject *resultobj;
30522 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30523 int result;
30524 PyObject * obj0 = 0 ;
30525 char *kwnames[] = {
30526 (char *) "self", NULL
30527 };
30528
30529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30532 result = (int) ((arg1)->h);
30533
093d3ff1
RD
30534 {
30535 resultobj = SWIG_From_int((int)(result));
30536 }
d55e5bfc
RD
30537 return resultobj;
30538 fail:
30539 return NULL;
30540}
30541
30542
c32bde28 30543static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30544 PyObject *resultobj;
30545 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30546 int arg2 ;
30547 PyObject * obj0 = 0 ;
30548 PyObject * obj1 = 0 ;
30549 char *kwnames[] = {
30550 (char *) "self",(char *) "bpp", NULL
30551 };
30552
30553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30555 if (SWIG_arg_fail(1)) SWIG_fail;
30556 {
30557 arg2 = (int)(SWIG_As_int(obj1));
30558 if (SWIG_arg_fail(2)) SWIG_fail;
30559 }
d55e5bfc
RD
30560 if (arg1) (arg1)->bpp = arg2;
30561
30562 Py_INCREF(Py_None); resultobj = Py_None;
30563 return resultobj;
30564 fail:
30565 return NULL;
30566}
30567
30568
c32bde28 30569static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30570 PyObject *resultobj;
30571 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30572 int result;
30573 PyObject * obj0 = 0 ;
30574 char *kwnames[] = {
30575 (char *) "self", NULL
30576 };
30577
30578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30581 result = (int) ((arg1)->bpp);
30582
093d3ff1
RD
30583 {
30584 resultobj = SWIG_From_int((int)(result));
30585 }
d55e5bfc
RD
30586 return resultobj;
30587 fail:
30588 return NULL;
30589}
30590
30591
c32bde28 30592static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30593 PyObject *resultobj;
30594 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30595 int arg2 ;
30596 PyObject * obj0 = 0 ;
30597 PyObject * obj1 = 0 ;
30598 char *kwnames[] = {
30599 (char *) "self",(char *) "refresh", NULL
30600 };
30601
30602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail;
30605 {
30606 arg2 = (int)(SWIG_As_int(obj1));
30607 if (SWIG_arg_fail(2)) SWIG_fail;
30608 }
d55e5bfc
RD
30609 if (arg1) (arg1)->refresh = arg2;
30610
30611 Py_INCREF(Py_None); resultobj = Py_None;
30612 return resultobj;
30613 fail:
30614 return NULL;
30615}
30616
30617
c32bde28 30618static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30619 PyObject *resultobj;
30620 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30621 int result;
30622 PyObject * obj0 = 0 ;
30623 char *kwnames[] = {
30624 (char *) "self", NULL
30625 };
30626
30627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30630 result = (int) ((arg1)->refresh);
30631
093d3ff1
RD
30632 {
30633 resultobj = SWIG_From_int((int)(result));
30634 }
d55e5bfc
RD
30635 return resultobj;
30636 fail:
30637 return NULL;
30638}
30639
30640
c32bde28 30641static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30642 PyObject *obj;
30643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30644 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
30645 Py_INCREF(obj);
30646 return Py_BuildValue((char *)"");
30647}
c32bde28 30648static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
30649 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
30650 return 1;
30651}
30652
30653
093d3ff1 30654static PyObject *_wrap_DefaultVideoMode_get(void) {
d55e5bfc
RD
30655 PyObject *pyobj;
30656
30657 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
30658 return pyobj;
30659}
30660
30661
c32bde28 30662static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30663 PyObject *resultobj;
30664 size_t arg1 = (size_t) 0 ;
30665 wxDisplay *result;
30666 PyObject * obj0 = 0 ;
30667 char *kwnames[] = {
30668 (char *) "index", NULL
30669 };
30670
30671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
30672 if (obj0) {
093d3ff1
RD
30673 {
30674 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
30675 if (SWIG_arg_fail(1)) SWIG_fail;
30676 }
d55e5bfc
RD
30677 }
30678 {
30679 PyThreadState* __tstate = wxPyBeginAllowThreads();
30680 result = (wxDisplay *)new wxDisplay(arg1);
30681
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
30686 return resultobj;
30687 fail:
30688 return NULL;
30689}
30690
30691
c32bde28 30692static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30693 PyObject *resultobj;
30694 wxDisplay *arg1 = (wxDisplay *) 0 ;
30695 PyObject * obj0 = 0 ;
30696 char *kwnames[] = {
30697 (char *) "self", NULL
30698 };
30699
30700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
30701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 delete arg1;
30706
30707 wxPyEndAllowThreads(__tstate);
30708 if (PyErr_Occurred()) SWIG_fail;
30709 }
30710 Py_INCREF(Py_None); resultobj = Py_None;
30711 return resultobj;
30712 fail:
30713 return NULL;
30714}
30715
30716
c32bde28 30717static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30718 PyObject *resultobj;
30719 size_t result;
30720 char *kwnames[] = {
30721 NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
30725 {
30726 PyThreadState* __tstate = wxPyBeginAllowThreads();
30727 result = (size_t)wxDisplay::GetCount();
30728
30729 wxPyEndAllowThreads(__tstate);
30730 if (PyErr_Occurred()) SWIG_fail;
30731 }
093d3ff1
RD
30732 {
30733 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
30734 }
d55e5bfc
RD
30735 return resultobj;
30736 fail:
30737 return NULL;
30738}
30739
30740
c32bde28 30741static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30742 PyObject *resultobj;
30743 wxPoint *arg1 = 0 ;
30744 int result;
30745 wxPoint temp1 ;
30746 PyObject * obj0 = 0 ;
30747 char *kwnames[] = {
30748 (char *) "pt", NULL
30749 };
30750
30751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
30752 {
30753 arg1 = &temp1;
30754 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
30755 }
30756 {
30757 PyThreadState* __tstate = wxPyBeginAllowThreads();
30758 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
30759
30760 wxPyEndAllowThreads(__tstate);
30761 if (PyErr_Occurred()) SWIG_fail;
30762 }
093d3ff1
RD
30763 {
30764 resultobj = SWIG_From_int((int)(result));
30765 }
d55e5bfc
RD
30766 return resultobj;
30767 fail:
30768 return NULL;
30769}
30770
30771
c32bde28 30772static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30773 PyObject *resultobj;
30774 wxWindow *arg1 = (wxWindow *) 0 ;
30775 int result;
30776 PyObject * obj0 = 0 ;
30777 char *kwnames[] = {
30778 (char *) "window", NULL
30779 };
30780
30781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
30782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30783 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30784 {
30785 PyThreadState* __tstate = wxPyBeginAllowThreads();
30786 result = (int)wxDisplay::GetFromWindow(arg1);
30787
30788 wxPyEndAllowThreads(__tstate);
30789 if (PyErr_Occurred()) SWIG_fail;
30790 }
093d3ff1
RD
30791 {
30792 resultobj = SWIG_From_int((int)(result));
30793 }
d55e5bfc
RD
30794 return resultobj;
30795 fail:
30796 return NULL;
30797}
30798
30799
c32bde28 30800static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30801 PyObject *resultobj;
30802 wxDisplay *arg1 = (wxDisplay *) 0 ;
30803 bool result;
30804 PyObject * obj0 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self", NULL
30807 };
30808
30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30812 {
30813 PyThreadState* __tstate = wxPyBeginAllowThreads();
30814 result = (bool)((wxDisplay const *)arg1)->IsOk();
30815
30816 wxPyEndAllowThreads(__tstate);
30817 if (PyErr_Occurred()) SWIG_fail;
30818 }
30819 {
30820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30821 }
30822 return resultobj;
30823 fail:
30824 return NULL;
30825}
30826
30827
c32bde28 30828static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30829 PyObject *resultobj;
30830 wxDisplay *arg1 = (wxDisplay *) 0 ;
30831 wxRect result;
30832 PyObject * obj0 = 0 ;
30833 char *kwnames[] = {
30834 (char *) "self", NULL
30835 };
30836
30837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
30838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30839 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30840 {
30841 PyThreadState* __tstate = wxPyBeginAllowThreads();
30842 result = ((wxDisplay const *)arg1)->GetGeometry();
30843
30844 wxPyEndAllowThreads(__tstate);
30845 if (PyErr_Occurred()) SWIG_fail;
30846 }
30847 {
30848 wxRect * resultptr;
093d3ff1 30849 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
30850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30851 }
30852 return resultobj;
30853 fail:
30854 return NULL;
30855}
30856
30857
c32bde28 30858static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30859 PyObject *resultobj;
30860 wxDisplay *arg1 = (wxDisplay *) 0 ;
30861 wxString result;
30862 PyObject * obj0 = 0 ;
30863 char *kwnames[] = {
30864 (char *) "self", NULL
30865 };
30866
30867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
30868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30870 {
30871 PyThreadState* __tstate = wxPyBeginAllowThreads();
30872 result = ((wxDisplay const *)arg1)->GetName();
30873
30874 wxPyEndAllowThreads(__tstate);
30875 if (PyErr_Occurred()) SWIG_fail;
30876 }
30877 {
30878#if wxUSE_UNICODE
30879 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30880#else
30881 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30882#endif
30883 }
30884 return resultobj;
30885 fail:
30886 return NULL;
30887}
30888
30889
c32bde28 30890static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30891 PyObject *resultobj;
30892 wxDisplay *arg1 = (wxDisplay *) 0 ;
30893 bool result;
30894 PyObject * obj0 = 0 ;
30895 char *kwnames[] = {
30896 (char *) "self", NULL
30897 };
30898
30899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
30900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30902 {
30903 PyThreadState* __tstate = wxPyBeginAllowThreads();
30904 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
30905
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
30909 {
30910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30911 }
30912 return resultobj;
30913 fail:
30914 return NULL;
30915}
30916
30917
c32bde28 30918static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30919 PyObject *resultobj;
30920 wxDisplay *arg1 = (wxDisplay *) 0 ;
30921 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
30922 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
30923 PyObject *result;
30924 PyObject * obj0 = 0 ;
30925 PyObject * obj1 = 0 ;
30926 char *kwnames[] = {
30927 (char *) "self",(char *) "mode", NULL
30928 };
30929
30930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30933 if (obj1) {
093d3ff1
RD
30934 {
30935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30936 if (SWIG_arg_fail(2)) SWIG_fail;
30937 if (arg2 == NULL) {
30938 SWIG_null_ref("wxVideoMode");
30939 }
30940 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30941 }
30942 }
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
30946
30947 wxPyEndAllowThreads(__tstate);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 }
30950 resultobj = result;
30951 return resultobj;
30952 fail:
30953 return NULL;
30954}
30955
30956
c32bde28 30957static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30958 PyObject *resultobj;
30959 wxDisplay *arg1 = (wxDisplay *) 0 ;
30960 wxVideoMode result;
30961 PyObject * obj0 = 0 ;
30962 char *kwnames[] = {
30963 (char *) "self", NULL
30964 };
30965
30966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
30967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30969 {
30970 PyThreadState* __tstate = wxPyBeginAllowThreads();
30971 result = ((wxDisplay const *)arg1)->GetCurrentMode();
30972
30973 wxPyEndAllowThreads(__tstate);
30974 if (PyErr_Occurred()) SWIG_fail;
30975 }
30976 {
30977 wxVideoMode * resultptr;
093d3ff1 30978 resultptr = new wxVideoMode((wxVideoMode &)(result));
d55e5bfc
RD
30979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
30980 }
30981 return resultobj;
30982 fail:
30983 return NULL;
30984}
30985
30986
c32bde28 30987static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30988 PyObject *resultobj;
30989 wxDisplay *arg1 = (wxDisplay *) 0 ;
30990 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
30991 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
30992 bool result;
30993 PyObject * obj0 = 0 ;
30994 PyObject * obj1 = 0 ;
30995 char *kwnames[] = {
30996 (char *) "self",(char *) "mode", NULL
30997 };
30998
30999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31002 if (obj1) {
093d3ff1
RD
31003 {
31004 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31005 if (SWIG_arg_fail(2)) SWIG_fail;
31006 if (arg2 == NULL) {
31007 SWIG_null_ref("wxVideoMode");
31008 }
31009 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31010 }
31011 }
31012 {
31013 PyThreadState* __tstate = wxPyBeginAllowThreads();
31014 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
31015
31016 wxPyEndAllowThreads(__tstate);
31017 if (PyErr_Occurred()) SWIG_fail;
31018 }
31019 {
31020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31021 }
31022 return resultobj;
31023 fail:
31024 return NULL;
31025}
31026
31027
c32bde28 31028static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31029 PyObject *resultobj;
31030 wxDisplay *arg1 = (wxDisplay *) 0 ;
31031 PyObject * obj0 = 0 ;
31032 char *kwnames[] = {
31033 (char *) "self", NULL
31034 };
31035
31036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 (arg1)->ResetMode();
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 Py_INCREF(Py_None); resultobj = Py_None;
31047 return resultobj;
31048 fail:
31049 return NULL;
31050}
31051
31052
c32bde28 31053static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31054 PyObject *obj;
31055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31056 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
31057 Py_INCREF(obj);
31058 return Py_BuildValue((char *)"");
31059}
c1cb24a4
RD
31060static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31061 PyObject *resultobj;
31062 wxStandardPaths *result;
31063 char *kwnames[] = {
31064 NULL
31065 };
31066
31067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
31068 {
31069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8fb0e70a 31070 result = (wxStandardPaths *)StandardPaths_Get();
c1cb24a4
RD
31071
31072 wxPyEndAllowThreads(__tstate);
31073 if (PyErr_Occurred()) SWIG_fail;
31074 }
31075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
31076 return resultobj;
31077 fail:
31078 return NULL;
31079}
31080
31081
31082static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31083 PyObject *resultobj;
31084 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31085 wxString result;
31086 PyObject * obj0 = 0 ;
31087 char *kwnames[] = {
31088 (char *) "self", NULL
31089 };
31090
31091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31093 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31094 {
31095 PyThreadState* __tstate = wxPyBeginAllowThreads();
31096 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
31097
31098 wxPyEndAllowThreads(__tstate);
31099 if (PyErr_Occurred()) SWIG_fail;
31100 }
31101 {
31102#if wxUSE_UNICODE
31103 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31104#else
31105 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31106#endif
31107 }
31108 return resultobj;
31109 fail:
31110 return NULL;
31111}
31112
31113
31114static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31115 PyObject *resultobj;
31116 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31117 wxString result;
31118 PyObject * obj0 = 0 ;
31119 char *kwnames[] = {
31120 (char *) "self", NULL
31121 };
31122
31123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31125 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31126 {
31127 PyThreadState* __tstate = wxPyBeginAllowThreads();
31128 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
31129
31130 wxPyEndAllowThreads(__tstate);
31131 if (PyErr_Occurred()) SWIG_fail;
31132 }
31133 {
31134#if wxUSE_UNICODE
31135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31136#else
31137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31138#endif
31139 }
31140 return resultobj;
31141 fail:
31142 return NULL;
31143}
31144
31145
31146static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31147 PyObject *resultobj;
31148 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31149 wxString result;
31150 PyObject * obj0 = 0 ;
31151 char *kwnames[] = {
31152 (char *) "self", NULL
31153 };
31154
31155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31157 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31158 {
31159 PyThreadState* __tstate = wxPyBeginAllowThreads();
31160 result = ((wxStandardPaths const *)arg1)->GetDataDir();
31161
31162 wxPyEndAllowThreads(__tstate);
31163 if (PyErr_Occurred()) SWIG_fail;
31164 }
31165 {
31166#if wxUSE_UNICODE
31167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31168#else
31169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31170#endif
31171 }
31172 return resultobj;
31173 fail:
31174 return NULL;
31175}
31176
31177
31178static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31179 PyObject *resultobj;
31180 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31181 wxString result;
31182 PyObject * obj0 = 0 ;
31183 char *kwnames[] = {
31184 (char *) "self", NULL
31185 };
31186
31187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31189 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31190 {
31191 PyThreadState* __tstate = wxPyBeginAllowThreads();
31192 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
31193
31194 wxPyEndAllowThreads(__tstate);
31195 if (PyErr_Occurred()) SWIG_fail;
31196 }
31197 {
31198#if wxUSE_UNICODE
31199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31200#else
31201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31202#endif
31203 }
31204 return resultobj;
31205 fail:
31206 return NULL;
31207}
31208
31209
31210static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31211 PyObject *resultobj;
31212 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31213 wxString result;
31214 PyObject * obj0 = 0 ;
31215 char *kwnames[] = {
31216 (char *) "self", NULL
31217 };
31218
31219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31221 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31222 {
31223 PyThreadState* __tstate = wxPyBeginAllowThreads();
31224 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
31225
31226 wxPyEndAllowThreads(__tstate);
31227 if (PyErr_Occurred()) SWIG_fail;
31228 }
31229 {
31230#if wxUSE_UNICODE
31231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31232#else
31233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31234#endif
31235 }
31236 return resultobj;
31237 fail:
31238 return NULL;
31239}
31240
31241
31242static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31243 PyObject *resultobj;
31244 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31245 wxString result;
31246 PyObject * obj0 = 0 ;
31247 char *kwnames[] = {
31248 (char *) "self", NULL
31249 };
31250
31251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31253 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 {
31262#if wxUSE_UNICODE
31263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31264#else
31265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31266#endif
31267 }
31268 return resultobj;
31269 fail:
31270 return NULL;
31271}
31272
31273
31274static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
31275 PyObject *resultobj;
31276 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31277 wxString result;
31278 PyObject * obj0 = 0 ;
31279 char *kwnames[] = {
31280 (char *) "self", NULL
31281 };
31282
31283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31285 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31286 {
31287 PyThreadState* __tstate = wxPyBeginAllowThreads();
31288 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
31289
31290 wxPyEndAllowThreads(__tstate);
31291 if (PyErr_Occurred()) SWIG_fail;
31292 }
31293 {
31294#if wxUSE_UNICODE
31295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31296#else
31297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31298#endif
31299 }
31300 return resultobj;
31301 fail:
31302 return NULL;
31303}
31304
31305
31306static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31307 PyObject *resultobj;
31308 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31309 wxString *arg2 = 0 ;
31310 bool temp2 = false ;
31311 PyObject * obj0 = 0 ;
31312 PyObject * obj1 = 0 ;
31313 char *kwnames[] = {
31314 (char *) "self",(char *) "prefix", NULL
31315 };
31316
31317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31319 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31320 {
31321 arg2 = wxString_in_helper(obj1);
31322 if (arg2 == NULL) SWIG_fail;
31323 temp2 = true;
31324 }
31325 {
31326 PyThreadState* __tstate = wxPyBeginAllowThreads();
31327 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
31328
31329 wxPyEndAllowThreads(__tstate);
31330 if (PyErr_Occurred()) SWIG_fail;
31331 }
31332 Py_INCREF(Py_None); resultobj = Py_None;
31333 {
31334 if (temp2)
31335 delete arg2;
31336 }
31337 return resultobj;
31338 fail:
31339 {
31340 if (temp2)
31341 delete arg2;
31342 }
31343 return NULL;
31344}
31345
31346
31347static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31348 PyObject *resultobj;
31349 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31350 wxString result;
31351 PyObject * obj0 = 0 ;
31352 char *kwnames[] = {
31353 (char *) "self", NULL
31354 };
31355
31356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
31357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31358 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
31359 {
31360 PyThreadState* __tstate = wxPyBeginAllowThreads();
31361 result = wxStandardPaths_GetInstallPrefix(arg1);
31362
31363 wxPyEndAllowThreads(__tstate);
31364 if (PyErr_Occurred()) SWIG_fail;
31365 }
31366 {
31367#if wxUSE_UNICODE
31368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31369#else
31370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31371#endif
31372 }
31373 return resultobj;
31374 fail:
31375 return NULL;
31376}
31377
31378
31379static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
31380 PyObject *obj;
31381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31382 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
31383 Py_INCREF(obj);
31384 return Py_BuildValue((char *)"");
31385}
d55e5bfc 31386static PyMethodDef SwigMethods[] = {
093d3ff1
RD
31387 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
31394 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31396 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31398 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
31401 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
31410 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
31412 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
31418 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31421 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31438 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
31442 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
31444 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
31465 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
31473 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31474 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31475 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31488 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 31490 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31491 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
31494 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
31497 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
31500 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
31506 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
31514 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
31520 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 31526 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31527 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
31532 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
31535 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
31549 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
31552 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
31553 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
31556 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
31583 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
31585 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
31587 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
31589 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
31596 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
31602 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
31606 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
31610 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
31616 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
31620 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
31623 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
31640 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
31648 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31695 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
31713 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
31723 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
31739 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
31755 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
31769 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
9c874b48 31776 { (char *)"ArtProvider_GetSize", (PyCFunction) _wrap_ArtProvider_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31777 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
31779 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
31822 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
31825 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
31828 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
31832 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
31925 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
31926 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
31927 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
31928 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31934 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
31945 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
31990 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
32024 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
32032 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
32033 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
32038 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
32047 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
32054 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
32057 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
32060 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
32065 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
32068 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
32072 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
32075 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 32079 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
32080 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
32084 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
32088 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
32092 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
32102 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
32113 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
32121 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
32129 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
32143 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
32147 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
32165 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
32172 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
32179 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 32190 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32191};
32192
32193
32194/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32195
32196static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32198}
32199static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32200 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32201}
32202static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32203 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32204}
32205static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32206 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32207}
32208static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32209 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32210}
32211static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32212 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32213}
32214static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
32215 return (void *)((wxEvent *) ((wxTimerEvent *) x));
32216}
32217static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32218 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32219}
32220static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32222}
32223static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32224 return (void *)((wxEvent *) ((wxPyEvent *) x));
32225}
32226static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32228}
32229static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
32230 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
32231}
32232static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32233 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32234}
32235static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32237}
32238static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32239 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32240}
32241static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32242 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32243}
32244static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32245 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32246}
32247static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32248 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32249}
32250static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32251 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32252}
32253static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32254 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32255}
53aa7709
RD
32256static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32257 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32258}
d55e5bfc
RD
32259static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32260 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32261}
32262static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32263 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32264}
32265static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32266 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32267}
32268static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32269 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32270}
32271static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32272 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32273}
32274static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32275 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32276}
32277static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32278 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32279}
32280static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32281 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32282}
32283static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32284 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32285}
32286static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32288}
32289static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
32290 return (void *)((wxEvent *) ((wxProcessEvent *) x));
32291}
32292static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32293 return (void *)((wxEvent *) ((wxShowEvent *) x));
32294}
32295static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32296 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32297}
32298static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32299 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32300}
32301static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32302 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32303}
32304static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32305 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32306}
32307static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32308 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32309}
32310static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32311 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32312}
32313static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
32314 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
32315}
32316static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
32317 return (void *)((wxConfigBase *) ((wxConfig *) x));
32318}
32319static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
32320 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32321}
32322static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
32323 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
32324}
32325static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
32326 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
32327}
32328static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
32329 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32330}
32331static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
32332 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
32333}
32334static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
32335 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
32336}
32337static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
32338 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
32339}
32340static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
32341 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32342}
32343static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
32344 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32345}
32346static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
32347 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
32348}
32349static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
32350 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
32351}
32352static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32353 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
32354}
32355static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
32356 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32357}
32358static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
32359 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
32360}
32361static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
32362 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32363}
32364static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32365 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
32366}
32367static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32368 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
32369}
32370static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32371 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32372}
32373static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32374 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32375}
32376static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
32377 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
32378}
32379static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
32380 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
32381}
32382static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
32383 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32384}
32385static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32387}
32388static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32390}
32391static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32393}
32394static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32396}
32397static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
32399}
32400static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32402}
32403static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32405}
32406static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32408}
32409static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32411}
32412static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
32414}
32415static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
32416 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
32417}
32418static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32419 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32420}
32421static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32422 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32423}
32424static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32425 return (void *)((wxObject *) ((wxSizerItem *) x));
32426}
32427static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32428 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32429}
32430static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32431 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32432}
32433static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32434 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32435}
32436static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32437 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32438}
32439static void *_p_wxSizerTo_p_wxObject(void *x) {
32440 return (void *)((wxObject *) ((wxSizer *) x));
32441}
32442static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32443 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32444}
32445static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
32446 return (void *)((wxObject *) ((wxFileHistory *) x));
32447}
32448static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32450}
32451static void *_p_wxEventTo_p_wxObject(void *x) {
32452 return (void *)((wxObject *) ((wxEvent *) x));
32453}
32454static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32455 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32456}
32457static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32458 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32459}
32460static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32461 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32462}
32463static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32464 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32465}
32466static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32467 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32468}
32469static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32470 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32471}
32472static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32473 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32474}
32475static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32476 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32477}
32478static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32479 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32480}
32481static void *_p_wxControlTo_p_wxObject(void *x) {
32482 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32483}
32484static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32485 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32486}
32487static void *_p_wxTimerEventTo_p_wxObject(void *x) {
32488 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
32489}
32490static void *_p_wxFSFileTo_p_wxObject(void *x) {
32491 return (void *)((wxObject *) ((wxFSFile *) x));
32492}
32493static void *_p_wxClipboardTo_p_wxObject(void *x) {
32494 return (void *)((wxObject *) ((wxClipboard *) x));
32495}
32496static void *_p_wxPySizerTo_p_wxObject(void *x) {
32497 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32498}
32499static void *_p_wxPyEventTo_p_wxObject(void *x) {
32500 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32501}
32502static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32504}
32505static void *_p_wxShowEventTo_p_wxObject(void *x) {
32506 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32507}
32508static void *_p_wxToolTipTo_p_wxObject(void *x) {
32509 return (void *)((wxObject *) ((wxToolTip *) x));
32510}
32511static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32512 return (void *)((wxObject *) ((wxMenuItem *) x));
32513}
53aa7709
RD
32514static void *_p_wxDateEventTo_p_wxObject(void *x) {
32515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32516}
d55e5bfc
RD
32517static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32518 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32519}
32520static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32522}
32523static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32525}
32526static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32528}
32529static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32531}
32532static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32534}
32535static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32537}
32538static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32540}
32541static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32543}
32544static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32546}
32547static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32549}
32550static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32552}
32553static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32555}
32556static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32558}
32559static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32561}
32562static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32564}
32565static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32567}
32568static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32570}
32571static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) ((wxImageHandler *) x));
32573}
32574static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32576}
32577static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) ((wxEvtHandler *) x));
32579}
51b83b37
RD
32580static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32582}
d55e5bfc
RD
32583static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32585}
32586static void *_p_wxImageTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) ((wxImage *) x));
32588}
32589static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32591}
32592static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) ((wxSystemOptions *) x));
32594}
32595static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
32597}
32598static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32600}
32601static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32603}
32604static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32606}
32607static void *_p_wxWindowTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32609}
32610static void *_p_wxMenuTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32612}
32613static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32615}
32616static void *_p_wxPyProcessTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
32618}
32619static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) ((wxFileSystem *) x));
32621}
32622static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32624}
32625static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32627}
32628static void *_p_wxPyAppTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32630}
32631static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32633}
32634static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32636}
32637static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32639}
32640static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) ((wxBusyInfo *) x));
32642}
32643static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32645}
32646static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32648}
32649static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32651}
32652static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32654}
32655static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32657}
32658static void *_p_wxProcessEventTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
32660}
32661static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32663}
32664static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32666}
32667static void *_p_wxValidatorTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32669}
32670static void *_p_wxPyTimerTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
32672}
32673static void *_p_wxLogStderrTo_p_wxLog(void *x) {
32674 return (void *)((wxLog *) ((wxLogStderr *) x));
32675}
32676static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
32677 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
32678}
32679static void *_p_wxLogWindowTo_p_wxLog(void *x) {
32680 return (void *)((wxLog *) ((wxLogWindow *) x));
32681}
32682static void *_p_wxLogChainTo_p_wxLog(void *x) {
32683 return (void *)((wxLog *) ((wxLogChain *) x));
32684}
32685static void *_p_wxLogGuiTo_p_wxLog(void *x) {
32686 return (void *)((wxLog *) ((wxLogGui *) x));
32687}
32688static void *_p_wxPyLogTo_p_wxLog(void *x) {
32689 return (void *)((wxLog *) ((wxPyLog *) x));
32690}
32691static void *_p_wxControlTo_p_wxWindow(void *x) {
32692 return (void *)((wxWindow *) ((wxControl *) x));
32693}
32694static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32695 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32696}
32697static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32698 return (void *)((wxWindow *) ((wxMenuBar *) x));
32699}
32700static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
32701 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
32702}
32703static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
32704 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
32705}
32706static 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}};
32707static 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}};
32708static 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}};
32709static 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}};
32710static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 32711static 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 32712static 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 32713static 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
32714static 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}};
32715static 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}};
32716static 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}};
32717static 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}};
32718static 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}};
32719static 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}};
32720static 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}};
32721static 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
32722static 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}};
32723static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32724static 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}};
32725static 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}};
32726static 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}};
32727static 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 32728static 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
32729static 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}};
32730static 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}};
32731static 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}};
32732static 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}};
32733static 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}};
32734static 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
32735static 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}};
32736static 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}};
32737static 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 32738static 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 32739static 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
32740static 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}};
32741static 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}};
32742static 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}};
32743static 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}};
32744static 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}};
32745static 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}};
32746static 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}};
32747static 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}};
32748static 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}};
32749static 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 32750static 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
32751static 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}};
32752static 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 32753static 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 32754static 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 32755static 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 32756static 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
32757static 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}};
32758static 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
32759static 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}};
32760static 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}};
32761static 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}};
32762static 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 32763static 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
32764static 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}};
32765static 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}};
32766static 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 32767static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32768static 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}};
32769static 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}};
32770static 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}};
32771static 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}};
32772static 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}};
32773static 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}};
32774static 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}};
32775static 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}};
32776static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 32777static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
32778static 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}};
32779static 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}};
32780static 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 32781static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c9c2cf70 32782static 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
32783static 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}};
32784static 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}};
32785static 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}};
32786static 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}};
32787static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
32788static 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}};
32789static 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}};
32790static 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
32791static 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}};
32792static 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}};
32793static 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}};
32794static 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}};
32795static 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}};
32796static 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}};
32797static 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}};
32798static 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}};
32799static 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 32800static 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 32801static 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
32802static 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}};
32803
32804static swig_type_info *swig_types_initial[] = {
32805_swigt__p_wxLogChain,
32806_swigt__p_wxMutexGuiLocker,
32807_swigt__p_wxMetafile,
32808_swigt__p_wxFileHistory,
32809_swigt__p_wxLog,
d55e5bfc
RD
32810_swigt__p_wxMenu,
32811_swigt__p_wxEvent,
093d3ff1 32812_swigt__p_wxDateTime__TimeZone,
d55e5bfc
RD
32813_swigt__p_wxConfigBase,
32814_swigt__p_wxDisplay,
32815_swigt__p_wxFileType,
32816_swigt__p_wxLogGui,
32817_swigt__p_wxFont,
32818_swigt__p_wxDataFormat,
32819_swigt__p_wxTimerEvent,
32820_swigt__p_wxCaret,
093d3ff1
RD
32821_swigt__ptrdiff_t,
32822_swigt__std__ptrdiff_t,
d55e5bfc
RD
32823_swigt__p_int,
32824_swigt__p_wxSize,
32825_swigt__p_wxClipboard,
32826_swigt__p_wxStopWatch,
68350608 32827_swigt__p_wxDC,
d55e5bfc
RD
32828_swigt__p_wxClipboardLocker,
32829_swigt__p_wxIcon,
32830_swigt__p_wxLogStderr,
32831_swigt__p_wxLogTextCtrl,
32832_swigt__p_wxTextCtrl,
32833_swigt__p_wxBusyCursor,
d55e5bfc
RD
32834_swigt__p_wxBitmapDataObject,
32835_swigt__p_wxTextDataObject,
32836_swigt__p_wxDataObject,
093d3ff1 32837_swigt__p_wxPyTextDataObject,
c9c2cf70 32838_swigt__p_wxPyBitmapDataObject,
d55e5bfc
RD
32839_swigt__p_wxFileDataObject,
32840_swigt__p_wxCustomDataObject,
32841_swigt__p_wxURLDataObject,
32842_swigt__p_wxMetafileDataObject,
32843_swigt__p_wxSound,
32844_swigt__p_wxTimerRunner,
32845_swigt__p_wxLogWindow,
32846_swigt__p_wxTimeSpan,
32847_swigt__p_wxArrayString,
32848_swigt__p_wxWindowDisabler,
093d3ff1 32849_swigt__p_form_ops_t,
d55e5bfc
RD
32850_swigt__p_wxToolTip,
32851_swigt__p_wxDataObjectComposite,
51b83b37 32852_swigt__p_wxSystemSettings,
68350608 32853_swigt__p_wxFileConfig,
d55e5bfc 32854_swigt__p_wxVideoMode,
d55e5bfc 32855_swigt__p_wxDataObjectSimple,
093d3ff1
RD
32856_swigt__p_wxPyDataObjectSimple,
32857_swigt__p_wxDuplexMode,
d55e5bfc
RD
32858_swigt__p_wxEvtHandler,
32859_swigt__p_wxRect,
32860_swigt__p_char,
32861_swigt__p_wxSingleInstanceChecker,
c1cb24a4 32862_swigt__p_wxStandardPaths,
d55e5bfc
RD
32863_swigt__p_wxFileTypeInfo,
32864_swigt__p_wxFrame,
32865_swigt__p_wxTimer,
093d3ff1 32866_swigt__p_wxPaperSize,
d55e5bfc
RD
32867_swigt__p_wxMimeTypesManager,
32868_swigt__p_wxPyArtProvider,
32869_swigt__p_wxPyTipProvider,
32870_swigt__p_wxTipProvider,
32871_swigt__p_wxJoystick,
32872_swigt__p_wxSystemOptions,
32873_swigt__p_wxPoint,
32874_swigt__p_wxJoystickEvent,
32875_swigt__p_wxCursor,
32876_swigt__p_wxObject,
32877_swigt__p_wxOutputStream,
32878_swigt__p_wxDateTime,
32879_swigt__p_wxPyDropSource,
093d3ff1 32880_swigt__p_unsigned_long,
c9c2cf70 32881_swigt__p_wxKillError,
d55e5bfc
RD
32882_swigt__p_wxWindow,
32883_swigt__p_wxString,
32884_swigt__p_wxPyProcess,
32885_swigt__p_wxBitmap,
32886_swigt__p_wxConfig,
093d3ff1
RD
32887_swigt__unsigned_int,
32888_swigt__p_unsigned_int,
32889_swigt__p_unsigned_char,
d55e5bfc
RD
32890_swigt__p_wxChar,
32891_swigt__p_wxBusyInfo,
32892_swigt__p_wxPyDropTarget,
32893_swigt__p_wxPyTextDropTarget,
32894_swigt__p_wxPyFileDropTarget,
32895_swigt__p_wxProcessEvent,
32896_swigt__p_wxPyLog,
32897_swigt__p_wxLogNull,
32898_swigt__p_wxColour,
d55e5bfc 32899_swigt__p_wxPyTimer,
093d3ff1 32900_swigt__p_wxConfigPathChanger,
d55e5bfc
RD
32901_swigt__p_wxDateSpan,
329020
32903};
32904
32905
32906/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32907
32908static swig_const_info swig_const_table[] = {
32909{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
32910{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
32911{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
32912{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
32913{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 32914{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
32915
32916#ifdef __cplusplus
32917}
32918#endif
32919
093d3ff1 32920
d55e5bfc 32921#ifdef __cplusplus
093d3ff1 32922extern "C" {
d55e5bfc 32923#endif
d55e5bfc 32924
093d3ff1
RD
32925 /* Python-specific SWIG API */
32926#define SWIG_newvarlink() SWIG_Python_newvarlink()
32927#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32928#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32929
32930 /* -----------------------------------------------------------------------------
32931 * global variable support code.
32932 * ----------------------------------------------------------------------------- */
32933
32934 typedef struct swig_globalvar {
32935 char *name; /* Name of global variable */
32936 PyObject *(*get_attr)(); /* Return the current value */
32937 int (*set_attr)(PyObject *); /* Set the value */
32938 struct swig_globalvar *next;
32939 } swig_globalvar;
32940
32941 typedef struct swig_varlinkobject {
32942 PyObject_HEAD
32943 swig_globalvar *vars;
32944 } swig_varlinkobject;
32945
32946 static PyObject *
32947 swig_varlink_repr(swig_varlinkobject *v) {
32948 v = v;
32949 return PyString_FromString("<Swig global variables>");
32950 }
32951
32952 static int
32953 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
32954 swig_globalvar *var;
32955 flags = flags;
32956 fprintf(fp,"Swig global variables { ");
32957 for (var = v->vars; var; var=var->next) {
32958 fprintf(fp,"%s", var->name);
32959 if (var->next) fprintf(fp,", ");
d55e5bfc 32960 }
093d3ff1
RD
32961 fprintf(fp," }\n");
32962 return 0;
d55e5bfc 32963 }
d55e5bfc 32964
093d3ff1
RD
32965 static PyObject *
32966 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
32967 swig_globalvar *var = v->vars;
32968 while (var) {
32969 if (strcmp(var->name,n) == 0) {
32970 return (*var->get_attr)();
32971 }
32972 var = var->next;
32973 }
32974 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
32975 return NULL;
32976 }
1a6bba1e 32977
093d3ff1
RD
32978 static int
32979 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
32980 swig_globalvar *var = v->vars;
32981 while (var) {
32982 if (strcmp(var->name,n) == 0) {
32983 return (*var->set_attr)(p);
32984 }
32985 var = var->next;
32986 }
32987 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
32988 return 1;
32989 }
1a6bba1e 32990
093d3ff1
RD
32991 static PyTypeObject varlinktype = {
32992 PyObject_HEAD_INIT(0)
32993 0, /* Number of items in variable part (ob_size) */
32994 (char *)"swigvarlink", /* Type name (tp_name) */
32995 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
32996 0, /* Itemsize (tp_itemsize) */
32997 0, /* Deallocator (tp_dealloc) */
32998 (printfunc) swig_varlink_print, /* Print (tp_print) */
32999 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33000 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33001 0, /* tp_compare */
33002 (reprfunc) swig_varlink_repr, /* tp_repr */
33003 0, /* tp_as_number */
33004 0, /* tp_as_sequence */
33005 0, /* tp_as_mapping */
33006 0, /* tp_hash */
33007 0, /* tp_call */
33008 0, /* tp_str */
33009 0, /* tp_getattro */
33010 0, /* tp_setattro */
33011 0, /* tp_as_buffer */
33012 0, /* tp_flags */
33013 0, /* tp_doc */
33014#if PY_VERSION_HEX >= 0x02000000
33015 0, /* tp_traverse */
33016 0, /* tp_clear */
33017#endif
33018#if PY_VERSION_HEX >= 0x02010000
33019 0, /* tp_richcompare */
33020 0, /* tp_weaklistoffset */
33021#endif
33022#if PY_VERSION_HEX >= 0x02020000
33023 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33024#endif
33025#if PY_VERSION_HEX >= 0x02030000
33026 0, /* tp_del */
33027#endif
33028#ifdef COUNT_ALLOCS
33029 0,0,0,0 /* tp_alloc -> tp_next */
33030#endif
33031 };
d55e5bfc 33032
093d3ff1
RD
33033 /* Create a variable linking object for use later */
33034 static PyObject *
33035 SWIG_Python_newvarlink(void) {
33036 swig_varlinkobject *result = 0;
33037 result = PyMem_NEW(swig_varlinkobject,1);
33038 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
33039 result->ob_type = &varlinktype;
33040 result->vars = 0;
33041 result->ob_refcnt = 0;
33042 Py_XINCREF((PyObject *) result);
33043 return ((PyObject*) result);
33044 }
33045
33046 static void
33047 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33048 swig_varlinkobject *v;
33049 swig_globalvar *gv;
33050 v= (swig_varlinkobject *) p;
33051 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33052 gv->name = (char *) malloc(strlen(name)+1);
33053 strcpy(gv->name,name);
33054 gv->get_attr = get_attr;
33055 gv->set_attr = set_attr;
33056 gv->next = v->vars;
33057 v->vars = gv;
33058 }
33059
33060 /* -----------------------------------------------------------------------------
33061 * constants/methods manipulation
33062 * ----------------------------------------------------------------------------- */
33063
33064 /* Install Constants */
33065 static void
33066 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33067 PyObject *obj = 0;
33068 size_t i;
33069 for (i = 0; constants[i].type; i++) {
33070 switch(constants[i].type) {
33071 case SWIG_PY_INT:
33072 obj = PyInt_FromLong(constants[i].lvalue);
33073 break;
33074 case SWIG_PY_FLOAT:
33075 obj = PyFloat_FromDouble(constants[i].dvalue);
33076 break;
33077 case SWIG_PY_STRING:
33078 if (constants[i].pvalue) {
33079 obj = PyString_FromString((char *) constants[i].pvalue);
33080 } else {
33081 Py_INCREF(Py_None);
33082 obj = Py_None;
33083 }
33084 break;
33085 case SWIG_PY_POINTER:
33086 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33087 break;
33088 case SWIG_PY_BINARY:
33089 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33090 break;
33091 default:
33092 obj = 0;
33093 break;
33094 }
33095 if (obj) {
33096 PyDict_SetItemString(d,constants[i].name,obj);
33097 Py_DECREF(obj);
33098 }
33099 }
33100 }
d55e5bfc 33101
093d3ff1
RD
33102 /* -----------------------------------------------------------------------------*/
33103 /* Fix SwigMethods to carry the callback ptrs when needed */
33104 /* -----------------------------------------------------------------------------*/
33105
33106 static void
33107 SWIG_Python_FixMethods(PyMethodDef *methods,
33108 swig_const_info *const_table,
33109 swig_type_info **types,
33110 swig_type_info **types_initial) {
33111 size_t i;
33112 for (i = 0; methods[i].ml_name; ++i) {
33113 char *c = methods[i].ml_doc;
33114 if (c && (c = strstr(c, "swig_ptr: "))) {
33115 int j;
33116 swig_const_info *ci = 0;
33117 char *name = c + 10;
33118 for (j = 0; const_table[j].type; j++) {
33119 if (strncmp(const_table[j].name, name,
33120 strlen(const_table[j].name)) == 0) {
33121 ci = &(const_table[j]);
33122 break;
33123 }
33124 }
33125 if (ci) {
33126 size_t shift = (ci->ptype) - types;
33127 swig_type_info *ty = types_initial[shift];
33128 size_t ldoc = (c - methods[i].ml_doc);
33129 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33130 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33131 char *buff = ndoc;
33132 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
33133 strncpy(buff, methods[i].ml_doc, ldoc);
33134 buff += ldoc;
33135 strncpy(buff, "swig_ptr: ", 10);
33136 buff += 10;
33137 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33138 methods[i].ml_doc = ndoc;
33139 }
33140 }
33141 }
33142 }
33143
33144 /* -----------------------------------------------------------------------------*
33145 * Initialize type list
33146 * -----------------------------------------------------------------------------*/
33147
33148#if PY_MAJOR_VERSION < 2
33149 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33150 is copied out of Python/modsupport.c in python version 2.3.4 */
33151 static int
33152 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
33153 {
33154 PyObject *dict;
33155 if (!PyModule_Check(m)) {
33156 PyErr_SetString(PyExc_TypeError,
33157 "PyModule_AddObject() needs module as first arg");
33158 return -1;
33159 }
33160 if (!o) {
33161 PyErr_SetString(PyExc_TypeError,
33162 "PyModule_AddObject() needs non-NULL value");
33163 return -1;
33164 }
33165
33166 dict = PyModule_GetDict(m);
33167 if (dict == NULL) {
33168 /* Internal error -- modules must have a dict! */
33169 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
33170 PyModule_GetName(m));
33171 return -1;
33172 }
33173 if (PyDict_SetItemString(dict, name, o))
33174 return -1;
33175 Py_DECREF(o);
33176 return 0;
33177 }
33178#endif
33179
33180 static swig_type_info **
33181 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
33182 static PyMethodDef swig_empty_runtime_method_table[] = {
33183 {
33184 NULL, NULL, 0, NULL
33185 }
33186 };/* Sentinel */
33187
33188 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
33189 swig_empty_runtime_method_table);
33190 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
33191 if (pointer && module) {
33192 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
33193 }
33194 return type_list_handle;
33195 }
33196
33197 static swig_type_info **
33198 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
33199 swig_type_info **type_pointer;
33200
33201 /* first check if module already created */
33202 type_pointer = SWIG_Python_GetTypeListHandle();
33203 if (type_pointer) {
33204 return type_pointer;
33205 } else {
33206 /* create a new module and variable */
33207 return SWIG_Python_SetTypeListHandle(type_list_handle);
33208 }
33209 }
33210
33211#ifdef __cplusplus
33212}
33213#endif
33214
33215/* -----------------------------------------------------------------------------*
33216 * Partial Init method
33217 * -----------------------------------------------------------------------------*/
33218
33219#ifdef SWIG_LINK_RUNTIME
33220#ifdef __cplusplus
33221extern "C"
33222#endif
33223SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33224#endif
33225
33226#ifdef __cplusplus
33227extern "C"
33228#endif
33229SWIGEXPORT(void) SWIG_init(void) {
33230 static PyObject *SWIG_globals = 0;
33231 static int typeinit = 0;
33232 PyObject *m, *d;
33233 int i;
33234 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33235
33236 /* Fix SwigMethods to carry the callback ptrs when needed */
33237 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
33238
33239 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33240 d = PyModule_GetDict(m);
33241
33242 if (!typeinit) {
33243#ifdef SWIG_LINK_RUNTIME
33244 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
33245#else
33246# ifndef SWIG_STATIC_RUNTIME
33247 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
33248# endif
33249#endif
33250 for (i = 0; swig_types_initial[i]; i++) {
33251 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33252 }
33253 typeinit = 1;
33254 }
33255 SWIG_InstallConstants(d,swig_const_table);
33256
33257 {
33258 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
33259 }
33260 {
33261 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
33262 }
33263 {
33264 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
33265 }
33266 {
33267 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
33268 }
33269 {
33270 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
33271 }
33272 {
33273 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
33274 }
33275 {
33276 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
33277 }
33278 {
33279 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
33280 }
33281 {
33282 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
33283 }
33284 {
33285 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
33286 }
33287 {
33288 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
33289 }
33290 {
33291 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
33292 }
33293 {
33294 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
33295 }
33296 {
33297 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
33298 }
33299 {
33300 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
33301 }
33302 {
33303 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
33304 }
33305 {
33306 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
33307 }
33308 {
33309 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
33310 }
33311 {
33312 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
33313 }
33314 {
33315 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
33316 }
33317 {
33318 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
33319 }
33320 {
33321 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
33322 }
33323 {
33324 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
33325 }
33326 {
33327 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
33328 }
33329 {
33330 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
33331 }
33332 {
33333 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
33334 }
33335 {
33336 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
33337 }
33338 {
33339 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
33340 }
33341 {
33342 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
33343 }
33344 {
33345 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
33346 }
33347 {
33348 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
33349 }
33350 {
33351 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
33352 }
33353 {
33354 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
33355 }
33356 {
33357 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
33358 }
33359 {
33360 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
33361 }
33362 {
33363 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
33364 }
33365 {
33366 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
33367 }
33368 {
33369 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
33370 }
33371 {
33372 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
33373 }
33374 {
33375 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
33376 }
33377 {
33378 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
33379 }
33380 {
33381 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
33382 }
33383 {
33384 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
33385 }
33386 {
33387 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
33388 }
33389 {
33390 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
33391 }
33392 {
33393 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
33394 }
33395 {
33396 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
33397 }
33398 {
33399 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
33400 }
33401 {
33402 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
33403 }
33404 {
33405 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
33406 }
33407 {
33408 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
33409 }
33410 {
33411 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
33412 }
33413 {
33414 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
33415 }
33416 {
33417 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
33418 }
33419 {
33420 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
33421 }
33422 {
33423 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
33424 }
33425 {
33426 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
33427 }
33428 {
33429 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
33430 }
33431 {
33432 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
33433 }
33434 {
33435 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
33436 }
33437 {
33438 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
33439 }
33440 {
33441 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
33442 }
33443 {
33444 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
33445 }
33446 {
33447 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
33448 }
33449 {
33450 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
33451 }
33452 {
33453 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
33454 }
33455 {
33456 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
33457 }
33458 {
33459 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
33460 }
33461 {
33462 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
33463 }
33464 {
33465 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
33466 }
33467 {
33468 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
33469 }
33470 {
33471 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
33472 }
33473 {
33474 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
33475 }
33476 {
33477 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
33478 }
33479 {
33480 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
33481 }
33482 {
33483 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
33484 }
33485 {
33486 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
33487 }
33488 {
33489 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
33490 }
33491 {
33492 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
33493 }
33494 {
33495 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
33496 }
33497 {
33498 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
33499 }
33500 {
33501 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
33502 }
33503 {
33504 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
33505 }
33506 {
33507 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
33508 }
33509 {
33510 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
33511 }
33512 {
33513 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
33514 }
33515 {
33516 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
33517 }
33518 {
33519 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
33520 }
33521 {
33522 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
33523 }
33524 {
33525 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
33526 }
33527 {
33528 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
33529 }
33530 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33531 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
33532 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
33533 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
33534 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
33535 {
33536 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
33537 }
33538 {
33539 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
33540 }
33541 {
33542 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
33543 }
33544 {
33545 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
33546 }
33547 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
33548
33549 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33550
33551 {
33552 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
33553 }
33554 {
33555 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
33556 }
33557 {
33558 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
33559 }
33560 {
33561 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
33562 }
33563 {
33564 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
33565 }
33566 {
33567 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
33568 }
33569 {
33570 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
33571 }
33572 {
33573 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
33574 }
33575 {
33576 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
33577 }
33578 {
33579 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
33580 }
33581 {
33582 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
33583 }
33584 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33585 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33586 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33587 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33588 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33589 {
33590 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33591 }
33592 {
33593 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
33594 }
33595 {
33596 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33597 }
33598 {
33599 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33600 }
33601 {
33602 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33603 }
33604 {
33605 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
33606 }
33607 {
33608 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
33609 }
33610 {
33611 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
33612 }
33613 {
33614 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
33615 }
33616 {
33617 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
33618 }
33619 {
33620 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
33621 }
33622 {
33623 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
33624 }
33625 {
33626 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
33627 }
33628 {
33629 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
33630 }
33631 {
33632 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
33633 }
33634 {
33635 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
33636 }
33637 {
33638 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
33639 }
33640 {
33641 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
33642 }
33643 {
33644 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
33645 }
33646 {
33647 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
33648 }
33649 {
33650 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
33651 }
33652 {
33653 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
33654 }
33655 {
33656 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
33657 }
33658 {
33659 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
33660 }
33661 {
33662 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
33663 }
33664 {
33665 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
33666 }
33667 {
33668 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
33669 }
33670 {
33671 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
33672 }
33673 {
33674 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
33675 }
33676 {
33677 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
33678 }
33679 {
33680 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
33681 }
33682 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
33683 {
33684 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
33685 }
33686 {
33687 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
33688 }
33689 {
33690 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
33691 }
33692 {
33693 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
33694 }
33695 {
33696 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
33697 }
33698
33699 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33700
33701 {
33702 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
33703 }
33704 {
33705 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
33706 }
33707 {
33708 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
33709 }
33710 {
33711 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
33712 }
33713 {
33714 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
33715 }
33716 {
33717 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
33718 }
33719 {
33720 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
33721 }
33722 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
33723 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
33724 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
33725 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
33726 {
33727 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
33728 }
33729 {
33730 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
33731 }
33732 {
33733 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
33734 }
33735 {
33736 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
33737 }
33738 {
33739 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
33740 }
33741 {
33742 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
33743 }
33744 {
33745 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
33746 }
33747 {
33748 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
33749 }
33750 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
33751 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
33752 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
33753 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
33754 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
d55e5bfc
RD
33755 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
33756 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 33757 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
33758 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
33759 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
33760 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
33761 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
33762 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
33763 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
33764 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
33765 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
33766 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
33767 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
33768 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
33769 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
33770 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
33771 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
33772 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
33773 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
33774 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
d55e5bfc
RD
33775 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
33776 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
33777 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
33778 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
33779 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
33780 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
33781 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
33782 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
33783 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
33784 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 33785 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 33786 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
33787 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
33788 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
33789 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
33790 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
33791 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
33792 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
33793 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
33794 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
33795 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
33796 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
33797 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
33798 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
33799 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
33800 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
33801 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
33802 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
33803 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
33804 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
33805 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
33806
33807 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33808
093d3ff1
RD
33809 {
33810 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
33811 }
33812 {
33813 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
33814 }
33815 {
33816 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
33817 }
33818 {
33819 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
33820 }
33821 {
33822 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
33823 }
33824 {
33825 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
33826 }
33827 {
33828 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
33829 }
33830 {
33831 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
33832 }
33833 {
33834 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
33835 }
fef4c27a
RD
33836 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
33837 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1
RD
33838 {
33839 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
33840 }
33841 {
33842 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
33843 }
33844 {
33845 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
33846 }
33847 {
33848 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
33849 }
33850 {
33851 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
33852 }
33853 {
33854 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
33855 }
33856 {
33857 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
33858 }
33859 {
33860 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
33861 }
33862 {
33863 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
33864 }
33865 {
33866 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
33867 }
33868 {
33869 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
33870 }
33871 {
33872 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
33873 }
33874 {
33875 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
33876 }
33877 {
33878 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
33879 }
33880 {
33881 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
33882 }
33883 {
33884 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
33885 }
33886 {
33887 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
33888 }
33889 {
33890 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
33891 }
33892 {
33893 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
33894 }
33895 {
33896 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
33897 }
33898 {
33899 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
33900 }
33901 {
33902 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
33903 }
33904 {
33905 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
33906 }
33907 {
33908 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
33909 }
33910 {
33911 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
33912 }
33913 {
33914 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
33915 }
33916 {
33917 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
33918 }
33919 {
33920 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
33921 }
33922 {
33923 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
33924 }
33925 {
33926 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
33927 }
33928 {
33929 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
33930 }
33931 {
33932 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
33933 }
33934 {
33935 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
33936 }
33937 {
33938 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
33939 }
33940 {
33941 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
33942 }
33943 {
33944 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
33945 }
33946 {
33947 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
33948 }
33949 {
33950 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
33951 }
33952 {
33953 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
33954 }
33955 {
33956 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
33957 }
33958 {
33959 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
33960 }
33961 {
33962 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
33963 }
33964 {
33965 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
33966 }
33967 {
33968 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
33969 }
33970 {
33971 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
33972 }
33973 {
33974 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
33975 }
33976 {
33977 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
33978 }
33979 {
33980 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
33981 }
33982 {
33983 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
33984 }
33985 {
33986 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
33987 }
33988 {
33989 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
33990 }
33991 {
33992 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
33993 }
33994 {
33995 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
33996 }
33997 {
33998 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
33999 }
34000 {
34001 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
34002 }
34003 {
34004 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
34005 }
34006 {
34007 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
34008 }
34009 {
34010 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
34011 }
34012 {
34013 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
34014 }
34015 {
34016 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
34017 }
34018 {
34019 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
34020 }
34021 {
34022 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
34023 }
34024 {
34025 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
34026 }
34027 {
34028 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
34029 }
34030 {
34031 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
34032 }
34033 {
34034 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
34035 }
34036 {
34037 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
34038 }
34039 {
34040 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
34041 }
34042 {
34043 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
34044 }
34045 {
34046 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
34047 }
34048 {
34049 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
34050 }
34051 {
34052 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
34053 }
34054 {
34055 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
34056 }
34057 {
34058 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
34059 }
34060 {
34061 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
34062 }
34063 {
34064 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
34065 }
34066 {
34067 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
34068 }
34069 {
34070 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
34071 }
34072 {
34073 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
34074 }
34075 {
34076 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
34077 }
34078 {
34079 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
34080 }
34081 {
34082 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
34083 }
34084 {
34085 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
34086 }
34087 {
34088 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
34089 }
34090 {
34091 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
34092 }
34093 {
34094 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
34095 }
34096 {
34097 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
34098 }
34099 {
34100 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
34101 }
34102 {
34103 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
34104 }
34105 {
34106 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
34107 }
34108 {
34109 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
34110 }
34111 {
34112 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
34113 }
34114 {
34115 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
34116 }
34117 {
34118 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
34119 }
34120 {
34121 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
34122 }
34123 {
34124 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
34125 }
34126 {
34127 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
34128 }
34129 {
34130 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
34131 }
34132 {
34133 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
34134 }
34135 {
34136 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
34137 }
34138 {
34139 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
34140 }
34141 {
34142 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
34143 }
34144 {
34145 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
34146 }
34147 {
34148 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
34149 }
34150 {
34151 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
34152 }
34153 {
34154 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
34155 }
34156 {
34157 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
34158 }
34159 {
34160 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
34161 }
34162 {
34163 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
34164 }
34165 {
34166 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
34167 }
34168 {
34169 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
34170 }
34171 {
34172 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
34173 }
34174 {
34175 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
34176 }
34177 {
34178 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
34179 }
34180 {
34181 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
34182 }
34183 {
34184 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
34185 }
34186 {
34187 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
34188 }
34189 {
34190 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
34191 }
34192 {
34193 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
34194 }
34195 {
34196 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
34197 }
34198 {
34199 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
34200 }
34201 {
34202 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
34203 }
34204 {
34205 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
34206 }
34207 {
34208 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
34209 }
34210 {
34211 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
34212 }
34213 {
34214 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
34215 }
34216 {
34217 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
34218 }
34219 {
34220 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
34221 }
34222 {
34223 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
34224 }
34225 {
34226 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
34227 }
34228 {
34229 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
34230 }
34231 {
34232 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
34233 }
34234 {
34235 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
34236 }
34237 {
34238 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
34239 }
34240 {
34241 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
34242 }
34243 {
34244 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
34245 }
34246 {
34247 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
34248 }
34249 {
34250 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
34251 }
34252 {
34253 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
34254 }
34255 {
34256 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
34257 }
34258 {
34259 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
34260 }
34261 {
34262 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
34263 }
34264 {
34265 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
34266 }
34267 {
34268 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
34269 }
34270 {
34271 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
34272 }
34273 {
34274 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
34275 }
34276 {
34277 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
34278 }
34279 {
34280 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
34281 }
34282 {
34283 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
34284 }
34285 {
34286 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
34287 }
34288 {
34289 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
34290 }
34291 {
34292 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
34293 }
34294 {
34295 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
34296 }
34297 {
34298 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
34299 }
34300 {
34301 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
34302 }
d55e5bfc 34303 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
093d3ff1
RD
34304 {
34305 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
34306 }
34307 {
34308 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
34309 }
34310 {
34311 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
34312 }
34313 {
34314 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
34315 }
34316 {
34317 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
34318 }
34319 {
34320 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
34321 }
34322 {
34323 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
34324 }
34325 {
34326 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
34327 }
34328 {
34329 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
34330 }
34331 {
34332 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
34333 }
34334 {
34335 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
34336 }
34337 {
34338 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
34339 }
34340 {
34341 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
34342 }
34343 {
34344 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
34345 }
34346 {
34347 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
34348 }
34349 {
34350 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
34351 }
34352 {
34353 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
34354 }
34355 {
34356 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
34357 }
34358 {
34359 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
34360 }
34361 {
34362 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
34363 }
d55e5bfc 34364 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
093d3ff1
RD
34365 {
34366 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
34367 }
34368 {
34369 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
34370 }
34371 {
34372 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
34373 }
34374 {
34375 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
34376 }
34377 {
34378 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
34379 }
34380 {
34381 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
34382 }
34383 {
34384 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
34385 }
34386 {
34387 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
34388 }
34389 {
34390 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
34391 }
34392 {
34393 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
34394 }
34395 {
34396 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
34397 }
34398 {
34399 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
34400 }
d55e5bfc
RD
34401
34402 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34403 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34404 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34405 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34406
d55e5bfc
RD
34407 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
34408}
34409