]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_misc_wrap.cpp
Applied patch [ 1281902 ] fix for wxJoystick under Linux
[wxWidgets.git] / wxPython / src / gtk / _misc_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d14a1e28
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
d14a1e28
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};
d14a1e28
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
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
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"
d14a1e28 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)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
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
d14a1e28 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
d14a1e28
RD
85#endif
86
d14a1e28
RD
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 {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
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}
d14a1e28 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}
d14a1e28 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}
d14a1e28
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.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 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.
d14a1e28
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
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d14a1e28 465
093d3ff1 466/*************************************************************************/
d14a1e28 467
d14a1e28 468
093d3ff1 469/* The static type info list */
d14a1e28 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 502
d14a1e28
RD
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d14a1e28 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d14a1e28 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d14a1e28 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
d14a1e28
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 * ----------------------------------------------------------------------------- */
d14a1e28 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;
d14a1e28 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
994141e6 576
994141e6 577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
994141e6 580
15afbcd0 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 ************************************************************************/
15afbcd0 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
994141e6 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)
994141e6 601
994141e6 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
614
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
994141e6 618
d14a1e28 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d14a1e28 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d14a1e28 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
994141e6 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 * ----------------------------------------------------------------------------- */
15afbcd0 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
15afbcd0 643
093d3ff1
RD
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
15afbcd0 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;
15afbcd0 655 }
15afbcd0 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
15afbcd0 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;
15afbcd0
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}
15afbcd0 673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
15afbcd0 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}
15afbcd0 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}
15afbcd0 699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 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;
15afbcd0 710 }
c32bde28
RD
711}
712
093d3ff1
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
994141e6
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 };
d14a1e28 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)
994141e6 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
RD
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
994141e6
RD
831}
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;
994141e6 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
994141e6 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;
994141e6 856}
c32bde28 857
093d3ff1
RD
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
15afbcd0 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 }
15afbcd0
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}
15afbcd0 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);
7e63a440 891 }
093d3ff1 892}
d14a1e28 893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
d14a1e28 900
093d3ff1
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
c32bde28 949
093d3ff1
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
39f61e25 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
39f61e25 958
093d3ff1
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
15afbcd0 961{
093d3ff1
RD
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 }
15afbcd0
RD
973}
974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
15afbcd0 983
093d3ff1
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
15afbcd0 986{
093d3ff1
RD
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
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)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
02b455f2
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
15afbcd0 1048 }
c32bde28
RD
1049}
1050
093d3ff1
RD
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
c32bde28 1053{
093d3ff1
RD
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
15afbcd0
RD
1059}
1060
093d3ff1
RD
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
15afbcd0 1085
093d3ff1
RD
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
994141e6 1088{
093d3ff1
RD
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
994141e6
RD
1097}
1098
1099
093d3ff1
RD
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
d14a1e28 1103
093d3ff1
RD
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
d14a1e28 1119
093d3ff1
RD
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
d14a1e28 1137#else
093d3ff1
RD
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
d14a1e28 1155#endif
d14a1e28 1156
093d3ff1 1157type_check:
d14a1e28 1158
093d3ff1
RD
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
d14a1e28 1192 }
093d3ff1
RD
1193 }
1194 return -1;
1195}
d14a1e28 1196
093d3ff1
RD
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
d14a1e28 1206 }
093d3ff1
RD
1207 }
1208 return result;
1209}
d14a1e28 1210
093d3ff1
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d14a1e28 1216
093d3ff1
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
d14a1e28 1231
093d3ff1
RD
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
d14a1e28 1277
093d3ff1
RD
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
d14a1e28 1293#endif
093d3ff1
RD
1294 return robj;
1295}
d14a1e28 1296
093d3ff1
RD
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
d14a1e28 1300
093d3ff1
RD
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
d14a1e28 1304
093d3ff1
RD
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
d14a1e28 1323
093d3ff1
RD
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
d14a1e28 1332
093d3ff1 1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
d14a1e28 1334
093d3ff1
RD
1335#ifdef __cplusplus
1336}
1337#endif
d14a1e28 1338
d14a1e28 1339
093d3ff1 1340/* -------- TYPES TABLE (BEGIN) -------- */
d14a1e28 1341
093d3ff1
RD
1342#define SWIGTYPE_p_wxLogChain swig_types[0]
1343#define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1344#define SWIGTYPE_p_wxFileHistory swig_types[2]
1345#define SWIGTYPE_p_wxLog swig_types[3]
1346#define SWIGTYPE_p_wxMenu swig_types[4]
1347#define SWIGTYPE_p_wxEvent swig_types[5]
1348#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[6]
1349#define SWIGTYPE_p_wxConfigBase swig_types[7]
1350#define SWIGTYPE_p_wxDisplay swig_types[8]
1351#define SWIGTYPE_p_wxFileType swig_types[9]
1352#define SWIGTYPE_p_wxLogGui swig_types[10]
1353#define SWIGTYPE_p_wxFont swig_types[11]
1354#define SWIGTYPE_p_wxDataFormat swig_types[12]
1355#define SWIGTYPE_p_wxTimerEvent swig_types[13]
1356#define SWIGTYPE_p_wxCaret swig_types[14]
1357#define SWIGTYPE_ptrdiff_t swig_types[15]
1358#define SWIGTYPE_std__ptrdiff_t swig_types[16]
73c8ef6a
RD
1359#define SWIGTYPE_p_void swig_types[17]
1360#define SWIGTYPE_p_int swig_types[18]
1361#define SWIGTYPE_p_wxSize swig_types[19]
1362#define SWIGTYPE_p_wxClipboard swig_types[20]
1363#define SWIGTYPE_p_wxStopWatch swig_types[21]
1364#define SWIGTYPE_p_wxDC swig_types[22]
1365#define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1366#define SWIGTYPE_p_wxIcon swig_types[24]
1367#define SWIGTYPE_p_wxLogStderr swig_types[25]
1368#define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1369#define SWIGTYPE_p_wxTextCtrl swig_types[27]
1370#define SWIGTYPE_p_wxBusyCursor swig_types[28]
1371#define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1372#define SWIGTYPE_p_wxTextDataObject swig_types[30]
1373#define SWIGTYPE_p_wxDataObject swig_types[31]
1374#define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1375#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1376#define SWIGTYPE_p_wxFileDataObject swig_types[34]
1377#define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1378#define SWIGTYPE_p_wxURLDataObject swig_types[36]
1379#define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1380#define SWIGTYPE_p_wxSound swig_types[38]
1381#define SWIGTYPE_p_wxTimerRunner swig_types[39]
1382#define SWIGTYPE_p_wxLogWindow swig_types[40]
1383#define SWIGTYPE_p_wxTimeSpan swig_types[41]
1384#define SWIGTYPE_p_wxArrayString swig_types[42]
1385#define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1386#define SWIGTYPE_p_form_ops_t swig_types[44]
1387#define SWIGTYPE_p_wxToolTip swig_types[45]
1388#define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1389#define SWIGTYPE_p_wxSystemSettings swig_types[47]
1390#define SWIGTYPE_p_wxFileConfig swig_types[48]
1391#define SWIGTYPE_p_wxVideoMode swig_types[49]
1392#define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1393#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1394#define SWIGTYPE_p_wxDuplexMode swig_types[52]
1395#define SWIGTYPE_p_wxEvtHandler swig_types[53]
1396#define SWIGTYPE_p_wxRect swig_types[54]
1397#define SWIGTYPE_p_char swig_types[55]
1398#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1399#define SWIGTYPE_p_wxStandardPaths swig_types[57]
1400#define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1401#define SWIGTYPE_p_wxFrame swig_types[59]
1402#define SWIGTYPE_p_wxTimer swig_types[60]
1403#define SWIGTYPE_p_wxPaperSize swig_types[61]
1404#define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1405#define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1406#define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1407#define SWIGTYPE_p_wxTipProvider swig_types[65]
1408#define SWIGTYPE_p_wxJoystick swig_types[66]
1409#define SWIGTYPE_p_wxSystemOptions swig_types[67]
1410#define SWIGTYPE_p_wxPoint swig_types[68]
1411#define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1412#define SWIGTYPE_p_wxCursor swig_types[70]
1413#define SWIGTYPE_p_wxObject swig_types[71]
1414#define SWIGTYPE_p_wxOutputStream swig_types[72]
1415#define SWIGTYPE_p_wxDateTime swig_types[73]
1416#define SWIGTYPE_p_wxPyDropSource swig_types[74]
1417#define SWIGTYPE_p_unsigned_long swig_types[75]
53307de4
RD
1418#define SWIGTYPE_p_wxLogBuffer swig_types[76]
1419#define SWIGTYPE_p_wxKillError swig_types[77]
1420#define SWIGTYPE_p_wxWindow swig_types[78]
1421#define SWIGTYPE_p_wxString swig_types[79]
1422#define SWIGTYPE_p_wxPyProcess swig_types[80]
1423#define SWIGTYPE_p_wxBitmap swig_types[81]
1424#define SWIGTYPE_unsigned_int swig_types[82]
1425#define SWIGTYPE_p_unsigned_int swig_types[83]
1426#define SWIGTYPE_p_wxConfig swig_types[84]
1427#define SWIGTYPE_p_unsigned_char swig_types[85]
1428#define SWIGTYPE_p_wxChar swig_types[86]
1429#define SWIGTYPE_p_wxBusyInfo swig_types[87]
1430#define SWIGTYPE_p_wxPyDropTarget swig_types[88]
1431#define SWIGTYPE_p_wxPyTextDropTarget swig_types[89]
1432#define SWIGTYPE_p_wxPyFileDropTarget swig_types[90]
1433#define SWIGTYPE_p_wxProcessEvent swig_types[91]
1434#define SWIGTYPE_p_wxPyLog swig_types[92]
1435#define SWIGTYPE_p_wxLogNull swig_types[93]
1436#define SWIGTYPE_p_wxColour swig_types[94]
1437#define SWIGTYPE_p_wxPyTimer swig_types[95]
1438#define SWIGTYPE_p_wxConfigPathChanger swig_types[96]
1439#define SWIGTYPE_p_wxDateSpan swig_types[97]
1440static swig_type_info *swig_types[99];
d14a1e28 1441
093d3ff1 1442/* -------- TYPES TABLE (END) -------- */
d14a1e28 1443
d14a1e28 1444
093d3ff1
RD
1445/*-----------------------------------------------
1446 @(target):= _misc_.so
1447 ------------------------------------------------*/
1448#define SWIG_init init_misc_
d14a1e28 1449
093d3ff1 1450#define SWIG_name "_misc_"
4276dc52 1451
093d3ff1
RD
1452#include "wx/wxPython/wxPython.h"
1453#include "wx/wxPython/pyclasses.h"
1454#include "wx/wxPython/pyistream.h"
689b42ee 1455
093d3ff1 1456 static const wxString wxPyEmptyString(wxEmptyString);
689b42ee
RD
1457
1458
4276dc52 1459
093d3ff1
RD
1460 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1461#define SWIG_From_int PyInt_FromLong
1462/*@@*/
d14a1e28 1463
994141e6 1464
093d3ff1 1465#include <limits.h>
15afbcd0
RD
1466
1467
093d3ff1
RD
1468SWIGINTERN int
1469 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1470 const char *errmsg)
15afbcd0 1471{
093d3ff1
RD
1472 if (value < min_value) {
1473 if (errmsg) {
1474 PyErr_Format(PyExc_OverflowError,
1475 "value %ld is less than '%s' minimum %ld",
1476 value, errmsg, min_value);
1477 }
1478 return 0;
1479 } else if (value > max_value) {
c32bde28
RD
1480 if (errmsg) {
1481 PyErr_Format(PyExc_OverflowError,
093d3ff1 1482 "value %ld is greater than '%s' maximum %ld",
c32bde28 1483 value, errmsg, max_value);
15afbcd0 1484 }
c32bde28 1485 return 0;
15afbcd0 1486 }
c32bde28 1487 return 1;
093d3ff1 1488}
15afbcd0
RD
1489
1490
093d3ff1
RD
1491SWIGINTERN int
1492SWIG_AsVal_long(PyObject* obj, long* val)
1493{
1494 if (PyNumber_Check(obj)) {
1495 if (val) *val = PyInt_AsLong(obj);
1496 return 1;
1497 }
1498 else {
1499 SWIG_type_error("number", obj);
1500 }
1501 return 0;
1502}
1503
1504
1505#if INT_MAX != LONG_MAX
1506SWIGINTERN int
1507 SWIG_AsVal_int(PyObject *obj, int *val)
994141e6 1508{
093d3ff1
RD
1509 const char* errmsg = val ? "int" : (char*)0;
1510 long v;
1511 if (SWIG_AsVal_long(obj, &v)) {
1512 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1513 if (val) *val = (int)(v);
c32bde28 1514 return 1;
093d3ff1
RD
1515 } else {
1516 return 0;
c32bde28
RD
1517 }
1518 } else {
1519 PyErr_Clear();
1520 }
1521 if (val) {
093d3ff1 1522 SWIG_type_error(errmsg, obj);
c32bde28
RD
1523 }
1524 return 0;
15afbcd0
RD
1525}
1526#else
093d3ff1
RD
1527SWIGINTERNSHORT int
1528 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1529{
093d3ff1 1530 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1531}
15afbcd0
RD
1532#endif
1533
1534
093d3ff1
RD
1535SWIGINTERNSHORT int
1536SWIG_As_int(PyObject* obj)
15afbcd0 1537{
093d3ff1
RD
1538 int v;
1539 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1540 /*
093d3ff1 1541 this is needed to make valgrind/purify happier.
c32bde28 1542 */
093d3ff1 1543 memset((void*)&v, 0, sizeof(int));
15afbcd0 1544 }
c32bde28
RD
1545 return v;
1546}
1547
1548
093d3ff1
RD
1549SWIGINTERNSHORT int
1550SWIG_Check_int(PyObject* obj)
c32bde28 1551{
093d3ff1 1552 return SWIG_AsVal_int(obj, (int*)0);
994141e6
RD
1553}
1554
093d3ff1 1555 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1556
093d3ff1 1557#include <wx/stockitem.h>
f78cc896 1558
093d3ff1
RD
1559 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1560 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1561 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1562
093d3ff1
RD
1563 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1564#define SWIG_From_long PyInt_FromLong
1565/*@@*/
f78cc896 1566
f78cc896 1567
093d3ff1
RD
1568SWIGINTERNSHORT long
1569SWIG_As_long(PyObject* obj)
1570{
1571 long v;
1572 if (!SWIG_AsVal_long(obj, &v)) {
1573 /*
1574 this is needed to make valgrind/purify happier.
1575 */
1576 memset((void*)&v, 0, sizeof(long));
1577 }
1578 return v;
1579}
f78cc896 1580
093d3ff1
RD
1581
1582SWIGINTERNSHORT int
1583SWIG_Check_long(PyObject* obj)
1584{
1585 return SWIG_AsVal_long(obj, (long*)0);
1586}
f78cc896 1587
f78cc896 1588
093d3ff1
RD
1589SWIGINTERN int
1590 SWIG_AsVal_bool(PyObject *obj, bool *val)
1591{
1592 if (obj == Py_True) {
1593 if (val) *val = true;
1594 return 1;
1595 }
1596 if (obj == Py_False) {
1597 if (val) *val = false;
1598 return 1;
1599 }
1600 int res = 0;
1601 if (SWIG_AsVal_int(obj, &res)) {
1602 if (val) *val = res ? true : false;
1603 return 1;
1604 } else {
1605 PyErr_Clear();
1606 }
1607 if (val) {
1608 SWIG_type_error("bool", obj);
1609 }
1610 return 0;
1611}
f78cc896 1612
f78cc896 1613
093d3ff1
RD
1614SWIGINTERNSHORT bool
1615SWIG_As_bool(PyObject* obj)
1616{
1617 bool v;
1618 if (!SWIG_AsVal_bool(obj, &v)) {
1619 /*
1620 this is needed to make valgrind/purify happier.
1621 */
1622 memset((void*)&v, 0, sizeof(bool));
1623 }
1624 return v;
1625}
d14a1e28 1626
093d3ff1
RD
1627
1628SWIGINTERNSHORT int
1629SWIG_Check_bool(PyObject* obj)
1630{
1631 return SWIG_AsVal_bool(obj, (bool*)0);
1632}
d14a1e28 1633
d14a1e28 1634
093d3ff1
RD
1635 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1636 PyObject* o2;
1637 PyObject* o3;
1638
1639 if (!target) {
1640 target = o;
1641 } else if (target == Py_None) {
1642 Py_DECREF(Py_None);
1643 target = o;
1644 } else {
1645 if (!PyTuple_Check(target)) {
1646 o2 = target;
1647 target = PyTuple_New(1);
1648 PyTuple_SetItem(target, 0, o2);
1649 }
1650 o3 = PyTuple_New(1);
1651 PyTuple_SetItem(o3, 0, o);
d14a1e28 1652
093d3ff1
RD
1653 o2 = target;
1654 target = PySequence_Concat(o2, o3);
1655 Py_DECREF(o2);
1656 Py_DECREF(o3);
1657 }
1658 return target;
1659 }
d14a1e28
RD
1660
1661
1662
093d3ff1
RD
1663 long wxGetFreeMemory()
1664 { wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1665
1666
093d3ff1
RD
1667SWIGINTERN int
1668SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1669{
1670 long v = 0;
1671 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1672 SWIG_type_error("unsigned number", obj);
1673 }
1674 else if (val)
1675 *val = (unsigned long)v;
1676 return 1;
1677}
d14a1e28
RD
1678
1679
093d3ff1
RD
1680SWIGINTERNSHORT unsigned long
1681SWIG_As_unsigned_SS_long(PyObject* obj)
1682{
1683 unsigned long v;
1684 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1685 /*
1686 this is needed to make valgrind/purify happier.
1687 */
1688 memset((void*)&v, 0, sizeof(unsigned long));
1689 }
1690 return v;
1691}
d14a1e28 1692
093d3ff1
RD
1693
1694SWIGINTERNSHORT int
1695SWIG_Check_unsigned_SS_long(PyObject* obj)
1696{
1697 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1698}
d14a1e28 1699
d14a1e28 1700
093d3ff1
RD
1701SWIGINTERNSHORT PyObject*
1702 SWIG_From_unsigned_SS_long(unsigned long value)
1703{
1704 return (value > LONG_MAX) ?
1705 PyLong_FromUnsignedLong(value)
1706 : PyInt_FromLong((long)(value));
1707}
d14a1e28
RD
1708
1709
73c8ef6a
RD
1710 void* wxGetXDisplay()
1711 {
1712#ifdef __WXGTK__
1713 return wxGetDisplay();
1714#else
1715 return NULL;
1716#endif
1717 }
1718
1719
093d3ff1 1720 void wxWakeUpMainThread() {}
d14a1e28
RD
1721
1722
093d3ff1
RD
1723 bool wxThread_IsMain() {
1724#ifdef WXP_WITH_THREAD
1725 return wxThread::IsMain();
1726#else
1727 return true;
1728#endif
d14a1e28 1729 }
093d3ff1 1730
8e738329
RD
1731static void wxCaret_Destroy(wxCaret *self){
1732 delete self;
1733 }
d14a1e28 1734
093d3ff1
RD
1735#include <wx/snglinst.h>
1736
1737
68350608
RD
1738#ifdef __WXMSW__
1739#include <wx/msw/private.h>
1740#include <wx/dynload.h>
1741#endif
1742
1743
1744
1745bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1746#if 0
1747 , int method
1748#endif
1749 )
1750{
1751#ifdef __WXMSW__
1752#if 0
1753 switch (method)
1754 {
1755 case 1:
1756 // This one only partially works. Appears to be an undocumented
1757 // "standard" convention that not all widgets adhear to. For
1758 // example, for some widgets backgrounds or non-client areas may
1759 // not be painted.
1760 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1761 break;
1762
1763 case 2:
1764#endif
1765 // This one works much better, nearly all widgets and their
1766 // children are captured correctly[**]. Prior to the big
1767 // background erase changes that Vadim did in 2004-2005 this
1768 // method failed badly on XP with Themes activated, most native
1769 // widgets draw only partially, if at all. Without themes it
1770 // worked just like on Win2k. After those changes this method
1771 // works very well.
1772 //
1773 // ** For example the radio buttons in a wxRadioBox are not its
1774 // children by default, but you can capture it via the panel
1775 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1776 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1777 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1778 PRF_ERASEBKGND | PRF_OWNED );
1779 return true;
1780#if 0
1781 break;
1782
1783 case 3:
1784 // This one is only defined in the latest SDK and is only
1785 // available on XP. MSDN says it is similar to sending WM_PRINT
1786 // so I expect that it will work similar to the above. Since it
1787 // is avaialble only on XP, it can't be compiled like this and
1788 // will have to be loaded dynamically.
1789 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1790
1791 // fall through
1792
1793 case 4:
1794 // Use PrintWindow if available, or fallback to WM_PRINT
1795 // otherwise. Unfortunately using PrintWindow is even worse than
1796 // WM_PRINT. For most native widgets nothing is drawn to the dc
1797 // at all, with or without Themes.
1798 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1799 static bool s_triedToLoad = false;
1800 static PrintWindow_t pfnPrintWindow = NULL;
1801 if ( !s_triedToLoad )
1802 {
1803
1804 s_triedToLoad = true;
1805 wxDynamicLibrary dllUser32(_T("user32.dll"));
1806 if ( dllUser32.IsLoaded() )
1807 {
1808 wxLogNull nolog; // Don't report errors here
1809 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1810 }
1811 }
1812 if (pfnPrintWindow)
1813 {
1814 //printf("Using PrintWindow\n");
1815 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1816 }
1817 else
1818 {
1819 //printf("Using WM_PRINT\n");
1820 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1821 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1822 PRF_ERASEBKGND | PRF_OWNED );
1823 }
1824 }
1825#endif // 0
1826#else
1827 return false;
1828#endif // __WXMSW__
1829}
1830
1831
1832
093d3ff1
RD
1833#include <wx/tipdlg.h>
1834
1835
1836class wxPyTipProvider : public wxTipProvider {
1837public:
1838 wxPyTipProvider(size_t currentTip)
1839 : wxTipProvider(currentTip) {}
d14a1e28 1840
093d3ff1
RD
1841 DEC_PYCALLBACK_STRING__pure(GetTip);
1842 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d14a1e28
RD
1843 PYPRIVATE;
1844};
1845
093d3ff1
RD
1846IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
1847IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d14a1e28
RD
1848
1849
093d3ff1 1850//IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d14a1e28 1851
093d3ff1 1852IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d14a1e28 1853
093d3ff1
RD
1854wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
1855 : wxTimer(owner, id)
1856{
1857 if (owner == NULL) SetOwner(this);
1858}
d14a1e28 1859
d14a1e28 1860
093d3ff1
RD
1861void wxPyTimer::Notify() {
1862 bool found;
5a446332 1863 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
1864 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
1865 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
1866 wxPyEndBlockThreads(blocked);
1867 if (! found)
1868 wxTimer::Notify();
1869}
1870void wxPyTimer::base_Notify() {
1871 wxTimer::Notify();
1872}
d14a1e28 1873
d14a1e28 1874
994141e6 1875
093d3ff1
RD
1876SWIGINTERN PyObject *
1877SWIG_FromCharPtr(const char* cptr)
1878{
1879 if (cptr) {
1880 size_t size = strlen(cptr);
1881 if (size > INT_MAX) {
1882 return SWIG_NewPointerObj((char*)(cptr),
1883 SWIG_TypeQuery("char *"), 0);
1884 } else {
1885 if (size != 0) {
1886 return PyString_FromStringAndSize(cptr, size);
1887 } else {
1888 return PyString_FromString(cptr);
1889 }
c32bde28 1890 }
093d3ff1
RD
1891 }
1892 Py_INCREF(Py_None);
1893 return Py_None;
1894}
1895
1896
1897SWIGINTERNSHORT int
1898 SWIG_CheckUnsignedLongInRange(unsigned long value,
1899 unsigned long max_value,
1900 const char *errmsg)
1901{
1902 if (value > max_value) {
1903 if (errmsg) {
1904 PyErr_Format(PyExc_OverflowError,
1905 "value %lu is greater than '%s' minimum %lu",
1906 value, errmsg, max_value);
69223c70 1907 }
c32bde28 1908 return 0;
093d3ff1
RD
1909 }
1910 return 1;
1911 }
1912
1913
1914#if UINT_MAX != ULONG_MAX
1915SWIGINTERN int
1916 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1917{
1918 const char* errmsg = val ? "unsigned int" : (char*)0;
1919 unsigned long v;
1920 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1921 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1922 if (val) *val = (unsigned int)(v);
1923 return 1;
1924 }
1925 } else {
1926 PyErr_Clear();
1927 }
1928 if (val) {
1929 SWIG_type_error(errmsg, obj);
1930 }
1931 return 0;
1932}
1933#else
1934SWIGINTERNSHORT unsigned int
1935 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1936{
1937 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
15afbcd0 1938}
093d3ff1 1939#endif
15afbcd0
RD
1940
1941
093d3ff1
RD
1942SWIGINTERNSHORT unsigned int
1943SWIG_As_unsigned_SS_int(PyObject* obj)
15afbcd0 1944{
093d3ff1
RD
1945 unsigned int v;
1946 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 1947 /*
093d3ff1 1948 this is needed to make valgrind/purify happier.
c32bde28 1949 */
093d3ff1 1950 memset((void*)&v, 0, sizeof(unsigned int));
15afbcd0 1951 }
c32bde28
RD
1952 return v;
1953}
1954
1955
093d3ff1
RD
1956SWIGINTERNSHORT int
1957SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 1958{
093d3ff1 1959 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
994141e6
RD
1960}
1961
093d3ff1
RD
1962static wxString Log_TimeStamp(){
1963 wxString msg;
1964 wxLog::TimeStamp(&msg);
1965 return msg;
d14a1e28 1966 }
093d3ff1
RD
1967static void wxLog_Destroy(wxLog *self){ delete self; }
1968// Make somce wrappers that double any % signs so they are 'escaped'
1969 void wxPyLogFatalError(const wxString& msg)
1970 {
1971 wxString m(msg);
1972 m.Replace(wxT("%"), wxT("%%"));
1973 wxLogFatalError(m);
1974 }
1975
1976 void wxPyLogError(const wxString& msg)
1977 {
1978 wxString m(msg);
1979 m.Replace(wxT("%"), wxT("%%"));
1980 wxLogError(m);
1981 }
d14a1e28 1982
093d3ff1
RD
1983 void wxPyLogWarning(const wxString& msg)
1984 {
1985 wxString m(msg);
1986 m.Replace(wxT("%"), wxT("%%"));
1987 wxLogWarning(m);
1988 }
d14a1e28 1989
093d3ff1
RD
1990 void wxPyLogMessage(const wxString& msg)
1991 {
1992 wxString m(msg);
1993 m.Replace(wxT("%"), wxT("%%"));
1994 wxLogMessage(m);
1995 }
d14a1e28 1996
093d3ff1
RD
1997 void wxPyLogInfo(const wxString& msg)
1998 {
1999 wxString m(msg);
2000 m.Replace(wxT("%"), wxT("%%"));
2001 wxLogInfo(m);
2002 }
d14a1e28 2003
093d3ff1
RD
2004 void wxPyLogDebug(const wxString& msg)
2005 {
2006 wxString m(msg);
2007 m.Replace(wxT("%"), wxT("%%"));
2008 wxLogDebug(m);
2009 }
d14a1e28 2010
093d3ff1
RD
2011 void wxPyLogVerbose(const wxString& msg)
2012 {
2013 wxString m(msg);
2014 m.Replace(wxT("%"), wxT("%%"));
2015 wxLogVerbose(m);
2016 }
994141e6 2017
093d3ff1
RD
2018 void wxPyLogStatus(const wxString& msg)
2019 {
2020 wxString m(msg);
2021 m.Replace(wxT("%"), wxT("%%"));
2022 wxLogStatus(m);
2023 }
994141e6 2024
093d3ff1
RD
2025 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2026 {
2027 wxString m(msg);
2028 m.Replace(wxT("%"), wxT("%%"));
2029 wxLogStatus(pFrame, m);
2030 }
d14a1e28 2031
093d3ff1
RD
2032 void wxPyLogSysError(const wxString& msg)
2033 {
2034 wxString m(msg);
2035 m.Replace(wxT("%"), wxT("%%"));
2036 wxLogSysError(m);
2037 }
d14a1e28 2038
093d3ff1
RD
2039 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2040 {
2041 wxString m(msg);
2042 m.Replace(wxT("%"), wxT("%%"));
2043 wxLogGeneric(level, m);
2044 }
1a10c483 2045
093d3ff1
RD
2046 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2047 {
2048 wxString m(msg);
2049 m.Replace(wxT("%"), wxT("%%"));
2050 wxLogTrace(mask, m);
2051 }
2052
2053 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2054 {
2055 wxString m(msg);
2056 m.Replace(wxT("%"), wxT("%%"));
2057 wxLogTrace(mask, m);
2058 }
2059
d14a1e28 2060
d14a1e28 2061
093d3ff1
RD
2062// A wxLog class that can be derived from in wxPython
2063class wxPyLog : public wxLog {
2064public:
2065 wxPyLog() : wxLog() {}
d14a1e28 2066
093d3ff1
RD
2067 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2068 bool found;
5a446332 2069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2070 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2071 PyObject* s = wx2PyString(szString);
2072 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2073 Py_DECREF(s);
d14a1e28 2074 }
093d3ff1
RD
2075 wxPyEndBlockThreads(blocked);
2076 if (! found)
2077 wxLog::DoLog(level, szString, t);
d14a1e28 2078 }
d14a1e28 2079
093d3ff1
RD
2080 virtual void DoLogString(const wxChar *szString, time_t t) {
2081 bool found;
5a446332 2082 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2083 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2084 PyObject* s = wx2PyString(szString);
2085 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2086 Py_DECREF(s);
2087 }
2088 wxPyEndBlockThreads(blocked);
2089 if (! found)
2090 wxLog::DoLogString(szString, t);
d14a1e28 2091 }
d14a1e28 2092
d14a1e28
RD
2093 PYPRIVATE;
2094};
2095
d14a1e28 2096
d14a1e28 2097
1a10c483 2098
093d3ff1 2099IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d14a1e28
RD
2100
2101
093d3ff1 2102#include <wx/joystick.h>
d14a1e28
RD
2103
2104
093d3ff1
RD
2105#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2106// A C++ stub class for wxJoystick for platforms that don't have it.
2107class wxJoystick : public wxObject {
d14a1e28 2108public:
093d3ff1 2109 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2110 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2111 PyErr_SetString(PyExc_NotImplementedError,
2112 "wxJoystick is not available on this platform.");
2113 wxPyEndBlockThreads(blocked);
2114 }
2115 wxPoint GetPosition() { return wxPoint(-1,-1); }
2116 int GetZPosition() { return -1; }
2117 int GetButtonState() { return -1; }
2118 int GetPOVPosition() { return -1; }
2119 int GetPOVCTSPosition() { return -1; }
2120 int GetRudderPosition() { return -1; }
2121 int GetUPosition() { return -1; }
2122 int GetVPosition() { return -1; }
2123 int GetMovementThreshold() { return -1; }
2124 void SetMovementThreshold(int threshold) {}
d14a1e28 2125
093d3ff1
RD
2126 bool IsOk(void) { return false; }
2127 int GetNumberJoysticks() { return -1; }
2128 int GetManufacturerId() { return -1; }
2129 int GetProductId() { return -1; }
2130 wxString GetProductName() { return wxEmptyString; }
2131 int GetXMin() { return -1; }
2132 int GetYMin() { return -1; }
2133 int GetZMin() { return -1; }
2134 int GetXMax() { return -1; }
2135 int GetYMax() { return -1; }
2136 int GetZMax() { return -1; }
2137 int GetNumberButtons() { return -1; }
2138 int GetNumberAxes() { return -1; }
2139 int GetMaxButtons() { return -1; }
2140 int GetMaxAxes() { return -1; }
2141 int GetPollingMin() { return -1; }
2142 int GetPollingMax() { return -1; }
2143 int GetRudderMin() { return -1; }
2144 int GetRudderMax() { return -1; }
2145 int GetUMin() { return -1; }
2146 int GetUMax() { return -1; }
2147 int GetVMin() { return -1; }
2148 int GetVMax() { return -1; }
d14a1e28 2149
093d3ff1
RD
2150 bool HasRudder() { return false; }
2151 bool HasZ() { return false; }
2152 bool HasU() { return false; }
2153 bool HasV() { return false; }
2154 bool HasPOV() { return false; }
2155 bool HasPOV4Dir() { return false; }
2156 bool HasPOVCTS() { return false; }
d14a1e28 2157
093d3ff1
RD
2158 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2159 bool ReleaseCapture() { return false; }
d14a1e28 2160};
093d3ff1 2161#endif
d14a1e28 2162
6923d0a9 2163
093d3ff1 2164#include <wx/sound.h>
6923d0a9 2165
6923d0a9 2166
093d3ff1
RD
2167#if !wxUSE_SOUND
2168// A C++ stub class for wxWave for platforms that don't have it.
2169class wxSound : public wxObject
6923d0a9
RD
2170{
2171public:
093d3ff1 2172 wxSound() {
5a446332 2173 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2174 PyErr_SetString(PyExc_NotImplementedError,
2175 "wxSound is not available on this platform.");
2176 wxPyEndBlockThreads(blocked);
2177 }
2178 wxSound(const wxString&/*, bool*/) {
5a446332 2179 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2180 PyErr_SetString(PyExc_NotImplementedError,
2181 "wxSound is not available on this platform.");
2182 wxPyEndBlockThreads(blocked);
2183 }
2184 wxSound(int, const wxByte*) {
5a446332 2185 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2186 PyErr_SetString(PyExc_NotImplementedError,
2187 "wxSound is not available on this platform.");
2188 wxPyEndBlockThreads(blocked);
2189 }
6923d0a9 2190
093d3ff1 2191 ~wxSound() {};
6923d0a9 2192
093d3ff1
RD
2193 bool Create(const wxString&/*, bool*/) { return false; }
2194 bool Create(int, const wxByte*) { return false; };
2195 bool IsOk() { return false; };
2196 bool Play(unsigned) const { return false; }
2197 static bool Play(const wxString&, unsigned) { return false; }
2198 static void Stop() {}
6923d0a9 2199};
093d3ff1 2200
6923d0a9
RD
2201#endif
2202
093d3ff1
RD
2203static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2204 if (fileName.Length() == 0)
2205 return new wxSound;
2206 else
2207 return new wxSound(fileName);
2208 }
2209static wxSound *new_wxSound(PyObject *data){
2210 unsigned char* buffer; int size;
2211 wxSound *sound = NULL;
2212
5a446332 2213 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2214 if (!PyArg_Parse(data, "t#", &buffer, &size))
2215 goto done;
2216 sound = new wxSound(size, buffer);
2217 done:
4f89f6a3 2218 wxPyEndBlockThreads(blocked);
093d3ff1 2219 return sound;
4276dc52 2220 }
093d3ff1
RD
2221static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2222 #ifndef __WXMAC__
2223 unsigned char* buffer;
2224 int size;
2225 bool rv = false;
d3b6e4ff 2226
5a446332 2227 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2228 if (!PyArg_Parse(data, "t#", &buffer, &size))
2229 goto done;
2230 rv = self->Create(size, buffer);
2231 done:
2232 wxPyEndBlockThreads(blocked);
2233 return rv;
2234 #else
5a446332 2235 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2236 PyErr_SetString(PyExc_NotImplementedError,
2237 "Create from data is not available on this platform.");
2238 wxPyEndBlockThreads(blocked);
2239 return false;
2240 #endif
2241 }
d3b6e4ff 2242
093d3ff1
RD
2243#include <wx/mimetype.h>
2244
2245static PyObject *wxFileType_GetMimeType(wxFileType *self){
2246 wxString str;
2247 if (self->GetMimeType(&str))
2248 return wx2PyString(str);
2249 else
2250 RETURN_NONE();
8fb0e70a 2251 }
093d3ff1
RD
2252static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2253 wxArrayString arr;
2254 if (self->GetMimeTypes(arr))
2255 return wxArrayString2PyList_helper(arr);
2256 else
2257 RETURN_NONE();
2258 }
2259static PyObject *wxFileType_GetExtensions(wxFileType *self){
2260 wxArrayString arr;
2261 if (self->GetExtensions(arr))
2262 return wxArrayString2PyList_helper(arr);
2263 else
2264 RETURN_NONE();
2265 }
2266static wxIcon *wxFileType_GetIcon(wxFileType *self){
2267 wxIconLocation loc;
2268 if (self->GetIcon(&loc))
2269 return new wxIcon(loc);
2270 else
2271 return NULL;
2272 }
2273static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2274 wxIconLocation loc;
2275 if (self->GetIcon(&loc)) {
2276 wxString iconFile = loc.GetFileName();
2277 int iconIndex = -1;
d14a1e28
RD
2278
2279
d14a1e28 2280
093d3ff1 2281 // Make a tuple and put the values in it
5a446332 2282 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2283 PyObject* tuple = PyTuple_New(3);
2284 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2285 wxT("wxIcon"), true));
2286 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2287 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2288 wxPyEndBlockThreads(blocked);
2289 return tuple;
2290 }
2291 else
2292 RETURN_NONE();
2293 }
2294static PyObject *wxFileType_GetDescription(wxFileType *self){
2295 wxString str;
2296 if (self->GetDescription(&str))
2297 return wx2PyString(str);
2298 else
2299 RETURN_NONE();
2300 }
2301static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2302 wxString str;
2303 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2304 return wx2PyString(str);
2305 else
2306 RETURN_NONE();
2307 }
2308static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2309 wxString str;
2310 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2311 return wx2PyString(str);
2312 else
2313 RETURN_NONE();
2314 }
2315static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2316 wxArrayString verbs;
2317 wxArrayString commands;
2318 if (self->GetAllCommands(&verbs, &commands,
2319 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2320 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2321 PyObject* tuple = PyTuple_New(2);
2322 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2323 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2324 wxPyEndBlockThreads(blocked);
2325 return tuple;
2326 }
2327 else
2328 RETURN_NONE();
2329 }
2330static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2331 return wxFileType::ExpandCommand(command,
2332 wxFileType::MessageParameters(filename, mimetype));
2333 }
2334static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2335 wxArrayString arr;
2336 self->EnumAllFileTypes(arr);
2337 return wxArrayString2PyList_helper(arr);
2338 }
d14a1e28 2339
093d3ff1 2340#include <wx/artprov.h>
d14a1e28 2341
093d3ff1
RD
2342 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2343 static const wxString wxPyART_MENU(wxART_MENU);
2344 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2345 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2346 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2347 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2348 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2349 static const wxString wxPyART_OTHER(wxART_OTHER);
2350 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2351 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2352 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2353 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2354 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2355 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2356 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2357 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2358 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2359 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2360 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2361 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2362 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2363 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
0c243d93
RD
2364 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2365 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2366 static const wxString wxPyART_PRINT(wxART_PRINT);
2367 static const wxString wxPyART_HELP(wxART_HELP);
2368 static const wxString wxPyART_TIP(wxART_TIP);
2369 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2370 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2371 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2372 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2373 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2374 static const wxString wxPyART_CDROM(wxART_CDROM);
2375 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2376 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2377 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2378 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2379 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2380 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2381 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2382 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2383 static const wxString wxPyART_ERROR(wxART_ERROR);
2384 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2385 static const wxString wxPyART_WARNING(wxART_WARNING);
2386 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2387 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
0c243d93
RD
2388 static const wxString wxPyART_COPY(wxART_COPY);
2389 static const wxString wxPyART_CUT(wxART_CUT);
2390 static const wxString wxPyART_PASTE(wxART_PASTE);
2391 static const wxString wxPyART_DELETE(wxART_DELETE);
a187dc0b 2392 static const wxString wxPyART_NEW(wxART_NEW);
0c243d93
RD
2393 static const wxString wxPyART_UNDO(wxART_UNDO);
2394 static const wxString wxPyART_REDO(wxART_REDO);
2395 static const wxString wxPyART_QUIT(wxART_QUIT);
2396 static const wxString wxPyART_FIND(wxART_FIND);
2397 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2398 // Python aware wxArtProvider
2399class wxPyArtProvider : public wxArtProvider {
2400public:
d14a1e28 2401
093d3ff1
RD
2402 virtual wxBitmap CreateBitmap(const wxArtID& id,
2403 const wxArtClient& client,
2404 const wxSize& size) {
2405 wxBitmap rval = wxNullBitmap;
5a446332 2406 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2407 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2408 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2409 PyObject* ro;
2410 wxBitmap* ptr;
2411 PyObject* s1, *s2;
2412 s1 = wx2PyString(id);
2413 s2 = wx2PyString(client);
2414 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2415 Py_DECREF(so);
2416 Py_DECREF(s1);
2417 Py_DECREF(s2);
2418 if (ro) {
2419 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2420 rval = *ptr;
2421 Py_DECREF(ro);
2422 }
2423 }
2424 wxPyEndBlockThreads(blocked);
2425 return rval;
4f89f6a3 2426 }
d14a1e28 2427
093d3ff1
RD
2428 PYPRIVATE;
2429};
d14a1e28 2430
093d3ff1 2431static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d14a1e28
RD
2432
2433
093d3ff1
RD
2434
2435 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2436 PyObject* ret = PyTuple_New(3);
2437 if (ret) {
2438 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2439 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2440 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2441 }
2442 return ret;
d14a1e28 2443 }
d14a1e28 2444
093d3ff1
RD
2445static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2446 bool cont;
2447 long index = 0;
2448 wxString value;
d14a1e28 2449
093d3ff1
RD
2450 cont = self->GetFirstGroup(value, index);
2451 return __EnumerationHelper(cont, value, index);
2452 }
2453static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2454 bool cont;
2455 wxString value;
7e63a440 2456
093d3ff1
RD
2457 cont = self->GetNextGroup(value, index);
2458 return __EnumerationHelper(cont, value, index);
2459 }
2460static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2461 bool cont;
2462 long index = 0;
2463 wxString value;
7e63a440 2464
093d3ff1
RD
2465 cont = self->GetFirstEntry(value, index);
2466 return __EnumerationHelper(cont, value, index);
2467 }
2468static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2469 bool cont;
2470 wxString value;
7e63a440 2471
093d3ff1
RD
2472 cont = self->GetNextEntry(value, index);
2473 return __EnumerationHelper(cont, value, index);
2474 }
2475static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2476 long rv;
2477 self->Read(key, &rv, defaultVal);
2478 return rv;
2479 }
7e63a440 2480
093d3ff1
RD
2481SWIGINTERN int
2482SWIG_AsVal_double(PyObject *obj, double* val)
2483{
2484 if (PyNumber_Check(obj)) {
2485 if (val) *val = PyFloat_AsDouble(obj);
2486 return 1;
d14a1e28 2487 }
093d3ff1
RD
2488 else {
2489 SWIG_type_error("number", obj);
2490 }
2491 return 0;
d14a1e28
RD
2492}
2493
2494
093d3ff1
RD
2495SWIGINTERNSHORT double
2496SWIG_As_double(PyObject* obj)
2497{
2498 double v;
2499 if (!SWIG_AsVal_double(obj, &v)) {
2500 /*
2501 this is needed to make valgrind/purify happier.
2502 */
2503 memset((void*)&v, 0, sizeof(double));
2504 }
2505 return v;
d14a1e28
RD
2506}
2507
093d3ff1
RD
2508
2509SWIGINTERNSHORT int
2510SWIG_Check_double(PyObject* obj)
2511{
2512 return SWIG_AsVal_double(obj, (double*)0);
d14a1e28
RD
2513}
2514
093d3ff1
RD
2515static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2516 double rv;
2517 self->Read(key, &rv, defaultVal);
2518 return rv;
2519 }
d14a1e28 2520
093d3ff1
RD
2521 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2522#define SWIG_From_double PyFloat_FromDouble
2523/*@@*/
d14a1e28 2524
093d3ff1
RD
2525static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2526 bool rv;
2527 self->Read(key, &rv, defaultVal);
2528 return rv;
2529 }
d14a1e28 2530
093d3ff1 2531#include <wx/datetime.h>
d14a1e28 2532
7557b9b5
RD
2533 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2534 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d14a1e28 2535
093d3ff1 2536#define LOCAL_TZ wxDateTime::Local
b2dc1044 2537
b9d6a5f3
RD
2538static PyObject *DateTime_GetAmPmStrings(){
2539 wxString am;
2540 wxString pm;
2541 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2542 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2543 PyObject* tup = PyTuple_New(2);
2544 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2545 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2546 wxPyEndBlockThreads(blocked);
2547 return tup;
2548 }
b2dc1044 2549
093d3ff1
RD
2550#if UINT_MAX < LONG_MAX
2551/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552#define SWIG_From_unsigned_SS_int SWIG_From_long
2553/*@@*/
b2dc1044 2554#else
093d3ff1
RD
2555/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2557/*@@*/
b2dc1044 2558#endif
b2dc1044 2559
093d3ff1
RD
2560static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2561static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2562static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2563static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2564static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2565static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2566 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2567 return (*self < *other);
2568 }
2569static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2570 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2571 return (*self <= *other);
2572 }
2573static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2574 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2575 return (*self > *other);
2576 }
2577static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2578 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2579 return (*self >= *other);
2580 }
2581static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2582 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2583 return (*self == *other);
2584 }
2585static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2586 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2587 return (*self != *other);
2588 }
2589static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2590 const wxChar* rv;
2591 const wxChar* _date = date;
2592 rv = self->ParseRfc822Date(_date);
2593 if (rv == NULL) return -1;
2594 return rv - _date;
2595 }
7557b9b5 2596static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2597 const wxChar* rv;
2598 const wxChar* _date = date;
2599 rv = self->ParseFormat(_date, format, dateDef);
2600 if (rv == NULL) return -1;
2601 return rv - _date;
2602 }
2603static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2604 const wxChar* rv;
2605 const wxChar* _datetime = datetime;
2606 rv = self->ParseDateTime(_datetime);
2607 if (rv == NULL) return -1;
2608 return rv - _datetime;
2609 }
2610static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2611 const wxChar* rv;
2612 const wxChar* _date = date;
2613 rv = self->ParseDate(_date);
2614 if (rv == NULL) return -1;
2615 return rv - _date;
2616 }
2617static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2618 const wxChar* rv;
2619 const wxChar* _time = time;
2620 rv = self->ParseTime(_time);
2621 if (rv == NULL) return -1;
2622 return rv - _time;
2623 }
2624static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2625static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2626static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2627static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2628static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2629static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2630static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2631static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2632static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2633static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2634static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2635static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2636static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2637static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2638static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2639static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
b2dc1044 2640
093d3ff1 2641#include <wx/dataobj.h>
b2dc1044 2642
093d3ff1
RD
2643static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2644 size_t count = self->GetFormatCount(dir);
2645 wxDataFormat* formats = new wxDataFormat[count];
2646 self->GetAllFormats(formats, dir);
b2dc1044 2647
5a446332 2648 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2649 PyObject* list = PyList_New(count);
2650 for (size_t i=0; i<count; i++) {
2651 wxDataFormat* format = new wxDataFormat(formats[i]);
2652 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
2653 PyList_Append(list, obj);
2654 Py_DECREF(obj);
2655 }
2656 wxPyEndBlockThreads(blocked);
2657 delete [] formats;
2658 return list;
2659 }
2660static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2661 PyObject* rval = NULL;
2662 size_t size = self->GetDataSize(format);
5a446332 2663 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2664 if (size) {
2665 char* buf = new char[size];
2666 if (self->GetDataHere(format, buf))
2667 rval = PyString_FromStringAndSize(buf, size);
2668 delete [] buf;
2669 }
2670 if (! rval) {
2671 rval = Py_None;
2672 Py_INCREF(rval);
2673 }
2674 wxPyEndBlockThreads(blocked);
2675 return rval;
2676 }
2677static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2678 bool rval;
5a446332 2679 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2680 if (PyString_Check(data)) {
2681 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2682 }
2683 else {
2684 // raise a TypeError if not a string
2685 PyErr_SetString(PyExc_TypeError, "String expected.");
2686 rval = false;
2687 }
2688 wxPyEndBlockThreads(blocked);
2689 return rval;
2690 }
2691static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2692 PyObject* rval = NULL;
2693 size_t size = self->GetDataSize();
5a446332 2694 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2695 if (size) {
2696 char* buf = new char[size];
2697 if (self->GetDataHere(buf))
2698 rval = PyString_FromStringAndSize(buf, size);
2699 delete [] buf;
2700 }
2701 if (! rval) {
2702 rval = Py_None;
2703 Py_INCREF(rval);
2704 }
2705 wxPyEndBlockThreads(blocked);
2706 return rval;
2707 }
2708static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2709 bool rval;
5a446332 2710 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2711 if (PyString_Check(data)) {
2712 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2713 }
2714 else {
2715 // raise a TypeError if not a string
2716 PyErr_SetString(PyExc_TypeError, "String expected.");
2717 rval = false;
2718 }
2719 wxPyEndBlockThreads(blocked);
2720 return rval;
2721 }
2722 // Create a new class for wxPython to use
2723class wxPyDataObjectSimple : public wxDataObjectSimple {
2724public:
2725 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2726 : wxDataObjectSimple(format) {}
b2dc1044 2727
093d3ff1
RD
2728 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2729 bool GetDataHere(void *buf) const;
2730 bool SetData(size_t len, const void *buf) const;
2731 PYPRIVATE;
2732};
b2dc1044 2733
093d3ff1 2734IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
b2dc1044 2735
093d3ff1
RD
2736bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2737 // We need to get the data for this object and write it to buf. I think
2738 // the best way to do this for wxPython is to have the Python method
2739 // return either a string or None and then act appropriately with the
2740 // C++ version.
b2dc1044 2741
093d3ff1 2742 bool rval = false;
5a446332 2743 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2744 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2745 PyObject* ro;
2746 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2747 if (ro) {
2748 rval = (ro != Py_None && PyString_Check(ro));
2749 if (rval)
2750 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2751 Py_DECREF(ro);
2752 }
b2dc1044 2753 }
093d3ff1
RD
2754 wxPyEndBlockThreads(blocked);
2755 return rval;
b2dc1044
RD
2756}
2757
093d3ff1
RD
2758bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2759 // For this one we simply need to make a string from buf and len
2760 // and send it to the Python method.
2761 bool rval = false;
5a446332 2762 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2763 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2764 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2765 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2766 Py_DECREF(data);
2767 }
2768 wxPyEndBlockThreads(blocked);
2769 return rval;
2770}
b2dc1044 2771
093d3ff1
RD
2772 // Create a new class for wxPython to use
2773class wxPyTextDataObject : public wxTextDataObject {
2774public:
2775 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2776 : wxTextDataObject(text) {}
2777
2778 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2779 DEC_PYCALLBACK_STRING__const(GetText);
2780 DEC_PYCALLBACK__STRING(SetText);
2781 PYPRIVATE;
2782};
2783
2784IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2785IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2786IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2787
2788
2789 // Create a new class for wxPython to use
2790class wxPyBitmapDataObject : public wxBitmapDataObject {
2791public:
2792 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2793 : wxBitmapDataObject(bitmap) {}
2794
2795 wxBitmap GetBitmap() const;
2796 void SetBitmap(const wxBitmap& bitmap);
2797 PYPRIVATE;
2798};
2799
2800wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2801 wxBitmap* rval = &wxNullBitmap;
5a446332 2802 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2803 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2804 PyObject* ro;
2805 wxBitmap* ptr;
2806 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2807 if (ro) {
2808 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2809 rval = ptr;
2810 Py_DECREF(ro);
2811 }
2812 }
2813 wxPyEndBlockThreads(blocked);
2814 return *rval;
2815}
2816
2817void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2818 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2819 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2820 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2821 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2822 Py_DECREF(bo);
2823 }
2824 wxPyEndBlockThreads(blocked);
2825}
2826
7557b9b5
RD
2827static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2828 return new wxCustomDataObject(wxDataFormat(formatName));
2829 }
093d3ff1
RD
2830static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2831 bool rval;
5a446332 2832 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2833 if (PyString_Check(data)) {
2834 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2835 }
2836 else {
2837 // raise a TypeError if not a string
2838 PyErr_SetString(PyExc_TypeError, "String expected.");
2839 rval = false;
2840 }
2841 wxPyEndBlockThreads(blocked);
2842 return rval;
2843 }
2844static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2845 PyObject* obj;
5a446332 2846 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2847 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
2848 wxPyEndBlockThreads(blocked);
2849 return obj;
2850 }
2851
2852class wxMetafileDataObject : public wxDataObjectSimple
2853{
2854public:
2855 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
2856};
2857
2858
2859IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
2860
2861
2862IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
2863IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
2864IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
2865IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
2866IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
2867
2868
2869class wxPyTextDropTarget : public wxTextDropTarget {
2870public:
2871 wxPyTextDropTarget() {}
2872
2873 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
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
2884IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
2885IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
2886IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
2887IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
2888IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
2889IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
2890
2891
2892
2893class wxPyFileDropTarget : public wxFileDropTarget {
2894public:
2895 wxPyFileDropTarget() {}
2896
2897 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
2898
2899 DEC_PYCALLBACK__(OnLeave);
2900 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2901 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2902 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2903 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2904
2905 PYPRIVATE;
2906};
2907
2908bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
2909 const wxArrayString& filenames) {
2910 bool rval = false;
5a446332 2911 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2912 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
2913 PyObject* list = wxArrayString2PyList_helper(filenames);
2914 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
2915 Py_DECREF(list);
2916 }
2917 wxPyEndBlockThreads(blocked);
2918 return rval;
2919}
2920
2921
2922
2923IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
2924IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
2925IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
2926IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
2927IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
2928
2929
2930
2931
2932static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
2933
2934#include <wx/display.h>
2935
2936static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
2937static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
2938
2939// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2940#if !wxUSE_DISPLAY
2941#include <wx/dynarray.h>
2942#include <wx/vidmode.h>
2943
2944WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
2945#include "wx/arrimpl.cpp"
2946WX_DEFINE_OBJARRAY(wxArrayVideoModes);
2947const wxVideoMode wxDefaultVideoMode;
2948
2949class wxDisplay
2950{
2951public:
2952 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
2953 ~wxDisplay() {}
2954
2955 static size_t GetCount()
2956 { wxPyRaiseNotImplemented(); return 0; }
2957
2958 static int GetFromPoint(const wxPoint& pt)
2959 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2960 static int GetFromWindow(wxWindow *window)
2961 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2962
2963 virtual bool IsOk() const { return false; }
2964 virtual wxRect GetGeometry() const { wxRect r; return r; }
2965 virtual wxString GetName() const { return wxEmptyString; }
2966 bool IsPrimary() const { return false; }
2967
2968 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
2969 { wxArrayVideoModes a; return a; }
2970
2971 virtual wxVideoMode GetCurrentMode() const
2972 { return wxDefaultVideoMode; }
2973
2974 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
2975 { return false; }
2976
2977 void ResetMode() {}
2978};
2979#endif
2980
2981static int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2982static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
2983 PyObject* pyList = NULL;
2984 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 2985 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2986 pyList = PyList_New(0);
2987 for (int i=0; i < arr.GetCount(); i++) {
2988 wxVideoMode* m = new wxVideoMode(arr.Item(i));
2989 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
2990 PyList_Append(pyList, pyObj);
2991 Py_DECREF(pyObj);
2992 }
2993 wxPyEndBlockThreads(blocked);
2994 return pyList;
2995 }
2996
2997#include <wx/stdpaths.h>
2998
2999static wxStandardPaths *StandardPaths_Get(){
3000 return (wxStandardPaths*) &wxStandardPaths::Get();
3001 }
3002#ifdef __cplusplus
3003extern "C" {
3004#endif
3005static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
3006 PyObject *resultobj;
3007 wxSystemColour arg1 ;
3008 wxColour result;
3009 PyObject * obj0 = 0 ;
d14a1e28 3010 char *kwnames[] = {
093d3ff1 3011 (char *) "index", NULL
d14a1e28
RD
3012 };
3013
093d3ff1
RD
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
3015 {
3016 arg1 = (wxSystemColour)(SWIG_As_int(obj0));
3017 if (SWIG_arg_fail(1)) SWIG_fail;
3018 }
d14a1e28 3019 {
093d3ff1 3020 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3022 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
d14a1e28
RD
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
093d3ff1
RD
3027 {
3028 wxColour * resultptr;
3029 resultptr = new wxColour((wxColour &)(result));
3030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3031 }
d14a1e28
RD
3032 return resultobj;
3033 fail:
3034 return NULL;
3035}
3036
3037
093d3ff1 3038static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3039 PyObject *resultobj;
093d3ff1
RD
3040 wxSystemFont arg1 ;
3041 wxFont result;
994141e6 3042 PyObject * obj0 = 0 ;
d14a1e28 3043 char *kwnames[] = {
093d3ff1 3044 (char *) "index", NULL
d14a1e28
RD
3045 };
3046
093d3ff1 3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d14a1e28 3048 {
093d3ff1
RD
3049 arg1 = (wxSystemFont)(SWIG_As_int(obj0));
3050 if (SWIG_arg_fail(1)) SWIG_fail;
3051 }
3052 {
3053 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3055 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
d14a1e28
RD
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
d14a1e28 3060 {
093d3ff1
RD
3061 wxFont * resultptr;
3062 resultptr = new wxFont((wxFont &)(result));
3063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28 3064 }
d14a1e28
RD
3065 return resultobj;
3066 fail:
3067 return NULL;
3068}
3069
3070
093d3ff1 3071static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e 3072 PyObject *resultobj;
093d3ff1 3073 wxSystemMetric arg1 ;
8f4d7c19 3074 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3075 int result;
023a034e 3076 PyObject * obj0 = 0 ;
8f4d7c19 3077 PyObject * obj1 = 0 ;
023a034e 3078 char *kwnames[] = {
8f4d7c19 3079 (char *) "index",(char *) "win", NULL
023a034e
RD
3080 };
3081
8f4d7c19 3082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
023a034e 3083 {
093d3ff1
RD
3084 arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
3085 if (SWIG_arg_fail(1)) SWIG_fail;
3086 }
8f4d7c19
RD
3087 if (obj1) {
3088 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3089 if (SWIG_arg_fail(2)) SWIG_fail;
3090 }
093d3ff1
RD
3091 {
3092 if (!wxPyCheckForApp()) SWIG_fail;
023a034e 3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8f4d7c19 3094 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
023a034e
RD
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
093d3ff1 3100 resultobj = SWIG_From_int((int)(result));
023a034e
RD
3101 }
3102 return resultobj;
3103 fail:
3104 return NULL;
3105}
3106
3107
093d3ff1 3108static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e 3109 PyObject *resultobj;
093d3ff1 3110 wxSystemFeature arg1 ;
023a034e 3111 bool result;
023a034e 3112 PyObject * obj0 = 0 ;
023a034e 3113 char *kwnames[] = {
093d3ff1 3114 (char *) "index", NULL
023a034e
RD
3115 };
3116
093d3ff1 3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
023a034e 3118 {
093d3ff1
RD
3119 arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
3120 if (SWIG_arg_fail(1)) SWIG_fail;
023a034e
RD
3121 }
3122 {
093d3ff1 3123 if (!wxPyCheckForApp()) SWIG_fail;
023a034e 3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3125 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
023a034e
RD
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 {
3131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3132 }
023a034e
RD
3133 return resultobj;
3134 fail:
023a034e
RD
3135 return NULL;
3136}
3137
3138
093d3ff1 3139static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
023a034e 3140 PyObject *resultobj;
093d3ff1 3141 wxSystemScreenType result;
023a034e 3142 char *kwnames[] = {
093d3ff1 3143 NULL
023a034e
RD
3144 };
3145
093d3ff1 3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
023a034e 3147 {
093d3ff1 3148 if (!wxPyCheckForApp()) SWIG_fail;
023a034e 3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3150 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
023a034e
RD
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
093d3ff1 3155 resultobj = SWIG_From_int((result));
023a034e
RD
3156 return resultobj;
3157 fail:
3158 return NULL;
3159}
3160
3161
093d3ff1 3162static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3163 PyObject *resultobj;
093d3ff1
RD
3164 wxSystemScreenType arg1 ;
3165 PyObject * obj0 = 0 ;
d14a1e28 3166 char *kwnames[] = {
093d3ff1 3167 (char *) "screen", NULL
d14a1e28
RD
3168 };
3169
093d3ff1
RD
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3171 {
3172 arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
3173 if (SWIG_arg_fail(1)) SWIG_fail;
3174 }
d14a1e28 3175 {
e3b71cb8 3176 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3178 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
d14a1e28
RD
3179
3180 wxPyEndAllowThreads(__tstate);
110da5b0 3181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
093d3ff1
RD
3190static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3191 PyObject *obj;
3192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3193 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3194 Py_INCREF(obj);
3195 return Py_BuildValue((char *)"");
3196}
3197static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3198 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3199 return 1;
3200}
3201
3202
3203static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3204 PyObject *pyobj;
d14a1e28 3205
d14a1e28 3206 {
093d3ff1
RD
3207#if wxUSE_UNICODE
3208 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3209#else
3210 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3211#endif
d14a1e28 3212 }
093d3ff1 3213 return pyobj;
d14a1e28
RD
3214}
3215
3216
093d3ff1 3217static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3218 PyObject *resultobj;
093d3ff1 3219 wxSystemOptions *result;
d14a1e28 3220 char *kwnames[] = {
093d3ff1 3221 NULL
d14a1e28
RD
3222 };
3223
093d3ff1 3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d14a1e28
RD
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3227 result = (wxSystemOptions *)new wxSystemOptions();
d14a1e28
RD
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
093d3ff1 3232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d14a1e28
RD
3233 return resultobj;
3234 fail:
3235 return NULL;
3236}
3237
3238
093d3ff1 3239static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3240 PyObject *resultobj;
093d3ff1
RD
3241 wxString *arg1 = 0 ;
3242 wxString *arg2 = 0 ;
3243 bool temp1 = false ;
3244 bool temp2 = false ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj1 = 0 ;
d14a1e28 3247 char *kwnames[] = {
093d3ff1 3248 (char *) "name",(char *) "value", NULL
d14a1e28
RD
3249 };
3250
093d3ff1
RD
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3252 {
3253 arg1 = wxString_in_helper(obj0);
3254 if (arg1 == NULL) SWIG_fail;
3255 temp1 = true;
3256 }
3257 {
3258 arg2 = wxString_in_helper(obj1);
3259 if (arg2 == NULL) SWIG_fail;
3260 temp2 = true;
3261 }
d14a1e28
RD
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3264 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d14a1e28
RD
3265
3266 wxPyEndAllowThreads(__tstate);
110da5b0 3267 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3268 }
3269 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3270 {
3271 if (temp1)
3272 delete arg1;
3273 }
3274 {
3275 if (temp2)
3276 delete arg2;
3277 }
d14a1e28
RD
3278 return resultobj;
3279 fail:
093d3ff1
RD
3280 {
3281 if (temp1)
3282 delete arg1;
3283 }
3284 {
3285 if (temp2)
3286 delete arg2;
3287 }
d14a1e28
RD
3288 return NULL;
3289}
3290
3291
093d3ff1 3292static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3293 PyObject *resultobj;
093d3ff1
RD
3294 wxString *arg1 = 0 ;
3295 int arg2 ;
3296 bool temp1 = false ;
3297 PyObject * obj0 = 0 ;
3298 PyObject * obj1 = 0 ;
d14a1e28 3299 char *kwnames[] = {
093d3ff1 3300 (char *) "name",(char *) "value", NULL
d14a1e28
RD
3301 };
3302
093d3ff1
RD
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3304 {
3305 arg1 = wxString_in_helper(obj0);
3306 if (arg1 == NULL) SWIG_fail;
3307 temp1 = true;
3308 }
3309 {
3310 arg2 = (int)(SWIG_As_int(obj1));
3311 if (SWIG_arg_fail(2)) SWIG_fail;
3312 }
d14a1e28
RD
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3315 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d14a1e28
RD
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
093d3ff1 3320 Py_INCREF(Py_None); resultobj = Py_None;
4f89f6a3 3321 {
093d3ff1
RD
3322 if (temp1)
3323 delete arg1;
4f89f6a3 3324 }
d14a1e28
RD
3325 return resultobj;
3326 fail:
093d3ff1
RD
3327 {
3328 if (temp1)
3329 delete arg1;
3330 }
d14a1e28
RD
3331 return NULL;
3332}
3333
3334
093d3ff1 3335static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3336 PyObject *resultobj;
093d3ff1 3337 wxString *arg1 = 0 ;
d14a1e28 3338 wxString result;
093d3ff1
RD
3339 bool temp1 = false ;
3340 PyObject * obj0 = 0 ;
d14a1e28 3341 char *kwnames[] = {
093d3ff1 3342 (char *) "name", NULL
d14a1e28
RD
3343 };
3344
093d3ff1
RD
3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3346 {
3347 arg1 = wxString_in_helper(obj0);
3348 if (arg1 == NULL) SWIG_fail;
3349 temp1 = true;
3350 }
d14a1e28
RD
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3353 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d14a1e28
RD
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 {
3359#if wxUSE_UNICODE
3360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3361#else
3362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3363#endif
3364 }
093d3ff1
RD
3365 {
3366 if (temp1)
3367 delete arg1;
3368 }
d14a1e28
RD
3369 return resultobj;
3370 fail:
093d3ff1
RD
3371 {
3372 if (temp1)
3373 delete arg1;
3374 }
d14a1e28
RD
3375 return NULL;
3376}
3377
3378
093d3ff1 3379static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3380 PyObject *resultobj;
093d3ff1
RD
3381 wxString *arg1 = 0 ;
3382 int result;
ae8162c8 3383 bool temp1 = false ;
d14a1e28
RD
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
093d3ff1 3386 (char *) "name", NULL
d14a1e28
RD
3387 };
3388
093d3ff1
RD
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3390 {
3391 arg1 = wxString_in_helper(obj0);
3392 if (arg1 == NULL) SWIG_fail;
3393 temp1 = true;
d14a1e28
RD
3394 }
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3397 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d14a1e28
RD
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
4f89f6a3 3402 {
093d3ff1 3403 resultobj = SWIG_From_int((int)(result));
4f89f6a3 3404 }
d14a1e28
RD
3405 {
3406 if (temp1)
3407 delete arg1;
3408 }
3409 return resultobj;
3410 fail:
3411 {
3412 if (temp1)
3413 delete arg1;
3414 }
3415 return NULL;
3416}
3417
3418
093d3ff1 3419static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3420 PyObject *resultobj;
093d3ff1
RD
3421 wxString *arg1 = 0 ;
3422 bool result;
3423 bool temp1 = false ;
3424 PyObject * obj0 = 0 ;
d14a1e28 3425 char *kwnames[] = {
093d3ff1 3426 (char *) "name", NULL
d14a1e28
RD
3427 };
3428
093d3ff1
RD
3429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3430 {
3431 arg1 = wxString_in_helper(obj0);
3432 if (arg1 == NULL) SWIG_fail;
3433 temp1 = true;
3434 }
d14a1e28
RD
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3437 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d14a1e28
RD
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
093d3ff1
RD
3442 {
3443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3444 }
3445 {
3446 if (temp1)
3447 delete arg1;
3448 }
d14a1e28
RD
3449 return resultobj;
3450 fail:
093d3ff1
RD
3451 {
3452 if (temp1)
3453 delete arg1;
3454 }
d14a1e28
RD
3455 return NULL;
3456}
3457
3458
396fb509
RD
3459static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
3460 PyObject *resultobj;
3461 wxString *arg1 = 0 ;
3462 bool result;
3463 bool temp1 = false ;
3464 PyObject * obj0 = 0 ;
3465 char *kwnames[] = {
3466 (char *) "name", NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3470 {
3471 arg1 = wxString_in_helper(obj0);
3472 if (arg1 == NULL) SWIG_fail;
3473 temp1 = true;
3474 }
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 {
3483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3484 }
3485 {
3486 if (temp1)
3487 delete arg1;
3488 }
3489 return resultobj;
3490 fail:
3491 {
3492 if (temp1)
3493 delete arg1;
3494 }
3495 return NULL;
3496}
3497
3498
093d3ff1
RD
3499static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3500 PyObject *obj;
3501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3502 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3503 Py_INCREF(obj);
3504 return Py_BuildValue((char *)"");
3505}
3506static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3507 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3508 return 1;
3509}
3510
3511
3512static PyObject *_wrap_FileSelectorPromptStr_get(void) {
3513 PyObject *pyobj;
3514
3515 {
3516#if wxUSE_UNICODE
3517 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3518#else
3519 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3520#endif
3521 }
3522 return pyobj;
3523}
3524
3525
3526static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3527 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3528 return 1;
3529}
3530
3531
3532static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
3533 PyObject *pyobj;
3534
3535 {
3536#if wxUSE_UNICODE
3537 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3538#else
3539 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3540#endif
3541 }
3542 return pyobj;
3543}
3544
3545
3546static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3547 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3548 return 1;
3549}
3550
3551
3552static PyObject *_wrap_DirSelectorPromptStr_get(void) {
3553 PyObject *pyobj;
3554
3555 {
3556#if wxUSE_UNICODE
3557 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3558#else
3559 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3560#endif
3561 }
3562 return pyobj;
3563}
3564
3565
3566static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3567 PyObject *resultobj;
093d3ff1 3568 long result;
d14a1e28
RD
3569 char *kwnames[] = {
3570 NULL
3571 };
3572
093d3ff1 3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d14a1e28
RD
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3576 result = (long)wxNewId();
d14a1e28
RD
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
093d3ff1
RD
3581 {
3582 resultobj = SWIG_From_long((long)(result));
3583 }
d14a1e28
RD
3584 return resultobj;
3585 fail:
3586 return NULL;
3587}
3588
3589
093d3ff1 3590static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3591 PyObject *resultobj;
093d3ff1
RD
3592 long arg1 ;
3593 PyObject * obj0 = 0 ;
d14a1e28 3594 char *kwnames[] = {
093d3ff1 3595 (char *) "id", NULL
d14a1e28
RD
3596 };
3597
093d3ff1
RD
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3599 {
3600 arg1 = (long)(SWIG_As_long(obj0));
3601 if (SWIG_arg_fail(1)) SWIG_fail;
3602 }
d14a1e28
RD
3603 {
3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3605 wxRegisterId(arg1);
d14a1e28
RD
3606
3607 wxPyEndAllowThreads(__tstate);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 }
093d3ff1 3610 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
3611 return resultobj;
3612 fail:
3613 return NULL;
3614}
3615
3616
093d3ff1 3617static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3618 PyObject *resultobj;
3619 long result;
3620 char *kwnames[] = {
3621 NULL
3622 };
3623
093d3ff1 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d14a1e28
RD
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3627 result = (long)wxGetCurrentId();
d14a1e28
RD
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
093d3ff1
RD
3632 {
3633 resultobj = SWIG_From_long((long)(result));
3634 }
d14a1e28
RD
3635 return resultobj;
3636 fail:
3637 return NULL;
3638}
3639
3640
093d3ff1 3641static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3642 PyObject *resultobj;
3643 int arg1 ;
3644 bool result;
994141e6 3645 PyObject * obj0 = 0 ;
d14a1e28 3646 char *kwnames[] = {
093d3ff1 3647 (char *) "id", NULL
d14a1e28
RD
3648 };
3649
093d3ff1
RD
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3651 {
3652 arg1 = (int)(SWIG_As_int(obj0));
3653 if (SWIG_arg_fail(1)) SWIG_fail;
3654 }
d14a1e28
RD
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3657 result = (bool)wxIsStockID(arg1);
d14a1e28
RD
3658
3659 wxPyEndAllowThreads(__tstate);
110da5b0 3660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3661 }
4f89f6a3
RD
3662 {
3663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3664 }
d14a1e28
RD
3665 return resultobj;
3666 fail:
3667 return NULL;
3668}
3669
3670
093d3ff1 3671static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3672 PyObject *resultobj;
3673 int arg1 ;
093d3ff1
RD
3674 wxString *arg2 = 0 ;
3675 bool result;
3676 bool temp2 = false ;
994141e6 3677 PyObject * obj0 = 0 ;
093d3ff1 3678 PyObject * obj1 = 0 ;
d14a1e28 3679 char *kwnames[] = {
093d3ff1 3680 (char *) "id",(char *) "label", NULL
d14a1e28
RD
3681 };
3682
093d3ff1
RD
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3684 {
3685 arg1 = (int)(SWIG_As_int(obj0));
3686 if (SWIG_arg_fail(1)) SWIG_fail;
3687 }
3688 {
3689 arg2 = wxString_in_helper(obj1);
3690 if (arg2 == NULL) SWIG_fail;
3691 temp2 = true;
3692 }
d14a1e28
RD
3693 {
3694 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3695 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d14a1e28
RD
3696
3697 wxPyEndAllowThreads(__tstate);
3698 if (PyErr_Occurred()) SWIG_fail;
3699 }
093d3ff1
RD
3700 {
3701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3702 }
3703 {
3704 if (temp2)
3705 delete arg2;
3706 }
d14a1e28
RD
3707 return resultobj;
3708 fail:
093d3ff1
RD
3709 {
3710 if (temp2)
3711 delete arg2;
3712 }
d14a1e28
RD
3713 return NULL;
3714}
3715
3716
093d3ff1 3717static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3718 PyObject *resultobj;
093d3ff1 3719 int arg1 ;
fef4c27a
RD
3720 bool arg2 = (bool) true ;
3721 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3722 wxString result;
d14a1e28 3723 PyObject * obj0 = 0 ;
fef4c27a
RD
3724 PyObject * obj1 = 0 ;
3725 PyObject * obj2 = 0 ;
d14a1e28 3726 char *kwnames[] = {
fef4c27a 3727 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d14a1e28
RD
3728 };
3729
fef4c27a 3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3731 {
3732 arg1 = (int)(SWIG_As_int(obj0));
3733 if (SWIG_arg_fail(1)) SWIG_fail;
3734 }
fef4c27a
RD
3735 if (obj1) {
3736 {
3737 arg2 = (bool)(SWIG_As_bool(obj1));
3738 if (SWIG_arg_fail(2)) SWIG_fail;
3739 }
3740 }
3741 if (obj2) {
3742 {
3743 wxString* sptr = wxString_in_helper(obj2);
3744 if (sptr == NULL) SWIG_fail;
3745 arg3 = *sptr;
3746 delete sptr;
3747 }
3748 }
d14a1e28
RD
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3751 result = wxGetStockLabel(arg1,arg2,arg3);
7f98d120
RD
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
093d3ff1
RD
3756 {
3757#if wxUSE_UNICODE
3758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3759#else
3760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3761#endif
3762 }
7f98d120
RD
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
093d3ff1 3769static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120 3770 PyObject *resultobj;
7f98d120 3771 char *kwnames[] = {
093d3ff1 3772 NULL
7f98d120
RD
3773 };
3774
093d3ff1 3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
7f98d120 3776 {
093d3ff1 3777 if (!wxPyCheckForApp()) SWIG_fail;
7f98d120 3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3779 wxBell();
d14a1e28
RD
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 Py_INCREF(Py_None); resultobj = Py_None;
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
093d3ff1 3791static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3792 PyObject *resultobj;
d14a1e28 3793 char *kwnames[] = {
093d3ff1 3794 NULL
d14a1e28
RD
3795 };
3796
093d3ff1 3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d14a1e28 3798 {
093d3ff1 3799 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3801 wxEndBusyCursor();
d14a1e28
RD
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 Py_INCREF(Py_None); resultobj = Py_None;
3807 return resultobj;
3808 fail:
3809 return NULL;
3810}
3811
3812
093d3ff1 3813static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3814 PyObject *resultobj;
093d3ff1
RD
3815 bool arg1 = (bool) true ;
3816 long result;
d14a1e28
RD
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
093d3ff1 3819 (char *) "resetTimer", NULL
d14a1e28
RD
3820 };
3821
093d3ff1
RD
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3823 if (obj0) {
3824 {
3825 arg1 = (bool)(SWIG_As_bool(obj0));
3826 if (SWIG_arg_fail(1)) SWIG_fail;
3827 }
d14a1e28
RD
3828 }
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3831 result = (long)wxGetElapsedTime(arg1);
d14a1e28
RD
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 {
093d3ff1 3837 resultobj = SWIG_From_long((long)(result));
d14a1e28
RD
3838 }
3839 return resultobj;
3840 fail:
093d3ff1
RD
3841 return NULL;
3842}
3843
3844
3845static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 int *arg1 = (int *) 0 ;
3848 int *arg2 = (int *) 0 ;
3849 int temp1 ;
3850 int res1 = 0 ;
3851 int temp2 ;
3852 int res2 = 0 ;
3853 char *kwnames[] = {
3854 NULL
3855 };
3856
3857 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3858 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
d14a1e28 3860 {
093d3ff1
RD
3861 if (!wxPyCheckForApp()) SWIG_fail;
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 wxGetMousePosition(arg1,arg2);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 3867 }
093d3ff1
RD
3868 Py_INCREF(Py_None); resultobj = Py_None;
3869 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3870 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3871 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3872 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3873 return resultobj;
3874 fail:
d14a1e28
RD
3875 return NULL;
3876}
3877
3878
093d3ff1 3879static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3880 PyObject *resultobj;
093d3ff1 3881 bool result;
d14a1e28
RD
3882 char *kwnames[] = {
3883 NULL
3884 };
3885
093d3ff1 3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d14a1e28
RD
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3889 result = (bool)wxIsBusy();
d14a1e28
RD
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 {
093d3ff1 3895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3896 }
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
093d3ff1 3903static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3904 PyObject *resultobj;
3905 wxString result;
3906 char *kwnames[] = {
3907 NULL
3908 };
3909
093d3ff1 3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d14a1e28
RD
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3913 result = wxNow();
d14a1e28
RD
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919#if wxUSE_UNICODE
3920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3921#else
3922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3923#endif
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
093d3ff1 3931static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3932 PyObject *resultobj;
093d3ff1
RD
3933 wxString const &arg1_defvalue = wxPyEmptyString ;
3934 wxString *arg1 = (wxString *) &arg1_defvalue ;
3935 bool result;
3936 bool temp1 = false ;
3937 PyObject * obj0 = 0 ;
d14a1e28 3938 char *kwnames[] = {
093d3ff1 3939 (char *) "command", NULL
d14a1e28
RD
3940 };
3941
093d3ff1
RD
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
3943 if (obj0) {
3944 {
3945 arg1 = wxString_in_helper(obj0);
3946 if (arg1 == NULL) SWIG_fail;
3947 temp1 = true;
3948 }
3949 }
d14a1e28
RD
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3952 result = (bool)wxShell((wxString const &)*arg1);
d14a1e28
RD
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 {
093d3ff1
RD
3958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3959 }
3960 {
3961 if (temp1)
3962 delete arg1;
d14a1e28
RD
3963 }
3964 return resultobj;
3965 fail:
093d3ff1
RD
3966 {
3967 if (temp1)
3968 delete arg1;
3969 }
d14a1e28
RD
3970 return NULL;
3971}
3972
3973
093d3ff1 3974static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 3975 PyObject *resultobj;
d14a1e28
RD
3976 char *kwnames[] = {
3977 NULL
3978 };
3979
093d3ff1 3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d14a1e28
RD
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1
RD
3983 wxStartTimer();
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 Py_INCREF(Py_None); resultobj = Py_None;
3989 return resultobj;
3990 fail:
3991 return NULL;
3992}
3993
3994
3995static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
3996 PyObject *resultobj;
3997 int *arg1 = (int *) 0 ;
3998 int *arg2 = (int *) 0 ;
3999 int result;
4000 int temp1 ;
4001 int res1 = 0 ;
4002 int temp2 ;
4003 int res2 = 0 ;
4004 char *kwnames[] = {
4005 NULL
4006 };
4007
4008 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4009 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (int)wxGetOsVersion(arg1,arg2);
d14a1e28
RD
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 {
093d3ff1 4019 resultobj = SWIG_From_int((int)(result));
d14a1e28 4020 }
093d3ff1
RD
4021 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4022 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4023 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4024 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
093d3ff1 4031static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4032 PyObject *resultobj;
4033 wxString result;
4034 char *kwnames[] = {
4035 NULL
4036 };
4037
093d3ff1 4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d14a1e28
RD
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4041 result = wxGetOsDescription();
d14a1e28
RD
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 {
4047#if wxUSE_UNICODE
4048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4049#else
4050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4051#endif
4052 }
4053 return resultobj;
4054 fail:
4055 return NULL;
4056}
4057
4058
093d3ff1 4059static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4060 PyObject *resultobj;
093d3ff1 4061 long result;
d14a1e28
RD
4062 char *kwnames[] = {
4063 NULL
4064 };
4065
093d3ff1 4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d14a1e28
RD
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4069 result = (long)wxGetFreeMemory();
d14a1e28
RD
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
093d3ff1 4075 resultobj = SWIG_From_long((long)(result));
d14a1e28
RD
4076 }
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
093d3ff1 4083static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4084 PyObject *resultobj;
093d3ff1
RD
4085 wxShutdownFlags arg1 ;
4086 bool result;
d14a1e28
RD
4087 PyObject * obj0 = 0 ;
4088 char *kwnames[] = {
093d3ff1 4089 (char *) "wFlags", NULL
d14a1e28
RD
4090 };
4091
093d3ff1
RD
4092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4093 {
4094 arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
4095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4096 }
4097 {
093d3ff1 4098 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4100 result = (bool)wxShutdown((wxShutdownFlags )arg1);
d14a1e28
RD
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 {
093d3ff1 4106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4107 }
4108 return resultobj;
4109 fail:
093d3ff1
RD
4110 return NULL;
4111}
4112
4113
4114static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 int arg1 ;
4117 PyObject * obj0 = 0 ;
4118 char *kwnames[] = {
4119 (char *) "secs", NULL
4120 };
4121
4122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
d14a1e28 4123 {
093d3ff1
RD
4124 arg1 = (int)(SWIG_As_int(obj0));
4125 if (SWIG_arg_fail(1)) SWIG_fail;
4126 }
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 wxSleep(arg1);
4130
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4133 }
093d3ff1
RD
4134 Py_INCREF(Py_None); resultobj = Py_None;
4135 return resultobj;
4136 fail:
d14a1e28
RD
4137 return NULL;
4138}
4139
4140
093d3ff1 4141static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4142 PyObject *resultobj;
093d3ff1
RD
4143 unsigned long arg1 ;
4144 PyObject * obj0 = 0 ;
d14a1e28 4145 char *kwnames[] = {
093d3ff1 4146 (char *) "milliseconds", NULL
d14a1e28
RD
4147 };
4148
093d3ff1
RD
4149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4150 {
4151 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4152 if (SWIG_arg_fail(1)) SWIG_fail;
4153 }
d14a1e28
RD
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4156 wxMilliSleep(arg1);
d14a1e28
RD
4157
4158 wxPyEndAllowThreads(__tstate);
4159 if (PyErr_Occurred()) SWIG_fail;
4160 }
093d3ff1 4161 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4162 return resultobj;
4163 fail:
4164 return NULL;
4165}
4166
4167
093d3ff1 4168static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4169 PyObject *resultobj;
093d3ff1
RD
4170 unsigned long arg1 ;
4171 PyObject * obj0 = 0 ;
d14a1e28 4172 char *kwnames[] = {
093d3ff1 4173 (char *) "microseconds", NULL
d14a1e28
RD
4174 };
4175
093d3ff1
RD
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4177 {
4178 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4179 if (SWIG_arg_fail(1)) SWIG_fail;
4180 }
d14a1e28
RD
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4183 wxMicroSleep(arg1);
d14a1e28
RD
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 Py_INCREF(Py_None); resultobj = Py_None;
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
093d3ff1 4195static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4196 PyObject *resultobj;
093d3ff1 4197 bool arg1 ;
d14a1e28 4198 PyObject * obj0 = 0 ;
d14a1e28 4199 char *kwnames[] = {
093d3ff1 4200 (char *) "enable", NULL
d14a1e28
RD
4201 };
4202
093d3ff1
RD
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
4204 {
4205 arg1 = (bool)(SWIG_As_bool(obj0));
4206 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 4207 }
d14a1e28
RD
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4210 wxEnableTopLevelWindows(arg1);
d14a1e28
RD
4211
4212 wxPyEndAllowThreads(__tstate);
110da5b0 4213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4214 }
093d3ff1 4215 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
4216 return resultobj;
4217 fail:
d14a1e28
RD
4218 return NULL;
4219}
4220
4221
093d3ff1 4222static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4223 PyObject *resultobj;
4224 wxString *arg1 = 0 ;
d14a1e28 4225 wxString result;
ae8162c8 4226 bool temp1 = false ;
d14a1e28 4227 PyObject * obj0 = 0 ;
d14a1e28 4228 char *kwnames[] = {
093d3ff1 4229 (char *) "in", NULL
d14a1e28
RD
4230 };
4231
093d3ff1 4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d14a1e28
RD
4233 {
4234 arg1 = wxString_in_helper(obj0);
4235 if (arg1 == NULL) SWIG_fail;
ae8162c8 4236 temp1 = true;
d14a1e28
RD
4237 }
4238 {
d14a1e28 4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4240 result = wxStripMenuCodes((wxString const &)*arg1);
d14a1e28
RD
4241
4242 wxPyEndAllowThreads(__tstate);
110da5b0 4243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4244 }
4245 {
4246#if wxUSE_UNICODE
4247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4248#else
4249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4250#endif
4251 }
4252 {
4253 if (temp1)
4254 delete arg1;
4255 }
d14a1e28
RD
4256 return resultobj;
4257 fail:
4258 {
4259 if (temp1)
4260 delete arg1;
4261 }
d14a1e28
RD
4262 return NULL;
4263}
4264
4265
093d3ff1 4266static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4267 PyObject *resultobj;
d14a1e28 4268 wxString result;
d14a1e28 4269 char *kwnames[] = {
093d3ff1 4270 NULL
d14a1e28
RD
4271 };
4272
093d3ff1 4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d14a1e28
RD
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4276 result = wxGetEmailAddress();
d14a1e28
RD
4277
4278 wxPyEndAllowThreads(__tstate);
110da5b0 4279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4280 }
4281 {
4282#if wxUSE_UNICODE
4283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4284#else
4285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4286#endif
4287 }
d14a1e28
RD
4288 return resultobj;
4289 fail:
d14a1e28
RD
4290 return NULL;
4291}
4292
4293
093d3ff1 4294static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4295 PyObject *resultobj;
d14a1e28 4296 wxString result;
d14a1e28 4297 char *kwnames[] = {
093d3ff1 4298 NULL
d14a1e28
RD
4299 };
4300
093d3ff1 4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d14a1e28
RD
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4304 result = wxGetHostName();
d14a1e28
RD
4305
4306 wxPyEndAllowThreads(__tstate);
110da5b0 4307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4308 }
4309 {
4310#if wxUSE_UNICODE
4311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4312#else
4313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4314#endif
4315 }
d14a1e28
RD
4316 return resultobj;
4317 fail:
d14a1e28
RD
4318 return NULL;
4319}
4320
4321
093d3ff1 4322static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4323 PyObject *resultobj;
d14a1e28 4324 wxString result;
d14a1e28 4325 char *kwnames[] = {
093d3ff1 4326 NULL
d14a1e28
RD
4327 };
4328
093d3ff1 4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
d14a1e28 4330 {
093d3ff1
RD
4331 PyThreadState* __tstate = wxPyBeginAllowThreads();
4332 result = wxGetFullHostName();
4333
4334 wxPyEndAllowThreads(__tstate);
15afbcd0 4335 if (PyErr_Occurred()) SWIG_fail;
994141e6 4336 }
093d3ff1
RD
4337 {
4338#if wxUSE_UNICODE
4339 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4340#else
4341 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4342#endif
d14a1e28 4343 }
093d3ff1
RD
4344 return resultobj;
4345 fail:
4346 return NULL;
4347}
4348
4349
4350static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
4351 PyObject *resultobj;
4352 wxString result;
4353 char *kwnames[] = {
4354 NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
d14a1e28
RD
4358 {
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4360 result = wxGetUserId();
d14a1e28
RD
4361
4362 wxPyEndAllowThreads(__tstate);
110da5b0 4363 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4364 }
4365 {
4366#if wxUSE_UNICODE
4367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4368#else
4369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4370#endif
4371 }
093d3ff1
RD
4372 return resultobj;
4373 fail:
4374 return NULL;
4375}
4376
4377
4378static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
4379 PyObject *resultobj;
4380 wxString result;
4381 char *kwnames[] = {
4382 NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
d14a1e28 4386 {
093d3ff1
RD
4387 PyThreadState* __tstate = wxPyBeginAllowThreads();
4388 result = wxGetUserName();
4389
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4392 }
4393 {
093d3ff1
RD
4394#if wxUSE_UNICODE
4395 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4396#else
4397 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4398#endif
d14a1e28
RD
4399 }
4400 return resultobj;
4401 fail:
093d3ff1
RD
4402 return NULL;
4403}
4404
4405
4406static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxString result;
4409 char *kwnames[] = {
4410 NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
d14a1e28 4414 {
093d3ff1
RD
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = wxGetHomeDir();
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4420 }
4421 {
093d3ff1
RD
4422#if wxUSE_UNICODE
4423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4424#else
4425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4426#endif
d14a1e28 4427 }
093d3ff1
RD
4428 return resultobj;
4429 fail:
d14a1e28
RD
4430 return NULL;
4431}
4432
4433
093d3ff1 4434static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4435 PyObject *resultobj;
093d3ff1
RD
4436 wxString const &arg1_defvalue = wxPyEmptyString ;
4437 wxString *arg1 = (wxString *) &arg1_defvalue ;
d14a1e28 4438 wxString result;
ae8162c8 4439 bool temp1 = false ;
d14a1e28 4440 PyObject * obj0 = 0 ;
d14a1e28 4441 char *kwnames[] = {
093d3ff1 4442 (char *) "user", NULL
d14a1e28
RD
4443 };
4444
093d3ff1
RD
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
4446 if (obj0) {
d14a1e28 4447 {
093d3ff1
RD
4448 arg1 = wxString_in_helper(obj0);
4449 if (arg1 == NULL) SWIG_fail;
4450 temp1 = true;
d14a1e28
RD
4451 }
4452 }
d14a1e28
RD
4453 {
4454 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4455 result = wxGetUserHome((wxString const &)*arg1);
d14a1e28
RD
4456
4457 wxPyEndAllowThreads(__tstate);
110da5b0 4458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4459 }
4460 {
4461#if wxUSE_UNICODE
4462 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4463#else
4464 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4465#endif
4466 }
4467 {
4468 if (temp1)
4469 delete arg1;
4470 }
d14a1e28
RD
4471 return resultobj;
4472 fail:
4473 {
4474 if (temp1)
4475 delete arg1;
4476 }
d14a1e28
RD
4477 return NULL;
4478}
4479
4480
093d3ff1 4481static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 4482 PyObject *resultobj;
093d3ff1
RD
4483 unsigned long result;
4484 char *kwnames[] = {
4485 NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4489 {
4490 PyThreadState* __tstate = wxPyBeginAllowThreads();
4491 result = (unsigned long)wxGetProcessId();
4492
4493 wxPyEndAllowThreads(__tstate);
4494 if (PyErr_Occurred()) SWIG_fail;
4495 }
4496 {
4497 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4498 }
4499 return resultobj;
4500 fail:
4501 return NULL;
4502}
4503
4504
4505static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
4506 PyObject *resultobj;
4507 char *kwnames[] = {
4508 NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 wxTrap();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 Py_INCREF(Py_None); resultobj = Py_None;
4520 return resultobj;
4521 fail:
4522 return NULL;
4523}
4524
4525
4526static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4529 wxString *arg1 = (wxString *) &arg1_defvalue ;
4530 wxString const &arg2_defvalue = wxPyEmptyString ;
4531 wxString *arg2 = (wxString *) &arg2_defvalue ;
4532 wxString const &arg3_defvalue = wxPyEmptyString ;
4533 wxString *arg3 = (wxString *) &arg3_defvalue ;
4534 wxString const &arg4_defvalue = wxPyEmptyString ;
4535 wxString *arg4 = (wxString *) &arg4_defvalue ;
4536 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4537 wxString *arg5 = (wxString *) &arg5_defvalue ;
4538 int arg6 = (int) 0 ;
4539 wxWindow *arg7 = (wxWindow *) NULL ;
4540 int arg8 = (int) -1 ;
4541 int arg9 = (int) -1 ;
d14a1e28 4542 wxString result;
ae8162c8
RD
4543 bool temp1 = false ;
4544 bool temp2 = false ;
093d3ff1
RD
4545 bool temp3 = false ;
4546 bool temp4 = false ;
4547 bool temp5 = false ;
d14a1e28
RD
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 PyObject * obj2 = 0 ;
4551 PyObject * obj3 = 0 ;
994141e6
RD
4552 PyObject * obj4 = 0 ;
4553 PyObject * obj5 = 0 ;
d14a1e28 4554 PyObject * obj6 = 0 ;
994141e6
RD
4555 PyObject * obj7 = 0 ;
4556 PyObject * obj8 = 0 ;
d14a1e28 4557 char *kwnames[] = {
093d3ff1 4558 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d14a1e28
RD
4559 };
4560
093d3ff1
RD
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4562 if (obj0) {
4563 {
4564 arg1 = wxString_in_helper(obj0);
4565 if (arg1 == NULL) SWIG_fail;
4566 temp1 = true;
4567 }
d14a1e28 4568 }
093d3ff1
RD
4569 if (obj1) {
4570 {
4571 arg2 = wxString_in_helper(obj1);
4572 if (arg2 == NULL) SWIG_fail;
4573 temp2 = true;
4574 }
d14a1e28 4575 }
093d3ff1
RD
4576 if (obj2) {
4577 {
4578 arg3 = wxString_in_helper(obj2);
4579 if (arg3 == NULL) SWIG_fail;
4580 temp3 = true;
4581 }
d14a1e28
RD
4582 }
4583 if (obj3) {
093d3ff1
RD
4584 {
4585 arg4 = wxString_in_helper(obj3);
4586 if (arg4 == NULL) SWIG_fail;
4587 temp4 = true;
4588 }
d14a1e28 4589 }
994141e6 4590 if (obj4) {
093d3ff1
RD
4591 {
4592 arg5 = wxString_in_helper(obj4);
4593 if (arg5 == NULL) SWIG_fail;
4594 temp5 = true;
4595 }
994141e6
RD
4596 }
4597 if (obj5) {
093d3ff1
RD
4598 {
4599 arg6 = (int)(SWIG_As_int(obj5));
4600 if (SWIG_arg_fail(6)) SWIG_fail;
4601 }
994141e6 4602 }
d14a1e28 4603 if (obj6) {
093d3ff1
RD
4604 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4605 if (SWIG_arg_fail(7)) SWIG_fail;
994141e6
RD
4606 }
4607 if (obj7) {
093d3ff1
RD
4608 {
4609 arg8 = (int)(SWIG_As_int(obj7));
4610 if (SWIG_arg_fail(8)) SWIG_fail;
4611 }
994141e6
RD
4612 }
4613 if (obj8) {
093d3ff1
RD
4614 {
4615 arg9 = (int)(SWIG_As_int(obj8));
4616 if (SWIG_arg_fail(9)) SWIG_fail;
4617 }
d14a1e28
RD
4618 }
4619 {
e3b71cb8 4620 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4622 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d14a1e28
RD
4623
4624 wxPyEndAllowThreads(__tstate);
110da5b0 4625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4626 }
4627 {
4628#if wxUSE_UNICODE
4629 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4630#else
4631 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4632#endif
4633 }
4634 {
4635 if (temp1)
4636 delete arg1;
4637 }
4638 {
4639 if (temp2)
4640 delete arg2;
4641 }
4642 {
093d3ff1
RD
4643 if (temp3)
4644 delete arg3;
4645 }
4646 {
4647 if (temp4)
4648 delete arg4;
4649 }
4650 {
4651 if (temp5)
4652 delete arg5;
d14a1e28
RD
4653 }
4654 return resultobj;
4655 fail:
4656 {
4657 if (temp1)
4658 delete arg1;
4659 }
4660 {
4661 if (temp2)
4662 delete arg2;
4663 }
4664 {
093d3ff1
RD
4665 if (temp3)
4666 delete arg3;
4667 }
4668 {
4669 if (temp4)
4670 delete arg4;
4671 }
4672 {
4673 if (temp5)
4674 delete arg5;
d14a1e28
RD
4675 }
4676 return NULL;
4677}
4678
4679
093d3ff1 4680static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4681 PyObject *resultobj;
4682 wxString *arg1 = 0 ;
4683 wxString *arg2 = 0 ;
093d3ff1
RD
4684 wxString const &arg3_defvalue = wxPyEmptyString ;
4685 wxString *arg3 = (wxString *) &arg3_defvalue ;
4686 wxWindow *arg4 = (wxWindow *) NULL ;
4687 wxString result;
ae8162c8
RD
4688 bool temp1 = false ;
4689 bool temp2 = false ;
093d3ff1 4690 bool temp3 = false ;
d14a1e28
RD
4691 PyObject * obj0 = 0 ;
4692 PyObject * obj1 = 0 ;
4693 PyObject * obj2 = 0 ;
4694 PyObject * obj3 = 0 ;
d14a1e28 4695 char *kwnames[] = {
093d3ff1 4696 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d14a1e28
RD
4697 };
4698
093d3ff1 4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
4700 {
4701 arg1 = wxString_in_helper(obj0);
4702 if (arg1 == NULL) SWIG_fail;
ae8162c8 4703 temp1 = true;
d14a1e28
RD
4704 }
4705 {
4706 arg2 = wxString_in_helper(obj1);
4707 if (arg2 == NULL) SWIG_fail;
ae8162c8 4708 temp2 = true;
d14a1e28 4709 }
093d3ff1
RD
4710 if (obj2) {
4711 {
4712 arg3 = wxString_in_helper(obj2);
4713 if (arg3 == NULL) SWIG_fail;
4714 temp3 = true;
4715 }
d14a1e28
RD
4716 }
4717 if (obj3) {
093d3ff1
RD
4718 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4719 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
4720 }
4721 {
e3b71cb8 4722 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4724 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d14a1e28
RD
4725
4726 wxPyEndAllowThreads(__tstate);
110da5b0 4727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4728 }
093d3ff1
RD
4729 {
4730#if wxUSE_UNICODE
4731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4732#else
4733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4734#endif
4735 }
d14a1e28
RD
4736 {
4737 if (temp1)
4738 delete arg1;
4739 }
4740 {
4741 if (temp2)
4742 delete arg2;
4743 }
4744 {
093d3ff1
RD
4745 if (temp3)
4746 delete arg3;
d14a1e28
RD
4747 }
4748 return resultobj;
4749 fail:
4750 {
4751 if (temp1)
4752 delete arg1;
4753 }
4754 {
4755 if (temp2)
4756 delete arg2;
4757 }
4758 {
093d3ff1
RD
4759 if (temp3)
4760 delete arg3;
d14a1e28
RD
4761 }
4762 return NULL;
4763}
4764
4765
093d3ff1 4766static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4767 PyObject *resultobj;
4768 wxString *arg1 = 0 ;
093d3ff1
RD
4769 wxString *arg2 = 0 ;
4770 wxString const &arg3_defvalue = wxPyEmptyString ;
4771 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28 4772 wxWindow *arg4 = (wxWindow *) NULL ;
093d3ff1 4773 wxString result;
ae8162c8
RD
4774 bool temp1 = false ;
4775 bool temp2 = false ;
093d3ff1 4776 bool temp3 = false ;
d14a1e28
RD
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
994141e6 4779 PyObject * obj2 = 0 ;
d14a1e28
RD
4780 PyObject * obj3 = 0 ;
4781 char *kwnames[] = {
093d3ff1 4782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d14a1e28
RD
4783 };
4784
093d3ff1 4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
4786 {
4787 arg1 = wxString_in_helper(obj0);
4788 if (arg1 == NULL) SWIG_fail;
ae8162c8 4789 temp1 = true;
d14a1e28 4790 }
093d3ff1
RD
4791 {
4792 arg2 = wxString_in_helper(obj1);
4793 if (arg2 == NULL) SWIG_fail;
4794 temp2 = true;
d14a1e28 4795 }
994141e6 4796 if (obj2) {
093d3ff1
RD
4797 {
4798 arg3 = wxString_in_helper(obj2);
4799 if (arg3 == NULL) SWIG_fail;
4800 temp3 = true;
4801 }
994141e6 4802 }
d14a1e28 4803 if (obj3) {
093d3ff1
RD
4804 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4805 if (SWIG_arg_fail(4)) SWIG_fail;
994141e6 4806 }
d14a1e28 4807 {
e3b71cb8 4808 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 4809 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4810 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d14a1e28
RD
4811
4812 wxPyEndAllowThreads(__tstate);
110da5b0 4813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4814 }
d14a1e28 4815 {
093d3ff1
RD
4816#if wxUSE_UNICODE
4817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4818#else
4819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4820#endif
4821 }
4822 {
4823 if (temp1)
d14a1e28
RD
4824 delete arg1;
4825 }
4826 {
4827 if (temp2)
4828 delete arg2;
4829 }
093d3ff1
RD
4830 {
4831 if (temp3)
4832 delete arg3;
4833 }
d14a1e28
RD
4834 return resultobj;
4835 fail:
4836 {
4837 if (temp1)
4838 delete arg1;
4839 }
4840 {
4841 if (temp2)
4842 delete arg2;
4843 }
093d3ff1
RD
4844 {
4845 if (temp3)
4846 delete arg3;
4847 }
d14a1e28
RD
4848 return NULL;
4849}
4850
4851
093d3ff1
RD
4852static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4853 PyObject *resultobj;
4854 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4855 wxString *arg1 = (wxString *) &arg1_defvalue ;
4856 wxString const &arg2_defvalue = wxPyEmptyString ;
4857 wxString *arg2 = (wxString *) &arg2_defvalue ;
4858 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4859 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4860 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4861 wxWindow *arg5 = (wxWindow *) NULL ;
4862 wxString result;
4863 bool temp1 = false ;
4864 bool temp2 = false ;
4865 wxPoint temp4 ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 PyObject * obj2 = 0 ;
4869 PyObject * obj3 = 0 ;
4870 PyObject * obj4 = 0 ;
4871 char *kwnames[] = {
4872 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4873 };
4874
4875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4876 if (obj0) {
4877 {
4878 arg1 = wxString_in_helper(obj0);
4879 if (arg1 == NULL) SWIG_fail;
4880 temp1 = true;
4881 }
4882 }
4883 if (obj1) {
4884 {
4885 arg2 = wxString_in_helper(obj1);
4886 if (arg2 == NULL) SWIG_fail;
4887 temp2 = true;
4888 }
4889 }
4890 if (obj2) {
4891 {
4892 arg3 = (long)(SWIG_As_long(obj2));
4893 if (SWIG_arg_fail(3)) SWIG_fail;
4894 }
4895 }
4896 if (obj3) {
4897 {
4898 arg4 = &temp4;
4899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4900 }
4901 }
4902 if (obj4) {
4903 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4904 if (SWIG_arg_fail(5)) SWIG_fail;
4905 }
4906 {
4907 if (!wxPyCheckForApp()) SWIG_fail;
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 {
4915#if wxUSE_UNICODE
4916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4917#else
4918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4919#endif
4920 }
4921 {
4922 if (temp1)
4923 delete arg1;
4924 }
4925 {
4926 if (temp2)
4927 delete arg2;
4928 }
4929 return resultobj;
4930 fail:
4931 {
4932 if (temp1)
4933 delete arg1;
4934 }
4935 {
4936 if (temp2)
4937 delete arg2;
4938 }
4939 return NULL;
4940}
4941
4942
4943static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4944 PyObject *resultobj;
4945 wxString *arg1 = 0 ;
093d3ff1
RD
4946 wxString const &arg2_defvalue = wxPyEmptyString ;
4947 wxString *arg2 = (wxString *) &arg2_defvalue ;
4948 wxString const &arg3_defvalue = wxPyEmptyString ;
4949 wxString *arg3 = (wxString *) &arg3_defvalue ;
4950 wxWindow *arg4 = (wxWindow *) NULL ;
4951 int arg5 = (int) -1 ;
4952 int arg6 = (int) -1 ;
4953 bool arg7 = (bool) true ;
4954 wxString result;
ae8162c8
RD
4955 bool temp1 = false ;
4956 bool temp2 = false ;
4957 bool temp3 = false ;
d14a1e28
RD
4958 PyObject * obj0 = 0 ;
4959 PyObject * obj1 = 0 ;
4960 PyObject * obj2 = 0 ;
994141e6
RD
4961 PyObject * obj3 = 0 ;
4962 PyObject * obj4 = 0 ;
4963 PyObject * obj5 = 0 ;
4964 PyObject * obj6 = 0 ;
d14a1e28 4965 char *kwnames[] = {
093d3ff1 4966 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d14a1e28
RD
4967 };
4968
093d3ff1 4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
4970 {
4971 arg1 = wxString_in_helper(obj0);
4972 if (arg1 == NULL) SWIG_fail;
ae8162c8 4973 temp1 = true;
d14a1e28 4974 }
093d3ff1
RD
4975 if (obj1) {
4976 {
4977 arg2 = wxString_in_helper(obj1);
4978 if (arg2 == NULL) SWIG_fail;
4979 temp2 = true;
4980 }
d14a1e28 4981 }
093d3ff1
RD
4982 if (obj2) {
4983 {
4984 arg3 = wxString_in_helper(obj2);
4985 if (arg3 == NULL) SWIG_fail;
4986 temp3 = true;
4987 }
4988 }
4989 if (obj3) {
4990 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4991 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 4992 }
994141e6 4993 if (obj4) {
093d3ff1
RD
4994 {
4995 arg5 = (int)(SWIG_As_int(obj4));
4996 if (SWIG_arg_fail(5)) SWIG_fail;
4997 }
994141e6
RD
4998 }
4999 if (obj5) {
093d3ff1
RD
5000 {
5001 arg6 = (int)(SWIG_As_int(obj5));
5002 if (SWIG_arg_fail(6)) SWIG_fail;
5003 }
994141e6 5004 }
d14a1e28 5005 if (obj6) {
d14a1e28 5006 {
093d3ff1
RD
5007 arg7 = (bool)(SWIG_As_bool(obj6));
5008 if (SWIG_arg_fail(7)) SWIG_fail;
d14a1e28
RD
5009 }
5010 }
5011 {
e3b71cb8 5012 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5014 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
5015
5016 wxPyEndAllowThreads(__tstate);
110da5b0 5017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5018 }
093d3ff1
RD
5019 {
5020#if wxUSE_UNICODE
5021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5022#else
5023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5024#endif
5025 }
d14a1e28
RD
5026 {
5027 if (temp1)
5028 delete arg1;
5029 }
5030 {
5031 if (temp2)
5032 delete arg2;
5033 }
5034 {
5035 if (temp3)
5036 delete arg3;
5037 }
5038 return resultobj;
5039 fail:
5040 {
5041 if (temp1)
5042 delete arg1;
5043 }
5044 {
5045 if (temp2)
5046 delete arg2;
5047 }
5048 {
5049 if (temp3)
5050 delete arg3;
5051 }
5052 return NULL;
5053}
5054
5055
093d3ff1 5056static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5057 PyObject *resultobj;
093d3ff1
RD
5058 wxString *arg1 = 0 ;
5059 wxString const &arg2_defvalue = wxPyEmptyString ;
5060 wxString *arg2 = (wxString *) &arg2_defvalue ;
5061 wxString const &arg3_defvalue = wxPyEmptyString ;
5062 wxString *arg3 = (wxString *) &arg3_defvalue ;
5063 wxWindow *arg4 = (wxWindow *) NULL ;
5064 wxString result;
5065 bool temp1 = false ;
5066 bool temp2 = false ;
5067 bool temp3 = false ;
5068 PyObject * obj0 = 0 ;
5069 PyObject * obj1 = 0 ;
5070 PyObject * obj2 = 0 ;
5071 PyObject * obj3 = 0 ;
d14a1e28 5072 char *kwnames[] = {
093d3ff1 5073 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d14a1e28
RD
5074 };
5075
093d3ff1
RD
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5077 {
5078 arg1 = wxString_in_helper(obj0);
5079 if (arg1 == NULL) SWIG_fail;
5080 temp1 = true;
5081 }
5082 if (obj1) {
5083 {
5084 arg2 = wxString_in_helper(obj1);
5085 if (arg2 == NULL) SWIG_fail;
5086 temp2 = true;
5087 }
5088 }
5089 if (obj2) {
5090 {
5091 arg3 = wxString_in_helper(obj2);
5092 if (arg3 == NULL) SWIG_fail;
5093 temp3 = true;
5094 }
5095 }
5096 if (obj3) {
5097 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5098 if (SWIG_arg_fail(4)) SWIG_fail;
5099 }
d14a1e28 5100 {
e3b71cb8 5101 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5103 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d14a1e28
RD
5104
5105 wxPyEndAllowThreads(__tstate);
110da5b0 5106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5107 }
4f89f6a3 5108 {
093d3ff1
RD
5109#if wxUSE_UNICODE
5110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5111#else
5112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5113#endif
5114 }
5115 {
5116 if (temp1)
5117 delete arg1;
5118 }
5119 {
5120 if (temp2)
5121 delete arg2;
5122 }
5123 {
5124 if (temp3)
5125 delete arg3;
4f89f6a3 5126 }
d14a1e28
RD
5127 return resultobj;
5128 fail:
093d3ff1
RD
5129 {
5130 if (temp1)
5131 delete arg1;
5132 }
5133 {
5134 if (temp2)
5135 delete arg2;
5136 }
5137 {
5138 if (temp3)
5139 delete arg3;
5140 }
d14a1e28
RD
5141 return NULL;
5142}
5143
5144
093d3ff1 5145static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5146 PyObject *resultobj;
093d3ff1
RD
5147 wxString *arg1 = 0 ;
5148 wxString *arg2 = 0 ;
5149 int arg3 ;
5150 wxString *arg4 = (wxString *) 0 ;
5151 wxWindow *arg5 = (wxWindow *) NULL ;
5152 int arg6 = (int) -1 ;
5153 int arg7 = (int) -1 ;
5154 bool arg8 = (bool) true ;
5155 int arg9 = (int) 150 ;
5156 int arg10 = (int) 200 ;
5157 wxString result;
5158 bool temp1 = false ;
5159 bool temp2 = false ;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 PyObject * obj2 = 0 ;
5163 PyObject * obj3 = 0 ;
5164 PyObject * obj4 = 0 ;
5165 PyObject * obj5 = 0 ;
5166 PyObject * obj6 = 0 ;
5167 PyObject * obj7 = 0 ;
5168 PyObject * obj8 = 0 ;
d14a1e28 5169 char *kwnames[] = {
093d3ff1 5170 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d14a1e28
RD
5171 };
5172
093d3ff1 5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d14a1e28 5174 {
093d3ff1
RD
5175 arg1 = wxString_in_helper(obj0);
5176 if (arg1 == NULL) SWIG_fail;
5177 temp1 = true;
5178 }
5179 {
5180 arg2 = wxString_in_helper(obj1);
5181 if (arg2 == NULL) SWIG_fail;
5182 temp2 = true;
5183 }
5184 {
5185 arg3 = PyList_Size(obj2);
5186 arg4 = wxString_LIST_helper(obj2);
5187 if (arg4 == NULL) SWIG_fail;
5188 }
5189 if (obj3) {
5190 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5191 if (SWIG_arg_fail(5)) SWIG_fail;
5192 }
5193 if (obj4) {
5194 {
5195 arg6 = (int)(SWIG_As_int(obj4));
5196 if (SWIG_arg_fail(6)) SWIG_fail;
5197 }
5198 }
5199 if (obj5) {
5200 {
5201 arg7 = (int)(SWIG_As_int(obj5));
5202 if (SWIG_arg_fail(7)) SWIG_fail;
5203 }
5204 }
5205 if (obj6) {
5206 {
5207 arg8 = (bool)(SWIG_As_bool(obj6));
5208 if (SWIG_arg_fail(8)) SWIG_fail;
5209 }
5210 }
5211 if (obj7) {
5212 {
5213 arg9 = (int)(SWIG_As_int(obj7));
5214 if (SWIG_arg_fail(9)) SWIG_fail;
5215 }
5216 }
5217 if (obj8) {
5218 {
5219 arg10 = (int)(SWIG_As_int(obj8));
5220 if (SWIG_arg_fail(10)) SWIG_fail;
5221 }
d14a1e28 5222 }
d14a1e28 5223 {
e3b71cb8 5224 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5226 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d14a1e28
RD
5227
5228 wxPyEndAllowThreads(__tstate);
110da5b0 5229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5230 }
093d3ff1
RD
5231 {
5232#if wxUSE_UNICODE
5233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5234#else
5235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5236#endif
5237 }
5238 {
5239 if (temp1)
5240 delete arg1;
5241 }
5242 {
5243 if (temp2)
5244 delete arg2;
5245 }
5246 {
5247 if (arg4) delete [] arg4;
5248 }
d14a1e28
RD
5249 return resultobj;
5250 fail:
093d3ff1
RD
5251 {
5252 if (temp1)
5253 delete arg1;
5254 }
5255 {
5256 if (temp2)
5257 delete arg2;
5258 }
5259 {
5260 if (arg4) delete [] arg4;
5261 }
d14a1e28
RD
5262 return NULL;
5263}
5264
5265
093d3ff1 5266static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5267 PyObject *resultobj;
093d3ff1
RD
5268 wxString *arg1 = 0 ;
5269 wxString *arg2 = 0 ;
5270 int arg3 ;
5271 wxString *arg4 = (wxString *) 0 ;
5272 wxWindow *arg5 = (wxWindow *) NULL ;
5273 int arg6 = (int) -1 ;
5274 int arg7 = (int) -1 ;
5275 bool arg8 = (bool) true ;
5276 int arg9 = (int) 150 ;
5277 int arg10 = (int) 200 ;
5278 int result;
5279 bool temp1 = false ;
5280 bool temp2 = false ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 PyObject * obj2 = 0 ;
5284 PyObject * obj3 = 0 ;
5285 PyObject * obj4 = 0 ;
5286 PyObject * obj5 = 0 ;
5287 PyObject * obj6 = 0 ;
5288 PyObject * obj7 = 0 ;
5289 PyObject * obj8 = 0 ;
d14a1e28 5290 char *kwnames[] = {
093d3ff1 5291 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d14a1e28
RD
5292 };
5293
093d3ff1
RD
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5295 {
5296 arg1 = wxString_in_helper(obj0);
5297 if (arg1 == NULL) SWIG_fail;
5298 temp1 = true;
5299 }
5300 {
5301 arg2 = wxString_in_helper(obj1);
5302 if (arg2 == NULL) SWIG_fail;
5303 temp2 = true;
5304 }
5305 {
5306 arg3 = PyList_Size(obj2);
5307 arg4 = wxString_LIST_helper(obj2);
5308 if (arg4 == NULL) SWIG_fail;
5309 }
5310 if (obj3) {
5311 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(5)) SWIG_fail;
5313 }
5314 if (obj4) {
5315 {
5316 arg6 = (int)(SWIG_As_int(obj4));
5317 if (SWIG_arg_fail(6)) SWIG_fail;
5318 }
5319 }
5320 if (obj5) {
5321 {
5322 arg7 = (int)(SWIG_As_int(obj5));
5323 if (SWIG_arg_fail(7)) SWIG_fail;
5324 }
5325 }
5326 if (obj6) {
5327 {
5328 arg8 = (bool)(SWIG_As_bool(obj6));
5329 if (SWIG_arg_fail(8)) SWIG_fail;
5330 }
5331 }
5332 if (obj7) {
5333 {
5334 arg9 = (int)(SWIG_As_int(obj7));
5335 if (SWIG_arg_fail(9)) SWIG_fail;
5336 }
5337 }
5338 if (obj8) {
5339 {
5340 arg10 = (int)(SWIG_As_int(obj8));
5341 if (SWIG_arg_fail(10)) SWIG_fail;
5342 }
5343 }
d14a1e28 5344 {
e3b71cb8 5345 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5347 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d14a1e28
RD
5348
5349 wxPyEndAllowThreads(__tstate);
110da5b0 5350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5351 }
5352 {
093d3ff1
RD
5353 resultobj = SWIG_From_int((int)(result));
5354 }
5355 {
5356 if (temp1)
5357 delete arg1;
5358 }
5359 {
5360 if (temp2)
5361 delete arg2;
5362 }
5363 {
5364 if (arg4) delete [] arg4;
d14a1e28
RD
5365 }
5366 return resultobj;
5367 fail:
093d3ff1
RD
5368 {
5369 if (temp1)
5370 delete arg1;
5371 }
5372 {
5373 if (temp2)
5374 delete arg2;
5375 }
5376 {
5377 if (arg4) delete [] arg4;
5378 }
d14a1e28
RD
5379 return NULL;
5380}
5381
5382
093d3ff1 5383static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5384 PyObject *resultobj;
093d3ff1
RD
5385 wxString *arg1 = 0 ;
5386 wxString const &arg2_defvalue = wxPyEmptyString ;
5387 wxString *arg2 = (wxString *) &arg2_defvalue ;
5388 int arg3 = (int) wxOK|wxCENTRE ;
5389 wxWindow *arg4 = (wxWindow *) NULL ;
5390 int arg5 = (int) -1 ;
5391 int arg6 = (int) -1 ;
5392 int result;
5393 bool temp1 = false ;
5394 bool temp2 = false ;
5395 PyObject * obj0 = 0 ;
5396 PyObject * obj1 = 0 ;
5397 PyObject * obj2 = 0 ;
5398 PyObject * obj3 = 0 ;
5399 PyObject * obj4 = 0 ;
5400 PyObject * obj5 = 0 ;
d14a1e28 5401 char *kwnames[] = {
093d3ff1 5402 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d14a1e28
RD
5403 };
5404
093d3ff1
RD
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5406 {
5407 arg1 = wxString_in_helper(obj0);
5408 if (arg1 == NULL) SWIG_fail;
5409 temp1 = true;
5410 }
5411 if (obj1) {
5412 {
5413 arg2 = wxString_in_helper(obj1);
5414 if (arg2 == NULL) SWIG_fail;
5415 temp2 = true;
5416 }
5417 }
5418 if (obj2) {
5419 {
5420 arg3 = (int)(SWIG_As_int(obj2));
5421 if (SWIG_arg_fail(3)) SWIG_fail;
5422 }
5423 }
5424 if (obj3) {
5425 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5426 if (SWIG_arg_fail(4)) SWIG_fail;
5427 }
5428 if (obj4) {
5429 {
5430 arg5 = (int)(SWIG_As_int(obj4));
5431 if (SWIG_arg_fail(5)) SWIG_fail;
5432 }
5433 }
5434 if (obj5) {
5435 {
5436 arg6 = (int)(SWIG_As_int(obj5));
5437 if (SWIG_arg_fail(6)) SWIG_fail;
5438 }
5439 }
d14a1e28 5440 {
e3b71cb8 5441 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5443 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
5444
5445 wxPyEndAllowThreads(__tstate);
110da5b0 5446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5447 }
093d3ff1
RD
5448 {
5449 resultobj = SWIG_From_int((int)(result));
5450 }
5451 {
5452 if (temp1)
5453 delete arg1;
5454 }
5455 {
5456 if (temp2)
5457 delete arg2;
5458 }
d14a1e28
RD
5459 return resultobj;
5460 fail:
093d3ff1
RD
5461 {
5462 if (temp1)
5463 delete arg1;
5464 }
5465 {
5466 if (temp2)
5467 delete arg2;
5468 }
d14a1e28
RD
5469 return NULL;
5470}
5471
5472
093d3ff1 5473static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5474 PyObject *resultobj;
093d3ff1
RD
5475 wxString *arg1 = 0 ;
5476 wxString *arg2 = 0 ;
5477 wxString *arg3 = 0 ;
5478 long arg4 ;
5479 long arg5 = (long) 0 ;
5480 long arg6 = (long) 100 ;
5481 wxWindow *arg7 = (wxWindow *) NULL ;
5482 wxPoint const &arg8_defvalue = wxDefaultPosition ;
5483 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
5484 long result;
5485 bool temp1 = false ;
5486 bool temp2 = false ;
5487 bool temp3 = false ;
5488 wxPoint temp8 ;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
5492 PyObject * obj3 = 0 ;
5493 PyObject * obj4 = 0 ;
5494 PyObject * obj5 = 0 ;
5495 PyObject * obj6 = 0 ;
5496 PyObject * obj7 = 0 ;
d14a1e28 5497 char *kwnames[] = {
093d3ff1 5498 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
d14a1e28
RD
5499 };
5500
093d3ff1
RD
5501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5502 {
5503 arg1 = wxString_in_helper(obj0);
5504 if (arg1 == NULL) SWIG_fail;
5505 temp1 = true;
5506 }
5507 {
5508 arg2 = wxString_in_helper(obj1);
5509 if (arg2 == NULL) SWIG_fail;
5510 temp2 = true;
5511 }
5512 {
5513 arg3 = wxString_in_helper(obj2);
5514 if (arg3 == NULL) SWIG_fail;
5515 temp3 = true;
5516 }
5517 {
5518 arg4 = (long)(SWIG_As_long(obj3));
5519 if (SWIG_arg_fail(4)) SWIG_fail;
5520 }
5521 if (obj4) {
5522 {
5523 arg5 = (long)(SWIG_As_long(obj4));
5524 if (SWIG_arg_fail(5)) SWIG_fail;
5525 }
5526 }
5527 if (obj5) {
5528 {
5529 arg6 = (long)(SWIG_As_long(obj5));
5530 if (SWIG_arg_fail(6)) SWIG_fail;
5531 }
5532 }
5533 if (obj6) {
5534 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5535 if (SWIG_arg_fail(7)) SWIG_fail;
5536 }
5537 if (obj7) {
5538 {
5539 arg8 = &temp8;
5540 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
5541 }
5542 }
d14a1e28 5543 {
e3b71cb8 5544 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5546 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
d14a1e28
RD
5547
5548 wxPyEndAllowThreads(__tstate);
110da5b0 5549 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5550 }
5551 {
093d3ff1
RD
5552 resultobj = SWIG_From_long((long)(result));
5553 }
5554 {
5555 if (temp1)
5556 delete arg1;
5557 }
5558 {
5559 if (temp2)
5560 delete arg2;
5561 }
5562 {
5563 if (temp3)
5564 delete arg3;
d14a1e28
RD
5565 }
5566 return resultobj;
5567 fail:
093d3ff1
RD
5568 {
5569 if (temp1)
5570 delete arg1;
5571 }
5572 {
5573 if (temp2)
5574 delete arg2;
5575 }
5576 {
5577 if (temp3)
5578 delete arg3;
5579 }
d14a1e28
RD
5580 return NULL;
5581}
5582
5583
093d3ff1 5584static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5585 PyObject *resultobj;
093d3ff1 5586 bool result;
d14a1e28
RD
5587 char *kwnames[] = {
5588 NULL
5589 };
5590
093d3ff1 5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
d14a1e28 5592 {
e3b71cb8 5593 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5595 result = (bool)wxColourDisplay();
d14a1e28
RD
5596
5597 wxPyEndAllowThreads(__tstate);
110da5b0 5598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5599 }
093d3ff1
RD
5600 {
5601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5602 }
d14a1e28
RD
5603 return resultobj;
5604 fail:
5605 return NULL;
5606}
5607
5608
093d3ff1 5609static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5610 PyObject *resultobj;
093d3ff1 5611 int result;
d14a1e28
RD
5612 char *kwnames[] = {
5613 NULL
5614 };
5615
093d3ff1 5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
d14a1e28 5617 {
e3b71cb8 5618 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5619 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5620 result = (int)wxDisplayDepth();
d14a1e28
RD
5621
5622 wxPyEndAllowThreads(__tstate);
110da5b0 5623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5624 }
5625 {
093d3ff1 5626 resultobj = SWIG_From_int((int)(result));
d14a1e28
RD
5627 }
5628 return resultobj;
5629 fail:
5630 return NULL;
5631}
5632
5633
093d3ff1 5634static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5635 PyObject *resultobj;
093d3ff1 5636 int result;
d14a1e28 5637 char *kwnames[] = {
093d3ff1 5638 NULL
d14a1e28
RD
5639 };
5640
093d3ff1 5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
d14a1e28 5642 {
e3b71cb8 5643 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5645 result = (int)wxGetDisplayDepth();
d14a1e28
RD
5646
5647 wxPyEndAllowThreads(__tstate);
110da5b0 5648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5649 }
093d3ff1
RD
5650 {
5651 resultobj = SWIG_From_int((int)(result));
5652 }
d14a1e28
RD
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
093d3ff1 5659static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5660 PyObject *resultobj;
093d3ff1
RD
5661 int *arg1 = (int *) 0 ;
5662 int *arg2 = (int *) 0 ;
5663 int temp1 ;
5664 int res1 = 0 ;
5665 int temp2 ;
5666 int res2 = 0 ;
d14a1e28 5667 char *kwnames[] = {
093d3ff1 5668 NULL
d14a1e28
RD
5669 };
5670
093d3ff1
RD
5671 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5672 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
d14a1e28 5674 {
e3b71cb8 5675 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5677 wxDisplaySize(arg1,arg2);
d14a1e28
RD
5678
5679 wxPyEndAllowThreads(__tstate);
110da5b0 5680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5681 }
5682 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
5683 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5684 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5685 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5686 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d14a1e28
RD
5687 return resultobj;
5688 fail:
5689 return NULL;
5690}
5691
5692
093d3ff1 5693static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5694 PyObject *resultobj;
093d3ff1 5695 wxSize result;
d14a1e28
RD
5696 char *kwnames[] = {
5697 NULL
5698 };
5699
093d3ff1 5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
d14a1e28 5701 {
e3b71cb8 5702 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5704 result = wxGetDisplaySize();
d14a1e28
RD
5705
5706 wxPyEndAllowThreads(__tstate);
110da5b0 5707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5708 }
5709 {
093d3ff1
RD
5710 wxSize * resultptr;
5711 resultptr = new wxSize((wxSize &)(result));
5712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
5713 }
5714 return resultobj;
5715 fail:
5716 return NULL;
5717}
5718
5719
093d3ff1 5720static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 5721 PyObject *resultobj;
093d3ff1
RD
5722 int *arg1 = (int *) 0 ;
5723 int *arg2 = (int *) 0 ;
5724 int temp1 ;
5725 int res1 = 0 ;
5726 int temp2 ;
5727 int res2 = 0 ;
d14a1e28 5728 char *kwnames[] = {
093d3ff1 5729 NULL
d14a1e28
RD
5730 };
5731
093d3ff1
RD
5732 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5733 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5735 {
5736 if (!wxPyCheckForApp()) SWIG_fail;
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 wxDisplaySizeMM(arg1,arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5745 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5746 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5747 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5748 return resultobj;
5749 fail:
5750 return NULL;
5751}
5752
5753
5754static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
5755 PyObject *resultobj;
5756 wxSize result;
5757 char *kwnames[] = {
5758 NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5762 {
5763 if (!wxPyCheckForApp()) SWIG_fail;
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = wxGetDisplaySizeMM();
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 {
5771 wxSize * resultptr;
5772 resultptr = new wxSize((wxSize &)(result));
5773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5774 }
5775 return resultobj;
5776 fail:
5777 return NULL;
5778}
5779
5780
5781static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
5782 PyObject *resultobj;
5783 int *arg1 = (int *) 0 ;
5784 int *arg2 = (int *) 0 ;
5785 int *arg3 = (int *) 0 ;
5786 int *arg4 = (int *) 0 ;
5787 int temp1 ;
5788 int res1 = 0 ;
5789 int temp2 ;
5790 int res2 = 0 ;
5791 int temp3 ;
5792 int res3 = 0 ;
5793 int temp4 ;
5794 int res4 = 0 ;
5795 char *kwnames[] = {
5796 NULL
5797 };
5798
5799 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5800 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5801 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5802 arg4 = &temp4; res4 = SWIG_NEWOBJ;
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5804 {
5805 if (!wxPyCheckForApp()) SWIG_fail;
5806 PyThreadState* __tstate = wxPyBeginAllowThreads();
5807 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5808
5809 wxPyEndAllowThreads(__tstate);
5810 if (PyErr_Occurred()) SWIG_fail;
5811 }
5812 Py_INCREF(Py_None); resultobj = Py_None;
5813 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5814 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5815 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5816 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5817 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5818 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5819 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5820 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
5821 return resultobj;
5822 fail:
5823 return NULL;
5824}
5825
5826
5827static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxRect result;
5830 char *kwnames[] = {
5831 NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5835 {
5836 if (!wxPyCheckForApp()) SWIG_fail;
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = wxGetClientDisplayRect();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 wxRect * resultptr;
5845 resultptr = new wxRect((wxRect &)(result));
5846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5847 }
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
5854static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxCursor *arg1 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "cursor", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
5863 {
5864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5865 if (SWIG_arg_fail(1)) SWIG_fail;
5866 if (arg1 == NULL) {
5867 SWIG_null_ref("wxCursor");
5868 }
5869 if (SWIG_arg_fail(1)) SWIG_fail;
5870 }
5871 {
5872 if (!wxPyCheckForApp()) SWIG_fail;
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 wxSetCursor(*arg1);
5875
5876 wxPyEndAllowThreads(__tstate);
5877 if (PyErr_Occurred()) SWIG_fail;
5878 }
5879 Py_INCREF(Py_None); resultobj = Py_None;
5880 return resultobj;
5881 fail:
5882 return NULL;
5883}
5884
5885
73c8ef6a
RD
5886static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5887 PyObject *resultobj;
5888 void *result;
5889 char *kwnames[] = {
5890 NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
5894 {
5895 if (!wxPyCheckForApp()) SWIG_fail;
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (void *)wxGetXDisplay();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906}
5907
5908
093d3ff1
RD
5909static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "cursor", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5918 if (obj0) {
5919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5920 if (SWIG_arg_fail(1)) SWIG_fail;
5921 }
5922 {
5923 if (!wxPyCheckForApp()) SWIG_fail;
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 wxBeginBusyCursor(arg1);
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 Py_INCREF(Py_None); resultobj = Py_None;
5931 return resultobj;
5932 fail:
5933 return NULL;
5934}
5935
5936
5937static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxWindow *result;
5940 char *kwnames[] = {
5941 NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
5945 {
5946 if (!wxPyCheckForApp()) SWIG_fail;
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (wxWindow *)wxGetActiveWindow();
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 {
5954 resultobj = wxPyMake_wxObject(result, 0);
5955 }
5956 return resultobj;
5957 fail:
5958 return NULL;
5959}
5960
5961
5962static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxPoint *arg1 = 0 ;
5965 wxWindow *result;
5966 wxPoint temp1 ;
5967 PyObject * obj0 = 0 ;
5968 char *kwnames[] = {
5969 (char *) "pt", NULL
5970 };
5971
5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
5973 {
5974 arg1 = &temp1;
d14a1e28
RD
5975 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5976 }
5977 {
e3b71cb8 5978 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
5981
5982 wxPyEndAllowThreads(__tstate);
110da5b0 5983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5984 }
5985 {
412d302d 5986 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5987 }
5988 return resultobj;
5989 fail:
5990 return NULL;
5991}
5992
5993
c32bde28 5994static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5995 PyObject *resultobj;
5996 wxPoint *arg1 = 0 ;
5997 wxWindow *result;
5998 wxPoint temp1 ;
5999 PyObject * obj0 = 0 ;
6000 char *kwnames[] = {
6001 (char *) "pt", NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
6005 {
6006 arg1 = &temp1;
6007 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6008 }
6009 {
e3b71cb8 6010 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
6013
6014 wxPyEndAllowThreads(__tstate);
110da5b0 6015 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6016 }
6017 {
412d302d 6018 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6019 }
6020 return resultobj;
6021 fail:
6022 return NULL;
6023}
6024
6025
c32bde28 6026static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6027 PyObject *resultobj;
6028 wxWindow *arg1 = (wxWindow *) 0 ;
6029 wxWindow *result;
6030 PyObject * obj0 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "win", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
093d3ff1
RD
6036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6037 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 6038 {
e3b71cb8 6039 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (wxWindow *)wxGetTopLevelParent(arg1);
6042
6043 wxPyEndAllowThreads(__tstate);
110da5b0 6044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6045 }
6046 {
412d302d 6047 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6048 }
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
d04418a7
RD
6055static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj;
6057 wxString *arg1 = 0 ;
6058 bool result;
6059 bool temp1 = false ;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "url", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
6066 {
6067 arg1 = wxString_in_helper(obj0);
6068 if (arg1 == NULL) SWIG_fail;
6069 temp1 = true;
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 {
6079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6080 }
6081 {
6082 if (temp1)
6083 delete arg1;
6084 }
6085 return resultobj;
6086 fail:
6087 {
6088 if (temp1)
6089 delete arg1;
6090 }
6091 return NULL;
6092}
6093
6094
c32bde28 6095static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
39f61e25 6096 PyObject *resultobj;
093d3ff1 6097 wxKeyCode arg1 ;
39f61e25 6098 bool result;
994141e6 6099 PyObject * obj0 = 0 ;
39f61e25
RD
6100 char *kwnames[] = {
6101 (char *) "key", NULL
6102 };
6103
994141e6 6104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
093d3ff1
RD
6105 {
6106 arg1 = (wxKeyCode)(SWIG_As_int(obj0));
6107 if (SWIG_arg_fail(1)) SWIG_fail;
6108 }
39f61e25 6109 {
e3b71cb8 6110 if (!wxPyCheckForApp()) SWIG_fail;
39f61e25
RD
6111 PyThreadState* __tstate = wxPyBeginAllowThreads();
6112 result = (bool)wxGetKeyState((wxKeyCode )arg1);
6113
6114 wxPyEndAllowThreads(__tstate);
110da5b0 6115 if (PyErr_Occurred()) SWIG_fail;
39f61e25 6116 }
4f89f6a3
RD
6117 {
6118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6119 }
39f61e25
RD
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
c32bde28 6126static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6127 PyObject *resultobj;
6128 char *kwnames[] = {
6129 NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6133 {
e3b71cb8 6134 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 wxWakeUpMainThread();
6137
6138 wxPyEndAllowThreads(__tstate);
110da5b0 6139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6140 }
6141 Py_INCREF(Py_None); resultobj = Py_None;
6142 return resultobj;
6143 fail:
6144 return NULL;
6145}
6146
6147
c32bde28 6148static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6149 PyObject *resultobj;
6150 char *kwnames[] = {
6151 NULL
6152 };
6153
6154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6155 {
e3b71cb8 6156 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 wxMutexGuiEnter();
6159
6160 wxPyEndAllowThreads(__tstate);
110da5b0 6161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167}
6168
6169
c32bde28 6170static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6171 PyObject *resultobj;
6172 char *kwnames[] = {
6173 NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6177 {
e3b71cb8 6178 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6180 wxMutexGuiLeave();
6181
6182 wxPyEndAllowThreads(__tstate);
110da5b0 6183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6184 }
6185 Py_INCREF(Py_None); resultobj = Py_None;
6186 return resultobj;
6187 fail:
6188 return NULL;
6189}
6190
6191
c32bde28 6192static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6193 PyObject *resultobj;
6194 wxMutexGuiLocker *result;
6195 char *kwnames[] = {
6196 NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6200 {
e3b71cb8 6201 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6204
6205 wxPyEndAllowThreads(__tstate);
110da5b0 6206 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6207 }
15afbcd0 6208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
d14a1e28
RD
6209 return resultobj;
6210 fail:
6211 return NULL;
6212}
6213
6214
c32bde28 6215static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6216 PyObject *resultobj;
6217 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6218 PyObject * obj0 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "self", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 delete arg1;
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 Py_INCREF(Py_None); resultobj = Py_None;
6234 return resultobj;
6235 fail:
6236 return NULL;
6237}
6238
6239
c32bde28 6240static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6241 PyObject *obj;
6242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6243 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6244 Py_INCREF(obj);
6245 return Py_BuildValue((char *)"");
6246}
c32bde28 6247static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6248 PyObject *resultobj;
6249 bool result;
6250 char *kwnames[] = {
6251 NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (bool)wxThread_IsMain();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
4f89f6a3
RD
6262 {
6263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6264 }
d14a1e28
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
c32bde28 6271static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6272 PyObject *resultobj;
6273 wxString *arg1 = 0 ;
6274 wxToolTip *result;
ae8162c8 6275 bool temp1 = false ;
d14a1e28
RD
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "tip", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6282 {
6283 arg1 = wxString_in_helper(obj0);
6284 if (arg1 == NULL) SWIG_fail;
ae8162c8 6285 temp1 = true;
d14a1e28
RD
6286 }
6287 {
e3b71cb8 6288 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6291
6292 wxPyEndAllowThreads(__tstate);
110da5b0 6293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6294 }
6295 {
412d302d 6296 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6297 }
6298 {
6299 if (temp1)
6300 delete arg1;
6301 }
6302 return resultobj;
6303 fail:
6304 {
6305 if (temp1)
6306 delete arg1;
6307 }
6308 return NULL;
6309}
6310
6311
c32bde28 6312static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6313 PyObject *resultobj;
6314 wxToolTip *arg1 = (wxToolTip *) 0 ;
6315 wxString *arg2 = 0 ;
ae8162c8 6316 bool temp2 = false ;
d14a1e28
RD
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "tip", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6326 {
6327 arg2 = wxString_in_helper(obj1);
6328 if (arg2 == NULL) SWIG_fail;
ae8162c8 6329 temp2 = true;
d14a1e28
RD
6330 }
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 (arg1)->SetTip((wxString const &)*arg2);
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 Py_INCREF(Py_None); resultobj = Py_None;
6339 {
6340 if (temp2)
6341 delete arg2;
6342 }
6343 return resultobj;
6344 fail:
6345 {
6346 if (temp2)
6347 delete arg2;
6348 }
6349 return NULL;
6350}
6351
6352
c32bde28 6353static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6354 PyObject *resultobj;
6355 wxToolTip *arg1 = (wxToolTip *) 0 ;
6356 wxString result;
6357 PyObject * obj0 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
6363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 result = (arg1)->GetTip();
6368
6369 wxPyEndAllowThreads(__tstate);
6370 if (PyErr_Occurred()) SWIG_fail;
6371 }
6372 {
6373#if wxUSE_UNICODE
6374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6375#else
6376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6377#endif
6378 }
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
c32bde28 6385static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6386 PyObject *resultobj;
6387 wxToolTip *arg1 = (wxToolTip *) 0 ;
6388 wxWindow *result;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "self", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 result = (wxWindow *)(arg1)->GetWindow();
6400
6401 wxPyEndAllowThreads(__tstate);
6402 if (PyErr_Occurred()) SWIG_fail;
6403 }
6404 {
412d302d 6405 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6406 }
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
c32bde28 6413static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6414 PyObject *resultobj;
6415 bool arg1 ;
6416 PyObject * obj0 = 0 ;
6417 char *kwnames[] = {
6418 (char *) "flag", NULL
6419 };
6420
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1
RD
6422 {
6423 arg1 = (bool)(SWIG_As_bool(obj0));
6424 if (SWIG_arg_fail(1)) SWIG_fail;
6425 }
d14a1e28
RD
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 wxToolTip::Enable(arg1);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
c32bde28 6440static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6441 PyObject *resultobj;
6442 long arg1 ;
994141e6 6443 PyObject * obj0 = 0 ;
d14a1e28
RD
6444 char *kwnames[] = {
6445 (char *) "milliseconds", NULL
6446 };
6447
994141e6 6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1
RD
6449 {
6450 arg1 = (long)(SWIG_As_long(obj0));
6451 if (SWIG_arg_fail(1)) SWIG_fail;
6452 }
d14a1e28
RD
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 wxToolTip::SetDelay(arg1);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464}
6465
6466
c32bde28 6467static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6468 PyObject *obj;
6469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6470 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
6471 Py_INCREF(obj);
6472 return Py_BuildValue((char *)"");
6473}
c32bde28 6474static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6475 PyObject *resultobj;
6476 wxWindow *arg1 = (wxWindow *) 0 ;
6477 wxSize *arg2 = 0 ;
6478 wxCaret *result;
6479 wxSize temp2 ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "window",(char *) "size", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6488 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6489 {
6490 arg2 = &temp2;
6491 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6492 }
6493 {
e3b71cb8 6494 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
6497
6498 wxPyEndAllowThreads(__tstate);
110da5b0 6499 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6500 }
15afbcd0 6501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
d14a1e28
RD
6502 return resultobj;
6503 fail:
6504 return NULL;
6505}
6506
6507
8e738329 6508static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6509 PyObject *resultobj;
6510 wxCaret *arg1 = (wxCaret *) 0 ;
6511 PyObject * obj0 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self", NULL
6514 };
6515
8e738329 6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
6517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8e738329 6521 wxCaret_Destroy(arg1);
d14a1e28
RD
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
c32bde28 6533static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6534 PyObject *resultobj;
6535 wxCaret *arg1 = (wxCaret *) 0 ;
6536 bool result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
6543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->IsOk();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
4f89f6a3
RD
6552 {
6553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6554 }
d14a1e28
RD
6555 return resultobj;
6556 fail:
6557 return NULL;
6558}
6559
6560
c32bde28 6561static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6562 PyObject *resultobj;
6563 wxCaret *arg1 = (wxCaret *) 0 ;
6564 bool result;
6565 PyObject * obj0 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "self", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
6571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6572 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = (bool)(arg1)->IsVisible();
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
4f89f6a3
RD
6580 {
6581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6582 }
d14a1e28
RD
6583 return resultobj;
6584 fail:
6585 return NULL;
6586}
6587
6588
c32bde28 6589static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
6590 PyObject *resultobj;
6591 wxCaret *arg1 = (wxCaret *) 0 ;
6592 wxPoint result;
6593 PyObject * obj0 = 0 ;
6594 char *kwnames[] = {
6595 (char *) "self", NULL
6596 };
6597
6598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
6599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6600 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
6601 {
6602 PyThreadState* __tstate = wxPyBeginAllowThreads();
6603 result = (arg1)->GetPosition();
6604
6605 wxPyEndAllowThreads(__tstate);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
6608 {
6609 wxPoint * resultptr;
093d3ff1 6610 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 6611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
322913ce
RD
6612 }
6613 return resultobj;
6614 fail:
6615 return NULL;
6616}
6617
6618
c32bde28 6619static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6620 PyObject *resultobj;
6621 wxCaret *arg1 = (wxCaret *) 0 ;
6622 int *arg2 = (int *) 0 ;
6623 int *arg3 = (int *) 0 ;
6624 int temp2 ;
c32bde28 6625 int res2 = 0 ;
d14a1e28 6626 int temp3 ;
c32bde28 6627 int res3 = 0 ;
d14a1e28
RD
6628 PyObject * obj0 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self", NULL
6631 };
6632
c32bde28
RD
6633 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6634 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 (arg1)->GetPosition(arg2,arg3);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6646 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6647 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6648 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6649 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
c32bde28 6656static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6657 PyObject *resultobj;
6658 wxCaret *arg1 = (wxCaret *) 0 ;
322913ce 6659 wxSize result;
d14a1e28
RD
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
322913ce 6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
6666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6667 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 6670 result = (arg1)->GetSize();
d14a1e28
RD
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 {
322913ce 6676 wxSize * resultptr;
093d3ff1 6677 resultptr = new wxSize((wxSize &)(result));
15afbcd0 6678 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
6679 }
6680 return resultobj;
6681 fail:
6682 return NULL;
6683}
6684
6685
c32bde28 6686static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6687 PyObject *resultobj;
6688 wxCaret *arg1 = (wxCaret *) 0 ;
6689 int *arg2 = (int *) 0 ;
6690 int *arg3 = (int *) 0 ;
6691 int temp2 ;
c32bde28 6692 int res2 = 0 ;
d14a1e28 6693 int temp3 ;
c32bde28 6694 int res3 = 0 ;
d14a1e28
RD
6695 PyObject * obj0 = 0 ;
6696 char *kwnames[] = {
6697 (char *) "self", NULL
6698 };
6699
c32bde28
RD
6700 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6701 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
6703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 (arg1)->GetSize(arg2,arg3);
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
6713 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6714 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6715 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6716 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
c32bde28 6723static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6724 PyObject *resultobj;
6725 wxCaret *arg1 = (wxCaret *) 0 ;
6726 wxWindow *result;
6727 PyObject * obj0 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (wxWindow *)(arg1)->GetWindow();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 {
412d302d 6743 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
6744 }
6745 return resultobj;
6746 fail:
6747 return NULL;
6748}
6749
6750
c32bde28 6751static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6752 PyObject *resultobj;
6753 wxCaret *arg1 = (wxCaret *) 0 ;
6754 int arg2 ;
6755 int arg3 ;
6756 PyObject * obj0 = 0 ;
994141e6
RD
6757 PyObject * obj1 = 0 ;
6758 PyObject * obj2 = 0 ;
d14a1e28
RD
6759 char *kwnames[] = {
6760 (char *) "self",(char *) "x",(char *) "y", NULL
6761 };
6762
994141e6 6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6765 if (SWIG_arg_fail(1)) SWIG_fail;
6766 {
6767 arg2 = (int)(SWIG_As_int(obj1));
6768 if (SWIG_arg_fail(2)) SWIG_fail;
6769 }
6770 {
6771 arg3 = (int)(SWIG_As_int(obj2));
6772 if (SWIG_arg_fail(3)) SWIG_fail;
6773 }
d14a1e28
RD
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->Move(arg2,arg3);
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785}
6786
6787
c32bde28 6788static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6789 PyObject *resultobj;
6790 wxCaret *arg1 = (wxCaret *) 0 ;
6791 wxPoint *arg2 = 0 ;
6792 wxPoint temp2 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self",(char *) "pt", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6802 {
6803 arg2 = &temp2;
6804 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6805 }
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->Move((wxPoint const &)*arg2);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817}
6818
6819
c32bde28 6820static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6821 PyObject *resultobj;
6822 wxCaret *arg1 = (wxCaret *) 0 ;
6823 int arg2 ;
6824 int arg3 ;
6825 PyObject * obj0 = 0 ;
994141e6
RD
6826 PyObject * obj1 = 0 ;
6827 PyObject * obj2 = 0 ;
d14a1e28
RD
6828 char *kwnames[] = {
6829 (char *) "self",(char *) "width",(char *) "height", NULL
6830 };
6831
994141e6 6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail;
6835 {
6836 arg2 = (int)(SWIG_As_int(obj1));
6837 if (SWIG_arg_fail(2)) SWIG_fail;
6838 }
6839 {
6840 arg3 = (int)(SWIG_As_int(obj2));
6841 if (SWIG_arg_fail(3)) SWIG_fail;
6842 }
d14a1e28
RD
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 (arg1)->SetSize(arg2,arg3);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 Py_INCREF(Py_None); resultobj = Py_None;
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
c32bde28 6857static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6858 PyObject *resultobj;
6859 wxCaret *arg1 = (wxCaret *) 0 ;
6860 wxSize *arg2 = 0 ;
6861 wxSize temp2 ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self",(char *) "size", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6870 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6871 {
6872 arg2 = &temp2;
6873 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6874 }
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 (arg1)->SetSize((wxSize const &)*arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 Py_INCREF(Py_None); resultobj = Py_None;
6883 return resultobj;
6884 fail:
6885 return NULL;
6886}
6887
6888
c32bde28 6889static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6890 PyObject *resultobj;
6891 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 6892 int arg2 = (int) true ;
d14a1e28 6893 PyObject * obj0 = 0 ;
994141e6 6894 PyObject * obj1 = 0 ;
d14a1e28
RD
6895 char *kwnames[] = {
6896 (char *) "self",(char *) "show", NULL
6897 };
6898
994141e6 6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6902 if (obj1) {
093d3ff1
RD
6903 {
6904 arg2 = (int)(SWIG_As_int(obj1));
6905 if (SWIG_arg_fail(2)) SWIG_fail;
6906 }
994141e6 6907 }
d14a1e28
RD
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 (arg1)->Show(arg2);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 Py_INCREF(Py_None); resultobj = Py_None;
6916 return resultobj;
6917 fail:
6918 return NULL;
6919}
6920
6921
c32bde28 6922static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6923 PyObject *resultobj;
6924 wxCaret *arg1 = (wxCaret *) 0 ;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
6931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6932 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 (arg1)->Hide();
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 Py_INCREF(Py_None); resultobj = Py_None;
6941 return resultobj;
6942 fail:
6943 return NULL;
6944}
6945
6946
c32bde28 6947static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6948 PyObject *resultobj;
6949 int result;
6950 char *kwnames[] = {
6951 NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8e738329 6957 result = (int)wxCaret::GetBlinkTime();
d14a1e28
RD
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
093d3ff1
RD
6962 {
6963 resultobj = SWIG_From_int((int)(result));
6964 }
d14a1e28
RD
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
c32bde28 6971static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6972 PyObject *resultobj;
6973 int arg1 ;
994141e6 6974 PyObject * obj0 = 0 ;
d14a1e28
RD
6975 char *kwnames[] = {
6976 (char *) "milliseconds", NULL
6977 };
6978
994141e6 6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
6980 {
6981 arg1 = (int)(SWIG_As_int(obj0));
6982 if (SWIG_arg_fail(1)) SWIG_fail;
6983 }
d14a1e28
RD
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8e738329 6986 wxCaret::SetBlinkTime(arg1);
d14a1e28
RD
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 Py_INCREF(Py_None); resultobj = Py_None;
6992 return resultobj;
6993 fail:
6994 return NULL;
6995}
6996
6997
8e738329
RD
6998static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
6999 PyObject *obj;
7000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7001 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
7002 Py_INCREF(obj);
7003 return Py_BuildValue((char *)"");
7004}
c32bde28 7005static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7006 PyObject *resultobj;
7007 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
7008 wxBusyCursor *result;
7009 PyObject * obj0 = 0 ;
7010 char *kwnames[] = {
7011 (char *) "cursor", NULL
7012 };
7013
7014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
7015 if (obj0) {
093d3ff1
RD
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7018 }
7019 {
e3b71cb8 7020 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (wxBusyCursor *)new wxBusyCursor(arg1);
7023
7024 wxPyEndAllowThreads(__tstate);
110da5b0 7025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7026 }
15afbcd0 7027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
d14a1e28
RD
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
c32bde28 7034static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7035 PyObject *resultobj;
7036 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
7044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 delete arg1;
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 Py_INCREF(Py_None); resultobj = Py_None;
7053 return resultobj;
7054 fail:
7055 return NULL;
7056}
7057
7058
c32bde28 7059static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7060 PyObject *obj;
7061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7062 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
7063 Py_INCREF(obj);
7064 return Py_BuildValue((char *)"");
7065}
c32bde28 7066static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7067 PyObject *resultobj;
7068 wxWindow *arg1 = (wxWindow *) NULL ;
7069 wxWindowDisabler *result;
7070 PyObject * obj0 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "winToSkip", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
7076 if (obj0) {
093d3ff1
RD
7077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7079 }
7080 {
e3b71cb8 7081 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
7084
7085 wxPyEndAllowThreads(__tstate);
110da5b0 7086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7087 }
15afbcd0 7088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
d14a1e28
RD
7089 return resultobj;
7090 fail:
7091 return NULL;
7092}
7093
7094
c32bde28 7095static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7096 PyObject *resultobj;
7097 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
7098 PyObject * obj0 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7108 delete arg1;
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7113 Py_INCREF(Py_None); resultobj = Py_None;
7114 return resultobj;
7115 fail:
7116 return NULL;
7117}
7118
7119
c32bde28 7120static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7121 PyObject *obj;
7122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7123 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7124 Py_INCREF(obj);
7125 return Py_BuildValue((char *)"");
7126}
c32bde28 7127static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7128 PyObject *resultobj;
7129 wxString *arg1 = 0 ;
7130 wxBusyInfo *result;
ae8162c8 7131 bool temp1 = false ;
d14a1e28
RD
7132 PyObject * obj0 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "message", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7138 {
7139 arg1 = wxString_in_helper(obj0);
7140 if (arg1 == NULL) SWIG_fail;
ae8162c8 7141 temp1 = true;
d14a1e28
RD
7142 }
7143 {
e3b71cb8 7144 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7147
7148 wxPyEndAllowThreads(__tstate);
110da5b0 7149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7150 }
15afbcd0 7151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
d14a1e28
RD
7152 {
7153 if (temp1)
7154 delete arg1;
7155 }
7156 return resultobj;
7157 fail:
7158 {
7159 if (temp1)
7160 delete arg1;
7161 }
7162 return NULL;
7163}
7164
7165
c32bde28 7166static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7167 PyObject *resultobj;
7168 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7169 PyObject * obj0 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 delete arg1;
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 Py_INCREF(Py_None); resultobj = Py_None;
7185 return resultobj;
7186 fail:
7187 return NULL;
7188}
7189
7190
c32bde28 7191static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7192 PyObject *obj;
7193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7194 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7195 Py_INCREF(obj);
7196 return Py_BuildValue((char *)"");
7197}
c32bde28 7198static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7199 PyObject *resultobj;
7200 wxStopWatch *result;
7201 char *kwnames[] = {
7202 NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (wxStopWatch *)new wxStopWatch();
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
15afbcd0 7213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
d14a1e28
RD
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
c32bde28 7220static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7221 PyObject *resultobj;
7222 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7223 long arg2 = (long) 0 ;
7224 PyObject * obj0 = 0 ;
994141e6 7225 PyObject * obj1 = 0 ;
d14a1e28
RD
7226 char *kwnames[] = {
7227 (char *) "self",(char *) "t0", NULL
7228 };
7229
994141e6 7230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7232 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7233 if (obj1) {
093d3ff1
RD
7234 {
7235 arg2 = (long)(SWIG_As_long(obj1));
7236 if (SWIG_arg_fail(2)) SWIG_fail;
7237 }
994141e6 7238 }
d14a1e28
RD
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 (arg1)->Start(arg2);
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 Py_INCREF(Py_None); resultobj = Py_None;
7247 return resultobj;
7248 fail:
7249 return NULL;
7250}
7251
7252
c32bde28 7253static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7254 PyObject *resultobj;
7255 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "self", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
7262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 (arg1)->Pause();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 Py_INCREF(Py_None); resultobj = Py_None;
7272 return resultobj;
7273 fail:
7274 return NULL;
7275}
7276
7277
c32bde28 7278static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7279 PyObject *resultobj;
7280 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
7287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7289 {
7290 PyThreadState* __tstate = wxPyBeginAllowThreads();
7291 (arg1)->Resume();
7292
7293 wxPyEndAllowThreads(__tstate);
7294 if (PyErr_Occurred()) SWIG_fail;
7295 }
7296 Py_INCREF(Py_None); resultobj = Py_None;
7297 return resultobj;
7298 fail:
7299 return NULL;
7300}
7301
7302
c32bde28 7303static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7304 PyObject *resultobj;
7305 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7306 long result;
7307 PyObject * obj0 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
7313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (long)((wxStopWatch const *)arg1)->Time();
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
093d3ff1
RD
7322 {
7323 resultobj = SWIG_From_long((long)(result));
7324 }
d14a1e28
RD
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
c32bde28 7331static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7332 PyObject *obj;
7333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7334 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
7335 Py_INCREF(obj);
7336 return Py_BuildValue((char *)"");
7337}
c32bde28 7338static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7339 PyObject *resultobj;
7340 int arg1 = (int) 9 ;
4cf4100f 7341 int arg2 = (int) wxID_FILE1 ;
d14a1e28 7342 wxFileHistory *result;
994141e6 7343 PyObject * obj0 = 0 ;
4cf4100f 7344 PyObject * obj1 = 0 ;
d14a1e28 7345 char *kwnames[] = {
4cf4100f 7346 (char *) "maxFiles",(char *) "idBase", NULL
d14a1e28
RD
7347 };
7348
4cf4100f 7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
994141e6 7350 if (obj0) {
093d3ff1
RD
7351 {
7352 arg1 = (int)(SWIG_As_int(obj0));
7353 if (SWIG_arg_fail(1)) SWIG_fail;
7354 }
994141e6 7355 }
4cf4100f 7356 if (obj1) {
093d3ff1
RD
7357 {
7358 arg2 = (int)(SWIG_As_int(obj1));
7359 if (SWIG_arg_fail(2)) SWIG_fail;
7360 }
4cf4100f 7361 }
d14a1e28
RD
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 7364 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d14a1e28
RD
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
15afbcd0 7369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
d14a1e28
RD
7370 return resultobj;
7371 fail:
7372 return NULL;
7373}
7374
7375
c32bde28 7376static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7377 PyObject *resultobj;
7378 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7379 PyObject * obj0 = 0 ;
7380 char *kwnames[] = {
7381 (char *) "self", NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
7385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 delete arg1;
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
7395 return resultobj;
7396 fail:
7397 return NULL;
7398}
7399
7400
c32bde28 7401static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7402 PyObject *resultobj;
7403 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7404 wxString *arg2 = 0 ;
ae8162c8 7405 bool temp2 = false ;
d14a1e28
RD
7406 PyObject * obj0 = 0 ;
7407 PyObject * obj1 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self",(char *) "file", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7415 {
7416 arg2 = wxString_in_helper(obj1);
7417 if (arg2 == NULL) SWIG_fail;
ae8162c8 7418 temp2 = true;
d14a1e28
RD
7419 }
7420 {
7421 PyThreadState* __tstate = wxPyBeginAllowThreads();
7422 (arg1)->AddFileToHistory((wxString const &)*arg2);
7423
7424 wxPyEndAllowThreads(__tstate);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 Py_INCREF(Py_None); resultobj = Py_None;
7428 {
7429 if (temp2)
7430 delete arg2;
7431 }
7432 return resultobj;
7433 fail:
7434 {
7435 if (temp2)
7436 delete arg2;
7437 }
7438 return NULL;
7439}
7440
7441
c32bde28 7442static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7443 PyObject *resultobj;
7444 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7445 int arg2 ;
7446 PyObject * obj0 = 0 ;
994141e6 7447 PyObject * obj1 = 0 ;
d14a1e28
RD
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "i", NULL
7450 };
7451
994141e6 7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7454 if (SWIG_arg_fail(1)) SWIG_fail;
7455 {
7456 arg2 = (int)(SWIG_As_int(obj1));
7457 if (SWIG_arg_fail(2)) SWIG_fail;
7458 }
d14a1e28
RD
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 (arg1)->RemoveFileFromHistory(arg2);
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 Py_INCREF(Py_None); resultobj = Py_None;
7467 return resultobj;
7468 fail:
7469 return NULL;
7470}
7471
7472
c32bde28 7473static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7474 PyObject *resultobj;
7475 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7476 int result;
7477 PyObject * obj0 = 0 ;
7478 char *kwnames[] = {
7479 (char *) "self", NULL
7480 };
7481
7482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
7483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7484 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7485 {
7486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7487 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
7488
7489 wxPyEndAllowThreads(__tstate);
7490 if (PyErr_Occurred()) SWIG_fail;
7491 }
093d3ff1
RD
7492 {
7493 resultobj = SWIG_From_int((int)(result));
7494 }
d14a1e28
RD
7495 return resultobj;
7496 fail:
7497 return NULL;
7498}
7499
7500
c32bde28 7501static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7502 PyObject *resultobj;
7503 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7504 wxMenu *arg2 = (wxMenu *) 0 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "menu", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) 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;
7514 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7515 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 (arg1)->UseMenu(arg2);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527}
7528
7529
c32bde28 7530static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7531 PyObject *resultobj;
7532 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7533 wxMenu *arg2 = (wxMenu *) 0 ;
7534 PyObject * obj0 = 0 ;
7535 PyObject * obj1 = 0 ;
7536 char *kwnames[] = {
7537 (char *) "self",(char *) "menu", NULL
7538 };
7539
7540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7542 if (SWIG_arg_fail(1)) SWIG_fail;
7543 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7544 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 (arg1)->RemoveMenu(arg2);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 Py_INCREF(Py_None); resultobj = Py_None;
7553 return resultobj;
7554 fail:
7555 return NULL;
7556}
7557
7558
c32bde28 7559static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7560 PyObject *resultobj;
7561 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7562 wxConfigBase *arg2 = 0 ;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 char *kwnames[] = {
7566 (char *) "self",(char *) "config", NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7571 if (SWIG_arg_fail(1)) SWIG_fail;
7572 {
7573 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7574 if (SWIG_arg_fail(2)) SWIG_fail;
7575 if (arg2 == NULL) {
7576 SWIG_null_ref("wxConfigBase");
7577 }
7578 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->Load(*arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
c32bde28 7594static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7595 PyObject *resultobj;
7596 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7597 wxConfigBase *arg2 = 0 ;
7598 PyObject * obj0 = 0 ;
7599 PyObject * obj1 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self",(char *) "config", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) 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;
7607 {
7608 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(2)) SWIG_fail;
7610 if (arg2 == NULL) {
7611 SWIG_null_ref("wxConfigBase");
7612 }
7613 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7614 }
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 (arg1)->Save(*arg2);
7618
7619 wxPyEndAllowThreads(__tstate);
7620 if (PyErr_Occurred()) SWIG_fail;
7621 }
7622 Py_INCREF(Py_None); resultobj = Py_None;
7623 return resultobj;
7624 fail:
7625 return NULL;
7626}
7627
7628
c32bde28 7629static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7630 PyObject *resultobj;
7631 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7632 PyObject * obj0 = 0 ;
7633 char *kwnames[] = {
7634 (char *) "self", NULL
7635 };
7636
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
7638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->AddFilesToMenu();
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651}
7652
7653
c32bde28 7654static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7655 PyObject *resultobj;
7656 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7657 wxMenu *arg2 = (wxMenu *) 0 ;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "menu", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail;
7667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 (arg1)->AddFilesToMenu(arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 Py_INCREF(Py_None); resultobj = Py_None;
7677 return resultobj;
7678 fail:
7679 return NULL;
7680}
7681
7682
c32bde28 7683static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7684 PyObject *resultobj;
7685 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7686 int arg2 ;
7687 wxString result;
7688 PyObject * obj0 = 0 ;
994141e6 7689 PyObject * obj1 = 0 ;
d14a1e28
RD
7690 char *kwnames[] = {
7691 (char *) "self",(char *) "i", NULL
7692 };
7693
994141e6 7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7697 {
093d3ff1
RD
7698 arg2 = (int)(SWIG_As_int(obj1));
7699 if (SWIG_arg_fail(2)) SWIG_fail;
7700 }
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28
RD
7703 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 {
7709#if wxUSE_UNICODE
7710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7711#else
7712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7713#endif
7714 }
7715 return resultobj;
7716 fail:
7717 return NULL;
7718}
7719
7720
c32bde28 7721static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7722 PyObject *resultobj;
7723 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7724 int result;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
7731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 result = (int)((wxFileHistory const *)arg1)->GetCount();
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
093d3ff1
RD
7740 {
7741 resultobj = SWIG_From_int((int)(result));
7742 }
d14a1e28
RD
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
c32bde28 7749static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7750 PyObject *obj;
7751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
7753 Py_INCREF(obj);
7754 return Py_BuildValue((char *)"");
7755}
c32bde28 7756static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7757 PyObject *resultobj;
7758 wxString *arg1 = 0 ;
7759 wxString const &arg2_defvalue = wxPyEmptyString ;
7760 wxString *arg2 = (wxString *) &arg2_defvalue ;
7761 wxSingleInstanceChecker *result;
ae8162c8
RD
7762 bool temp1 = false ;
7763 bool temp2 = false ;
d14a1e28
RD
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "name",(char *) "path", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
7771 {
7772 arg1 = wxString_in_helper(obj0);
7773 if (arg1 == NULL) SWIG_fail;
ae8162c8 7774 temp1 = true;
d14a1e28
RD
7775 }
7776 if (obj1) {
7777 {
7778 arg2 = wxString_in_helper(obj1);
7779 if (arg2 == NULL) SWIG_fail;
ae8162c8 7780 temp2 = true;
d14a1e28
RD
7781 }
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
15afbcd0 7790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
7791 {
7792 if (temp1)
7793 delete arg1;
7794 }
7795 {
7796 if (temp2)
7797 delete arg2;
7798 }
7799 return resultobj;
7800 fail:
7801 {
7802 if (temp1)
7803 delete arg1;
7804 }
7805 {
7806 if (temp2)
7807 delete arg2;
7808 }
7809 return NULL;
7810}
7811
7812
c32bde28 7813static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7814 PyObject *resultobj;
7815 wxSingleInstanceChecker *result;
7816 char *kwnames[] = {
7817 NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
15afbcd0 7828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
d14a1e28
RD
7829 return resultobj;
7830 fail:
7831 return NULL;
7832}
7833
7834
c32bde28 7835static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7836 PyObject *resultobj;
7837 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7838 PyObject * obj0 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 delete arg1;
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 Py_INCREF(Py_None); resultobj = Py_None;
7854 return resultobj;
7855 fail:
7856 return NULL;
7857}
7858
7859
c32bde28 7860static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7861 PyObject *resultobj;
7862 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7863 wxString *arg2 = 0 ;
7864 wxString const &arg3_defvalue = wxPyEmptyString ;
7865 wxString *arg3 = (wxString *) &arg3_defvalue ;
7866 bool result;
ae8162c8
RD
7867 bool temp2 = false ;
7868 bool temp3 = false ;
d14a1e28
RD
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "name",(char *) "path", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7879 {
7880 arg2 = wxString_in_helper(obj1);
7881 if (arg2 == NULL) SWIG_fail;
ae8162c8 7882 temp2 = true;
d14a1e28
RD
7883 }
7884 if (obj2) {
7885 {
7886 arg3 = wxString_in_helper(obj2);
7887 if (arg3 == NULL) SWIG_fail;
ae8162c8 7888 temp3 = true;
d14a1e28
RD
7889 }
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
4f89f6a3
RD
7898 {
7899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7900 }
d14a1e28
RD
7901 {
7902 if (temp2)
7903 delete arg2;
7904 }
7905 {
7906 if (temp3)
7907 delete arg3;
7908 }
7909 return resultobj;
7910 fail:
7911 {
7912 if (temp2)
7913 delete arg2;
7914 }
7915 {
7916 if (temp3)
7917 delete arg3;
7918 }
7919 return NULL;
7920}
7921
7922
c32bde28 7923static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7924 PyObject *resultobj;
7925 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7926 bool result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
7933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
4f89f6a3
RD
7942 {
7943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7944 }
d14a1e28
RD
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
c32bde28 7951static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7952 PyObject *obj;
7953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7954 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
7955 Py_INCREF(obj);
7956 return Py_BuildValue((char *)"");
7957}
68350608
RD
7958static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxWindow *arg1 = (wxWindow *) 0 ;
7961 wxDC *arg2 = 0 ;
7962 bool result;
7963 PyObject * obj0 = 0 ;
7964 PyObject * obj1 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "window",(char *) "dc", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
7970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7971 if (SWIG_arg_fail(1)) SWIG_fail;
7972 {
7973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7974 if (SWIG_arg_fail(2)) SWIG_fail;
7975 if (arg2 == NULL) {
7976 SWIG_null_ref("wxDC");
7977 }
7978 if (SWIG_arg_fail(2)) SWIG_fail;
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 {
7988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7989 }
7990 return resultobj;
7991 fail:
7992 return NULL;
7993}
7994
7995
c32bde28 7996static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7997 PyObject *resultobj;
7998 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7999 PyObject * obj0 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 delete arg1;
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 Py_INCREF(Py_None); resultobj = Py_None;
8015 return resultobj;
8016 fail:
8017 return NULL;
8018}
8019
8020
c32bde28 8021static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8022 PyObject *resultobj;
8023 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8024 wxString result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (arg1)->GetTip();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 {
8041#if wxUSE_UNICODE
8042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8043#else
8044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8045#endif
8046 }
8047 return resultobj;
8048 fail:
8049 return NULL;
8050}
8051
8052
c32bde28 8053static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8054 PyObject *resultobj;
8055 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8056 size_t result;
8057 PyObject * obj0 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = (size_t)(arg1)->GetCurrentTip();
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
093d3ff1
RD
8072 {
8073 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
8074 }
d14a1e28
RD
8075 return resultobj;
8076 fail:
8077 return NULL;
8078}
8079
8080
c32bde28 8081static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8082 PyObject *resultobj;
8083 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8084 wxString *arg2 = 0 ;
8085 wxString result;
ae8162c8 8086 bool temp2 = false ;
d14a1e28
RD
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self",(char *) "tip", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8096 {
8097 arg2 = wxString_in_helper(obj1);
8098 if (arg2 == NULL) SWIG_fail;
ae8162c8 8099 temp2 = true;
d14a1e28
RD
8100 }
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (arg1)->PreprocessTip((wxString const &)*arg2);
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109#if wxUSE_UNICODE
8110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8111#else
8112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8113#endif
8114 }
8115 {
8116 if (temp2)
8117 delete arg2;
8118 }
8119 return resultobj;
8120 fail:
8121 {
8122 if (temp2)
8123 delete arg2;
8124 }
8125 return NULL;
8126}
8127
8128
c32bde28 8129static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8130 PyObject *obj;
8131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8132 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8133 Py_INCREF(obj);
8134 return Py_BuildValue((char *)"");
8135}
c32bde28 8136static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8137 PyObject *resultobj;
8138 size_t arg1 ;
8139 wxPyTipProvider *result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "currentTip", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8146 {
8147 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
8148 if (SWIG_arg_fail(1)) SWIG_fail;
8149 }
d14a1e28
RD
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
15afbcd0 8157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
d14a1e28
RD
8158 return resultobj;
8159 fail:
8160 return NULL;
8161}
8162
8163
c32bde28 8164static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8165 PyObject *resultobj;
8166 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8167 PyObject *arg2 = (PyObject *) 0 ;
8168 PyObject *arg3 = (PyObject *) 0 ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 PyObject * obj2 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self",(char *) "self",(char *) "_class", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8179 arg2 = obj1;
8180 arg3 = obj2;
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 (arg1)->_setCallbackInfo(arg2,arg3);
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 Py_INCREF(Py_None); resultobj = Py_None;
8189 return resultobj;
8190 fail:
8191 return NULL;
8192}
8193
8194
c32bde28 8195static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8196 PyObject *obj;
8197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8198 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8199 Py_INCREF(obj);
8200 return Py_BuildValue((char *)"");
8201}
c32bde28 8202static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8203 PyObject *resultobj;
8204 wxWindow *arg1 = (wxWindow *) 0 ;
8205 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8206 bool arg3 = (bool) true ;
d14a1e28
RD
8207 bool result;
8208 PyObject * obj0 = 0 ;
8209 PyObject * obj1 = 0 ;
8210 PyObject * obj2 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail;
8218 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8219 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 8220 if (obj2) {
093d3ff1
RD
8221 {
8222 arg3 = (bool)(SWIG_As_bool(obj2));
8223 if (SWIG_arg_fail(3)) SWIG_fail;
8224 }
d14a1e28
RD
8225 }
8226 {
e3b71cb8 8227 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (bool)wxShowTip(arg1,arg2,arg3);
8230
8231 wxPyEndAllowThreads(__tstate);
110da5b0 8232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8233 }
4f89f6a3
RD
8234 {
8235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8236 }
d14a1e28
RD
8237 return resultobj;
8238 fail:
8239 return NULL;
8240}
8241
8242
c32bde28 8243static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8244 PyObject *resultobj;
8245 wxString *arg1 = 0 ;
8246 size_t arg2 ;
8247 wxTipProvider *result;
ae8162c8 8248 bool temp1 = false ;
d14a1e28
RD
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "filename",(char *) "currentTip", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
8256 {
8257 arg1 = wxString_in_helper(obj0);
8258 if (arg1 == NULL) SWIG_fail;
ae8162c8 8259 temp1 = true;
d14a1e28 8260 }
093d3ff1
RD
8261 {
8262 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
8263 if (SWIG_arg_fail(2)) SWIG_fail;
8264 }
d14a1e28 8265 {
e3b71cb8 8266 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
110da5b0 8271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8272 }
15afbcd0 8273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
d14a1e28
RD
8274 {
8275 if (temp1)
8276 delete arg1;
8277 }
8278 return resultobj;
8279 fail:
8280 {
8281 if (temp1)
8282 delete arg1;
8283 }
8284 return NULL;
8285}
8286
8287
c32bde28 8288static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8289 PyObject *resultobj;
8290 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8291 int arg2 = (int) -1 ;
8292 wxPyTimer *result;
8293 PyObject * obj0 = 0 ;
994141e6 8294 PyObject * obj1 = 0 ;
d14a1e28
RD
8295 char *kwnames[] = {
8296 (char *) "owner",(char *) "id", NULL
8297 };
8298
994141e6 8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8300 if (obj0) {
093d3ff1
RD
8301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 8303 }
994141e6 8304 if (obj1) {
093d3ff1
RD
8305 {
8306 arg2 = (int)(SWIG_As_int(obj1));
8307 if (SWIG_arg_fail(2)) SWIG_fail;
8308 }
994141e6 8309 }
d14a1e28 8310 {
e3b71cb8 8311 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
8314
8315 wxPyEndAllowThreads(__tstate);
110da5b0 8316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8317 }
15afbcd0 8318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
d14a1e28
RD
8319 return resultobj;
8320 fail:
8321 return NULL;
8322}
8323
8324
c32bde28 8325static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8326 PyObject *resultobj;
8327 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
8334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 delete arg1;
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 return resultobj;
8345 fail:
8346 return NULL;
8347}
8348
8349
c32bde28 8350static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7722248d
RD
8351 PyObject *resultobj;
8352 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8353 PyObject *arg2 = (PyObject *) 0 ;
8354 PyObject *arg3 = (PyObject *) 0 ;
4276dc52 8355 int arg4 = (int) 1 ;
7722248d
RD
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 PyObject * obj2 = 0 ;
4276dc52 8359 PyObject * obj3 = 0 ;
7722248d 8360 char *kwnames[] = {
4276dc52 8361 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
7722248d
RD
8362 };
8363
4276dc52 8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8366 if (SWIG_arg_fail(1)) SWIG_fail;
7722248d
RD
8367 arg2 = obj1;
8368 arg3 = obj2;
4276dc52 8369 if (obj3) {
093d3ff1
RD
8370 {
8371 arg4 = (int)(SWIG_As_int(obj3));
8372 if (SWIG_arg_fail(4)) SWIG_fail;
8373 }
4276dc52 8374 }
7722248d
RD
8375 {
8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 8377 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
7722248d
RD
8378
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 Py_INCREF(Py_None); resultobj = Py_None;
8383 return resultobj;
8384 fail:
8385 return NULL;
8386}
8387
8388
c32bde28 8389static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8390 PyObject *resultobj;
8391 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8392 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
8393 int arg3 = (int) -1 ;
8394 PyObject * obj0 = 0 ;
8395 PyObject * obj1 = 0 ;
994141e6 8396 PyObject * obj2 = 0 ;
d14a1e28
RD
8397 char *kwnames[] = {
8398 (char *) "self",(char *) "owner",(char *) "id", NULL
8399 };
8400
994141e6 8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail;
8404 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8405 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 8406 if (obj2) {
093d3ff1
RD
8407 {
8408 arg3 = (int)(SWIG_As_int(obj2));
8409 if (SWIG_arg_fail(3)) SWIG_fail;
8410 }
994141e6 8411 }
d14a1e28
RD
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->SetOwner(arg2,arg3);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 return resultobj;
8421 fail:
8422 return NULL;
8423}
8424
8425
c32bde28 8426static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
1c0f361b
RD
8427 PyObject *resultobj;
8428 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8429 wxEvtHandler *result;
8430 PyObject * obj0 = 0 ;
8431 char *kwnames[] = {
8432 (char *) "self", NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail;
1c0f361b
RD
8438 {
8439 PyThreadState* __tstate = wxPyBeginAllowThreads();
8440 result = (wxEvtHandler *)(arg1)->GetOwner();
8441
8442 wxPyEndAllowThreads(__tstate);
8443 if (PyErr_Occurred()) SWIG_fail;
8444 }
8445 {
412d302d 8446 resultobj = wxPyMake_wxObject(result, 0);
1c0f361b
RD
8447 }
8448 return resultobj;
8449 fail:
8450 return NULL;
8451}
8452
8453
c32bde28 8454static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8455 PyObject *resultobj;
8456 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8457 int arg2 = (int) -1 ;
ae8162c8 8458 bool arg3 = (bool) false ;
d14a1e28
RD
8459 bool result;
8460 PyObject * obj0 = 0 ;
994141e6 8461 PyObject * obj1 = 0 ;
d14a1e28
RD
8462 PyObject * obj2 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8465 };
8466
994141e6 8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 8470 if (obj1) {
093d3ff1
RD
8471 {
8472 arg2 = (int)(SWIG_As_int(obj1));
8473 if (SWIG_arg_fail(2)) SWIG_fail;
8474 }
994141e6 8475 }
d14a1e28 8476 if (obj2) {
093d3ff1
RD
8477 {
8478 arg3 = (bool)(SWIG_As_bool(obj2));
8479 if (SWIG_arg_fail(3)) SWIG_fail;
8480 }
d14a1e28
RD
8481 }
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (bool)(arg1)->Start(arg2,arg3);
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
4f89f6a3
RD
8489 {
8490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8491 }
d14a1e28
RD
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
c32bde28 8498static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8499 PyObject *resultobj;
8500 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8501 PyObject * obj0 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
8507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8508 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 (arg1)->Stop();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
8516 Py_INCREF(Py_None); resultobj = Py_None;
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
c32bde28 8523static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8524 PyObject *resultobj;
8525 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8526 bool result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
4f89f6a3
RD
8542 {
8543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8544 }
d14a1e28
RD
8545 return resultobj;
8546 fail:
8547 return NULL;
8548}
8549
8550
c32bde28 8551static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8552 PyObject *resultobj;
8553 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8554 int result;
8555 PyObject * obj0 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 result = (int)((wxPyTimer const *)arg1)->GetInterval();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
093d3ff1
RD
8570 {
8571 resultobj = SWIG_From_int((int)(result));
8572 }
d14a1e28
RD
8573 return resultobj;
8574 fail:
8575 return NULL;
8576}
8577
8578
c32bde28 8579static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8580 PyObject *resultobj;
8581 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8582 bool result;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "self", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
4f89f6a3
RD
8598 {
8599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8600 }
d14a1e28
RD
8601 return resultobj;
8602 fail:
8603 return NULL;
8604}
8605
8606
c32bde28 8607static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
cc6dd355
RD
8608 PyObject *resultobj;
8609 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8610 int result;
8611 PyObject * obj0 = 0 ;
8612 char *kwnames[] = {
8613 (char *) "self", NULL
8614 };
8615
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
8617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8618 if (SWIG_arg_fail(1)) SWIG_fail;
cc6dd355
RD
8619 {
8620 PyThreadState* __tstate = wxPyBeginAllowThreads();
8621 result = (int)((wxPyTimer const *)arg1)->GetId();
8622
8623 wxPyEndAllowThreads(__tstate);
8624 if (PyErr_Occurred()) SWIG_fail;
8625 }
093d3ff1
RD
8626 {
8627 resultobj = SWIG_From_int((int)(result));
8628 }
cc6dd355
RD
8629 return resultobj;
8630 fail:
8631 return NULL;
8632}
8633
8634
c32bde28 8635static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8636 PyObject *obj;
8637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8638 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
8639 Py_INCREF(obj);
8640 return Py_BuildValue((char *)"");
8641}
c32bde28 8642static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8643 PyObject *resultobj;
8644 int arg1 = (int) 0 ;
8645 int arg2 = (int) 0 ;
8646 wxTimerEvent *result;
994141e6
RD
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
d14a1e28
RD
8649 char *kwnames[] = {
8650 (char *) "timerid",(char *) "interval", NULL
8651 };
8652
994141e6
RD
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
8654 if (obj0) {
093d3ff1
RD
8655 {
8656 arg1 = (int)(SWIG_As_int(obj0));
8657 if (SWIG_arg_fail(1)) SWIG_fail;
8658 }
994141e6
RD
8659 }
8660 if (obj1) {
093d3ff1
RD
8661 {
8662 arg2 = (int)(SWIG_As_int(obj1));
8663 if (SWIG_arg_fail(2)) SWIG_fail;
8664 }
994141e6 8665 }
d14a1e28
RD
8666 {
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
15afbcd0 8673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
d14a1e28
RD
8674 return resultobj;
8675 fail:
8676 return NULL;
8677}
8678
8679
c32bde28 8680static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8681 PyObject *resultobj;
8682 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
8683 int result;
8684 PyObject * obj0 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
8690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
8691 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
8695
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
093d3ff1
RD
8699 {
8700 resultobj = SWIG_From_int((int)(result));
8701 }
d14a1e28
RD
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
c32bde28 8708static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8709 PyObject *obj;
8710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8711 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
8712 Py_INCREF(obj);
8713 return Py_BuildValue((char *)"");
8714}
c32bde28 8715static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
8716 PyObject *resultobj;
8717 wxTimer *arg1 = 0 ;
8718 wxTimerRunner *result;
8719 PyObject * obj0 = 0 ;
8720
8721 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
8722 {
8723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8724 if (SWIG_arg_fail(1)) SWIG_fail;
8725 if (arg1 == NULL) {
8726 SWIG_null_ref("wxTimer");
8727 }
8728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8729 }
8730 {
e3b71cb8 8731 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
8734
8735 wxPyEndAllowThreads(__tstate);
110da5b0 8736 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8737 }
15afbcd0 8738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
8739 return resultobj;
8740 fail:
8741 return NULL;
8742}
8743
8744
c32bde28 8745static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
8746 PyObject *resultobj;
8747 wxTimer *arg1 = 0 ;
8748 int arg2 ;
ae8162c8 8749 bool arg3 = (bool) false ;
d14a1e28
RD
8750 wxTimerRunner *result;
8751 PyObject * obj0 = 0 ;
994141e6 8752 PyObject * obj1 = 0 ;
d14a1e28
RD
8753 PyObject * obj2 = 0 ;
8754
994141e6 8755 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8756 {
8757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8758 if (SWIG_arg_fail(1)) SWIG_fail;
8759 if (arg1 == NULL) {
8760 SWIG_null_ref("wxTimer");
8761 }
8762 if (SWIG_arg_fail(1)) SWIG_fail;
8763 }
8764 {
8765 arg2 = (int)(SWIG_As_int(obj1));
8766 if (SWIG_arg_fail(2)) SWIG_fail;
8767 }
d14a1e28 8768 if (obj2) {
093d3ff1
RD
8769 {
8770 arg3 = (bool)(SWIG_As_bool(obj2));
8771 if (SWIG_arg_fail(3)) SWIG_fail;
8772 }
d14a1e28
RD
8773 }
8774 {
e3b71cb8 8775 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
8778
8779 wxPyEndAllowThreads(__tstate);
110da5b0 8780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8781 }
15afbcd0 8782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
d14a1e28
RD
8783 return resultobj;
8784 fail:
8785 return NULL;
8786}
8787
8788
8789static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
8790 int argc;
8791 PyObject *argv[4];
8792 int ii;
8793
8794 argc = PyObject_Length(args);
8795 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8796 argv[ii] = PyTuple_GetItem(args,ii);
8797 }
8798 if (argc == 1) {
8799 int _v;
8800 {
093d3ff1 8801 void *ptr = 0;
15afbcd0 8802 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
8803 _v = 0;
8804 PyErr_Clear();
8805 } else {
093d3ff1 8806 _v = (ptr != 0);
d14a1e28
RD
8807 }
8808 }
8809 if (_v) {
8810 return _wrap_new_TimerRunner__SWIG_0(self,args);
8811 }
8812 }
8813 if ((argc >= 2) && (argc <= 3)) {
8814 int _v;
8815 {
093d3ff1 8816 void *ptr = 0;
15afbcd0 8817 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
d14a1e28
RD
8818 _v = 0;
8819 PyErr_Clear();
8820 } else {
093d3ff1 8821 _v = (ptr != 0);
d14a1e28
RD
8822 }
8823 }
8824 if (_v) {
c32bde28 8825 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
8826 if (_v) {
8827 if (argc <= 2) {
8828 return _wrap_new_TimerRunner__SWIG_1(self,args);
8829 }
c32bde28 8830 _v = SWIG_Check_bool(argv[2]);
d14a1e28
RD
8831 if (_v) {
8832 return _wrap_new_TimerRunner__SWIG_1(self,args);
8833 }
8834 }
8835 }
8836 }
8837
093d3ff1 8838 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d14a1e28
RD
8839 return NULL;
8840}
8841
8842
c32bde28 8843static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8844 PyObject *resultobj;
8845 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8846 PyObject * obj0 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
8852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8853 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 delete arg1;
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 Py_INCREF(Py_None); resultobj = Py_None;
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
c32bde28 8868static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8869 PyObject *resultobj;
8870 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8871 int arg2 ;
ae8162c8 8872 bool arg3 = (bool) false ;
d14a1e28 8873 PyObject * obj0 = 0 ;
994141e6 8874 PyObject * obj1 = 0 ;
d14a1e28
RD
8875 PyObject * obj2 = 0 ;
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8878 };
8879
994141e6 8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail;
8883 {
8884 arg2 = (int)(SWIG_As_int(obj1));
8885 if (SWIG_arg_fail(2)) SWIG_fail;
8886 }
d14a1e28 8887 if (obj2) {
093d3ff1
RD
8888 {
8889 arg3 = (bool)(SWIG_As_bool(obj2));
8890 if (SWIG_arg_fail(3)) SWIG_fail;
8891 }
d14a1e28
RD
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 (arg1)->Start(arg2,arg3);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 Py_INCREF(Py_None); resultobj = Py_None;
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
c32bde28 8907static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8908 PyObject *obj;
8909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8910 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
8911 Py_INCREF(obj);
8912 return Py_BuildValue((char *)"");
8913}
c32bde28 8914static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8915 PyObject *resultobj;
8916 wxLog *result;
8917 char *kwnames[] = {
8918 NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
8922 {
8923 PyThreadState* __tstate = wxPyBeginAllowThreads();
8924 result = (wxLog *)new wxLog();
8925
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
15afbcd0 8929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d14a1e28
RD
8930 return resultobj;
8931 fail:
8932 return NULL;
8933}
8934
8935
c32bde28 8936static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8937 PyObject *resultobj;
8938 bool result;
8939 char *kwnames[] = {
8940 NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 result = (bool)wxLog::IsEnabled();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
4f89f6a3
RD
8951 {
8952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8953 }
d14a1e28
RD
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
c32bde28 8960static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 8961 PyObject *resultobj;
ae8162c8 8962 bool arg1 = (bool) true ;
d14a1e28
RD
8963 bool result;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "doIt", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
8970 if (obj0) {
093d3ff1
RD
8971 {
8972 arg1 = (bool)(SWIG_As_bool(obj0));
8973 if (SWIG_arg_fail(1)) SWIG_fail;
8974 }
d14a1e28
RD
8975 }
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (bool)wxLog::EnableLogging(arg1);
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
4f89f6a3
RD
8983 {
8984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8985 }
d14a1e28
RD
8986 return resultobj;
8987 fail:
8988 return NULL;
8989}
8990
8991
c32bde28 8992static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8993 PyObject *resultobj;
8994 wxLogLevel arg1 ;
8995 wxChar *arg2 = (wxChar *) 0 ;
8996 time_t arg3 ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 PyObject * obj2 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "level",(char *) "szString",(char *) "t", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9005 {
9006 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9007 if (SWIG_arg_fail(1)) SWIG_fail;
9008 }
9009 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9010 if (SWIG_arg_fail(2)) SWIG_fail;
9011 {
9012 arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
9013 if (SWIG_arg_fail(3)) SWIG_fail;
9014 }
d14a1e28
RD
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
c32bde28 9029static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9030 PyObject *resultobj;
9031 wxLog *arg1 = (wxLog *) 0 ;
9032 PyObject * obj0 = 0 ;
9033 char *kwnames[] = {
9034 (char *) "self", NULL
9035 };
9036
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
9038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 (arg1)->Flush();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 Py_INCREF(Py_None); resultobj = Py_None;
9048 return resultobj;
9049 fail:
9050 return NULL;
9051}
9052
9053
c32bde28 9054static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9055 PyObject *resultobj;
9056 char *kwnames[] = {
9057 NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 wxLog::FlushActive();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 Py_INCREF(Py_None); resultobj = Py_None;
9069 return resultobj;
9070 fail:
9071 return NULL;
9072}
9073
9074
c32bde28 9075static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9076 PyObject *resultobj;
9077 wxLog *result;
9078 char *kwnames[] = {
9079 NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (wxLog *)wxLog::GetActiveTarget();
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
15afbcd0 9090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9098 PyObject *resultobj;
9099 wxLog *arg1 = (wxLog *) 0 ;
9100 wxLog *result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "pLogger", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (wxLog *)wxLog::SetActiveTarget(arg1);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
15afbcd0 9116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
9117 return resultobj;
9118 fail:
9119 return NULL;
9120}
9121
9122
c32bde28 9123static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9124 PyObject *resultobj;
9125 char *kwnames[] = {
9126 NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 wxLog::Suspend();
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 Py_INCREF(Py_None); resultobj = Py_None;
9138 return resultobj;
9139 fail:
9140 return NULL;
9141}
9142
9143
c32bde28 9144static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9145 PyObject *resultobj;
9146 char *kwnames[] = {
9147 NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 wxLog::Resume();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 Py_INCREF(Py_None); resultobj = Py_None;
9159 return resultobj;
9160 fail:
9161 return NULL;
9162}
9163
9164
c32bde28 9165static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9166 PyObject *resultobj;
ae8162c8 9167 bool arg1 = (bool) true ;
d14a1e28
RD
9168 PyObject * obj0 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "bVerbose", NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9174 if (obj0) {
093d3ff1
RD
9175 {
9176 arg1 = (bool)(SWIG_As_bool(obj0));
9177 if (SWIG_arg_fail(1)) SWIG_fail;
9178 }
d14a1e28
RD
9179 }
9180 {
9181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9182 wxLog::SetVerbose(arg1);
9183
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 Py_INCREF(Py_None); resultobj = Py_None;
9188 return resultobj;
9189 fail:
9190 return NULL;
9191}
9192
9193
c32bde28 9194static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9195 PyObject *resultobj;
9196 wxLogLevel arg1 ;
9197 PyObject * obj0 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "logLevel", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1
RD
9203 {
9204 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9205 if (SWIG_arg_fail(1)) SWIG_fail;
9206 }
d14a1e28
RD
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 wxLog::SetLogLevel(arg1);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 Py_INCREF(Py_None); resultobj = Py_None;
9215 return resultobj;
9216 fail:
9217 return NULL;
9218}
9219
9220
c32bde28 9221static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9222 PyObject *resultobj;
9223 char *kwnames[] = {
9224 NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 wxLog::DontCreateOnDemand();
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 Py_INCREF(Py_None); resultobj = Py_None;
9236 return resultobj;
9237 fail:
9238 return NULL;
9239}
9240
9241
c32bde28 9242static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9243 PyObject *resultobj;
9244 wxTraceMask arg1 ;
9245 PyObject * obj0 = 0 ;
9246 char *kwnames[] = {
9247 (char *) "ulMask", NULL
9248 };
9249
9250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9251 {
9252 arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
9253 if (SWIG_arg_fail(1)) SWIG_fail;
9254 }
d14a1e28
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 wxLog::SetTraceMask(arg1);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 return resultobj;
9264 fail:
9265 return NULL;
9266}
9267
9268
c32bde28 9269static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9270 PyObject *resultobj;
9271 wxString *arg1 = 0 ;
ae8162c8 9272 bool temp1 = false ;
d14a1e28
RD
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "str", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
9279 {
9280 arg1 = wxString_in_helper(obj0);
9281 if (arg1 == NULL) SWIG_fail;
ae8162c8 9282 temp1 = true;
d14a1e28
RD
9283 }
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 wxLog::AddTraceMask((wxString const &)*arg1);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 Py_INCREF(Py_None); resultobj = Py_None;
9292 {
9293 if (temp1)
9294 delete arg1;
9295 }
9296 return resultobj;
9297 fail:
9298 {
9299 if (temp1)
9300 delete arg1;
9301 }
9302 return NULL;
9303}
9304
9305
c32bde28 9306static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9307 PyObject *resultobj;
9308 wxString *arg1 = 0 ;
ae8162c8 9309 bool temp1 = false ;
d14a1e28
RD
9310 PyObject * obj0 = 0 ;
9311 char *kwnames[] = {
9312 (char *) "str", NULL
9313 };
9314
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
9316 {
9317 arg1 = wxString_in_helper(obj0);
9318 if (arg1 == NULL) SWIG_fail;
ae8162c8 9319 temp1 = true;
d14a1e28
RD
9320 }
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 wxLog::RemoveTraceMask((wxString const &)*arg1);
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 Py_INCREF(Py_None); resultobj = Py_None;
9329 {
9330 if (temp1)
9331 delete arg1;
9332 }
9333 return resultobj;
9334 fail:
9335 {
9336 if (temp1)
9337 delete arg1;
9338 }
9339 return NULL;
9340}
9341
9342
c32bde28 9343static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9344 PyObject *resultobj;
9345 char *kwnames[] = {
9346 NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 wxLog::ClearTraceMasks();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 Py_INCREF(Py_None); resultobj = Py_None;
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
c32bde28 9364static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9365 PyObject *resultobj;
9366 wxArrayString *result;
9367 char *kwnames[] = {
9368 NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 {
9375 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
9376 result = (wxArrayString *) &_result_ref;
9377 }
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 {
9383 resultobj = wxArrayString2PyList_helper(*result);
9384 }
9385 return resultobj;
9386 fail:
9387 return NULL;
9388}
9389
9390
c32bde28 9391static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9392 PyObject *resultobj;
9393 wxChar *arg1 = (wxChar *) 0 ;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "ts", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 wxLog::SetTimestamp((wxChar const *)arg1);
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 Py_INCREF(Py_None); resultobj = Py_None;
9410 return resultobj;
9411 fail:
9412 return NULL;
9413}
9414
9415
c32bde28 9416static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9417 PyObject *resultobj;
9418 bool result;
9419 char *kwnames[] = {
9420 NULL
9421 };
9422
9423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (bool)wxLog::GetVerbose();
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
4f89f6a3
RD
9431 {
9432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9433 }
d14a1e28
RD
9434 return resultobj;
9435 fail:
9436 return NULL;
9437}
9438
9439
c32bde28 9440static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9441 PyObject *resultobj;
9442 wxTraceMask result;
9443 char *kwnames[] = {
9444 NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
9450 result = (wxTraceMask)wxLog::GetTraceMask();
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
093d3ff1
RD
9455 {
9456 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9457 }
d14a1e28
RD
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
c32bde28 9464static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9465 PyObject *resultobj;
9466 wxChar *arg1 = (wxChar *) 0 ;
9467 bool result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "mask", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
4f89f6a3
RD
9483 {
9484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9485 }
d14a1e28
RD
9486 return resultobj;
9487 fail:
9488 return NULL;
9489}
9490
9491
c32bde28 9492static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9493 PyObject *resultobj;
9494 wxLogLevel result;
9495 char *kwnames[] = {
9496 NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 result = (wxLogLevel)wxLog::GetLogLevel();
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
093d3ff1
RD
9507 {
9508 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9509 }
d14a1e28
RD
9510 return resultobj;
9511 fail:
9512 return NULL;
9513}
9514
9515
c32bde28 9516static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9517 PyObject *resultobj;
9518 wxChar *result;
9519 char *kwnames[] = {
9520 NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (wxChar *)wxLog::GetTimestamp();
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
15afbcd0 9531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
d14a1e28
RD
9532 return resultobj;
9533 fail:
9534 return NULL;
9535}
9536
9537
c32bde28 9538static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9539 PyObject *resultobj;
9540 wxString result;
9541 char *kwnames[] = {
9542 NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = Log_TimeStamp();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 {
9554#if wxUSE_UNICODE
9555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9556#else
9557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9558#endif
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563}
9564
9565
c32bde28 9566static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9567 PyObject *resultobj;
9568 wxLog *arg1 = (wxLog *) 0 ;
9569 PyObject * obj0 = 0 ;
9570 char *kwnames[] = {
9571 (char *) "self", NULL
9572 };
9573
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
9575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9577 {
9578 PyThreadState* __tstate = wxPyBeginAllowThreads();
9579 wxLog_Destroy(arg1);
9580
9581 wxPyEndAllowThreads(__tstate);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 Py_INCREF(Py_None); resultobj = Py_None;
9585 return resultobj;
9586 fail:
9587 return NULL;
9588}
9589
9590
c32bde28 9591static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9592 PyObject *obj;
9593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9594 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
9595 Py_INCREF(obj);
9596 return Py_BuildValue((char *)"");
9597}
c32bde28 9598static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9599 PyObject *resultobj;
9600 wxLogStderr *result;
9601 char *kwnames[] = {
9602 NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (wxLogStderr *)new wxLogStderr();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
15afbcd0 9613 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
d14a1e28
RD
9614 return resultobj;
9615 fail:
9616 return NULL;
9617}
9618
9619
c32bde28 9620static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9621 PyObject *obj;
9622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9623 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
9624 Py_INCREF(obj);
9625 return Py_BuildValue((char *)"");
9626}
c32bde28 9627static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9628 PyObject *resultobj;
9629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9630 wxLogTextCtrl *result;
9631 PyObject * obj0 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "pTextCtrl", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
9637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9638 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
15afbcd0 9646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
d14a1e28
RD
9647 return resultobj;
9648 fail:
9649 return NULL;
9650}
9651
9652
c32bde28 9653static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9654 PyObject *obj;
9655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9656 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
9657 Py_INCREF(obj);
9658 return Py_BuildValue((char *)"");
9659}
c32bde28 9660static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9661 PyObject *resultobj;
9662 wxLogGui *result;
9663 char *kwnames[] = {
9664 NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (wxLogGui *)new wxLogGui();
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
15afbcd0 9675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
d14a1e28
RD
9676 return resultobj;
9677 fail:
9678 return NULL;
9679}
9680
9681
c32bde28 9682static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9683 PyObject *obj;
9684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9685 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
9686 Py_INCREF(obj);
9687 return Py_BuildValue((char *)"");
9688}
c32bde28 9689static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9690 PyObject *resultobj;
9691 wxFrame *arg1 = (wxFrame *) 0 ;
9692 wxString *arg2 = 0 ;
ae8162c8
RD
9693 bool arg3 = (bool) true ;
9694 bool arg4 = (bool) true ;
d14a1e28 9695 wxLogWindow *result;
ae8162c8 9696 bool temp2 = false ;
d14a1e28
RD
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9699 PyObject * obj2 = 0 ;
9700 PyObject * obj3 = 0 ;
9701 char *kwnames[] = {
9702 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9703 };
9704
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
9707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9708 {
9709 arg2 = wxString_in_helper(obj1);
9710 if (arg2 == NULL) SWIG_fail;
ae8162c8 9711 temp2 = true;
d14a1e28
RD
9712 }
9713 if (obj2) {
093d3ff1
RD
9714 {
9715 arg3 = (bool)(SWIG_As_bool(obj2));
9716 if (SWIG_arg_fail(3)) SWIG_fail;
9717 }
d14a1e28
RD
9718 }
9719 if (obj3) {
093d3ff1
RD
9720 {
9721 arg4 = (bool)(SWIG_As_bool(obj3));
9722 if (SWIG_arg_fail(4)) SWIG_fail;
9723 }
d14a1e28
RD
9724 }
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9728
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
15afbcd0 9732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
d14a1e28
RD
9733 {
9734 if (temp2)
9735 delete arg2;
9736 }
9737 return resultobj;
9738 fail:
9739 {
9740 if (temp2)
9741 delete arg2;
9742 }
9743 return NULL;
9744}
9745
9746
c32bde28 9747static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9748 PyObject *resultobj;
9749 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 9750 bool arg2 = (bool) true ;
d14a1e28
RD
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "bShow", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 9760 if (obj1) {
093d3ff1
RD
9761 {
9762 arg2 = (bool)(SWIG_As_bool(obj1));
9763 if (SWIG_arg_fail(2)) SWIG_fail;
9764 }
d14a1e28
RD
9765 }
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 (arg1)->Show(arg2);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 Py_INCREF(Py_None); resultobj = Py_None;
9774 return resultobj;
9775 fail:
9776 return NULL;
9777}
9778
9779
c32bde28 9780static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9781 PyObject *resultobj;
9782 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9783 wxFrame *result;
9784 PyObject * obj0 = 0 ;
9785 char *kwnames[] = {
9786 (char *) "self", NULL
9787 };
9788
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
9790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9791 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9792 {
9793 PyThreadState* __tstate = wxPyBeginAllowThreads();
9794 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
9795
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 {
412d302d 9800 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
9801 }
9802 return resultobj;
9803 fail:
9804 return NULL;
9805}
9806
9807
c32bde28 9808static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9809 PyObject *resultobj;
9810 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9811 wxLog *result;
9812 PyObject * obj0 = 0 ;
9813 char *kwnames[] = {
9814 (char *) "self", NULL
9815 };
9816
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
9818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
15afbcd0 9827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
9828 return resultobj;
9829 fail:
9830 return NULL;
9831}
9832
9833
c32bde28 9834static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9835 PyObject *resultobj;
9836 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9837 bool result;
9838 PyObject * obj0 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
4f89f6a3
RD
9853 {
9854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9855 }
d14a1e28
RD
9856 return resultobj;
9857 fail:
9858 return NULL;
9859}
9860
9861
c32bde28 9862static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9863 PyObject *resultobj;
9864 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9865 bool arg2 ;
9866 PyObject * obj0 = 0 ;
9867 PyObject * obj1 = 0 ;
9868 char *kwnames[] = {
9869 (char *) "self",(char *) "bDoPass", NULL
9870 };
9871
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail;
9875 {
9876 arg2 = (bool)(SWIG_As_bool(obj1));
9877 if (SWIG_arg_fail(2)) SWIG_fail;
9878 }
d14a1e28
RD
9879 {
9880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9881 (arg1)->PassMessages(arg2);
9882
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 Py_INCREF(Py_None); resultobj = Py_None;
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
c32bde28 9893static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9894 PyObject *obj;
9895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9896 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
9897 Py_INCREF(obj);
9898 return Py_BuildValue((char *)"");
9899}
c32bde28 9900static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9901 PyObject *resultobj;
9902 wxLog *arg1 = (wxLog *) 0 ;
9903 wxLogChain *result;
9904 PyObject * obj0 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "logger", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
9910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 result = (wxLogChain *)new wxLogChain(arg1);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
15afbcd0 9919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
d14a1e28
RD
9920 return resultobj;
9921 fail:
9922 return NULL;
9923}
9924
9925
c32bde28 9926static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9927 PyObject *resultobj;
9928 wxLogChain *arg1 = (wxLogChain *) 0 ;
9929 wxLog *arg2 = (wxLog *) 0 ;
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "logger", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9938 if (SWIG_arg_fail(1)) SWIG_fail;
9939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9940 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
9941 {
9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9943 (arg1)->SetLog(arg2);
9944
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 Py_INCREF(Py_None); resultobj = Py_None;
9949 return resultobj;
9950 fail:
9951 return NULL;
9952}
9953
9954
c32bde28 9955static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9956 PyObject *resultobj;
9957 wxLogChain *arg1 = (wxLogChain *) 0 ;
9958 bool arg2 ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "bDoPass", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9967 if (SWIG_arg_fail(1)) SWIG_fail;
9968 {
9969 arg2 = (bool)(SWIG_As_bool(obj1));
9970 if (SWIG_arg_fail(2)) SWIG_fail;
9971 }
d14a1e28
RD
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 (arg1)->PassMessages(arg2);
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 Py_INCREF(Py_None); resultobj = Py_None;
9980 return resultobj;
9981 fail:
9982 return NULL;
9983}
9984
9985
c32bde28 9986static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9987 PyObject *resultobj;
9988 wxLogChain *arg1 = (wxLogChain *) 0 ;
9989 bool result;
9990 PyObject * obj0 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
9996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9997 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (bool)(arg1)->IsPassingMessages();
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
4f89f6a3
RD
10005 {
10006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10007 }
d14a1e28
RD
10008 return resultobj;
10009 fail:
10010 return NULL;
10011}
10012
10013
c32bde28 10014static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10015 PyObject *resultobj;
10016 wxLogChain *arg1 = (wxLogChain *) 0 ;
10017 wxLog *result;
10018 PyObject * obj0 = 0 ;
10019 char *kwnames[] = {
10020 (char *) "self", NULL
10021 };
10022
10023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
10024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (wxLog *)(arg1)->GetOldLog();
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
15afbcd0 10033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
d14a1e28
RD
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
c32bde28 10040static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10041 PyObject *obj;
10042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10043 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
10044 Py_INCREF(obj);
10045 return Py_BuildValue((char *)"");
10046}
53307de4
RD
10047static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxLogBuffer *result;
10050 char *kwnames[] = {
10051 NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (wxLogBuffer *)new wxLogBuffer();
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
10063 return resultobj;
10064 fail:
10065 return NULL;
10066}
10067
10068
10069static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
10070 PyObject *resultobj;
10071 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10072 wxString *result;
10073 PyObject * obj0 = 0 ;
10074 char *kwnames[] = {
10075 (char *) "self", NULL
10076 };
10077
10078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
10079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail;
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 {
10084 wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
10085 result = (wxString *) &_result_ref;
10086 }
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 {
10092#if wxUSE_UNICODE
10093 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10094#else
10095 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10096#endif
10097 }
10098 return resultobj;
10099 fail:
10100 return NULL;
10101}
10102
10103
10104static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
10105 PyObject *resultobj;
10106 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
10113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail;
10115 {
10116 PyThreadState* __tstate = wxPyBeginAllowThreads();
10117 (arg1)->Flush();
10118
10119 wxPyEndAllowThreads(__tstate);
10120 if (PyErr_Occurred()) SWIG_fail;
10121 }
10122 Py_INCREF(Py_None); resultobj = Py_None;
10123 return resultobj;
10124 fail:
10125 return NULL;
10126}
10127
10128
10129static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
10130 PyObject *obj;
10131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10132 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
10133 Py_INCREF(obj);
10134 return Py_BuildValue((char *)"");
10135}
c32bde28 10136static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10137 PyObject *resultobj;
10138 unsigned long result;
10139 char *kwnames[] = {
10140 NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 result = (unsigned long)wxSysErrorCode();
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
093d3ff1
RD
10151 {
10152 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
10153 }
d14a1e28
RD
10154 return resultobj;
10155 fail:
10156 return NULL;
10157}
10158
10159
c32bde28 10160static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10161 PyObject *resultobj;
10162 unsigned long arg1 = (unsigned long) 0 ;
10163 wxString result;
10164 PyObject * obj0 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "nErrCode", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10170 if (obj0) {
093d3ff1
RD
10171 {
10172 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10173 if (SWIG_arg_fail(1)) SWIG_fail;
10174 }
d14a1e28
RD
10175 }
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = wxSysErrorMsg(arg1);
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 {
10184#if wxUSE_UNICODE
10185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10186#else
10187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10188#endif
10189 }
10190 return resultobj;
10191 fail:
10192 return NULL;
10193}
10194
10195
c32bde28 10196static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10197 PyObject *resultobj;
10198 wxString *arg1 = 0 ;
ae8162c8 10199 bool temp1 = false ;
d14a1e28
RD
10200 PyObject * obj0 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "msg", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
10206 {
10207 arg1 = wxString_in_helper(obj0);
10208 if (arg1 == NULL) SWIG_fail;
ae8162c8 10209 temp1 = true;
d14a1e28
RD
10210 }
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10213 wxPyLogFatalError((wxString const &)*arg1);
d14a1e28
RD
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 Py_INCREF(Py_None); resultobj = Py_None;
10219 {
10220 if (temp1)
10221 delete arg1;
10222 }
10223 return resultobj;
10224 fail:
10225 {
10226 if (temp1)
10227 delete arg1;
10228 }
10229 return NULL;
10230}
10231
10232
c32bde28 10233static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10234 PyObject *resultobj;
10235 wxString *arg1 = 0 ;
ae8162c8 10236 bool temp1 = false ;
d14a1e28
RD
10237 PyObject * obj0 = 0 ;
10238 char *kwnames[] = {
10239 (char *) "msg", NULL
10240 };
10241
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
10243 {
10244 arg1 = wxString_in_helper(obj0);
10245 if (arg1 == NULL) SWIG_fail;
ae8162c8 10246 temp1 = true;
d14a1e28
RD
10247 }
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10250 wxPyLogError((wxString const &)*arg1);
d14a1e28
RD
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 Py_INCREF(Py_None); resultobj = Py_None;
10256 {
10257 if (temp1)
10258 delete arg1;
10259 }
10260 return resultobj;
10261 fail:
10262 {
10263 if (temp1)
10264 delete arg1;
10265 }
10266 return NULL;
10267}
10268
10269
c32bde28 10270static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10271 PyObject *resultobj;
10272 wxString *arg1 = 0 ;
ae8162c8 10273 bool temp1 = false ;
d14a1e28
RD
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "msg", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
10280 {
10281 arg1 = wxString_in_helper(obj0);
10282 if (arg1 == NULL) SWIG_fail;
ae8162c8 10283 temp1 = true;
d14a1e28
RD
10284 }
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10287 wxPyLogWarning((wxString const &)*arg1);
d14a1e28
RD
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 Py_INCREF(Py_None); resultobj = Py_None;
10293 {
10294 if (temp1)
10295 delete arg1;
10296 }
10297 return resultobj;
10298 fail:
10299 {
10300 if (temp1)
10301 delete arg1;
10302 }
10303 return NULL;
10304}
10305
10306
c32bde28 10307static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10308 PyObject *resultobj;
10309 wxString *arg1 = 0 ;
ae8162c8 10310 bool temp1 = false ;
d14a1e28
RD
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "msg", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
10317 {
10318 arg1 = wxString_in_helper(obj0);
10319 if (arg1 == NULL) SWIG_fail;
ae8162c8 10320 temp1 = true;
d14a1e28
RD
10321 }
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10324 wxPyLogMessage((wxString const &)*arg1);
d14a1e28
RD
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 Py_INCREF(Py_None); resultobj = Py_None;
10330 {
10331 if (temp1)
10332 delete arg1;
10333 }
10334 return resultobj;
10335 fail:
10336 {
10337 if (temp1)
10338 delete arg1;
10339 }
10340 return NULL;
10341}
10342
10343
c32bde28 10344static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10345 PyObject *resultobj;
10346 wxString *arg1 = 0 ;
ae8162c8 10347 bool temp1 = false ;
d14a1e28
RD
10348 PyObject * obj0 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "msg", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
10354 {
10355 arg1 = wxString_in_helper(obj0);
10356 if (arg1 == NULL) SWIG_fail;
ae8162c8 10357 temp1 = true;
d14a1e28
RD
10358 }
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10361 wxPyLogInfo((wxString const &)*arg1);
d14a1e28
RD
10362
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 Py_INCREF(Py_None); resultobj = Py_None;
10367 {
10368 if (temp1)
10369 delete arg1;
10370 }
10371 return resultobj;
10372 fail:
10373 {
10374 if (temp1)
10375 delete arg1;
10376 }
10377 return NULL;
10378}
10379
10380
c32bde28 10381static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10382 PyObject *resultobj;
10383 wxString *arg1 = 0 ;
ae8162c8 10384 bool temp1 = false ;
d14a1e28
RD
10385 PyObject * obj0 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "msg", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
10391 {
10392 arg1 = wxString_in_helper(obj0);
10393 if (arg1 == NULL) SWIG_fail;
ae8162c8 10394 temp1 = true;
d14a1e28
RD
10395 }
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10398 wxPyLogDebug((wxString const &)*arg1);
d14a1e28
RD
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 {
10405 if (temp1)
10406 delete arg1;
10407 }
10408 return resultobj;
10409 fail:
10410 {
10411 if (temp1)
10412 delete arg1;
10413 }
10414 return NULL;
10415}
10416
10417
c32bde28 10418static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10419 PyObject *resultobj;
10420 wxString *arg1 = 0 ;
ae8162c8 10421 bool temp1 = false ;
d14a1e28
RD
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "msg", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
10428 {
10429 arg1 = wxString_in_helper(obj0);
10430 if (arg1 == NULL) SWIG_fail;
ae8162c8 10431 temp1 = true;
d14a1e28
RD
10432 }
10433 {
10434 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10435 wxPyLogVerbose((wxString const &)*arg1);
d14a1e28
RD
10436
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 Py_INCREF(Py_None); resultobj = Py_None;
10441 {
10442 if (temp1)
10443 delete arg1;
10444 }
10445 return resultobj;
10446 fail:
10447 {
10448 if (temp1)
10449 delete arg1;
10450 }
10451 return NULL;
10452}
10453
10454
c32bde28 10455static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10456 PyObject *resultobj;
10457 wxString *arg1 = 0 ;
ae8162c8 10458 bool temp1 = false ;
d14a1e28
RD
10459 PyObject * obj0 = 0 ;
10460 char *kwnames[] = {
10461 (char *) "msg", NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
10465 {
10466 arg1 = wxString_in_helper(obj0);
10467 if (arg1 == NULL) SWIG_fail;
ae8162c8 10468 temp1 = true;
d14a1e28
RD
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10472 wxPyLogStatus((wxString const &)*arg1);
d14a1e28
RD
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 Py_INCREF(Py_None); resultobj = Py_None;
10478 {
10479 if (temp1)
10480 delete arg1;
10481 }
10482 return resultobj;
10483 fail:
10484 {
10485 if (temp1)
10486 delete arg1;
10487 }
10488 return NULL;
10489}
10490
10491
c32bde28 10492static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10493 PyObject *resultobj;
10494 wxFrame *arg1 = (wxFrame *) 0 ;
10495 wxString *arg2 = 0 ;
ae8162c8 10496 bool temp2 = false ;
d14a1e28
RD
10497 PyObject * obj0 = 0 ;
10498 PyObject * obj1 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "pFrame",(char *) "msg", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10506 {
10507 arg2 = wxString_in_helper(obj1);
10508 if (arg2 == NULL) SWIG_fail;
ae8162c8 10509 temp2 = true;
d14a1e28
RD
10510 }
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10513 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d14a1e28
RD
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 Py_INCREF(Py_None); resultobj = Py_None;
10519 {
10520 if (temp2)
10521 delete arg2;
10522 }
10523 return resultobj;
10524 fail:
10525 {
10526 if (temp2)
10527 delete arg2;
10528 }
10529 return NULL;
10530}
10531
10532
c32bde28 10533static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10534 PyObject *resultobj;
10535 wxString *arg1 = 0 ;
ae8162c8 10536 bool temp1 = false ;
d14a1e28
RD
10537 PyObject * obj0 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "msg", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
10543 {
10544 arg1 = wxString_in_helper(obj0);
10545 if (arg1 == NULL) SWIG_fail;
ae8162c8 10546 temp1 = true;
d14a1e28
RD
10547 }
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10550 wxPyLogSysError((wxString const &)*arg1);
d14a1e28
RD
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 {
10557 if (temp1)
10558 delete arg1;
10559 }
10560 return resultobj;
10561 fail:
10562 {
10563 if (temp1)
10564 delete arg1;
10565 }
10566 return NULL;
10567}
10568
10569
f78cc896
RD
10570static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 unsigned long arg1 ;
10573 wxString *arg2 = 0 ;
10574 bool temp2 = false ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "level",(char *) "msg", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10582 {
10583 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10584 if (SWIG_arg_fail(1)) SWIG_fail;
10585 }
f78cc896
RD
10586 {
10587 arg2 = wxString_in_helper(obj1);
10588 if (arg2 == NULL) SWIG_fail;
10589 temp2 = true;
10590 }
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 wxPyLogGeneric(arg1,(wxString const &)*arg2);
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 Py_INCREF(Py_None); resultobj = Py_None;
10599 {
10600 if (temp2)
10601 delete arg2;
10602 }
10603 return resultobj;
10604 fail:
10605 {
10606 if (temp2)
10607 delete arg2;
10608 }
10609 return NULL;
10610}
10611
10612
c32bde28 10613static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 10614 PyObject *resultobj;
cc6dd355
RD
10615 unsigned long arg1 ;
10616 wxString *arg2 = 0 ;
ae8162c8 10617 bool temp2 = false ;
d14a1e28 10618 PyObject * obj0 = 0 ;
cc6dd355 10619 PyObject * obj1 = 0 ;
d14a1e28 10620
cc6dd355 10621 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1
RD
10622 {
10623 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10624 if (SWIG_arg_fail(1)) SWIG_fail;
10625 }
d14a1e28 10626 {
cc6dd355
RD
10627 arg2 = wxString_in_helper(obj1);
10628 if (arg2 == NULL) SWIG_fail;
ae8162c8 10629 temp2 = true;
d14a1e28
RD
10630 }
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10633 wxPyLogTrace(arg1,(wxString const &)*arg2);
d14a1e28
RD
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 Py_INCREF(Py_None); resultobj = Py_None;
10639 {
cc6dd355
RD
10640 if (temp2)
10641 delete arg2;
d14a1e28
RD
10642 }
10643 return resultobj;
10644 fail:
10645 {
cc6dd355
RD
10646 if (temp2)
10647 delete arg2;
d14a1e28
RD
10648 }
10649 return NULL;
10650}
10651
10652
c32bde28 10653static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
10654 PyObject *resultobj;
10655 wxString *arg1 = 0 ;
10656 wxString *arg2 = 0 ;
ae8162c8
RD
10657 bool temp1 = false ;
10658 bool temp2 = false ;
d14a1e28
RD
10659 PyObject * obj0 = 0 ;
10660 PyObject * obj1 = 0 ;
d14a1e28 10661
cc6dd355 10662 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
d14a1e28
RD
10663 {
10664 arg1 = wxString_in_helper(obj0);
10665 if (arg1 == NULL) SWIG_fail;
ae8162c8 10666 temp1 = true;
d14a1e28
RD
10667 }
10668 {
10669 arg2 = wxString_in_helper(obj1);
10670 if (arg2 == NULL) SWIG_fail;
ae8162c8 10671 temp2 = true;
d14a1e28
RD
10672 }
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 10675 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d14a1e28
RD
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 Py_INCREF(Py_None); resultobj = Py_None;
10681 {
10682 if (temp1)
10683 delete arg1;
10684 }
10685 {
10686 if (temp2)
10687 delete arg2;
10688 }
10689 return resultobj;
10690 fail:
10691 {
10692 if (temp1)
10693 delete arg1;
10694 }
10695 {
10696 if (temp2)
10697 delete arg2;
10698 }
10699 return NULL;
10700}
10701
10702
cc6dd355
RD
10703static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
10704 int argc;
10705 PyObject *argv[3];
10706 int ii;
10707
10708 argc = PyObject_Length(args);
10709 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
10710 argv[ii] = PyTuple_GetItem(args,ii);
10711 }
10712 if (argc == 2) {
10713 int _v;
10714 {
4d5c3d91 10715 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
cc6dd355
RD
10716 }
10717 if (_v) {
10718 {
4d5c3d91 10719 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
10720 }
10721 if (_v) {
10722 return _wrap_LogTrace__SWIG_1(self,args);
10723 }
10724 }
10725 }
10726 if (argc == 2) {
10727 int _v;
c32bde28 10728 _v = SWIG_Check_unsigned_SS_long(argv[0]);
cc6dd355
RD
10729 if (_v) {
10730 {
4d5c3d91 10731 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
cc6dd355
RD
10732 }
10733 if (_v) {
10734 return _wrap_LogTrace__SWIG_0(self,args);
10735 }
10736 }
10737 }
10738
093d3ff1 10739 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
cc6dd355
RD
10740 return NULL;
10741}
10742
10743
c32bde28 10744static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10745 PyObject *resultobj;
10746 wxString *arg1 = 0 ;
10747 wxString *arg2 = 0 ;
ae8162c8
RD
10748 bool temp1 = false ;
10749 bool temp2 = false ;
d14a1e28
RD
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 char *kwnames[] = {
10753 (char *) "title",(char *) "text", NULL
10754 };
10755
10756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
10757 {
10758 arg1 = wxString_in_helper(obj0);
10759 if (arg1 == NULL) SWIG_fail;
ae8162c8 10760 temp1 = true;
d14a1e28
RD
10761 }
10762 {
10763 arg2 = wxString_in_helper(obj1);
10764 if (arg2 == NULL) SWIG_fail;
ae8162c8 10765 temp2 = true;
d14a1e28
RD
10766 }
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 Py_INCREF(Py_None); resultobj = Py_None;
10775 {
10776 if (temp1)
10777 delete arg1;
10778 }
10779 {
10780 if (temp2)
10781 delete arg2;
10782 }
10783 return resultobj;
10784 fail:
10785 {
10786 if (temp1)
10787 delete arg1;
10788 }
10789 {
10790 if (temp2)
10791 delete arg2;
10792 }
10793 return NULL;
10794}
10795
10796
c32bde28 10797static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10798 PyObject *resultobj;
10799 wxLogNull *result;
10800 char *kwnames[] = {
10801 NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 result = (wxLogNull *)new wxLogNull();
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
15afbcd0 10812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
d14a1e28
RD
10813 return resultobj;
10814 fail:
10815 return NULL;
10816}
10817
10818
c32bde28 10819static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10820 PyObject *resultobj;
10821 wxLogNull *arg1 = (wxLogNull *) 0 ;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
10828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
10829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 delete arg1;
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 Py_INCREF(Py_None); resultobj = Py_None;
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
c32bde28 10844static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10845 PyObject *obj;
10846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10847 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
10848 Py_INCREF(obj);
10849 return Py_BuildValue((char *)"");
10850}
c32bde28 10851static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10852 PyObject *resultobj;
10853 wxPyLog *result;
10854 char *kwnames[] = {
10855 NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 result = (wxPyLog *)new wxPyLog();
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
15afbcd0 10866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
d14a1e28
RD
10867 return resultobj;
10868 fail:
10869 return NULL;
10870}
10871
10872
c32bde28 10873static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10874 PyObject *resultobj;
10875 wxPyLog *arg1 = (wxPyLog *) 0 ;
10876 PyObject *arg2 = (PyObject *) 0 ;
10877 PyObject *arg3 = (PyObject *) 0 ;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj1 = 0 ;
10880 PyObject * obj2 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self",(char *) "self",(char *) "_class", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10888 arg2 = obj1;
10889 arg3 = obj2;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->_setCallbackInfo(arg2,arg3);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901}
10902
10903
c32bde28 10904static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10905 PyObject *obj;
10906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10907 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
10908 Py_INCREF(obj);
10909 return Py_BuildValue((char *)"");
10910}
c32bde28 10911static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10912 PyObject *resultobj;
10913 int arg1 ;
093d3ff1 10914 wxSignal arg2 = (wxSignal) wxSIGTERM ;
1823fbb4 10915 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 10916 wxKillError result;
994141e6
RD
10917 PyObject * obj0 = 0 ;
10918 PyObject * obj1 = 0 ;
1823fbb4 10919 PyObject * obj2 = 0 ;
d14a1e28 10920 char *kwnames[] = {
1823fbb4 10921 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d14a1e28
RD
10922 };
10923
1823fbb4 10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10925 {
10926 arg1 = (int)(SWIG_As_int(obj0));
10927 if (SWIG_arg_fail(1)) SWIG_fail;
10928 }
994141e6 10929 if (obj1) {
093d3ff1
RD
10930 {
10931 arg2 = (wxSignal)(SWIG_As_int(obj1));
10932 if (SWIG_arg_fail(2)) SWIG_fail;
10933 }
994141e6 10934 }
1823fbb4 10935 if (obj2) {
093d3ff1
RD
10936 {
10937 arg3 = (int)(SWIG_As_int(obj2));
10938 if (SWIG_arg_fail(3)) SWIG_fail;
10939 }
1823fbb4 10940 }
d14a1e28
RD
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10943 result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
d14a1e28
RD
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
093d3ff1 10948 resultobj = SWIG_From_int((result));
d14a1e28
RD
10949 return resultobj;
10950 fail:
10951 return NULL;
10952}
10953
10954
c32bde28 10955static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10956 PyObject *resultobj;
10957 int arg1 ;
10958 bool result;
994141e6 10959 PyObject * obj0 = 0 ;
d14a1e28
RD
10960 char *kwnames[] = {
10961 (char *) "pid", NULL
10962 };
10963
994141e6 10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1
RD
10965 {
10966 arg1 = (int)(SWIG_As_int(obj0));
10967 if (SWIG_arg_fail(1)) SWIG_fail;
10968 }
d14a1e28
RD
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (bool)wxPyProcess::Exists(arg1);
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
4f89f6a3
RD
10976 {
10977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10978 }
d14a1e28
RD
10979 return resultobj;
10980 fail:
10981 return NULL;
10982}
10983
10984
c32bde28 10985static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10986 PyObject *resultobj;
10987 wxString *arg1 = 0 ;
10988 int arg2 = (int) wxEXEC_ASYNC ;
10989 wxPyProcess *result;
ae8162c8 10990 bool temp1 = false ;
d14a1e28 10991 PyObject * obj0 = 0 ;
994141e6 10992 PyObject * obj1 = 0 ;
d14a1e28
RD
10993 char *kwnames[] = {
10994 (char *) "cmd",(char *) "flags", NULL
10995 };
10996
994141e6 10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
10998 {
10999 arg1 = wxString_in_helper(obj0);
11000 if (arg1 == NULL) SWIG_fail;
ae8162c8 11001 temp1 = true;
d14a1e28 11002 }
994141e6 11003 if (obj1) {
093d3ff1
RD
11004 {
11005 arg2 = (int)(SWIG_As_int(obj1));
11006 if (SWIG_arg_fail(2)) SWIG_fail;
11007 }
994141e6 11008 }
d14a1e28
RD
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
11011 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
15afbcd0 11016 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
d14a1e28
RD
11017 {
11018 if (temp1)
11019 delete arg1;
11020 }
11021 return resultobj;
11022 fail:
11023 {
11024 if (temp1)
11025 delete arg1;
11026 }
11027 return NULL;
11028}
11029
11030
c32bde28 11031static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11032 PyObject *resultobj;
11033 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
11034 int arg2 = (int) -1 ;
11035 wxPyProcess *result;
11036 PyObject * obj0 = 0 ;
994141e6 11037 PyObject * obj1 = 0 ;
d14a1e28
RD
11038 char *kwnames[] = {
11039 (char *) "parent",(char *) "id", NULL
11040 };
11041
994141e6 11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11043 if (obj0) {
093d3ff1
RD
11044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
11045 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 11046 }
994141e6 11047 if (obj1) {
093d3ff1
RD
11048 {
11049 arg2 = (int)(SWIG_As_int(obj1));
11050 if (SWIG_arg_fail(2)) SWIG_fail;
11051 }
994141e6 11052 }
d14a1e28
RD
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
15afbcd0 11060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
d14a1e28
RD
11061 return resultobj;
11062 fail:
11063 return NULL;
11064}
11065
11066
c32bde28 11067static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11068 PyObject *resultobj;
11069 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11070 PyObject *arg2 = (PyObject *) 0 ;
11071 PyObject *arg3 = (PyObject *) 0 ;
11072 PyObject * obj0 = 0 ;
11073 PyObject * obj1 = 0 ;
11074 PyObject * obj2 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "self",(char *) "_class", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11082 arg2 = obj1;
11083 arg3 = obj2;
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 (arg1)->_setCallbackInfo(arg2,arg3);
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095}
11096
11097
c32bde28 11098static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11099 PyObject *resultobj;
11100 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11101 int arg2 ;
11102 int arg3 ;
11103 PyObject * obj0 = 0 ;
994141e6
RD
11104 PyObject * obj1 = 0 ;
11105 PyObject * obj2 = 0 ;
d14a1e28
RD
11106 char *kwnames[] = {
11107 (char *) "self",(char *) "pid",(char *) "status", NULL
11108 };
11109
994141e6 11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11112 if (SWIG_arg_fail(1)) SWIG_fail;
11113 {
11114 arg2 = (int)(SWIG_As_int(obj1));
11115 if (SWIG_arg_fail(2)) SWIG_fail;
11116 }
11117 {
11118 arg3 = (int)(SWIG_As_int(obj2));
11119 if (SWIG_arg_fail(3)) SWIG_fail;
11120 }
d14a1e28
RD
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 (arg1)->base_OnTerminate(arg2,arg3);
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 return resultobj;
11130 fail:
11131 return NULL;
11132}
11133
11134
c32bde28 11135static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11136 PyObject *resultobj;
11137 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11138 PyObject * obj0 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
11144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->Redirect();
11149
11150 wxPyEndAllowThreads(__tstate);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 Py_INCREF(Py_None); resultobj = Py_None;
11154 return resultobj;
11155 fail:
11156 return NULL;
11157}
11158
11159
c32bde28 11160static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11161 PyObject *resultobj;
11162 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11163 bool result;
11164 PyObject * obj0 = 0 ;
11165 char *kwnames[] = {
11166 (char *) "self", NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
11170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11171 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)(arg1)->IsRedirected();
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
4f89f6a3
RD
11179 {
11180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11181 }
d14a1e28
RD
11182 return resultobj;
11183 fail:
11184 return NULL;
11185}
11186
11187
c32bde28 11188static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11189 PyObject *resultobj;
11190 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
11197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->Detach();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210}
11211
11212
c32bde28 11213static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11214 PyObject *resultobj;
11215 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11216 wxInputStream *result;
11217 PyObject * obj0 = 0 ;
11218 char *kwnames[] = {
11219 (char *) "self", NULL
11220 };
11221
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11224 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (wxInputStream *)(arg1)->GetInputStream();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 {
11233 wxPyInputStream * _ptr = NULL;
11234
11235 if (result) {
11236 _ptr = new wxPyInputStream(result);
11237 }
fc71d09b 11238 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
11239 }
11240 return resultobj;
11241 fail:
11242 return NULL;
11243}
11244
11245
c32bde28 11246static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11247 PyObject *resultobj;
11248 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11249 wxInputStream *result;
11250 PyObject * obj0 = 0 ;
11251 char *kwnames[] = {
11252 (char *) "self", NULL
11253 };
11254
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11257 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 result = (wxInputStream *)(arg1)->GetErrorStream();
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
11265 {
11266 wxPyInputStream * _ptr = NULL;
11267
11268 if (result) {
11269 _ptr = new wxPyInputStream(result);
11270 }
fc71d09b 11271 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d14a1e28
RD
11272 }
11273 return resultobj;
11274 fail:
11275 return NULL;
11276}
11277
11278
c32bde28 11279static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11280 PyObject *resultobj;
11281 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11282 wxOutputStream *result;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
11289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11291 {
11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
11293 result = (wxOutputStream *)(arg1)->GetOutputStream();
11294
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
15afbcd0 11298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
d14a1e28
RD
11299 return resultobj;
11300 fail:
11301 return NULL;
11302}
11303
11304
c32bde28 11305static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11306 PyObject *resultobj;
11307 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11308 PyObject * obj0 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
11314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 (arg1)->CloseOutput();
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 Py_INCREF(Py_None); resultobj = Py_None;
11324 return resultobj;
11325 fail:
11326 return NULL;
11327}
11328
11329
c32bde28 11330static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11331 PyObject *resultobj;
11332 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11333 bool result;
11334 PyObject * obj0 = 0 ;
11335 char *kwnames[] = {
11336 (char *) "self", NULL
11337 };
11338
11339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
11340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
4f89f6a3
RD
11349 {
11350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11351 }
d14a1e28
RD
11352 return resultobj;
11353 fail:
11354 return NULL;
11355}
11356
11357
c32bde28 11358static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11359 PyObject *resultobj;
11360 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11361 bool result;
11362 PyObject * obj0 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
4f89f6a3
RD
11377 {
11378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11379 }
d14a1e28
RD
11380 return resultobj;
11381 fail:
11382 return NULL;
11383}
11384
11385
c32bde28 11386static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11387 PyObject *resultobj;
11388 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11389 bool result;
11390 PyObject * obj0 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
11396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11397 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
4f89f6a3
RD
11405 {
11406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11407 }
d14a1e28
RD
11408 return resultobj;
11409 fail:
11410 return NULL;
11411}
11412
11413
c32bde28 11414static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11415 PyObject *obj;
11416 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11417 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
11418 Py_INCREF(obj);
11419 return Py_BuildValue((char *)"");
11420}
c32bde28 11421static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11422 PyObject *resultobj;
11423 int arg1 = (int) 0 ;
11424 int arg2 = (int) 0 ;
11425 int arg3 = (int) 0 ;
11426 wxProcessEvent *result;
994141e6
RD
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 PyObject * obj2 = 0 ;
d14a1e28
RD
11430 char *kwnames[] = {
11431 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11432 };
11433
994141e6
RD
11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
11435 if (obj0) {
093d3ff1
RD
11436 {
11437 arg1 = (int)(SWIG_As_int(obj0));
11438 if (SWIG_arg_fail(1)) SWIG_fail;
11439 }
994141e6
RD
11440 }
11441 if (obj1) {
093d3ff1
RD
11442 {
11443 arg2 = (int)(SWIG_As_int(obj1));
11444 if (SWIG_arg_fail(2)) SWIG_fail;
11445 }
994141e6
RD
11446 }
11447 if (obj2) {
093d3ff1
RD
11448 {
11449 arg3 = (int)(SWIG_As_int(obj2));
11450 if (SWIG_arg_fail(3)) SWIG_fail;
11451 }
994141e6 11452 }
d14a1e28
RD
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
15afbcd0 11460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
d14a1e28
RD
11461 return resultobj;
11462 fail:
11463 return NULL;
11464}
11465
11466
c32bde28 11467static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11468 PyObject *resultobj;
11469 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11470 int result;
11471 PyObject * obj0 = 0 ;
11472 char *kwnames[] = {
11473 (char *) "self", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
11477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (int)(arg1)->GetPid();
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
093d3ff1
RD
11486 {
11487 resultobj = SWIG_From_int((int)(result));
11488 }
d14a1e28
RD
11489 return resultobj;
11490 fail:
11491 return NULL;
11492}
11493
11494
c32bde28 11495static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11496 PyObject *resultobj;
11497 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11498 int result;
11499 PyObject * obj0 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "self", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
11505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (int)(arg1)->GetExitCode();
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
093d3ff1
RD
11514 {
11515 resultobj = SWIG_From_int((int)(result));
11516 }
d14a1e28
RD
11517 return resultobj;
11518 fail:
11519 return NULL;
11520}
11521
11522
c32bde28 11523static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11524 PyObject *resultobj;
11525 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11526 int arg2 ;
11527 PyObject * obj0 = 0 ;
994141e6 11528 PyObject * obj1 = 0 ;
d14a1e28
RD
11529 char *kwnames[] = {
11530 (char *) "self",(char *) "m_pid", NULL
11531 };
11532
994141e6 11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11535 if (SWIG_arg_fail(1)) SWIG_fail;
11536 {
11537 arg2 = (int)(SWIG_As_int(obj1));
11538 if (SWIG_arg_fail(2)) SWIG_fail;
11539 }
d14a1e28
RD
11540 if (arg1) (arg1)->m_pid = arg2;
11541
11542 Py_INCREF(Py_None); resultobj = Py_None;
11543 return resultobj;
11544 fail:
11545 return NULL;
11546}
11547
11548
c32bde28 11549static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11550 PyObject *resultobj;
11551 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11552 int result;
11553 PyObject * obj0 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11561 result = (int) ((arg1)->m_pid);
11562
093d3ff1
RD
11563 {
11564 resultobj = SWIG_From_int((int)(result));
11565 }
d14a1e28
RD
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
c32bde28 11572static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11573 PyObject *resultobj;
11574 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11575 int arg2 ;
11576 PyObject * obj0 = 0 ;
994141e6 11577 PyObject * obj1 = 0 ;
d14a1e28
RD
11578 char *kwnames[] = {
11579 (char *) "self",(char *) "m_exitcode", NULL
11580 };
11581
994141e6 11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11584 if (SWIG_arg_fail(1)) SWIG_fail;
11585 {
11586 arg2 = (int)(SWIG_As_int(obj1));
11587 if (SWIG_arg_fail(2)) SWIG_fail;
11588 }
d14a1e28
RD
11589 if (arg1) (arg1)->m_exitcode = arg2;
11590
11591 Py_INCREF(Py_None); resultobj = Py_None;
11592 return resultobj;
11593 fail:
11594 return NULL;
11595}
11596
11597
c32bde28 11598static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11599 PyObject *resultobj;
11600 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11601 int result;
11602 PyObject * obj0 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
11608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11609 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11610 result = (int) ((arg1)->m_exitcode);
11611
093d3ff1
RD
11612 {
11613 resultobj = SWIG_From_int((int)(result));
11614 }
d14a1e28
RD
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
c32bde28 11621static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11622 PyObject *obj;
11623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11624 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
11625 Py_INCREF(obj);
11626 return Py_BuildValue((char *)"");
11627}
c32bde28 11628static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11629 PyObject *resultobj;
11630 wxString *arg1 = 0 ;
11631 int arg2 = (int) wxEXEC_ASYNC ;
11632 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
11633 long result;
ae8162c8 11634 bool temp1 = false ;
d14a1e28 11635 PyObject * obj0 = 0 ;
994141e6 11636 PyObject * obj1 = 0 ;
d14a1e28
RD
11637 PyObject * obj2 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "command",(char *) "flags",(char *) "process", NULL
11640 };
11641
994141e6 11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
11643 {
11644 arg1 = wxString_in_helper(obj0);
11645 if (arg1 == NULL) SWIG_fail;
ae8162c8 11646 temp1 = true;
d14a1e28 11647 }
994141e6 11648 if (obj1) {
093d3ff1
RD
11649 {
11650 arg2 = (int)(SWIG_As_int(obj1));
11651 if (SWIG_arg_fail(2)) SWIG_fail;
11652 }
994141e6 11653 }
d14a1e28 11654 if (obj2) {
093d3ff1
RD
11655 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
11657 }
11658 {
e3b71cb8 11659 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11660 PyThreadState* __tstate = wxPyBeginAllowThreads();
11661 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
11662
11663 wxPyEndAllowThreads(__tstate);
110da5b0 11664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11665 }
093d3ff1
RD
11666 {
11667 resultobj = SWIG_From_long((long)(result));
11668 }
d14a1e28
RD
11669 {
11670 if (temp1)
11671 delete arg1;
11672 }
11673 return resultobj;
11674 fail:
11675 {
11676 if (temp1)
11677 delete arg1;
11678 }
11679 return NULL;
11680}
11681
11682
1823fbb4
RD
11683static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 long arg1 ;
093d3ff1 11686 wxSignal arg2 = (wxSignal) wxSIGTERM ;
1823fbb4
RD
11687 wxKillError *arg3 = (wxKillError *) 0 ;
11688 int arg4 = (int) wxKILL_NOCHILDREN ;
11689 int result;
11690 wxKillError temp3 ;
11691 PyObject * obj0 = 0 ;
11692 PyObject * obj1 = 0 ;
11693 PyObject * obj2 = 0 ;
11694 char *kwnames[] = {
11695 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11696 };
11697
11698 {
11699 arg3 = &temp3;
11700 }
11701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11702 {
11703 arg1 = (long)(SWIG_As_long(obj0));
11704 if (SWIG_arg_fail(1)) SWIG_fail;
11705 }
1823fbb4 11706 if (obj1) {
093d3ff1
RD
11707 {
11708 arg2 = (wxSignal)(SWIG_As_int(obj1));
11709 if (SWIG_arg_fail(2)) SWIG_fail;
11710 }
1823fbb4
RD
11711 }
11712 if (obj2) {
093d3ff1
RD
11713 {
11714 arg4 = (int)(SWIG_As_int(obj2));
11715 if (SWIG_arg_fail(4)) SWIG_fail;
11716 }
1823fbb4
RD
11717 }
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
093d3ff1
RD
11725 {
11726 resultobj = SWIG_From_int((int)(result));
11727 }
1823fbb4
RD
11728 {
11729 PyObject* o;
11730 o = PyInt_FromLong((long) (*arg3));
11731 resultobj = t_output_helper(resultobj, o);
11732 }
11733 return resultobj;
11734 fail:
11735 return NULL;
11736}
11737
11738
c32bde28 11739static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11740 PyObject *resultobj;
11741 int arg1 = (int) wxJOYSTICK1 ;
11742 wxJoystick *result;
994141e6 11743 PyObject * obj0 = 0 ;
d14a1e28
RD
11744 char *kwnames[] = {
11745 (char *) "joystick", NULL
11746 };
11747
994141e6
RD
11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
11749 if (obj0) {
093d3ff1
RD
11750 {
11751 arg1 = (int)(SWIG_As_int(obj0));
11752 if (SWIG_arg_fail(1)) SWIG_fail;
11753 }
994141e6 11754 }
d14a1e28 11755 {
e3b71cb8 11756 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (wxJoystick *)new wxJoystick(arg1);
11759
11760 wxPyEndAllowThreads(__tstate);
110da5b0 11761 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11762 }
15afbcd0 11763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
d14a1e28
RD
11764 return resultobj;
11765 fail:
11766 return NULL;
11767}
11768
11769
c32bde28 11770static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11771 PyObject *resultobj;
11772 wxJoystick *arg1 = (wxJoystick *) 0 ;
11773 PyObject * obj0 = 0 ;
11774 char *kwnames[] = {
11775 (char *) "self", NULL
11776 };
11777
11778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
11779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11780 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 delete arg1;
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792}
11793
11794
c32bde28 11795static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11796 PyObject *resultobj;
11797 wxJoystick *arg1 = (wxJoystick *) 0 ;
11798 wxPoint result;
11799 PyObject * obj0 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (arg1)->GetPosition();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 {
11815 wxPoint * resultptr;
093d3ff1 11816 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 11817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
11818 }
11819 return resultobj;
11820 fail:
11821 return NULL;
11822}
11823
11824
c32bde28 11825static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11826 PyObject *resultobj;
11827 wxJoystick *arg1 = (wxJoystick *) 0 ;
11828 int result;
11829 PyObject * obj0 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self", NULL
11832 };
11833
11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 result = (int)(arg1)->GetZPosition();
11840
11841 wxPyEndAllowThreads(__tstate);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 }
093d3ff1
RD
11844 {
11845 resultobj = SWIG_From_int((int)(result));
11846 }
d14a1e28
RD
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
c32bde28 11853static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11854 PyObject *resultobj;
11855 wxJoystick *arg1 = (wxJoystick *) 0 ;
11856 int result;
11857 PyObject * obj0 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
11863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (int)(arg1)->GetButtonState();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
093d3ff1
RD
11872 {
11873 resultobj = SWIG_From_int((int)(result));
11874 }
d14a1e28
RD
11875 return resultobj;
11876 fail:
11877 return NULL;
11878}
11879
11880
c32bde28 11881static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11882 PyObject *resultobj;
11883 wxJoystick *arg1 = (wxJoystick *) 0 ;
11884 int result;
11885 PyObject * obj0 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (int)(arg1)->GetPOVPosition();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
093d3ff1
RD
11900 {
11901 resultobj = SWIG_From_int((int)(result));
11902 }
d14a1e28
RD
11903 return resultobj;
11904 fail:
11905 return NULL;
11906}
11907
11908
c32bde28 11909static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11910 PyObject *resultobj;
11911 wxJoystick *arg1 = (wxJoystick *) 0 ;
11912 int result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (int)(arg1)->GetPOVCTSPosition();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
093d3ff1
RD
11928 {
11929 resultobj = SWIG_From_int((int)(result));
11930 }
d14a1e28
RD
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
c32bde28 11937static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11938 PyObject *resultobj;
11939 wxJoystick *arg1 = (wxJoystick *) 0 ;
11940 int result;
11941 PyObject * obj0 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (int)(arg1)->GetRudderPosition();
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
093d3ff1
RD
11956 {
11957 resultobj = SWIG_From_int((int)(result));
11958 }
d14a1e28
RD
11959 return resultobj;
11960 fail:
11961 return NULL;
11962}
11963
11964
c32bde28 11965static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11966 PyObject *resultobj;
11967 wxJoystick *arg1 = (wxJoystick *) 0 ;
11968 int result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
11975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (int)(arg1)->GetUPosition();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
093d3ff1
RD
11984 {
11985 resultobj = SWIG_From_int((int)(result));
11986 }
d14a1e28
RD
11987 return resultobj;
11988 fail:
11989 return NULL;
11990}
11991
11992
c32bde28 11993static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11994 PyObject *resultobj;
11995 wxJoystick *arg1 = (wxJoystick *) 0 ;
11996 int result;
11997 PyObject * obj0 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (int)(arg1)->GetVPosition();
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
093d3ff1
RD
12012 {
12013 resultobj = SWIG_From_int((int)(result));
12014 }
d14a1e28
RD
12015 return resultobj;
12016 fail:
12017 return NULL;
12018}
12019
12020
c32bde28 12021static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12022 PyObject *resultobj;
12023 wxJoystick *arg1 = (wxJoystick *) 0 ;
12024 int result;
12025 PyObject * obj0 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
12031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)(arg1)->GetMovementThreshold();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
093d3ff1
RD
12040 {
12041 resultobj = SWIG_From_int((int)(result));
12042 }
d14a1e28
RD
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
c32bde28 12049static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12050 PyObject *resultobj;
12051 wxJoystick *arg1 = (wxJoystick *) 0 ;
12052 int arg2 ;
12053 PyObject * obj0 = 0 ;
994141e6 12054 PyObject * obj1 = 0 ;
d14a1e28
RD
12055 char *kwnames[] = {
12056 (char *) "self",(char *) "threshold", NULL
12057 };
12058
994141e6 12059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12061 if (SWIG_arg_fail(1)) SWIG_fail;
12062 {
12063 arg2 = (int)(SWIG_As_int(obj1));
12064 if (SWIG_arg_fail(2)) SWIG_fail;
12065 }
d14a1e28
RD
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 (arg1)->SetMovementThreshold(arg2);
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 Py_INCREF(Py_None); resultobj = Py_None;
12074 return resultobj;
12075 fail:
12076 return NULL;
12077}
12078
12079
c32bde28 12080static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12081 PyObject *resultobj;
12082 wxJoystick *arg1 = (wxJoystick *) 0 ;
12083 bool result;
12084 PyObject * obj0 = 0 ;
12085 char *kwnames[] = {
12086 (char *) "self", NULL
12087 };
12088
12089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (bool)(arg1)->IsOk();
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
4f89f6a3
RD
12099 {
12100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12101 }
d14a1e28
RD
12102 return resultobj;
12103 fail:
12104 return NULL;
12105}
12106
12107
c32bde28 12108static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12109 PyObject *resultobj;
12110 wxJoystick *arg1 = (wxJoystick *) 0 ;
12111 int result;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
12118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)(arg1)->GetNumberJoysticks();
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
093d3ff1
RD
12127 {
12128 resultobj = SWIG_From_int((int)(result));
12129 }
d14a1e28
RD
12130 return resultobj;
12131 fail:
12132 return NULL;
12133}
12134
12135
c32bde28 12136static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12137 PyObject *resultobj;
12138 wxJoystick *arg1 = (wxJoystick *) 0 ;
12139 int result;
12140 PyObject * obj0 = 0 ;
12141 char *kwnames[] = {
12142 (char *) "self", NULL
12143 };
12144
12145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12147 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (int)(arg1)->GetManufacturerId();
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
093d3ff1
RD
12155 {
12156 resultobj = SWIG_From_int((int)(result));
12157 }
d14a1e28
RD
12158 return resultobj;
12159 fail:
12160 return NULL;
12161}
12162
12163
c32bde28 12164static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12165 PyObject *resultobj;
12166 wxJoystick *arg1 = (wxJoystick *) 0 ;
12167 int result;
12168 PyObject * obj0 = 0 ;
12169 char *kwnames[] = {
12170 (char *) "self", NULL
12171 };
12172
12173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12175 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (int)(arg1)->GetProductId();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
093d3ff1
RD
12183 {
12184 resultobj = SWIG_From_int((int)(result));
12185 }
d14a1e28
RD
12186 return resultobj;
12187 fail:
12188 return NULL;
12189}
12190
12191
c32bde28 12192static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12193 PyObject *resultobj;
12194 wxJoystick *arg1 = (wxJoystick *) 0 ;
12195 wxString result;
12196 PyObject * obj0 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
12202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12204 {
12205 PyThreadState* __tstate = wxPyBeginAllowThreads();
12206 result = (arg1)->GetProductName();
12207
12208 wxPyEndAllowThreads(__tstate);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 }
12211 {
12212#if wxUSE_UNICODE
12213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12214#else
12215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12216#endif
12217 }
12218 return resultobj;
12219 fail:
12220 return NULL;
12221}
12222
12223
c32bde28 12224static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12225 PyObject *resultobj;
12226 wxJoystick *arg1 = (wxJoystick *) 0 ;
12227 int result;
12228 PyObject * obj0 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "self", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (int)(arg1)->GetXMin();
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
093d3ff1
RD
12243 {
12244 resultobj = SWIG_From_int((int)(result));
12245 }
d14a1e28
RD
12246 return resultobj;
12247 fail:
12248 return NULL;
12249}
12250
12251
c32bde28 12252static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12253 PyObject *resultobj;
12254 wxJoystick *arg1 = (wxJoystick *) 0 ;
12255 int result;
12256 PyObject * obj0 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 result = (int)(arg1)->GetYMin();
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
093d3ff1
RD
12271 {
12272 resultobj = SWIG_From_int((int)(result));
12273 }
d14a1e28
RD
12274 return resultobj;
12275 fail:
12276 return NULL;
12277}
12278
12279
c32bde28 12280static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12281 PyObject *resultobj;
12282 wxJoystick *arg1 = (wxJoystick *) 0 ;
12283 int result;
12284 PyObject * obj0 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (int)(arg1)->GetZMin();
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
093d3ff1
RD
12299 {
12300 resultobj = SWIG_From_int((int)(result));
12301 }
d14a1e28
RD
12302 return resultobj;
12303 fail:
12304 return NULL;
12305}
12306
12307
c32bde28 12308static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12309 PyObject *resultobj;
12310 wxJoystick *arg1 = (wxJoystick *) 0 ;
12311 int result;
12312 PyObject * obj0 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12319 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = (int)(arg1)->GetXMax();
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
093d3ff1
RD
12327 {
12328 resultobj = SWIG_From_int((int)(result));
12329 }
d14a1e28
RD
12330 return resultobj;
12331 fail:
12332 return NULL;
12333}
12334
12335
c32bde28 12336static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12337 PyObject *resultobj;
12338 wxJoystick *arg1 = (wxJoystick *) 0 ;
12339 int result;
12340 PyObject * obj0 = 0 ;
12341 char *kwnames[] = {
12342 (char *) "self", NULL
12343 };
12344
12345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 result = (int)(arg1)->GetYMax();
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
093d3ff1
RD
12355 {
12356 resultobj = SWIG_From_int((int)(result));
12357 }
d14a1e28
RD
12358 return resultobj;
12359 fail:
12360 return NULL;
12361}
12362
12363
c32bde28 12364static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12365 PyObject *resultobj;
12366 wxJoystick *arg1 = (wxJoystick *) 0 ;
12367 int result;
12368 PyObject * obj0 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12375 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 result = (int)(arg1)->GetZMax();
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
093d3ff1
RD
12383 {
12384 resultobj = SWIG_From_int((int)(result));
12385 }
d14a1e28
RD
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
c32bde28 12392static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12393 PyObject *resultobj;
12394 wxJoystick *arg1 = (wxJoystick *) 0 ;
12395 int result;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "self", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12404 {
12405 PyThreadState* __tstate = wxPyBeginAllowThreads();
12406 result = (int)(arg1)->GetNumberButtons();
12407
12408 wxPyEndAllowThreads(__tstate);
12409 if (PyErr_Occurred()) SWIG_fail;
12410 }
093d3ff1
RD
12411 {
12412 resultobj = SWIG_From_int((int)(result));
12413 }
d14a1e28
RD
12414 return resultobj;
12415 fail:
12416 return NULL;
12417}
12418
12419
c32bde28 12420static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12421 PyObject *resultobj;
12422 wxJoystick *arg1 = (wxJoystick *) 0 ;
12423 int result;
12424 PyObject * obj0 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 result = (int)(arg1)->GetNumberAxes();
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
093d3ff1
RD
12439 {
12440 resultobj = SWIG_From_int((int)(result));
12441 }
d14a1e28
RD
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
c32bde28 12448static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12449 PyObject *resultobj;
12450 wxJoystick *arg1 = (wxJoystick *) 0 ;
12451 int result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (int)(arg1)->GetMaxButtons();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
093d3ff1
RD
12467 {
12468 resultobj = SWIG_From_int((int)(result));
12469 }
d14a1e28
RD
12470 return resultobj;
12471 fail:
12472 return NULL;
12473}
12474
12475
c32bde28 12476static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12477 PyObject *resultobj;
12478 wxJoystick *arg1 = (wxJoystick *) 0 ;
12479 int result;
12480 PyObject * obj0 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
12486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (int)(arg1)->GetMaxAxes();
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
093d3ff1
RD
12495 {
12496 resultobj = SWIG_From_int((int)(result));
12497 }
d14a1e28
RD
12498 return resultobj;
12499 fail:
12500 return NULL;
12501}
12502
12503
c32bde28 12504static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12505 PyObject *resultobj;
12506 wxJoystick *arg1 = (wxJoystick *) 0 ;
12507 int result;
12508 PyObject * obj0 = 0 ;
12509 char *kwnames[] = {
12510 (char *) "self", NULL
12511 };
12512
12513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
12518 result = (int)(arg1)->GetPollingMin();
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
093d3ff1
RD
12523 {
12524 resultobj = SWIG_From_int((int)(result));
12525 }
d14a1e28
RD
12526 return resultobj;
12527 fail:
12528 return NULL;
12529}
12530
12531
c32bde28 12532static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12533 PyObject *resultobj;
12534 wxJoystick *arg1 = (wxJoystick *) 0 ;
12535 int result;
12536 PyObject * obj0 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 result = (int)(arg1)->GetPollingMax();
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
093d3ff1
RD
12551 {
12552 resultobj = SWIG_From_int((int)(result));
12553 }
d14a1e28
RD
12554 return resultobj;
12555 fail:
12556 return NULL;
12557}
12558
12559
c32bde28 12560static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12561 PyObject *resultobj;
12562 wxJoystick *arg1 = (wxJoystick *) 0 ;
12563 int result;
12564 PyObject * obj0 = 0 ;
12565 char *kwnames[] = {
12566 (char *) "self", NULL
12567 };
12568
12569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12571 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (int)(arg1)->GetRudderMin();
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
093d3ff1
RD
12579 {
12580 resultobj = SWIG_From_int((int)(result));
12581 }
d14a1e28
RD
12582 return resultobj;
12583 fail:
12584 return NULL;
12585}
12586
12587
c32bde28 12588static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12589 PyObject *resultobj;
12590 wxJoystick *arg1 = (wxJoystick *) 0 ;
12591 int result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12599 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (int)(arg1)->GetRudderMax();
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
093d3ff1
RD
12607 {
12608 resultobj = SWIG_From_int((int)(result));
12609 }
d14a1e28
RD
12610 return resultobj;
12611 fail:
12612 return NULL;
12613}
12614
12615
c32bde28 12616static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12617 PyObject *resultobj;
12618 wxJoystick *arg1 = (wxJoystick *) 0 ;
12619 int result;
12620 PyObject * obj0 = 0 ;
12621 char *kwnames[] = {
12622 (char *) "self", NULL
12623 };
12624
12625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12627 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 result = (int)(arg1)->GetUMin();
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
093d3ff1
RD
12635 {
12636 resultobj = SWIG_From_int((int)(result));
12637 }
d14a1e28
RD
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
c32bde28 12644static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12645 PyObject *resultobj;
12646 wxJoystick *arg1 = (wxJoystick *) 0 ;
12647 int result;
12648 PyObject * obj0 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "self", NULL
12651 };
12652
12653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12655 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (int)(arg1)->GetUMax();
12659
12660 wxPyEndAllowThreads(__tstate);
12661 if (PyErr_Occurred()) SWIG_fail;
12662 }
093d3ff1
RD
12663 {
12664 resultobj = SWIG_From_int((int)(result));
12665 }
d14a1e28
RD
12666 return resultobj;
12667 fail:
12668 return NULL;
12669}
12670
12671
c32bde28 12672static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12673 PyObject *resultobj;
12674 wxJoystick *arg1 = (wxJoystick *) 0 ;
12675 int result;
12676 PyObject * obj0 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
12682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (int)(arg1)->GetVMin();
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
093d3ff1
RD
12691 {
12692 resultobj = SWIG_From_int((int)(result));
12693 }
d14a1e28
RD
12694 return resultobj;
12695 fail:
12696 return NULL;
12697}
12698
12699
c32bde28 12700static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12701 PyObject *resultobj;
12702 wxJoystick *arg1 = (wxJoystick *) 0 ;
12703 int result;
12704 PyObject * obj0 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
12710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (int)(arg1)->GetVMax();
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
093d3ff1
RD
12719 {
12720 resultobj = SWIG_From_int((int)(result));
12721 }
d14a1e28
RD
12722 return resultobj;
12723 fail:
12724 return NULL;
12725}
12726
12727
c32bde28 12728static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12729 PyObject *resultobj;
12730 wxJoystick *arg1 = (wxJoystick *) 0 ;
12731 bool result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
12738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (bool)(arg1)->HasRudder();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
4f89f6a3
RD
12747 {
12748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12749 }
d14a1e28
RD
12750 return resultobj;
12751 fail:
12752 return NULL;
12753}
12754
12755
c32bde28 12756static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12757 PyObject *resultobj;
12758 wxJoystick *arg1 = (wxJoystick *) 0 ;
12759 bool result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
12766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (bool)(arg1)->HasZ();
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
4f89f6a3
RD
12775 {
12776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12777 }
d14a1e28
RD
12778 return resultobj;
12779 fail:
12780 return NULL;
12781}
12782
12783
c32bde28 12784static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12785 PyObject *resultobj;
12786 wxJoystick *arg1 = (wxJoystick *) 0 ;
12787 bool result;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
12794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 result = (bool)(arg1)->HasU();
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
4f89f6a3
RD
12803 {
12804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12805 }
d14a1e28
RD
12806 return resultobj;
12807 fail:
12808 return NULL;
12809}
12810
12811
c32bde28 12812static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12813 PyObject *resultobj;
12814 wxJoystick *arg1 = (wxJoystick *) 0 ;
12815 bool result;
12816 PyObject * obj0 = 0 ;
12817 char *kwnames[] = {
12818 (char *) "self", NULL
12819 };
12820
12821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (bool)(arg1)->HasV();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
4f89f6a3
RD
12831 {
12832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12833 }
d14a1e28
RD
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
c32bde28 12840static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12841 PyObject *resultobj;
12842 wxJoystick *arg1 = (wxJoystick *) 0 ;
12843 bool result;
12844 PyObject * obj0 = 0 ;
12845 char *kwnames[] = {
12846 (char *) "self", NULL
12847 };
12848
12849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
12850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (bool)(arg1)->HasPOV();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
4f89f6a3
RD
12859 {
12860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12861 }
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
c32bde28 12868static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12869 PyObject *resultobj;
12870 wxJoystick *arg1 = (wxJoystick *) 0 ;
12871 bool result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (bool)(arg1)->HasPOV4Dir();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
4f89f6a3
RD
12887 {
12888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12889 }
d14a1e28
RD
12890 return resultobj;
12891 fail:
12892 return NULL;
12893}
12894
12895
c32bde28 12896static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12897 PyObject *resultobj;
12898 wxJoystick *arg1 = (wxJoystick *) 0 ;
12899 bool result;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
12906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (bool)(arg1)->HasPOVCTS();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
4f89f6a3
RD
12915 {
12916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12917 }
d14a1e28
RD
12918 return resultobj;
12919 fail:
12920 return NULL;
12921}
12922
12923
c32bde28 12924static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12925 PyObject *resultobj;
12926 wxJoystick *arg1 = (wxJoystick *) 0 ;
12927 wxWindow *arg2 = (wxWindow *) 0 ;
12928 int arg3 = (int) 0 ;
12929 bool result;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
994141e6 12932 PyObject * obj2 = 0 ;
d14a1e28
RD
12933 char *kwnames[] = {
12934 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12935 };
12936
994141e6 12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail;
12940 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12941 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12942 if (obj2) {
093d3ff1
RD
12943 {
12944 arg3 = (int)(SWIG_As_int(obj2));
12945 if (SWIG_arg_fail(3)) SWIG_fail;
12946 }
994141e6 12947 }
d14a1e28
RD
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (bool)(arg1)->SetCapture(arg2,arg3);
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
4f89f6a3
RD
12955 {
12956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12957 }
d14a1e28
RD
12958 return resultobj;
12959 fail:
12960 return NULL;
12961}
12962
12963
c32bde28 12964static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12965 PyObject *resultobj;
12966 wxJoystick *arg1 = (wxJoystick *) 0 ;
12967 bool result;
12968 PyObject * obj0 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
12974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (bool)(arg1)->ReleaseCapture();
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
4f89f6a3
RD
12983 {
12984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12985 }
d14a1e28
RD
12986 return resultobj;
12987 fail:
12988 return NULL;
12989}
12990
12991
c32bde28 12992static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12993 PyObject *obj;
12994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12995 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
12996 Py_INCREF(obj);
12997 return Py_BuildValue((char *)"");
12998}
c32bde28 12999static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13000 PyObject *resultobj;
13001 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13002 int arg2 = (int) 0 ;
13003 int arg3 = (int) wxJOYSTICK1 ;
13004 int arg4 = (int) 0 ;
13005 wxJoystickEvent *result;
994141e6
RD
13006 PyObject * obj0 = 0 ;
13007 PyObject * obj1 = 0 ;
13008 PyObject * obj2 = 0 ;
13009 PyObject * obj3 = 0 ;
d14a1e28
RD
13010 char *kwnames[] = {
13011 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13012 };
13013
994141e6
RD
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13015 if (obj0) {
093d3ff1
RD
13016 {
13017 arg1 = (wxEventType)(SWIG_As_int(obj0));
13018 if (SWIG_arg_fail(1)) SWIG_fail;
13019 }
994141e6
RD
13020 }
13021 if (obj1) {
093d3ff1
RD
13022 {
13023 arg2 = (int)(SWIG_As_int(obj1));
13024 if (SWIG_arg_fail(2)) SWIG_fail;
13025 }
994141e6
RD
13026 }
13027 if (obj2) {
093d3ff1
RD
13028 {
13029 arg3 = (int)(SWIG_As_int(obj2));
13030 if (SWIG_arg_fail(3)) SWIG_fail;
13031 }
994141e6
RD
13032 }
13033 if (obj3) {
093d3ff1
RD
13034 {
13035 arg4 = (int)(SWIG_As_int(obj3));
13036 if (SWIG_arg_fail(4)) SWIG_fail;
13037 }
994141e6 13038 }
d14a1e28
RD
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
15afbcd0 13046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
d14a1e28
RD
13047 return resultobj;
13048 fail:
13049 return NULL;
13050}
13051
13052
c32bde28 13053static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13054 PyObject *resultobj;
13055 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13056 wxPoint result;
13057 PyObject * obj0 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = ((wxJoystickEvent const *)arg1)->GetPosition();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 wxPoint * resultptr;
093d3ff1 13074 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 13075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
13076 }
13077 return resultobj;
13078 fail:
13079 return NULL;
13080}
13081
13082
c32bde28 13083static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13084 PyObject *resultobj;
13085 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13086 int result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
093d3ff1
RD
13102 {
13103 resultobj = SWIG_From_int((int)(result));
13104 }
d14a1e28
RD
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
c32bde28 13111static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13112 PyObject *resultobj;
13113 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13114 int result;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
13121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
093d3ff1
RD
13130 {
13131 resultobj = SWIG_From_int((int)(result));
13132 }
d14a1e28
RD
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
c32bde28 13139static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13140 PyObject *resultobj;
13141 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13142 int result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
13149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
093d3ff1
RD
13158 {
13159 resultobj = SWIG_From_int((int)(result));
13160 }
d14a1e28
RD
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
c32bde28 13167static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13168 PyObject *resultobj;
13169 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13170 int result;
13171 PyObject * obj0 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
13177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
093d3ff1
RD
13186 {
13187 resultobj = SWIG_From_int((int)(result));
13188 }
d14a1e28
RD
13189 return resultobj;
13190 fail:
13191 return NULL;
13192}
13193
13194
c32bde28 13195static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13196 PyObject *resultobj;
13197 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13198 int arg2 ;
13199 PyObject * obj0 = 0 ;
994141e6 13200 PyObject * obj1 = 0 ;
d14a1e28
RD
13201 char *kwnames[] = {
13202 (char *) "self",(char *) "stick", NULL
13203 };
13204
994141e6 13205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13207 if (SWIG_arg_fail(1)) SWIG_fail;
13208 {
13209 arg2 = (int)(SWIG_As_int(obj1));
13210 if (SWIG_arg_fail(2)) SWIG_fail;
13211 }
d14a1e28
RD
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 (arg1)->SetJoystick(arg2);
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 Py_INCREF(Py_None); resultobj = Py_None;
13220 return resultobj;
13221 fail:
13222 return NULL;
13223}
13224
13225
c32bde28 13226static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13227 PyObject *resultobj;
13228 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13229 int arg2 ;
13230 PyObject * obj0 = 0 ;
994141e6 13231 PyObject * obj1 = 0 ;
d14a1e28
RD
13232 char *kwnames[] = {
13233 (char *) "self",(char *) "state", NULL
13234 };
13235
994141e6 13236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13238 if (SWIG_arg_fail(1)) SWIG_fail;
13239 {
13240 arg2 = (int)(SWIG_As_int(obj1));
13241 if (SWIG_arg_fail(2)) SWIG_fail;
13242 }
d14a1e28
RD
13243 {
13244 PyThreadState* __tstate = wxPyBeginAllowThreads();
13245 (arg1)->SetButtonState(arg2);
13246
13247 wxPyEndAllowThreads(__tstate);
13248 if (PyErr_Occurred()) SWIG_fail;
13249 }
13250 Py_INCREF(Py_None); resultobj = Py_None;
13251 return resultobj;
13252 fail:
13253 return NULL;
13254}
13255
13256
c32bde28 13257static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13258 PyObject *resultobj;
13259 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13260 int arg2 ;
13261 PyObject * obj0 = 0 ;
994141e6 13262 PyObject * obj1 = 0 ;
d14a1e28
RD
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "change", NULL
13265 };
13266
994141e6 13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",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;
13270 {
13271 arg2 = (int)(SWIG_As_int(obj1));
13272 if (SWIG_arg_fail(2)) SWIG_fail;
13273 }
d14a1e28
RD
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->SetButtonChange(arg2);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 Py_INCREF(Py_None); resultobj = Py_None;
13282 return resultobj;
13283 fail:
13284 return NULL;
13285}
13286
13287
c32bde28 13288static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13289 PyObject *resultobj;
13290 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13291 wxPoint *arg2 = 0 ;
13292 wxPoint temp2 ;
13293 PyObject * obj0 = 0 ;
13294 PyObject * obj1 = 0 ;
13295 char *kwnames[] = {
13296 (char *) "self",(char *) "pos", NULL
13297 };
13298
13299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13302 {
13303 arg2 = &temp2;
13304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13305 }
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 (arg1)->SetPosition((wxPoint const &)*arg2);
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 Py_INCREF(Py_None); resultobj = Py_None;
13314 return resultobj;
13315 fail:
13316 return NULL;
13317}
13318
13319
c32bde28 13320static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13321 PyObject *resultobj;
13322 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13323 int arg2 ;
13324 PyObject * obj0 = 0 ;
994141e6 13325 PyObject * obj1 = 0 ;
d14a1e28
RD
13326 char *kwnames[] = {
13327 (char *) "self",(char *) "zPos", NULL
13328 };
13329
994141e6 13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13332 if (SWIG_arg_fail(1)) SWIG_fail;
13333 {
13334 arg2 = (int)(SWIG_As_int(obj1));
13335 if (SWIG_arg_fail(2)) SWIG_fail;
13336 }
d14a1e28
RD
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 (arg1)->SetZPosition(arg2);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 Py_INCREF(Py_None); resultobj = Py_None;
13345 return resultobj;
13346 fail:
13347 return NULL;
13348}
13349
13350
c32bde28 13351static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13352 PyObject *resultobj;
13353 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13354 bool result;
13355 PyObject * obj0 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "self", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
13361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
4f89f6a3
RD
13370 {
13371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13372 }
d14a1e28
RD
13373 return resultobj;
13374 fail:
13375 return NULL;
13376}
13377
13378
c32bde28 13379static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13380 PyObject *resultobj;
13381 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13382 bool result;
13383 PyObject * obj0 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "self", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
4f89f6a3
RD
13398 {
13399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13400 }
d14a1e28
RD
13401 return resultobj;
13402 fail:
13403 return NULL;
13404}
13405
13406
c32bde28 13407static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13408 PyObject *resultobj;
13409 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13410 bool result;
13411 PyObject * obj0 = 0 ;
13412 char *kwnames[] = {
13413 (char *) "self", NULL
13414 };
13415
13416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
13417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
4f89f6a3
RD
13426 {
13427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13428 }
d14a1e28
RD
13429 return resultobj;
13430 fail:
13431 return NULL;
13432}
13433
13434
c32bde28 13435static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13436 PyObject *resultobj;
13437 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13438 int arg2 = (int) wxJOY_BUTTON_ANY ;
13439 bool result;
13440 PyObject * obj0 = 0 ;
994141e6 13441 PyObject * obj1 = 0 ;
d14a1e28
RD
13442 char *kwnames[] = {
13443 (char *) "self",(char *) "but", NULL
13444 };
13445
994141e6 13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13448 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 13449 if (obj1) {
093d3ff1
RD
13450 {
13451 arg2 = (int)(SWIG_As_int(obj1));
13452 if (SWIG_arg_fail(2)) SWIG_fail;
13453 }
994141e6 13454 }
d14a1e28
RD
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
4f89f6a3
RD
13462 {
13463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13464 }
d14a1e28
RD
13465 return resultobj;
13466 fail:
13467 return NULL;
13468}
13469
13470
c32bde28 13471static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13472 PyObject *resultobj;
13473 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13474 int arg2 = (int) wxJOY_BUTTON_ANY ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
994141e6 13477 PyObject * obj1 = 0 ;
d14a1e28
RD
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "but", NULL
13480 };
13481
994141e6 13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 13485 if (obj1) {
093d3ff1
RD
13486 {
13487 arg2 = (int)(SWIG_As_int(obj1));
13488 if (SWIG_arg_fail(2)) SWIG_fail;
13489 }
994141e6 13490 }
d14a1e28
RD
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
4f89f6a3
RD
13498 {
13499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13500 }
d14a1e28
RD
13501 return resultobj;
13502 fail:
13503 return NULL;
13504}
13505
13506
c32bde28 13507static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13508 PyObject *resultobj;
13509 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13510 int arg2 = (int) wxJOY_BUTTON_ANY ;
13511 bool result;
13512 PyObject * obj0 = 0 ;
994141e6 13513 PyObject * obj1 = 0 ;
d14a1e28
RD
13514 char *kwnames[] = {
13515 (char *) "self",(char *) "but", NULL
13516 };
13517
994141e6 13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13520 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 13521 if (obj1) {
093d3ff1
RD
13522 {
13523 arg2 = (int)(SWIG_As_int(obj1));
13524 if (SWIG_arg_fail(2)) SWIG_fail;
13525 }
994141e6 13526 }
d14a1e28
RD
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
4f89f6a3
RD
13534 {
13535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13536 }
d14a1e28
RD
13537 return resultobj;
13538 fail:
13539 return NULL;
13540}
13541
13542
c32bde28 13543static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13544 PyObject *obj;
13545 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13546 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
13547 Py_INCREF(obj);
13548 return Py_BuildValue((char *)"");
13549}
c32bde28 13550static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13551 PyObject *resultobj;
36cadbf7
RD
13552 wxString const &arg1_defvalue = wxPyEmptyString ;
13553 wxString *arg1 = (wxString *) &arg1_defvalue ;
4d5c3d91 13554 wxSound *result;
ae8162c8 13555 bool temp1 = false ;
d14a1e28 13556 PyObject * obj0 = 0 ;
36cadbf7
RD
13557 char *kwnames[] = {
13558 (char *) "fileName", NULL
13559 };
d14a1e28 13560
36cadbf7
RD
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
13562 if (obj0) {
13563 {
13564 arg1 = wxString_in_helper(obj0);
13565 if (arg1 == NULL) SWIG_fail;
ae8162c8 13566 temp1 = true;
36cadbf7 13567 }
d14a1e28
RD
13568 }
13569 {
e3b71cb8 13570 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 13572 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d14a1e28
RD
13573
13574 wxPyEndAllowThreads(__tstate);
110da5b0 13575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13576 }
15afbcd0 13577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
13578 {
13579 if (temp1)
13580 delete arg1;
13581 }
13582 return resultobj;
13583 fail:
13584 {
13585 if (temp1)
13586 delete arg1;
13587 }
13588 return NULL;
13589}
13590
13591
c32bde28 13592static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13593 PyObject *resultobj;
36cadbf7 13594 PyObject *arg1 = (PyObject *) 0 ;
4d5c3d91 13595 wxSound *result;
d14a1e28 13596 PyObject * obj0 = 0 ;
36cadbf7
RD
13597 char *kwnames[] = {
13598 (char *) "data", NULL
13599 };
d14a1e28 13600
36cadbf7
RD
13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
13602 arg1 = obj0;
d14a1e28 13603 {
e3b71cb8 13604 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 13606 result = (wxSound *)new_wxSound(arg1);
d14a1e28
RD
13607
13608 wxPyEndAllowThreads(__tstate);
110da5b0 13609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13610 }
15afbcd0 13611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
d14a1e28
RD
13612 return resultobj;
13613 fail:
4d5c3d91
RD
13614 return NULL;
13615}
13616
13617
c32bde28 13618static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13619 PyObject *resultobj;
4d5c3d91 13620 wxSound *arg1 = (wxSound *) 0 ;
d14a1e28
RD
13621 PyObject * obj0 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "self", NULL
13624 };
13625
4d5c3d91 13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
13627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13629 {
13630 PyThreadState* __tstate = wxPyBeginAllowThreads();
13631 delete arg1;
13632
13633 wxPyEndAllowThreads(__tstate);
13634 if (PyErr_Occurred()) SWIG_fail;
13635 }
13636 Py_INCREF(Py_None); resultobj = Py_None;
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
c32bde28 13643static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13644 PyObject *resultobj;
4d5c3d91
RD
13645 wxSound *arg1 = (wxSound *) 0 ;
13646 wxString *arg2 = 0 ;
d14a1e28 13647 bool result;
ae8162c8 13648 bool temp2 = false ;
d14a1e28 13649 PyObject * obj0 = 0 ;
4d5c3d91 13650 PyObject * obj1 = 0 ;
36cadbf7
RD
13651 char *kwnames[] = {
13652 (char *) "self",(char *) "fileName", NULL
13653 };
d14a1e28 13654
36cadbf7 13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13657 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
13658 {
13659 arg2 = wxString_in_helper(obj1);
13660 if (arg2 == NULL) SWIG_fail;
ae8162c8 13661 temp2 = true;
4d5c3d91 13662 }
d14a1e28
RD
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 13665 result = (bool)(arg1)->Create((wxString const &)*arg2);
d14a1e28
RD
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
4f89f6a3
RD
13670 {
13671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13672 }
4d5c3d91
RD
13673 {
13674 if (temp2)
13675 delete arg2;
13676 }
d14a1e28
RD
13677 return resultobj;
13678 fail:
4d5c3d91
RD
13679 {
13680 if (temp2)
13681 delete arg2;
13682 }
d14a1e28
RD
13683 return NULL;
13684}
13685
13686
c32bde28 13687static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13688 PyObject *resultobj;
4d5c3d91 13689 wxSound *arg1 = (wxSound *) 0 ;
36cadbf7 13690 PyObject *arg2 = (PyObject *) 0 ;
d14a1e28
RD
13691 bool result;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
36cadbf7
RD
13694 char *kwnames[] = {
13695 (char *) "self",(char *) "data", NULL
13696 };
4d5c3d91 13697
36cadbf7 13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13700 if (SWIG_arg_fail(1)) SWIG_fail;
36cadbf7 13701 arg2 = obj1;
4d5c3d91
RD
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
36cadbf7 13704 result = (bool)wxSound_CreateFromData(arg1,arg2);
4d5c3d91
RD
13705
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
4f89f6a3
RD
13709 {
13710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13711 }
4d5c3d91
RD
13712 return resultobj;
13713 fail:
13714 return NULL;
13715}
13716
13717
c32bde28 13718static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
13719 PyObject *resultobj;
13720 wxSound *arg1 = (wxSound *) 0 ;
13721 bool result;
13722 PyObject * obj0 = 0 ;
d14a1e28 13723 char *kwnames[] = {
4d5c3d91 13724 (char *) "self", NULL
d14a1e28
RD
13725 };
13726
4d5c3d91 13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13729 if (SWIG_arg_fail(1)) SWIG_fail;
4d5c3d91
RD
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (bool)(arg1)->IsOk();
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
4f89f6a3
RD
13737 {
13738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13739 }
4d5c3d91
RD
13740 return resultobj;
13741 fail:
13742 return NULL;
13743}
13744
13745
c32bde28 13746static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
13747 PyObject *resultobj;
13748 wxSound *arg1 = (wxSound *) 0 ;
13749 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13750 bool result;
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
36cadbf7
RD
13753 char *kwnames[] = {
13754 (char *) "self",(char *) "flags", NULL
13755 };
4d5c3d91 13756
36cadbf7 13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13760 if (obj1) {
093d3ff1
RD
13761 {
13762 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13763 if (SWIG_arg_fail(2)) SWIG_fail;
13764 }
d14a1e28 13765 }
4d5c3d91 13766 {
e3b71cb8 13767 if (!wxPyCheckForApp()) SWIG_fail;
4d5c3d91
RD
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (bool)((wxSound const *)arg1)->Play(arg2);
13770
13771 wxPyEndAllowThreads(__tstate);
110da5b0 13772 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91 13773 }
4f89f6a3
RD
13774 {
13775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13776 }
4d5c3d91
RD
13777 return resultobj;
13778 fail:
13779 return NULL;
13780}
13781
13782
c32bde28 13783static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
13784 PyObject *resultobj;
13785 wxString *arg1 = 0 ;
13786 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13787 bool result;
ae8162c8 13788 bool temp1 = false ;
4d5c3d91
RD
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
36cadbf7
RD
13791 char *kwnames[] = {
13792 (char *) "filename",(char *) "flags", NULL
13793 };
4d5c3d91 13794
36cadbf7 13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
4d5c3d91
RD
13796 {
13797 arg1 = wxString_in_helper(obj0);
13798 if (arg1 == NULL) SWIG_fail;
ae8162c8 13799 temp1 = true;
4d5c3d91
RD
13800 }
13801 if (obj1) {
093d3ff1
RD
13802 {
13803 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13804 if (SWIG_arg_fail(2)) SWIG_fail;
13805 }
d14a1e28
RD
13806 }
13807 {
e3b71cb8 13808 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 13810 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
d14a1e28
RD
13811
13812 wxPyEndAllowThreads(__tstate);
110da5b0 13813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13814 }
4f89f6a3
RD
13815 {
13816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13817 }
4d5c3d91
RD
13818 {
13819 if (temp1)
13820 delete arg1;
13821 }
d14a1e28
RD
13822 return resultobj;
13823 fail:
4d5c3d91
RD
13824 {
13825 if (temp1)
13826 delete arg1;
13827 }
d14a1e28
RD
13828 return NULL;
13829}
13830
13831
c32bde28 13832static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
4d5c3d91
RD
13833 PyObject *resultobj;
13834 char *kwnames[] = {
13835 NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
13839 {
e3b71cb8 13840 if (!wxPyCheckForApp()) SWIG_fail;
4d5c3d91
RD
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 wxSound::Stop();
13843
13844 wxPyEndAllowThreads(__tstate);
110da5b0 13845 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
13846 }
13847 Py_INCREF(Py_None); resultobj = Py_None;
13848 return resultobj;
13849 fail:
13850 return NULL;
13851}
13852
13853
c32bde28 13854static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13855 PyObject *obj;
13856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4d5c3d91 13857 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
d14a1e28
RD
13858 Py_INCREF(obj);
13859 return Py_BuildValue((char *)"");
13860}
c32bde28 13861static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13862 PyObject *resultobj;
13863 wxString *arg1 = 0 ;
13864 wxString *arg2 = 0 ;
13865 wxString *arg3 = 0 ;
13866 wxString *arg4 = 0 ;
13867 wxFileTypeInfo *result;
ae8162c8
RD
13868 bool temp1 = false ;
13869 bool temp2 = false ;
13870 bool temp3 = false ;
13871 bool temp4 = false ;
d14a1e28
RD
13872 PyObject * obj0 = 0 ;
13873 PyObject * obj1 = 0 ;
13874 PyObject * obj2 = 0 ;
13875 PyObject * obj3 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13881 {
13882 arg1 = wxString_in_helper(obj0);
13883 if (arg1 == NULL) SWIG_fail;
ae8162c8 13884 temp1 = true;
d14a1e28
RD
13885 }
13886 {
13887 arg2 = wxString_in_helper(obj1);
13888 if (arg2 == NULL) SWIG_fail;
ae8162c8 13889 temp2 = true;
d14a1e28
RD
13890 }
13891 {
13892 arg3 = wxString_in_helper(obj2);
13893 if (arg3 == NULL) SWIG_fail;
ae8162c8 13894 temp3 = true;
d14a1e28
RD
13895 }
13896 {
13897 arg4 = wxString_in_helper(obj3);
13898 if (arg4 == NULL) SWIG_fail;
ae8162c8 13899 temp4 = true;
d14a1e28
RD
13900 }
13901 {
13902 PyThreadState* __tstate = wxPyBeginAllowThreads();
13903 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13904
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
15afbcd0 13908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
13909 {
13910 if (temp1)
13911 delete arg1;
13912 }
13913 {
13914 if (temp2)
13915 delete arg2;
13916 }
13917 {
13918 if (temp3)
13919 delete arg3;
13920 }
13921 {
13922 if (temp4)
13923 delete arg4;
13924 }
13925 return resultobj;
13926 fail:
13927 {
13928 if (temp1)
13929 delete arg1;
13930 }
13931 {
13932 if (temp2)
13933 delete arg2;
13934 }
13935 {
13936 if (temp3)
13937 delete arg3;
13938 }
13939 {
13940 if (temp4)
13941 delete arg4;
13942 }
13943 return NULL;
13944}
13945
13946
c32bde28 13947static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13948 PyObject *resultobj;
13949 wxArrayString *arg1 = 0 ;
13950 wxFileTypeInfo *result;
ae8162c8 13951 bool temp1 = false ;
d14a1e28
RD
13952 PyObject * obj0 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "sArray", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
13958 {
13959 if (! PySequence_Check(obj0)) {
13960 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13961 SWIG_fail;
13962 }
13963 arg1 = new wxArrayString;
ae8162c8 13964 temp1 = true;
d14a1e28
RD
13965 int i, len=PySequence_Length(obj0);
13966 for (i=0; i<len; i++) {
13967 PyObject* item = PySequence_GetItem(obj0, i);
71237536 13968 wxString* s = wxString_in_helper(item);
74a57fcd 13969 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13970 arg1->Add(*s);
13971 delete s;
d14a1e28 13972 Py_DECREF(item);
d14a1e28
RD
13973 }
13974 }
13975 {
13976 PyThreadState* __tstate = wxPyBeginAllowThreads();
13977 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
13978
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
15afbcd0 13982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28 13983 {
3adfb63b 13984 if (temp1) delete arg1;
d14a1e28
RD
13985 }
13986 return resultobj;
13987 fail:
13988 {
3adfb63b 13989 if (temp1) delete arg1;
d14a1e28
RD
13990 }
13991 return NULL;
13992}
13993
13994
c32bde28 13995static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13996 PyObject *resultobj;
13997 wxFileTypeInfo *result;
13998 char *kwnames[] = {
13999 NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (wxFileTypeInfo *)new wxFileTypeInfo();
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
15afbcd0 14010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
d14a1e28
RD
14011 return resultobj;
14012 fail:
14013 return NULL;
14014}
14015
14016
c32bde28 14017static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14018 PyObject *resultobj;
14019 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14020 bool result;
14021 PyObject * obj0 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
14027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
4f89f6a3
RD
14036 {
14037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14038 }
d14a1e28
RD
14039 return resultobj;
14040 fail:
14041 return NULL;
14042}
14043
14044
c32bde28 14045static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14046 PyObject *resultobj;
14047 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14048 wxString *arg2 = 0 ;
14049 int arg3 = (int) 0 ;
ae8162c8 14050 bool temp2 = false ;
d14a1e28
RD
14051 PyObject * obj0 = 0 ;
14052 PyObject * obj1 = 0 ;
994141e6 14053 PyObject * obj2 = 0 ;
d14a1e28
RD
14054 char *kwnames[] = {
14055 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14056 };
14057
994141e6 14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14061 {
14062 arg2 = wxString_in_helper(obj1);
14063 if (arg2 == NULL) SWIG_fail;
ae8162c8 14064 temp2 = true;
d14a1e28 14065 }
994141e6 14066 if (obj2) {
093d3ff1
RD
14067 {
14068 arg3 = (int)(SWIG_As_int(obj2));
14069 if (SWIG_arg_fail(3)) SWIG_fail;
14070 }
994141e6 14071 }
d14a1e28
RD
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 (arg1)->SetIcon((wxString const &)*arg2,arg3);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return resultobj;
14085 fail:
14086 {
14087 if (temp2)
14088 delete arg2;
14089 }
14090 return NULL;
14091}
14092
14093
c32bde28 14094static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14095 PyObject *resultobj;
14096 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14097 wxString *arg2 = 0 ;
ae8162c8 14098 bool temp2 = false ;
d14a1e28
RD
14099 PyObject * obj0 = 0 ;
14100 PyObject * obj1 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self",(char *) "shortDesc", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14108 {
14109 arg2 = wxString_in_helper(obj1);
14110 if (arg2 == NULL) SWIG_fail;
ae8162c8 14111 temp2 = true;
d14a1e28
RD
14112 }
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 (arg1)->SetShortDesc((wxString const &)*arg2);
14116
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 Py_INCREF(Py_None); resultobj = Py_None;
14121 {
14122 if (temp2)
14123 delete arg2;
14124 }
14125 return resultobj;
14126 fail:
14127 {
14128 if (temp2)
14129 delete arg2;
14130 }
14131 return NULL;
14132}
14133
14134
c32bde28 14135static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14136 PyObject *resultobj;
14137 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14138 wxString *result;
14139 PyObject * obj0 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 {
14150 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14151 result = (wxString *) &_result_ref;
14152 }
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
cc6dd355
RD
14157 {
14158#if wxUSE_UNICODE
14159 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14160#else
14161 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14162#endif
14163 }
d14a1e28
RD
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
c32bde28 14170static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14171 PyObject *resultobj;
14172 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14173 wxString *result;
14174 PyObject * obj0 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "self", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14181 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 {
14185 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14186 result = (wxString *) &_result_ref;
14187 }
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
cc6dd355
RD
14192 {
14193#if wxUSE_UNICODE
14194 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14195#else
14196 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14197#endif
14198 }
d14a1e28
RD
14199 return resultobj;
14200 fail:
14201 return NULL;
14202}
14203
14204
c32bde28 14205static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14206 PyObject *resultobj;
14207 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14208 wxString *result;
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 {
14220 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
14221 result = (wxString *) &_result_ref;
14222 }
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
cc6dd355
RD
14227 {
14228#if wxUSE_UNICODE
14229 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14230#else
14231 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14232#endif
14233 }
d14a1e28
RD
14234 return resultobj;
14235 fail:
14236 return NULL;
14237}
14238
14239
c32bde28 14240static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14241 PyObject *resultobj;
14242 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14243 wxString *result;
14244 PyObject * obj0 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self", NULL
14247 };
14248
14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
14250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14252 {
14253 PyThreadState* __tstate = wxPyBeginAllowThreads();
14254 {
14255 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
14256 result = (wxString *) &_result_ref;
14257 }
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
cc6dd355
RD
14262 {
14263#if wxUSE_UNICODE
14264 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14265#else
14266 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14267#endif
14268 }
d14a1e28
RD
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
c32bde28 14275static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14276 PyObject *resultobj;
14277 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14278 wxString *result;
14279 PyObject * obj0 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 {
14290 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
14291 result = (wxString *) &_result_ref;
14292 }
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
cc6dd355
RD
14297 {
14298#if wxUSE_UNICODE
14299 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14300#else
14301 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14302#endif
14303 }
d14a1e28
RD
14304 return resultobj;
14305 fail:
14306 return NULL;
14307}
14308
14309
c32bde28 14310static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14311 PyObject *resultobj;
14312 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14313 wxArrayString *result;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 {
14325 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
14326 result = (wxArrayString *) &_result_ref;
14327 }
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 {
14333 resultobj = wxArrayString2PyList_helper(*result);
14334 }
14335 return resultobj;
14336 fail:
14337 return NULL;
14338}
14339
14340
c32bde28 14341static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14342 PyObject *resultobj;
14343 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14344 int result;
14345 PyObject * obj0 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
14351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14352 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
093d3ff1
RD
14360 {
14361 resultobj = SWIG_From_int((int)(result));
14362 }
d14a1e28
RD
14363 return resultobj;
14364 fail:
14365 return NULL;
14366}
14367
14368
c32bde28 14369static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14370 PyObject *resultobj;
14371 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14372 wxString *result;
14373 PyObject * obj0 = 0 ;
14374 char *kwnames[] = {
14375 (char *) "self", NULL
14376 };
14377
14378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
14379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14380 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 {
14384 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
14385 result = (wxString *) &_result_ref;
14386 }
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
cc6dd355
RD
14391 {
14392#if wxUSE_UNICODE
14393 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14394#else
14395 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14396#endif
14397 }
d14a1e28
RD
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
c32bde28 14404static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14405 PyObject *resultobj;
14406 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14407 int result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14416 {
14417 PyThreadState* __tstate = wxPyBeginAllowThreads();
14418 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
14419
14420 wxPyEndAllowThreads(__tstate);
14421 if (PyErr_Occurred()) SWIG_fail;
14422 }
093d3ff1
RD
14423 {
14424 resultobj = SWIG_From_int((int)(result));
14425 }
d14a1e28
RD
14426 return resultobj;
14427 fail:
14428 return NULL;
14429}
14430
14431
c32bde28 14432static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14433 PyObject *obj;
14434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14435 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
14436 Py_INCREF(obj);
14437 return Py_BuildValue((char *)"");
14438}
c32bde28 14439static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14440 PyObject *resultobj;
14441 wxFileTypeInfo *arg1 = 0 ;
14442 wxFileType *result;
14443 PyObject * obj0 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "ftInfo", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14449 {
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
14452 if (arg1 == NULL) {
14453 SWIG_null_ref("wxFileTypeInfo");
14454 }
14455 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14456 }
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
15afbcd0 14464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
14465 return resultobj;
14466 fail:
14467 return NULL;
14468}
14469
14470
c32bde28 14471static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14472 PyObject *resultobj;
14473 wxFileType *arg1 = (wxFileType *) 0 ;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 delete arg1;
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 Py_INCREF(Py_None); resultobj = Py_None;
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
c32bde28 14496static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14497 PyObject *resultobj;
14498 wxFileType *arg1 = (wxFileType *) 0 ;
14499 PyObject *result;
14500 PyObject * obj0 = 0 ;
14501 char *kwnames[] = {
14502 (char *) "self", NULL
14503 };
14504
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14508 {
14509 PyThreadState* __tstate = wxPyBeginAllowThreads();
14510 result = (PyObject *)wxFileType_GetMimeType(arg1);
14511
14512 wxPyEndAllowThreads(__tstate);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 resultobj = result;
14516 return resultobj;
14517 fail:
14518 return NULL;
14519}
14520
14521
c32bde28 14522static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14523 PyObject *resultobj;
14524 wxFileType *arg1 = (wxFileType *) 0 ;
14525 PyObject *result;
14526 PyObject * obj0 = 0 ;
14527 char *kwnames[] = {
14528 (char *) "self", NULL
14529 };
14530
14531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
14532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = result;
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
c32bde28 14548static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14549 PyObject *resultobj;
14550 wxFileType *arg1 = (wxFileType *) 0 ;
14551 PyObject *result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
14558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 result = (PyObject *)wxFileType_GetExtensions(arg1);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 resultobj = result;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
c32bde28 14574static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14575 PyObject *resultobj;
14576 wxFileType *arg1 = (wxFileType *) 0 ;
14577 wxIcon *result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
14584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (wxIcon *)wxFileType_GetIcon(arg1);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
15afbcd0 14593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
14594 return resultobj;
14595 fail:
14596 return NULL;
14597}
14598
14599
c32bde28 14600static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14601 PyObject *resultobj;
14602 wxFileType *arg1 = (wxFileType *) 0 ;
14603 PyObject *result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
14610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (PyObject *)wxFileType_GetIconInfo(arg1);
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 resultobj = result;
14620 return resultobj;
14621 fail:
14622 return NULL;
14623}
14624
14625
c32bde28 14626static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14627 PyObject *resultobj;
14628 wxFileType *arg1 = (wxFileType *) 0 ;
14629 PyObject *result;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "self", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
14636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14638 {
14639 PyThreadState* __tstate = wxPyBeginAllowThreads();
14640 result = (PyObject *)wxFileType_GetDescription(arg1);
14641
14642 wxPyEndAllowThreads(__tstate);
14643 if (PyErr_Occurred()) SWIG_fail;
14644 }
14645 resultobj = result;
14646 return resultobj;
14647 fail:
14648 return NULL;
14649}
14650
14651
c32bde28 14652static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14653 PyObject *resultobj;
14654 wxFileType *arg1 = (wxFileType *) 0 ;
14655 wxString *arg2 = 0 ;
14656 wxString const &arg3_defvalue = wxPyEmptyString ;
14657 wxString *arg3 = (wxString *) &arg3_defvalue ;
14658 PyObject *result;
ae8162c8
RD
14659 bool temp2 = false ;
14660 bool temp3 = false ;
d14a1e28
RD
14661 PyObject * obj0 = 0 ;
14662 PyObject * obj1 = 0 ;
14663 PyObject * obj2 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14670 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14671 {
14672 arg2 = wxString_in_helper(obj1);
14673 if (arg2 == NULL) SWIG_fail;
ae8162c8 14674 temp2 = true;
d14a1e28
RD
14675 }
14676 if (obj2) {
14677 {
14678 arg3 = wxString_in_helper(obj2);
14679 if (arg3 == NULL) SWIG_fail;
ae8162c8 14680 temp3 = true;
d14a1e28
RD
14681 }
14682 }
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = result;
14691 {
14692 if (temp2)
14693 delete arg2;
14694 }
14695 {
14696 if (temp3)
14697 delete arg3;
14698 }
14699 return resultobj;
14700 fail:
14701 {
14702 if (temp2)
14703 delete arg2;
14704 }
14705 {
14706 if (temp3)
14707 delete arg3;
14708 }
14709 return NULL;
14710}
14711
14712
c32bde28 14713static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14714 PyObject *resultobj;
14715 wxFileType *arg1 = (wxFileType *) 0 ;
14716 wxString *arg2 = 0 ;
14717 wxString const &arg3_defvalue = wxPyEmptyString ;
14718 wxString *arg3 = (wxString *) &arg3_defvalue ;
14719 PyObject *result;
ae8162c8
RD
14720 bool temp2 = false ;
14721 bool temp3 = false ;
d14a1e28
RD
14722 PyObject * obj0 = 0 ;
14723 PyObject * obj1 = 0 ;
14724 PyObject * obj2 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14732 {
14733 arg2 = wxString_in_helper(obj1);
14734 if (arg2 == NULL) SWIG_fail;
ae8162c8 14735 temp2 = true;
d14a1e28
RD
14736 }
14737 if (obj2) {
14738 {
14739 arg3 = wxString_in_helper(obj2);
14740 if (arg3 == NULL) SWIG_fail;
ae8162c8 14741 temp3 = true;
d14a1e28
RD
14742 }
14743 }
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = result;
14752 {
14753 if (temp2)
14754 delete arg2;
14755 }
14756 {
14757 if (temp3)
14758 delete arg3;
14759 }
14760 return resultobj;
14761 fail:
14762 {
14763 if (temp2)
14764 delete arg2;
14765 }
14766 {
14767 if (temp3)
14768 delete arg3;
14769 }
14770 return NULL;
14771}
14772
14773
c32bde28 14774static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14775 PyObject *resultobj;
14776 wxFileType *arg1 = (wxFileType *) 0 ;
14777 wxString *arg2 = 0 ;
14778 wxString const &arg3_defvalue = wxPyEmptyString ;
14779 wxString *arg3 = (wxString *) &arg3_defvalue ;
14780 PyObject *result;
ae8162c8
RD
14781 bool temp2 = false ;
14782 bool temp3 = false ;
d14a1e28
RD
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 PyObject * obj2 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14793 {
14794 arg2 = wxString_in_helper(obj1);
14795 if (arg2 == NULL) SWIG_fail;
ae8162c8 14796 temp2 = true;
d14a1e28
RD
14797 }
14798 if (obj2) {
14799 {
14800 arg3 = wxString_in_helper(obj2);
14801 if (arg3 == NULL) SWIG_fail;
ae8162c8 14802 temp3 = true;
d14a1e28
RD
14803 }
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 resultobj = result;
14813 {
14814 if (temp2)
14815 delete arg2;
14816 }
14817 {
14818 if (temp3)
14819 delete arg3;
14820 }
14821 return resultobj;
14822 fail:
14823 {
14824 if (temp2)
14825 delete arg2;
14826 }
14827 {
14828 if (temp3)
14829 delete arg3;
14830 }
14831 return NULL;
14832}
14833
14834
c32bde28 14835static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14836 PyObject *resultobj;
14837 wxFileType *arg1 = (wxFileType *) 0 ;
14838 wxString *arg2 = 0 ;
14839 wxString *arg3 = 0 ;
ae8162c8 14840 bool arg4 = (bool) true ;
d14a1e28 14841 bool result;
ae8162c8
RD
14842 bool temp2 = false ;
14843 bool temp3 = false ;
d14a1e28
RD
14844 PyObject * obj0 = 0 ;
14845 PyObject * obj1 = 0 ;
14846 PyObject * obj2 = 0 ;
14847 PyObject * obj3 = 0 ;
14848 char *kwnames[] = {
14849 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14850 };
14851
14852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
14853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14854 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14855 {
14856 arg2 = wxString_in_helper(obj1);
14857 if (arg2 == NULL) SWIG_fail;
ae8162c8 14858 temp2 = true;
d14a1e28
RD
14859 }
14860 {
14861 arg3 = wxString_in_helper(obj2);
14862 if (arg3 == NULL) SWIG_fail;
ae8162c8 14863 temp3 = true;
d14a1e28
RD
14864 }
14865 if (obj3) {
093d3ff1
RD
14866 {
14867 arg4 = (bool)(SWIG_As_bool(obj3));
14868 if (SWIG_arg_fail(4)) SWIG_fail;
14869 }
d14a1e28
RD
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
4f89f6a3
RD
14878 {
14879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14880 }
d14a1e28
RD
14881 {
14882 if (temp2)
14883 delete arg2;
14884 }
14885 {
14886 if (temp3)
14887 delete arg3;
14888 }
14889 return resultobj;
14890 fail:
14891 {
14892 if (temp2)
14893 delete arg2;
14894 }
14895 {
14896 if (temp3)
14897 delete arg3;
14898 }
14899 return NULL;
14900}
14901
14902
c32bde28 14903static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14904 PyObject *resultobj;
14905 wxFileType *arg1 = (wxFileType *) 0 ;
14906 wxString const &arg2_defvalue = wxPyEmptyString ;
14907 wxString *arg2 = (wxString *) &arg2_defvalue ;
14908 int arg3 = (int) 0 ;
14909 bool result;
ae8162c8 14910 bool temp2 = false ;
d14a1e28
RD
14911 PyObject * obj0 = 0 ;
14912 PyObject * obj1 = 0 ;
994141e6 14913 PyObject * obj2 = 0 ;
d14a1e28
RD
14914 char *kwnames[] = {
14915 (char *) "self",(char *) "cmd",(char *) "index", NULL
14916 };
14917
994141e6 14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14921 if (obj1) {
14922 {
14923 arg2 = wxString_in_helper(obj1);
14924 if (arg2 == NULL) SWIG_fail;
ae8162c8 14925 temp2 = true;
d14a1e28
RD
14926 }
14927 }
994141e6 14928 if (obj2) {
093d3ff1
RD
14929 {
14930 arg3 = (int)(SWIG_As_int(obj2));
14931 if (SWIG_arg_fail(3)) SWIG_fail;
14932 }
994141e6 14933 }
d14a1e28
RD
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
4f89f6a3
RD
14941 {
14942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14943 }
d14a1e28
RD
14944 {
14945 if (temp2)
14946 delete arg2;
14947 }
14948 return resultobj;
14949 fail:
14950 {
14951 if (temp2)
14952 delete arg2;
14953 }
14954 return NULL;
14955}
14956
14957
c32bde28 14958static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14959 PyObject *resultobj;
14960 wxFileType *arg1 = (wxFileType *) 0 ;
14961 bool result;
14962 PyObject * obj0 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
14968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)(arg1)->Unassociate();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
4f89f6a3
RD
14977 {
14978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14979 }
d14a1e28
RD
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
c32bde28 14986static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14987 PyObject *resultobj;
14988 wxString *arg1 = 0 ;
14989 wxString *arg2 = 0 ;
14990 wxString const &arg3_defvalue = wxPyEmptyString ;
14991 wxString *arg3 = (wxString *) &arg3_defvalue ;
14992 wxString result;
ae8162c8
RD
14993 bool temp1 = false ;
14994 bool temp2 = false ;
14995 bool temp3 = false ;
d14a1e28
RD
14996 PyObject * obj0 = 0 ;
14997 PyObject * obj1 = 0 ;
14998 PyObject * obj2 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15004 {
15005 arg1 = wxString_in_helper(obj0);
15006 if (arg1 == NULL) SWIG_fail;
ae8162c8 15007 temp1 = true;
d14a1e28
RD
15008 }
15009 {
15010 arg2 = wxString_in_helper(obj1);
15011 if (arg2 == NULL) SWIG_fail;
ae8162c8 15012 temp2 = true;
d14a1e28
RD
15013 }
15014 if (obj2) {
15015 {
15016 arg3 = wxString_in_helper(obj2);
15017 if (arg3 == NULL) SWIG_fail;
ae8162c8 15018 temp3 = true;
d14a1e28
RD
15019 }
15020 }
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 {
15029#if wxUSE_UNICODE
15030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15031#else
15032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15033#endif
15034 }
15035 {
15036 if (temp1)
15037 delete arg1;
15038 }
15039 {
15040 if (temp2)
15041 delete arg2;
15042 }
15043 {
15044 if (temp3)
15045 delete arg3;
15046 }
15047 return resultobj;
15048 fail:
15049 {
15050 if (temp1)
15051 delete arg1;
15052 }
15053 {
15054 if (temp2)
15055 delete arg2;
15056 }
15057 {
15058 if (temp3)
15059 delete arg3;
15060 }
15061 return NULL;
15062}
15063
15064
c32bde28 15065static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15066 PyObject *obj;
15067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15068 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
15069 Py_INCREF(obj);
15070 return Py_BuildValue((char *)"");
15071}
c32bde28 15072static int _wrap_TheMimeTypesManager_set(PyObject *) {
d14a1e28
RD
15073 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
15074 return 1;
15075}
15076
15077
093d3ff1 15078static PyObject *_wrap_TheMimeTypesManager_get(void) {
d14a1e28
RD
15079 PyObject *pyobj;
15080
15afbcd0 15081 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
d14a1e28
RD
15082 return pyobj;
15083}
15084
15085
c32bde28 15086static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15087 PyObject *resultobj;
15088 wxString *arg1 = 0 ;
15089 wxString *arg2 = 0 ;
15090 bool result;
ae8162c8
RD
15091 bool temp1 = false ;
15092 bool temp2 = false ;
d14a1e28
RD
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "mimeType",(char *) "wildcard", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
15100 {
15101 arg1 = wxString_in_helper(obj0);
15102 if (arg1 == NULL) SWIG_fail;
ae8162c8 15103 temp1 = true;
d14a1e28
RD
15104 }
15105 {
15106 arg2 = wxString_in_helper(obj1);
15107 if (arg2 == NULL) SWIG_fail;
ae8162c8 15108 temp2 = true;
d14a1e28
RD
15109 }
15110 {
15111 PyThreadState* __tstate = wxPyBeginAllowThreads();
15112 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
15113
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
4f89f6a3
RD
15117 {
15118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15119 }
d14a1e28
RD
15120 {
15121 if (temp1)
15122 delete arg1;
15123 }
15124 {
15125 if (temp2)
15126 delete arg2;
15127 }
15128 return resultobj;
15129 fail:
15130 {
15131 if (temp1)
15132 delete arg1;
15133 }
15134 {
15135 if (temp2)
15136 delete arg2;
15137 }
15138 return NULL;
15139}
15140
15141
c32bde28 15142static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15143 PyObject *resultobj;
15144 wxMimeTypesManager *result;
15145 char *kwnames[] = {
15146 NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15afbcd0 15157 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
d14a1e28
RD
15158 return resultobj;
15159 fail:
15160 return NULL;
15161}
15162
15163
c32bde28 15164static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15165 PyObject *resultobj;
15166 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15167 int arg2 = (int) wxMAILCAP_ALL ;
15168 wxString const &arg3_defvalue = wxPyEmptyString ;
15169 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 15170 bool temp3 = false ;
d14a1e28 15171 PyObject * obj0 = 0 ;
994141e6 15172 PyObject * obj1 = 0 ;
d14a1e28
RD
15173 PyObject * obj2 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15176 };
15177
994141e6 15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) 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;
994141e6 15181 if (obj1) {
093d3ff1
RD
15182 {
15183 arg2 = (int)(SWIG_As_int(obj1));
15184 if (SWIG_arg_fail(2)) SWIG_fail;
15185 }
994141e6 15186 }
d14a1e28
RD
15187 if (obj2) {
15188 {
15189 arg3 = wxString_in_helper(obj2);
15190 if (arg3 == NULL) SWIG_fail;
ae8162c8 15191 temp3 = true;
d14a1e28
RD
15192 }
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->Initialize(arg2,(wxString const &)*arg3);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 {
15203 if (temp3)
15204 delete arg3;
15205 }
15206 return resultobj;
15207 fail:
15208 {
15209 if (temp3)
15210 delete arg3;
15211 }
15212 return NULL;
15213}
15214
15215
c32bde28 15216static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15217 PyObject *resultobj;
15218 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15219 PyObject * obj0 = 0 ;
15220 char *kwnames[] = {
15221 (char *) "self", NULL
15222 };
15223
15224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15226 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15227 {
15228 PyThreadState* __tstate = wxPyBeginAllowThreads();
15229 (arg1)->ClearData();
15230
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 Py_INCREF(Py_None); resultobj = Py_None;
15235 return resultobj;
15236 fail:
15237 return NULL;
15238}
15239
15240
c32bde28 15241static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15242 PyObject *resultobj;
15243 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15244 wxString *arg2 = 0 ;
15245 wxFileType *result;
ae8162c8 15246 bool temp2 = false ;
d14a1e28
RD
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "ext", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15255 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15256 {
15257 arg2 = wxString_in_helper(obj1);
15258 if (arg2 == NULL) SWIG_fail;
ae8162c8 15259 temp2 = true;
d14a1e28
RD
15260 }
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15afbcd0 15268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
15269 {
15270 if (temp2)
15271 delete arg2;
15272 }
15273 return resultobj;
15274 fail:
15275 {
15276 if (temp2)
15277 delete arg2;
15278 }
15279 return NULL;
15280}
15281
15282
c32bde28 15283static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15284 PyObject *resultobj;
15285 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15286 wxString *arg2 = 0 ;
15287 wxFileType *result;
ae8162c8 15288 bool temp2 = false ;
d14a1e28
RD
15289 PyObject * obj0 = 0 ;
15290 PyObject * obj1 = 0 ;
15291 char *kwnames[] = {
15292 (char *) "self",(char *) "mimeType", NULL
15293 };
15294
15295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15298 {
15299 arg2 = wxString_in_helper(obj1);
15300 if (arg2 == NULL) SWIG_fail;
ae8162c8 15301 temp2 = true;
d14a1e28
RD
15302 }
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15afbcd0 15310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
15311 {
15312 if (temp2)
15313 delete arg2;
15314 }
15315 return resultobj;
15316 fail:
15317 {
15318 if (temp2)
15319 delete arg2;
15320 }
15321 return NULL;
15322}
15323
15324
c32bde28 15325static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15326 PyObject *resultobj;
15327 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15328 wxString *arg2 = 0 ;
ae8162c8 15329 bool arg3 = (bool) false ;
d14a1e28 15330 bool result;
ae8162c8 15331 bool temp2 = false ;
d14a1e28
RD
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 PyObject * obj2 = 0 ;
15335 char *kwnames[] = {
15336 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15337 };
15338
15339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15342 {
15343 arg2 = wxString_in_helper(obj1);
15344 if (arg2 == NULL) SWIG_fail;
ae8162c8 15345 temp2 = true;
d14a1e28
RD
15346 }
15347 if (obj2) {
093d3ff1
RD
15348 {
15349 arg3 = (bool)(SWIG_As_bool(obj2));
15350 if (SWIG_arg_fail(3)) SWIG_fail;
15351 }
d14a1e28
RD
15352 }
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
4f89f6a3
RD
15360 {
15361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15362 }
d14a1e28
RD
15363 {
15364 if (temp2)
15365 delete arg2;
15366 }
15367 return resultobj;
15368 fail:
15369 {
15370 if (temp2)
15371 delete arg2;
15372 }
15373 return NULL;
15374}
15375
15376
c32bde28 15377static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15378 PyObject *resultobj;
15379 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15380 wxString *arg2 = 0 ;
15381 bool result;
ae8162c8 15382 bool temp2 = false ;
d14a1e28
RD
15383 PyObject * obj0 = 0 ;
15384 PyObject * obj1 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self",(char *) "filename", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15392 {
15393 arg2 = wxString_in_helper(obj1);
15394 if (arg2 == NULL) SWIG_fail;
ae8162c8 15395 temp2 = true;
d14a1e28
RD
15396 }
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
15400
15401 wxPyEndAllowThreads(__tstate);
15402 if (PyErr_Occurred()) SWIG_fail;
15403 }
4f89f6a3
RD
15404 {
15405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15406 }
d14a1e28
RD
15407 {
15408 if (temp2)
15409 delete arg2;
15410 }
15411 return resultobj;
15412 fail:
15413 {
15414 if (temp2)
15415 delete arg2;
15416 }
15417 return NULL;
15418}
15419
15420
c32bde28 15421static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15422 PyObject *resultobj;
15423 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15424 PyObject *result;
15425 PyObject * obj0 = 0 ;
15426 char *kwnames[] = {
15427 (char *) "self", NULL
15428 };
15429
15430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15432 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 resultobj = result;
15441 return resultobj;
15442 fail:
15443 return NULL;
15444}
15445
15446
c32bde28 15447static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15448 PyObject *resultobj;
15449 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15450 wxFileTypeInfo *arg2 = 0 ;
15451 PyObject * obj0 = 0 ;
15452 PyObject * obj1 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self",(char *) "ft", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail;
15460 {
15461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15462 if (SWIG_arg_fail(2)) SWIG_fail;
15463 if (arg2 == NULL) {
15464 SWIG_null_ref("wxFileTypeInfo");
15465 }
15466 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15467 }
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
c32bde28 15482static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15483 PyObject *resultobj;
15484 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15485 wxFileTypeInfo *arg2 = 0 ;
15486 wxFileType *result;
15487 PyObject * obj0 = 0 ;
15488 PyObject * obj1 = 0 ;
15489 char *kwnames[] = {
15490 (char *) "self",(char *) "ftInfo", NULL
15491 };
15492
15493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15495 if (SWIG_arg_fail(1)) SWIG_fail;
15496 {
15497 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15498 if (SWIG_arg_fail(2)) SWIG_fail;
15499 if (arg2 == NULL) {
15500 SWIG_null_ref("wxFileTypeInfo");
15501 }
15502 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15503 }
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15afbcd0 15511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
d14a1e28
RD
15512 return resultobj;
15513 fail:
15514 return NULL;
15515}
15516
15517
c32bde28 15518static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15519 PyObject *resultobj;
15520 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15521 wxFileType *arg2 = (wxFileType *) 0 ;
15522 bool result;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self",(char *) "ft", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15531 if (SWIG_arg_fail(1)) SWIG_fail;
15532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15533 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 result = (bool)(arg1)->Unassociate(arg2);
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
4f89f6a3
RD
15541 {
15542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15543 }
d14a1e28
RD
15544 return resultobj;
15545 fail:
15546 return NULL;
15547}
15548
15549
c32bde28 15550static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15551 PyObject *resultobj;
15552 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15553 PyObject * obj0 = 0 ;
15554 char *kwnames[] = {
15555 (char *) "self", NULL
15556 };
15557
15558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
15559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15560 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 delete arg1;
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 Py_INCREF(Py_None); resultobj = Py_None;
15569 return resultobj;
15570 fail:
15571 return NULL;
15572}
15573
15574
c32bde28 15575static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15576 PyObject *obj;
15577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15578 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
15579 Py_INCREF(obj);
15580 return Py_BuildValue((char *)"");
15581}
c32bde28 15582static int _wrap_ART_TOOLBAR_set(PyObject *) {
d14a1e28
RD
15583 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
15584 return 1;
15585}
15586
15587
093d3ff1 15588static PyObject *_wrap_ART_TOOLBAR_get(void) {
d14a1e28
RD
15589 PyObject *pyobj;
15590
15591 {
15592#if wxUSE_UNICODE
15593 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15594#else
15595 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15596#endif
15597 }
15598 return pyobj;
15599}
15600
15601
c32bde28 15602static int _wrap_ART_MENU_set(PyObject *) {
d14a1e28
RD
15603 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
15604 return 1;
15605}
15606
15607
093d3ff1 15608static PyObject *_wrap_ART_MENU_get(void) {
d14a1e28
RD
15609 PyObject *pyobj;
15610
15611 {
15612#if wxUSE_UNICODE
15613 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15614#else
15615 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15616#endif
15617 }
15618 return pyobj;
15619}
15620
15621
c32bde28 15622static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d14a1e28
RD
15623 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
15624 return 1;
15625}
15626
15627
093d3ff1 15628static PyObject *_wrap_ART_FRAME_ICON_get(void) {
d14a1e28
RD
15629 PyObject *pyobj;
15630
15631 {
15632#if wxUSE_UNICODE
15633 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15634#else
15635 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15636#endif
15637 }
15638 return pyobj;
15639}
15640
15641
c32bde28 15642static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d14a1e28
RD
15643 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
15644 return 1;
15645}
15646
15647
093d3ff1 15648static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
d14a1e28
RD
15649 PyObject *pyobj;
15650
15651 {
15652#if wxUSE_UNICODE
15653 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15654#else
15655 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15656#endif
15657 }
15658 return pyobj;
15659}
15660
15661
c32bde28 15662static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d14a1e28
RD
15663 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
15664 return 1;
15665}
15666
15667
093d3ff1 15668static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
d14a1e28
RD
15669 PyObject *pyobj;
15670
15671 {
15672#if wxUSE_UNICODE
15673 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15674#else
15675 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15676#endif
15677 }
15678 return pyobj;
15679}
15680
15681
c32bde28 15682static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d14a1e28
RD
15683 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
15684 return 1;
15685}
15686
15687
093d3ff1 15688static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
d14a1e28
RD
15689 PyObject *pyobj;
15690
15691 {
15692#if wxUSE_UNICODE
15693 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15694#else
15695 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15696#endif
15697 }
15698 return pyobj;
15699}
15700
15701
c32bde28 15702static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
15703 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
15704 return 1;
15705}
15706
15707
093d3ff1 15708static PyObject *_wrap_ART_BUTTON_get(void) {
4cf4100f
RD
15709 PyObject *pyobj;
15710
15711 {
15712#if wxUSE_UNICODE
15713 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15714#else
15715 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15716#endif
15717 }
15718 return pyobj;
15719}
15720
15721
c32bde28 15722static int _wrap_ART_OTHER_set(PyObject *) {
d14a1e28
RD
15723 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
15724 return 1;
15725}
15726
15727
093d3ff1 15728static PyObject *_wrap_ART_OTHER_get(void) {
d14a1e28
RD
15729 PyObject *pyobj;
15730
15731 {
15732#if wxUSE_UNICODE
15733 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15734#else
15735 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15736#endif
15737 }
15738 return pyobj;
15739}
15740
15741
c32bde28 15742static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d14a1e28
RD
15743 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
15744 return 1;
15745}
15746
15747
093d3ff1 15748static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
d14a1e28
RD
15749 PyObject *pyobj;
15750
15751 {
15752#if wxUSE_UNICODE
15753 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15754#else
15755 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15756#endif
15757 }
15758 return pyobj;
15759}
15760
15761
c32bde28 15762static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d14a1e28
RD
15763 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
15764 return 1;
15765}
15766
15767
093d3ff1 15768static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
d14a1e28
RD
15769 PyObject *pyobj;
15770
15771 {
15772#if wxUSE_UNICODE
15773 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15774#else
15775 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15776#endif
15777 }
15778 return pyobj;
15779}
15780
15781
c32bde28 15782static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d14a1e28
RD
15783 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
15784 return 1;
15785}
15786
15787
093d3ff1 15788static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
d14a1e28
RD
15789 PyObject *pyobj;
15790
15791 {
15792#if wxUSE_UNICODE
15793 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15794#else
15795 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15796#endif
15797 }
15798 return pyobj;
15799}
15800
15801
c32bde28 15802static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d14a1e28
RD
15803 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
15804 return 1;
15805}
15806
15807
093d3ff1 15808static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
d14a1e28
RD
15809 PyObject *pyobj;
15810
15811 {
15812#if wxUSE_UNICODE
15813 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15814#else
15815 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15816#endif
15817 }
15818 return pyobj;
15819}
15820
15821
c32bde28 15822static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d14a1e28
RD
15823 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
15824 return 1;
15825}
15826
15827
093d3ff1 15828static PyObject *_wrap_ART_HELP_BOOK_get(void) {
d14a1e28
RD
15829 PyObject *pyobj;
15830
15831 {
15832#if wxUSE_UNICODE
15833 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15834#else
15835 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15836#endif
15837 }
15838 return pyobj;
15839}
15840
15841
c32bde28 15842static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d14a1e28
RD
15843 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
15844 return 1;
15845}
15846
15847
093d3ff1 15848static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
d14a1e28
RD
15849 PyObject *pyobj;
15850
15851 {
15852#if wxUSE_UNICODE
15853 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15854#else
15855 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15856#endif
15857 }
15858 return pyobj;
15859}
15860
15861
c32bde28 15862static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d14a1e28
RD
15863 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
15864 return 1;
15865}
15866
15867
093d3ff1 15868static PyObject *_wrap_ART_HELP_PAGE_get(void) {
d14a1e28
RD
15869 PyObject *pyobj;
15870
15871 {
15872#if wxUSE_UNICODE
15873 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15874#else
15875 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15876#endif
15877 }
15878 return pyobj;
15879}
15880
15881
c32bde28 15882static int _wrap_ART_GO_BACK_set(PyObject *) {
d14a1e28
RD
15883 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
15884 return 1;
15885}
15886
15887
093d3ff1 15888static PyObject *_wrap_ART_GO_BACK_get(void) {
d14a1e28
RD
15889 PyObject *pyobj;
15890
15891 {
15892#if wxUSE_UNICODE
15893 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15894#else
15895 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15896#endif
15897 }
15898 return pyobj;
15899}
15900
15901
c32bde28 15902static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d14a1e28
RD
15903 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
15904 return 1;
15905}
15906
15907
093d3ff1 15908static PyObject *_wrap_ART_GO_FORWARD_get(void) {
d14a1e28
RD
15909 PyObject *pyobj;
15910
15911 {
15912#if wxUSE_UNICODE
15913 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15914#else
15915 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15916#endif
15917 }
15918 return pyobj;
15919}
15920
15921
c32bde28 15922static int _wrap_ART_GO_UP_set(PyObject *) {
d14a1e28
RD
15923 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
15924 return 1;
15925}
15926
15927
093d3ff1 15928static PyObject *_wrap_ART_GO_UP_get(void) {
d14a1e28
RD
15929 PyObject *pyobj;
15930
15931 {
15932#if wxUSE_UNICODE
15933 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15934#else
15935 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15936#endif
15937 }
15938 return pyobj;
15939}
15940
15941
c32bde28 15942static int _wrap_ART_GO_DOWN_set(PyObject *) {
d14a1e28
RD
15943 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
15944 return 1;
15945}
15946
15947
093d3ff1 15948static PyObject *_wrap_ART_GO_DOWN_get(void) {
d14a1e28
RD
15949 PyObject *pyobj;
15950
15951 {
15952#if wxUSE_UNICODE
15953 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15954#else
15955 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15956#endif
15957 }
15958 return pyobj;
15959}
15960
15961
c32bde28 15962static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d14a1e28
RD
15963 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
15964 return 1;
15965}
15966
15967
093d3ff1 15968static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
d14a1e28
RD
15969 PyObject *pyobj;
15970
15971 {
15972#if wxUSE_UNICODE
15973 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15974#else
15975 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15976#endif
15977 }
15978 return pyobj;
15979}
15980
15981
c32bde28 15982static int _wrap_ART_GO_HOME_set(PyObject *) {
d14a1e28
RD
15983 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
15984 return 1;
15985}
15986
15987
093d3ff1 15988static PyObject *_wrap_ART_GO_HOME_get(void) {
d14a1e28
RD
15989 PyObject *pyobj;
15990
15991 {
15992#if wxUSE_UNICODE
15993 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15994#else
15995 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15996#endif
15997 }
15998 return pyobj;
15999}
16000
16001
c32bde28 16002static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d14a1e28
RD
16003 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
16004 return 1;
16005}
16006
16007
093d3ff1 16008static PyObject *_wrap_ART_FILE_OPEN_get(void) {
d14a1e28
RD
16009 PyObject *pyobj;
16010
16011 {
16012#if wxUSE_UNICODE
16013 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16014#else
16015 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16016#endif
16017 }
16018 return pyobj;
16019}
16020
16021
0c243d93
RD
16022static int _wrap_ART_FILE_SAVE_set(PyObject *) {
16023 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
16024 return 1;
16025}
16026
16027
16028static PyObject *_wrap_ART_FILE_SAVE_get(void) {
16029 PyObject *pyobj;
16030
16031 {
16032#if wxUSE_UNICODE
16033 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16034#else
16035 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16036#endif
16037 }
16038 return pyobj;
16039}
16040
16041
16042static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
16043 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
16044 return 1;
16045}
16046
16047
16048static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
16049 PyObject *pyobj;
16050
16051 {
16052#if wxUSE_UNICODE
16053 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16054#else
16055 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16056#endif
16057 }
16058 return pyobj;
16059}
16060
16061
c32bde28 16062static int _wrap_ART_PRINT_set(PyObject *) {
d14a1e28
RD
16063 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
16064 return 1;
16065}
16066
16067
093d3ff1 16068static PyObject *_wrap_ART_PRINT_get(void) {
d14a1e28
RD
16069 PyObject *pyobj;
16070
16071 {
16072#if wxUSE_UNICODE
16073 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16074#else
16075 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16076#endif
16077 }
16078 return pyobj;
16079}
16080
16081
c32bde28 16082static int _wrap_ART_HELP_set(PyObject *) {
d14a1e28
RD
16083 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
16084 return 1;
16085}
16086
16087
093d3ff1 16088static PyObject *_wrap_ART_HELP_get(void) {
d14a1e28
RD
16089 PyObject *pyobj;
16090
16091 {
16092#if wxUSE_UNICODE
16093 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16094#else
16095 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16096#endif
16097 }
16098 return pyobj;
16099}
16100
16101
c32bde28 16102static int _wrap_ART_TIP_set(PyObject *) {
d14a1e28
RD
16103 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
16104 return 1;
16105}
16106
16107
093d3ff1 16108static PyObject *_wrap_ART_TIP_get(void) {
d14a1e28
RD
16109 PyObject *pyobj;
16110
16111 {
16112#if wxUSE_UNICODE
16113 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16114#else
16115 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16116#endif
16117 }
16118 return pyobj;
16119}
16120
16121
c32bde28 16122static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d14a1e28
RD
16123 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
16124 return 1;
16125}
16126
16127
093d3ff1 16128static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
d14a1e28
RD
16129 PyObject *pyobj;
16130
16131 {
16132#if wxUSE_UNICODE
16133 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16134#else
16135 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16136#endif
16137 }
16138 return pyobj;
16139}
16140
16141
c32bde28 16142static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d14a1e28
RD
16143 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16144 return 1;
16145}
16146
16147
093d3ff1 16148static PyObject *_wrap_ART_LIST_VIEW_get(void) {
d14a1e28
RD
16149 PyObject *pyobj;
16150
16151 {
16152#if wxUSE_UNICODE
16153 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16154#else
16155 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16156#endif
16157 }
16158 return pyobj;
16159}
16160
16161
c32bde28 16162static int _wrap_ART_NEW_DIR_set(PyObject *) {
d14a1e28
RD
16163 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16164 return 1;
16165}
16166
16167
093d3ff1 16168static PyObject *_wrap_ART_NEW_DIR_get(void) {
d14a1e28
RD
16169 PyObject *pyobj;
16170
16171 {
16172#if wxUSE_UNICODE
16173 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16174#else
16175 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16176#endif
16177 }
16178 return pyobj;
16179}
16180
16181
f78cc896
RD
16182static int _wrap_ART_HARDDISK_set(PyObject *) {
16183 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16184 return 1;
16185}
16186
16187
093d3ff1 16188static PyObject *_wrap_ART_HARDDISK_get(void) {
f78cc896
RD
16189 PyObject *pyobj;
16190
16191 {
16192#if wxUSE_UNICODE
16193 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16194#else
16195 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16196#endif
16197 }
16198 return pyobj;
16199}
16200
16201
16202static int _wrap_ART_FLOPPY_set(PyObject *) {
16203 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
16204 return 1;
16205}
16206
16207
093d3ff1 16208static PyObject *_wrap_ART_FLOPPY_get(void) {
f78cc896
RD
16209 PyObject *pyobj;
16210
16211 {
16212#if wxUSE_UNICODE
16213 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16214#else
16215 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16216#endif
16217 }
16218 return pyobj;
16219}
16220
16221
16222static int _wrap_ART_CDROM_set(PyObject *) {
16223 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
16224 return 1;
16225}
16226
16227
093d3ff1 16228static PyObject *_wrap_ART_CDROM_get(void) {
f78cc896
RD
16229 PyObject *pyobj;
16230
16231 {
16232#if wxUSE_UNICODE
16233 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16234#else
16235 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16236#endif
16237 }
16238 return pyobj;
16239}
16240
16241
16242static int _wrap_ART_REMOVABLE_set(PyObject *) {
16243 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
16244 return 1;
16245}
16246
16247
093d3ff1 16248static PyObject *_wrap_ART_REMOVABLE_get(void) {
f78cc896
RD
16249 PyObject *pyobj;
16250
16251 {
16252#if wxUSE_UNICODE
16253 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16254#else
16255 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16256#endif
16257 }
16258 return pyobj;
16259}
16260
16261
c32bde28 16262static int _wrap_ART_FOLDER_set(PyObject *) {
d14a1e28
RD
16263 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
16264 return 1;
16265}
16266
16267
093d3ff1 16268static PyObject *_wrap_ART_FOLDER_get(void) {
d14a1e28
RD
16269 PyObject *pyobj;
16270
16271 {
16272#if wxUSE_UNICODE
16273 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16274#else
16275 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16276#endif
16277 }
16278 return pyobj;
16279}
16280
16281
f78cc896
RD
16282static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
16283 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
16284 return 1;
16285}
16286
16287
093d3ff1 16288static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
f78cc896
RD
16289 PyObject *pyobj;
16290
16291 {
16292#if wxUSE_UNICODE
16293 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16294#else
16295 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16296#endif
16297 }
16298 return pyobj;
16299}
16300
16301
c32bde28 16302static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d14a1e28
RD
16303 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
16304 return 1;
16305}
16306
16307
093d3ff1 16308static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
d14a1e28
RD
16309 PyObject *pyobj;
16310
16311 {
16312#if wxUSE_UNICODE
16313 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16314#else
16315 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16316#endif
16317 }
16318 return pyobj;
16319}
16320
16321
c32bde28 16322static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d14a1e28
RD
16323 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
16324 return 1;
16325}
16326
16327
093d3ff1 16328static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
d14a1e28
RD
16329 PyObject *pyobj;
16330
16331 {
16332#if wxUSE_UNICODE
16333 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16334#else
16335 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16336#endif
16337 }
16338 return pyobj;
16339}
16340
16341
c32bde28 16342static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d14a1e28
RD
16343 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
16344 return 1;
16345}
16346
16347
093d3ff1 16348static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
d14a1e28
RD
16349 PyObject *pyobj;
16350
16351 {
16352#if wxUSE_UNICODE
16353 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16354#else
16355 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16356#endif
16357 }
16358 return pyobj;
16359}
16360
16361
c32bde28 16362static int _wrap_ART_TICK_MARK_set(PyObject *) {
d14a1e28
RD
16363 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
16364 return 1;
16365}
16366
16367
093d3ff1 16368static PyObject *_wrap_ART_TICK_MARK_get(void) {
d14a1e28
RD
16369 PyObject *pyobj;
16370
16371 {
16372#if wxUSE_UNICODE
16373 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16374#else
16375 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16376#endif
16377 }
16378 return pyobj;
16379}
16380
16381
c32bde28 16382static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d14a1e28
RD
16383 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
16384 return 1;
16385}
16386
16387
093d3ff1 16388static PyObject *_wrap_ART_CROSS_MARK_get(void) {
d14a1e28
RD
16389 PyObject *pyobj;
16390
16391 {
16392#if wxUSE_UNICODE
16393 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16394#else
16395 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16396#endif
16397 }
16398 return pyobj;
16399}
16400
16401
c32bde28 16402static int _wrap_ART_ERROR_set(PyObject *) {
d14a1e28
RD
16403 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
16404 return 1;
16405}
16406
16407
093d3ff1 16408static PyObject *_wrap_ART_ERROR_get(void) {
d14a1e28
RD
16409 PyObject *pyobj;
16410
16411 {
16412#if wxUSE_UNICODE
16413 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16414#else
16415 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16416#endif
16417 }
16418 return pyobj;
16419}
16420
16421
c32bde28 16422static int _wrap_ART_QUESTION_set(PyObject *) {
d14a1e28
RD
16423 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
16424 return 1;
16425}
16426
16427
093d3ff1 16428static PyObject *_wrap_ART_QUESTION_get(void) {
d14a1e28
RD
16429 PyObject *pyobj;
16430
16431 {
16432#if wxUSE_UNICODE
16433 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16434#else
16435 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16436#endif
16437 }
16438 return pyobj;
16439}
16440
16441
c32bde28 16442static int _wrap_ART_WARNING_set(PyObject *) {
d14a1e28
RD
16443 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
16444 return 1;
16445}
16446
16447
093d3ff1 16448static PyObject *_wrap_ART_WARNING_get(void) {
d14a1e28
RD
16449 PyObject *pyobj;
16450
16451 {
16452#if wxUSE_UNICODE
16453 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16454#else
16455 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16456#endif
16457 }
16458 return pyobj;
16459}
16460
16461
c32bde28 16462static int _wrap_ART_INFORMATION_set(PyObject *) {
d14a1e28
RD
16463 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
16464 return 1;
16465}
16466
16467
093d3ff1 16468static PyObject *_wrap_ART_INFORMATION_get(void) {
d14a1e28
RD
16469 PyObject *pyobj;
16470
16471 {
16472#if wxUSE_UNICODE
16473 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16474#else
16475 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16476#endif
16477 }
16478 return pyobj;
16479}
16480
16481
c32bde28 16482static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d14a1e28
RD
16483 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
16484 return 1;
16485}
16486
16487
093d3ff1 16488static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
d14a1e28
RD
16489 PyObject *pyobj;
16490
16491 {
16492#if wxUSE_UNICODE
16493 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16494#else
16495 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16496#endif
16497 }
16498 return pyobj;
16499}
16500
16501
0c243d93
RD
16502static int _wrap_ART_COPY_set(PyObject *) {
16503 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
16504 return 1;
16505}
16506
16507
16508static PyObject *_wrap_ART_COPY_get(void) {
16509 PyObject *pyobj;
16510
16511 {
16512#if wxUSE_UNICODE
16513 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16514#else
16515 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16516#endif
16517 }
16518 return pyobj;
16519}
16520
16521
16522static int _wrap_ART_CUT_set(PyObject *) {
16523 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
16524 return 1;
16525}
16526
16527
16528static PyObject *_wrap_ART_CUT_get(void) {
16529 PyObject *pyobj;
16530
16531 {
16532#if wxUSE_UNICODE
16533 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16534#else
16535 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16536#endif
16537 }
16538 return pyobj;
16539}
16540
16541
16542static int _wrap_ART_PASTE_set(PyObject *) {
16543 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
16544 return 1;
16545}
16546
16547
16548static PyObject *_wrap_ART_PASTE_get(void) {
16549 PyObject *pyobj;
16550
16551 {
16552#if wxUSE_UNICODE
16553 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16554#else
16555 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16556#endif
16557 }
16558 return pyobj;
16559}
16560
16561
16562static int _wrap_ART_DELETE_set(PyObject *) {
16563 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
16564 return 1;
16565}
16566
16567
16568static PyObject *_wrap_ART_DELETE_get(void) {
16569 PyObject *pyobj;
16570
16571 {
16572#if wxUSE_UNICODE
16573 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16574#else
16575 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16576#endif
16577 }
16578 return pyobj;
16579}
16580
16581
a187dc0b
RD
16582static int _wrap_ART_NEW_set(PyObject *) {
16583 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
16584 return 1;
16585}
16586
16587
16588static PyObject *_wrap_ART_NEW_get(void) {
16589 PyObject *pyobj;
16590
16591 {
16592#if wxUSE_UNICODE
16593 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
16594#else
16595 pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
16596#endif
16597 }
16598 return pyobj;
16599}
16600
16601
0c243d93
RD
16602static int _wrap_ART_UNDO_set(PyObject *) {
16603 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
16604 return 1;
16605}
16606
16607
16608static PyObject *_wrap_ART_UNDO_get(void) {
16609 PyObject *pyobj;
16610
16611 {
16612#if wxUSE_UNICODE
16613 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16614#else
16615 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16616#endif
16617 }
16618 return pyobj;
16619}
16620
16621
16622static int _wrap_ART_REDO_set(PyObject *) {
16623 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
16624 return 1;
16625}
16626
16627
16628static PyObject *_wrap_ART_REDO_get(void) {
16629 PyObject *pyobj;
16630
16631 {
16632#if wxUSE_UNICODE
16633 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16634#else
16635 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16636#endif
16637 }
16638 return pyobj;
16639}
16640
16641
16642static int _wrap_ART_QUIT_set(PyObject *) {
16643 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
16644 return 1;
16645}
16646
16647
16648static PyObject *_wrap_ART_QUIT_get(void) {
16649 PyObject *pyobj;
16650
16651 {
16652#if wxUSE_UNICODE
16653 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16654#else
16655 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16656#endif
16657 }
16658 return pyobj;
16659}
16660
16661
16662static int _wrap_ART_FIND_set(PyObject *) {
16663 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
16664 return 1;
16665}
16666
16667
16668static PyObject *_wrap_ART_FIND_get(void) {
16669 PyObject *pyobj;
16670
16671 {
16672#if wxUSE_UNICODE
16673 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16674#else
16675 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16676#endif
16677 }
16678 return pyobj;
16679}
16680
16681
16682static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
16683 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
16684 return 1;
16685}
16686
16687
16688static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
16689 PyObject *pyobj;
16690
16691 {
16692#if wxUSE_UNICODE
16693 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16694#else
16695 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16696#endif
16697 }
16698 return pyobj;
16699}
16700
16701
c32bde28 16702static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16703 PyObject *resultobj;
16704 wxPyArtProvider *result;
16705 char *kwnames[] = {
16706 NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
16710 {
e3b71cb8 16711 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16712 PyThreadState* __tstate = wxPyBeginAllowThreads();
16713 result = (wxPyArtProvider *)new wxPyArtProvider();
16714
16715 wxPyEndAllowThreads(__tstate);
110da5b0 16716 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16717 }
15afbcd0 16718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
d14a1e28
RD
16719 return resultobj;
16720 fail:
16721 return NULL;
16722}
16723
16724
c32bde28 16725static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16726 PyObject *resultobj;
16727 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16728 PyObject *arg2 = (PyObject *) 0 ;
16729 PyObject *arg3 = (PyObject *) 0 ;
16730 PyObject * obj0 = 0 ;
16731 PyObject * obj1 = 0 ;
16732 PyObject * obj2 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self",(char *) "self",(char *) "_class", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16739 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16740 arg2 = obj1;
16741 arg3 = obj2;
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 (arg1)->_setCallbackInfo(arg2,arg3);
16745
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 Py_INCREF(Py_None); resultobj = Py_None;
16750 return resultobj;
16751 fail:
16752 return NULL;
16753}
16754
16755
c32bde28 16756static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16757 PyObject *resultobj;
16758 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16759 PyObject * obj0 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "provider", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16767 {
16768 PyThreadState* __tstate = wxPyBeginAllowThreads();
16769 wxPyArtProvider::PushProvider(arg1);
16770
16771 wxPyEndAllowThreads(__tstate);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 }
16774 Py_INCREF(Py_None); resultobj = Py_None;
16775 return resultobj;
16776 fail:
16777 return NULL;
16778}
16779
16780
c32bde28 16781static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16782 PyObject *resultobj;
16783 bool result;
16784 char *kwnames[] = {
16785 NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (bool)wxPyArtProvider::PopProvider();
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
4f89f6a3
RD
16796 {
16797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16798 }
d14a1e28
RD
16799 return resultobj;
16800 fail:
16801 return NULL;
16802}
16803
16804
c32bde28 16805static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16806 PyObject *resultobj;
16807 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16808 bool result;
16809 PyObject * obj0 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "provider", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
16815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16816 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
4f89f6a3
RD
16824 {
16825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16826 }
d14a1e28
RD
16827 return resultobj;
16828 fail:
16829 return NULL;
16830}
16831
16832
c32bde28 16833static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16834 PyObject *resultobj;
16835 wxString *arg1 = 0 ;
16836 wxString const &arg2_defvalue = wxPyART_OTHER ;
16837 wxString *arg2 = (wxString *) &arg2_defvalue ;
16838 wxSize const &arg3_defvalue = wxDefaultSize ;
16839 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16840 wxBitmap result;
ae8162c8
RD
16841 bool temp1 = false ;
16842 bool temp2 = false ;
d14a1e28
RD
16843 wxSize temp3 ;
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 PyObject * obj2 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "id",(char *) "client",(char *) "size", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
16852 {
16853 arg1 = wxString_in_helper(obj0);
16854 if (arg1 == NULL) SWIG_fail;
ae8162c8 16855 temp1 = true;
d14a1e28
RD
16856 }
16857 if (obj1) {
16858 {
16859 arg2 = wxString_in_helper(obj1);
16860 if (arg2 == NULL) SWIG_fail;
ae8162c8 16861 temp2 = true;
d14a1e28
RD
16862 }
16863 }
16864 if (obj2) {
16865 {
16866 arg3 = &temp3;
16867 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16868 }
16869 }
16870 {
e3b71cb8 16871 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16872 PyThreadState* __tstate = wxPyBeginAllowThreads();
16873 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16874
16875 wxPyEndAllowThreads(__tstate);
110da5b0 16876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16877 }
16878 {
16879 wxBitmap * resultptr;
093d3ff1 16880 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 16881 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
16882 }
16883 {
16884 if (temp1)
16885 delete arg1;
16886 }
16887 {
16888 if (temp2)
16889 delete arg2;
16890 }
16891 return resultobj;
16892 fail:
16893 {
16894 if (temp1)
16895 delete arg1;
16896 }
16897 {
16898 if (temp2)
16899 delete arg2;
16900 }
16901 return NULL;
16902}
16903
16904
c32bde28 16905static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16906 PyObject *resultobj;
16907 wxString *arg1 = 0 ;
16908 wxString const &arg2_defvalue = wxPyART_OTHER ;
16909 wxString *arg2 = (wxString *) &arg2_defvalue ;
16910 wxSize const &arg3_defvalue = wxDefaultSize ;
16911 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16912 wxIcon result;
ae8162c8
RD
16913 bool temp1 = false ;
16914 bool temp2 = false ;
d14a1e28
RD
16915 wxSize temp3 ;
16916 PyObject * obj0 = 0 ;
16917 PyObject * obj1 = 0 ;
16918 PyObject * obj2 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "id",(char *) "client",(char *) "size", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
16924 {
16925 arg1 = wxString_in_helper(obj0);
16926 if (arg1 == NULL) SWIG_fail;
ae8162c8 16927 temp1 = true;
d14a1e28
RD
16928 }
16929 if (obj1) {
16930 {
16931 arg2 = wxString_in_helper(obj1);
16932 if (arg2 == NULL) SWIG_fail;
ae8162c8 16933 temp2 = true;
d14a1e28
RD
16934 }
16935 }
16936 if (obj2) {
16937 {
16938 arg3 = &temp3;
16939 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16940 }
16941 }
16942 {
e3b71cb8 16943 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16946
16947 wxPyEndAllowThreads(__tstate);
110da5b0 16948 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16949 }
16950 {
16951 wxIcon * resultptr;
093d3ff1 16952 resultptr = new wxIcon((wxIcon &)(result));
15afbcd0 16953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
16954 }
16955 {
16956 if (temp1)
16957 delete arg1;
16958 }
16959 {
16960 if (temp2)
16961 delete arg2;
16962 }
16963 return resultobj;
16964 fail:
16965 {
16966 if (temp1)
16967 delete arg1;
16968 }
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return NULL;
16974}
16975
16976
85ee4fe9 16977static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
9c874b48
RD
16978 PyObject *resultobj;
16979 wxString *arg1 = 0 ;
16980 bool arg2 = (bool) false ;
16981 wxSize result;
16982 bool temp1 = false ;
16983 PyObject * obj0 = 0 ;
16984 PyObject * obj1 = 0 ;
16985 char *kwnames[] = {
16986 (char *) "client",(char *) "platform_dependent", NULL
16987 };
16988
85ee4fe9 16989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
16990 {
16991 arg1 = wxString_in_helper(obj0);
16992 if (arg1 == NULL) SWIG_fail;
16993 temp1 = true;
16994 }
16995 if (obj1) {
16996 {
16997 arg2 = (bool)(SWIG_As_bool(obj1));
16998 if (SWIG_arg_fail(2)) SWIG_fail;
16999 }
17000 }
17001 {
17002 PyThreadState* __tstate = wxPyBeginAllowThreads();
85ee4fe9 17003 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 {
17009 wxSize * resultptr;
17010 resultptr = new wxSize((wxSize &)(result));
17011 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17012 }
17013 {
17014 if (temp1)
17015 delete arg1;
17016 }
17017 return resultobj;
17018 fail:
17019 {
17020 if (temp1)
17021 delete arg1;
17022 }
17023 return NULL;
17024}
17025
17026
c32bde28 17027static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
17028 PyObject *resultobj;
17029 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
17036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail;
1e0c8722
RD
17038 {
17039 PyThreadState* __tstate = wxPyBeginAllowThreads();
17040 wxPyArtProvider_Destroy(arg1);
17041
17042 wxPyEndAllowThreads(__tstate);
17043 if (PyErr_Occurred()) SWIG_fail;
17044 }
17045 Py_INCREF(Py_None); resultobj = Py_None;
17046 return resultobj;
17047 fail:
17048 return NULL;
17049}
17050
17051
c32bde28 17052static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17053 PyObject *obj;
17054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17055 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
17056 Py_INCREF(obj);
17057 return Py_BuildValue((char *)"");
17058}
c32bde28 17059static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17060 PyObject *resultobj;
17061 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17062 PyObject * obj0 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "self", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
17068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 delete arg1;
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
c32bde28 17084static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17085 PyObject *resultobj;
17086 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17087 wxConfigBase *result;
17088 PyObject * obj0 = 0 ;
17089 char *kwnames[] = {
b88bce5f 17090 (char *) "config", NULL
d14a1e28
RD
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 17094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 17095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (wxConfigBase *)wxConfigBase::Set(arg1);
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
15afbcd0 17103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
c32bde28 17110static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17111 PyObject *resultobj;
ae8162c8 17112 bool arg1 = (bool) true ;
d14a1e28
RD
17113 wxConfigBase *result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "createOnDemand", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
17120 if (obj0) {
093d3ff1
RD
17121 {
17122 arg1 = (bool)(SWIG_As_bool(obj0));
17123 if (SWIG_arg_fail(1)) SWIG_fail;
17124 }
d14a1e28
RD
17125 }
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxConfigBase *)wxConfigBase::Get(arg1);
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
15afbcd0 17133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
17134 return resultobj;
17135 fail:
17136 return NULL;
17137}
17138
17139
c32bde28 17140static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17141 PyObject *resultobj;
17142 wxConfigBase *result;
17143 char *kwnames[] = {
17144 NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
17148 {
17149 PyThreadState* __tstate = wxPyBeginAllowThreads();
17150 result = (wxConfigBase *)wxConfigBase::Create();
17151
17152 wxPyEndAllowThreads(__tstate);
17153 if (PyErr_Occurred()) SWIG_fail;
17154 }
15afbcd0 17155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
d14a1e28
RD
17156 return resultobj;
17157 fail:
17158 return NULL;
17159}
17160
17161
c32bde28 17162static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17163 PyObject *resultobj;
17164 char *kwnames[] = {
17165 NULL
17166 };
17167
17168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17169 {
17170 PyThreadState* __tstate = wxPyBeginAllowThreads();
17171 wxConfigBase::DontCreateOnDemand();
17172
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 Py_INCREF(Py_None); resultobj = Py_None;
17177 return resultobj;
17178 fail:
17179 return NULL;
17180}
17181
17182
c32bde28 17183static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17184 PyObject *resultobj;
17185 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17186 wxString *arg2 = 0 ;
ae8162c8 17187 bool temp2 = false ;
d14a1e28
RD
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 char *kwnames[] = {
b88bce5f 17191 (char *) "self",(char *) "path", NULL
d14a1e28
RD
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17196 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17197 {
17198 arg2 = wxString_in_helper(obj1);
17199 if (arg2 == NULL) SWIG_fail;
ae8162c8 17200 temp2 = true;
d14a1e28
RD
17201 }
17202 {
17203 PyThreadState* __tstate = wxPyBeginAllowThreads();
17204 (arg1)->SetPath((wxString const &)*arg2);
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 Py_INCREF(Py_None); resultobj = Py_None;
17210 {
17211 if (temp2)
17212 delete arg2;
17213 }
17214 return resultobj;
17215 fail:
17216 {
17217 if (temp2)
17218 delete arg2;
17219 }
17220 return NULL;
17221}
17222
17223
c32bde28 17224static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17225 PyObject *resultobj;
17226 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17227 wxString *result;
17228 PyObject * obj0 = 0 ;
17229 char *kwnames[] = {
17230 (char *) "self", NULL
17231 };
17232
17233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
17234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 {
17239 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
17240 result = (wxString *) &_result_ref;
17241 }
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
cc6dd355
RD
17246 {
17247#if wxUSE_UNICODE
17248 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17249#else
17250 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17251#endif
17252 }
d14a1e28
RD
17253 return resultobj;
17254 fail:
17255 return NULL;
17256}
17257
17258
c32bde28 17259static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17260 PyObject *resultobj;
17261 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17262 PyObject *result;
17263 PyObject * obj0 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
17269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 resultobj = result;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282}
17283
17284
c32bde28 17285static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17286 PyObject *resultobj;
17287 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17288 long arg2 ;
17289 PyObject *result;
17290 PyObject * obj0 = 0 ;
994141e6 17291 PyObject * obj1 = 0 ;
d14a1e28
RD
17292 char *kwnames[] = {
17293 (char *) "self",(char *) "index", NULL
17294 };
17295
994141e6 17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17298 if (SWIG_arg_fail(1)) SWIG_fail;
17299 {
17300 arg2 = (long)(SWIG_As_long(obj1));
17301 if (SWIG_arg_fail(2)) SWIG_fail;
17302 }
d14a1e28
RD
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 resultobj = result;
17311 return resultobj;
17312 fail:
17313 return NULL;
17314}
17315
17316
c32bde28 17317static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17318 PyObject *resultobj;
17319 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17320 PyObject *result;
17321 PyObject * obj0 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "self", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
17327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17328 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 resultobj = result;
17337 return resultobj;
17338 fail:
17339 return NULL;
17340}
17341
17342
c32bde28 17343static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17344 PyObject *resultobj;
17345 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17346 long arg2 ;
17347 PyObject *result;
17348 PyObject * obj0 = 0 ;
994141e6 17349 PyObject * obj1 = 0 ;
d14a1e28
RD
17350 char *kwnames[] = {
17351 (char *) "self",(char *) "index", NULL
17352 };
17353
994141e6 17354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17356 if (SWIG_arg_fail(1)) SWIG_fail;
17357 {
17358 arg2 = (long)(SWIG_As_long(obj1));
17359 if (SWIG_arg_fail(2)) SWIG_fail;
17360 }
d14a1e28
RD
17361 {
17362 PyThreadState* __tstate = wxPyBeginAllowThreads();
17363 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
17364
17365 wxPyEndAllowThreads(__tstate);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 resultobj = result;
17369 return resultobj;
17370 fail:
17371 return NULL;
17372}
17373
17374
c32bde28 17375static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17376 PyObject *resultobj;
17377 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17378 bool arg2 = (bool) false ;
d14a1e28
RD
17379 size_t result;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
b88bce5f 17383 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17389 if (obj1) {
093d3ff1
RD
17390 {
17391 arg2 = (bool)(SWIG_As_bool(obj1));
17392 if (SWIG_arg_fail(2)) SWIG_fail;
17393 }
d14a1e28
RD
17394 }
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
093d3ff1
RD
17402 {
17403 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17404 }
d14a1e28
RD
17405 return resultobj;
17406 fail:
17407 return NULL;
17408}
17409
17410
c32bde28 17411static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17412 PyObject *resultobj;
17413 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 17414 bool arg2 = (bool) false ;
d14a1e28
RD
17415 size_t result;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
b88bce5f 17419 (char *) "self",(char *) "recursive", NULL
d14a1e28
RD
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 17425 if (obj1) {
093d3ff1
RD
17426 {
17427 arg2 = (bool)(SWIG_As_bool(obj1));
17428 if (SWIG_arg_fail(2)) SWIG_fail;
17429 }
d14a1e28
RD
17430 }
17431 {
17432 PyThreadState* __tstate = wxPyBeginAllowThreads();
17433 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
093d3ff1
RD
17438 {
17439 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17440 }
d14a1e28
RD
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
c32bde28 17447static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17448 PyObject *resultobj;
17449 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17450 wxString *arg2 = 0 ;
17451 bool result;
ae8162c8 17452 bool temp2 = false ;
d14a1e28
RD
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 char *kwnames[] = {
b88bce5f 17456 (char *) "self",(char *) "name", NULL
d14a1e28
RD
17457 };
17458
17459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17462 {
17463 arg2 = wxString_in_helper(obj1);
17464 if (arg2 == NULL) SWIG_fail;
ae8162c8 17465 temp2 = true;
d14a1e28
RD
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
4f89f6a3
RD
17474 {
17475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17476 }
d14a1e28
RD
17477 {
17478 if (temp2)
17479 delete arg2;
17480 }
17481 return resultobj;
17482 fail:
17483 {
17484 if (temp2)
17485 delete arg2;
17486 }
17487 return NULL;
17488}
17489
17490
c32bde28 17491static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17492 PyObject *resultobj;
17493 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17494 wxString *arg2 = 0 ;
17495 bool result;
ae8162c8 17496 bool temp2 = false ;
d14a1e28
RD
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 char *kwnames[] = {
b88bce5f 17500 (char *) "self",(char *) "name", NULL
d14a1e28
RD
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17506 {
17507 arg2 = wxString_in_helper(obj1);
17508 if (arg2 == NULL) SWIG_fail;
ae8162c8 17509 temp2 = true;
d14a1e28
RD
17510 }
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
17514
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
4f89f6a3
RD
17518 {
17519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17520 }
d14a1e28
RD
17521 {
17522 if (temp2)
17523 delete arg2;
17524 }
17525 return resultobj;
17526 fail:
17527 {
17528 if (temp2)
17529 delete arg2;
17530 }
17531 return NULL;
17532}
17533
17534
c32bde28 17535static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17536 PyObject *resultobj;
17537 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17538 wxString *arg2 = 0 ;
17539 bool result;
ae8162c8 17540 bool temp2 = false ;
d14a1e28
RD
17541 PyObject * obj0 = 0 ;
17542 PyObject * obj1 = 0 ;
17543 char *kwnames[] = {
b88bce5f 17544 (char *) "self",(char *) "name", NULL
d14a1e28
RD
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17550 {
17551 arg2 = wxString_in_helper(obj1);
17552 if (arg2 == NULL) SWIG_fail;
ae8162c8 17553 temp2 = true;
d14a1e28
RD
17554 }
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
4f89f6a3
RD
17562 {
17563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17564 }
d14a1e28
RD
17565 {
17566 if (temp2)
17567 delete arg2;
17568 }
17569 return resultobj;
17570 fail:
17571 {
17572 if (temp2)
17573 delete arg2;
17574 }
17575 return NULL;
17576}
17577
17578
c32bde28 17579static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17580 PyObject *resultobj;
17581 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17582 wxString *arg2 = 0 ;
093d3ff1 17583 wxConfigBase::EntryType result;
ae8162c8 17584 bool temp2 = false ;
d14a1e28
RD
17585 PyObject * obj0 = 0 ;
17586 PyObject * obj1 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "name", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17594 {
17595 arg2 = wxString_in_helper(obj1);
17596 if (arg2 == NULL) SWIG_fail;
ae8162c8 17597 temp2 = true;
d14a1e28
RD
17598 }
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 17601 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d14a1e28
RD
17602
17603 wxPyEndAllowThreads(__tstate);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
093d3ff1 17606 resultobj = SWIG_From_int((result));
d14a1e28
RD
17607 {
17608 if (temp2)
17609 delete arg2;
17610 }
17611 return resultobj;
17612 fail:
17613 {
17614 if (temp2)
17615 delete arg2;
17616 }
17617 return NULL;
17618}
17619
17620
c32bde28 17621static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17622 PyObject *resultobj;
17623 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17624 wxString *arg2 = 0 ;
17625 wxString const &arg3_defvalue = wxPyEmptyString ;
17626 wxString *arg3 = (wxString *) &arg3_defvalue ;
17627 wxString result;
ae8162c8
RD
17628 bool temp2 = false ;
17629 bool temp3 = false ;
d14a1e28
RD
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 PyObject * obj2 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17639 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17640 {
17641 arg2 = wxString_in_helper(obj1);
17642 if (arg2 == NULL) SWIG_fail;
ae8162c8 17643 temp2 = true;
d14a1e28
RD
17644 }
17645 if (obj2) {
17646 {
17647 arg3 = wxString_in_helper(obj2);
17648 if (arg3 == NULL) SWIG_fail;
ae8162c8 17649 temp3 = true;
d14a1e28
RD
17650 }
17651 }
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 {
17660#if wxUSE_UNICODE
17661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17662#else
17663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17664#endif
17665 }
17666 {
17667 if (temp2)
17668 delete arg2;
17669 }
17670 {
17671 if (temp3)
17672 delete arg3;
17673 }
17674 return resultobj;
17675 fail:
17676 {
17677 if (temp2)
17678 delete arg2;
17679 }
17680 {
17681 if (temp3)
17682 delete arg3;
17683 }
17684 return NULL;
17685}
17686
17687
c32bde28 17688static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17689 PyObject *resultobj;
17690 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17691 wxString *arg2 = 0 ;
17692 long arg3 = (long) 0 ;
17693 long result;
ae8162c8 17694 bool temp2 = false ;
d14a1e28
RD
17695 PyObject * obj0 = 0 ;
17696 PyObject * obj1 = 0 ;
994141e6 17697 PyObject * obj2 = 0 ;
d14a1e28
RD
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17700 };
17701
994141e6 17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17705 {
17706 arg2 = wxString_in_helper(obj1);
17707 if (arg2 == NULL) SWIG_fail;
ae8162c8 17708 temp2 = true;
d14a1e28 17709 }
994141e6 17710 if (obj2) {
093d3ff1
RD
17711 {
17712 arg3 = (long)(SWIG_As_long(obj2));
17713 if (SWIG_arg_fail(3)) SWIG_fail;
17714 }
994141e6 17715 }
d14a1e28
RD
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
093d3ff1
RD
17723 {
17724 resultobj = SWIG_From_long((long)(result));
17725 }
d14a1e28
RD
17726 {
17727 if (temp2)
17728 delete arg2;
17729 }
17730 return resultobj;
17731 fail:
17732 {
17733 if (temp2)
17734 delete arg2;
17735 }
17736 return NULL;
17737}
17738
17739
c32bde28 17740static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17741 PyObject *resultobj;
17742 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17743 wxString *arg2 = 0 ;
17744 double arg3 = (double) 0.0 ;
17745 double result;
ae8162c8 17746 bool temp2 = false ;
d14a1e28
RD
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
994141e6 17749 PyObject * obj2 = 0 ;
d14a1e28
RD
17750 char *kwnames[] = {
17751 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17752 };
17753
994141e6 17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17756 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17757 {
17758 arg2 = wxString_in_helper(obj1);
17759 if (arg2 == NULL) SWIG_fail;
ae8162c8 17760 temp2 = true;
d14a1e28 17761 }
994141e6 17762 if (obj2) {
093d3ff1
RD
17763 {
17764 arg3 = (double)(SWIG_As_double(obj2));
17765 if (SWIG_arg_fail(3)) SWIG_fail;
17766 }
994141e6 17767 }
d14a1e28
RD
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
093d3ff1
RD
17775 {
17776 resultobj = SWIG_From_double((double)(result));
17777 }
d14a1e28
RD
17778 {
17779 if (temp2)
17780 delete arg2;
17781 }
17782 return resultobj;
17783 fail:
17784 {
17785 if (temp2)
17786 delete arg2;
17787 }
17788 return NULL;
17789}
17790
17791
c32bde28 17792static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17793 PyObject *resultobj;
17794 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17795 wxString *arg2 = 0 ;
ae8162c8 17796 bool arg3 = (bool) false ;
d14a1e28 17797 bool result;
ae8162c8 17798 bool temp2 = false ;
d14a1e28
RD
17799 PyObject * obj0 = 0 ;
17800 PyObject * obj1 = 0 ;
17801 PyObject * obj2 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17809 {
17810 arg2 = wxString_in_helper(obj1);
17811 if (arg2 == NULL) SWIG_fail;
ae8162c8 17812 temp2 = true;
d14a1e28
RD
17813 }
17814 if (obj2) {
093d3ff1
RD
17815 {
17816 arg3 = (bool)(SWIG_As_bool(obj2));
17817 if (SWIG_arg_fail(3)) SWIG_fail;
17818 }
d14a1e28
RD
17819 }
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
4f89f6a3
RD
17827 {
17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17829 }
d14a1e28
RD
17830 {
17831 if (temp2)
17832 delete arg2;
17833 }
17834 return resultobj;
17835 fail:
17836 {
17837 if (temp2)
17838 delete arg2;
17839 }
17840 return NULL;
17841}
17842
17843
c32bde28 17844static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17845 PyObject *resultobj;
17846 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17847 wxString *arg2 = 0 ;
17848 wxString *arg3 = 0 ;
17849 bool result;
ae8162c8
RD
17850 bool temp2 = false ;
17851 bool temp3 = false ;
d14a1e28
RD
17852 PyObject * obj0 = 0 ;
17853 PyObject * obj1 = 0 ;
17854 PyObject * obj2 = 0 ;
17855 char *kwnames[] = {
17856 (char *) "self",(char *) "key",(char *) "value", NULL
17857 };
17858
17859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17861 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17862 {
17863 arg2 = wxString_in_helper(obj1);
17864 if (arg2 == NULL) SWIG_fail;
ae8162c8 17865 temp2 = true;
d14a1e28
RD
17866 }
17867 {
17868 arg3 = wxString_in_helper(obj2);
17869 if (arg3 == NULL) SWIG_fail;
ae8162c8 17870 temp3 = true;
d14a1e28
RD
17871 }
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
4f89f6a3
RD
17879 {
17880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17881 }
d14a1e28
RD
17882 {
17883 if (temp2)
17884 delete arg2;
17885 }
17886 {
17887 if (temp3)
17888 delete arg3;
17889 }
17890 return resultobj;
17891 fail:
17892 {
17893 if (temp2)
17894 delete arg2;
17895 }
17896 {
17897 if (temp3)
17898 delete arg3;
17899 }
17900 return NULL;
17901}
17902
17903
c32bde28 17904static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17905 PyObject *resultobj;
17906 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17907 wxString *arg2 = 0 ;
17908 long arg3 ;
17909 bool result;
ae8162c8 17910 bool temp2 = false ;
d14a1e28
RD
17911 PyObject * obj0 = 0 ;
17912 PyObject * obj1 = 0 ;
994141e6 17913 PyObject * obj2 = 0 ;
d14a1e28
RD
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "key",(char *) "value", NULL
17916 };
17917
994141e6 17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17921 {
17922 arg2 = wxString_in_helper(obj1);
17923 if (arg2 == NULL) SWIG_fail;
ae8162c8 17924 temp2 = true;
d14a1e28 17925 }
093d3ff1
RD
17926 {
17927 arg3 = (long)(SWIG_As_long(obj2));
17928 if (SWIG_arg_fail(3)) SWIG_fail;
17929 }
d14a1e28
RD
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17933
17934 wxPyEndAllowThreads(__tstate);
17935 if (PyErr_Occurred()) SWIG_fail;
17936 }
4f89f6a3
RD
17937 {
17938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17939 }
d14a1e28
RD
17940 {
17941 if (temp2)
17942 delete arg2;
17943 }
17944 return resultobj;
17945 fail:
17946 {
17947 if (temp2)
17948 delete arg2;
17949 }
17950 return NULL;
17951}
17952
17953
c32bde28 17954static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17955 PyObject *resultobj;
17956 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17957 wxString *arg2 = 0 ;
17958 double arg3 ;
17959 bool result;
ae8162c8 17960 bool temp2 = false ;
d14a1e28
RD
17961 PyObject * obj0 = 0 ;
17962 PyObject * obj1 = 0 ;
994141e6 17963 PyObject * obj2 = 0 ;
d14a1e28
RD
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "key",(char *) "value", NULL
17966 };
17967
994141e6 17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17971 {
17972 arg2 = wxString_in_helper(obj1);
17973 if (arg2 == NULL) SWIG_fail;
ae8162c8 17974 temp2 = true;
d14a1e28 17975 }
093d3ff1
RD
17976 {
17977 arg3 = (double)(SWIG_As_double(obj2));
17978 if (SWIG_arg_fail(3)) SWIG_fail;
17979 }
d14a1e28
RD
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
4f89f6a3
RD
17987 {
17988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17989 }
d14a1e28
RD
17990 {
17991 if (temp2)
17992 delete arg2;
17993 }
17994 return resultobj;
17995 fail:
17996 {
17997 if (temp2)
17998 delete arg2;
17999 }
18000 return NULL;
18001}
18002
18003
c32bde28 18004static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18005 PyObject *resultobj;
18006 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18007 wxString *arg2 = 0 ;
18008 bool arg3 ;
18009 bool result;
ae8162c8 18010 bool temp2 = false ;
d14a1e28
RD
18011 PyObject * obj0 = 0 ;
18012 PyObject * obj1 = 0 ;
18013 PyObject * obj2 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self",(char *) "key",(char *) "value", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18020 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18021 {
18022 arg2 = wxString_in_helper(obj1);
18023 if (arg2 == NULL) SWIG_fail;
ae8162c8 18024 temp2 = true;
d14a1e28 18025 }
093d3ff1
RD
18026 {
18027 arg3 = (bool)(SWIG_As_bool(obj2));
18028 if (SWIG_arg_fail(3)) SWIG_fail;
18029 }
d14a1e28
RD
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
4f89f6a3
RD
18037 {
18038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18039 }
d14a1e28
RD
18040 {
18041 if (temp2)
18042 delete arg2;
18043 }
18044 return resultobj;
18045 fail:
18046 {
18047 if (temp2)
18048 delete arg2;
18049 }
18050 return NULL;
18051}
18052
18053
c32bde28 18054static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18055 PyObject *resultobj;
18056 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18057 bool arg2 = (bool) false ;
d14a1e28
RD
18058 bool result;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 char *kwnames[] = {
b88bce5f 18062 (char *) "self",(char *) "currentOnly", NULL
d14a1e28
RD
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 18068 if (obj1) {
093d3ff1
RD
18069 {
18070 arg2 = (bool)(SWIG_As_bool(obj1));
18071 if (SWIG_arg_fail(2)) SWIG_fail;
18072 }
d14a1e28
RD
18073 }
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (bool)(arg1)->Flush(arg2);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
4f89f6a3
RD
18081 {
18082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18083 }
d14a1e28
RD
18084 return resultobj;
18085 fail:
18086 return NULL;
18087}
18088
18089
c32bde28 18090static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18091 PyObject *resultobj;
18092 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18093 wxString *arg2 = 0 ;
18094 wxString *arg3 = 0 ;
18095 bool result;
ae8162c8
RD
18096 bool temp2 = false ;
18097 bool temp3 = false ;
d14a1e28
RD
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
18100 PyObject * obj2 = 0 ;
18101 char *kwnames[] = {
18102 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18103 };
18104
18105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18108 {
18109 arg2 = wxString_in_helper(obj1);
18110 if (arg2 == NULL) SWIG_fail;
ae8162c8 18111 temp2 = true;
d14a1e28
RD
18112 }
18113 {
18114 arg3 = wxString_in_helper(obj2);
18115 if (arg3 == NULL) SWIG_fail;
ae8162c8 18116 temp3 = true;
d14a1e28
RD
18117 }
18118 {
18119 PyThreadState* __tstate = wxPyBeginAllowThreads();
18120 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
18121
18122 wxPyEndAllowThreads(__tstate);
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
4f89f6a3
RD
18125 {
18126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18127 }
d14a1e28
RD
18128 {
18129 if (temp2)
18130 delete arg2;
18131 }
18132 {
18133 if (temp3)
18134 delete arg3;
18135 }
18136 return resultobj;
18137 fail:
18138 {
18139 if (temp2)
18140 delete arg2;
18141 }
18142 {
18143 if (temp3)
18144 delete arg3;
18145 }
18146 return NULL;
18147}
18148
18149
c32bde28 18150static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18151 PyObject *resultobj;
18152 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18153 wxString *arg2 = 0 ;
18154 wxString *arg3 = 0 ;
18155 bool result;
ae8162c8
RD
18156 bool temp2 = false ;
18157 bool temp3 = false ;
d14a1e28
RD
18158 PyObject * obj0 = 0 ;
18159 PyObject * obj1 = 0 ;
18160 PyObject * obj2 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18168 {
18169 arg2 = wxString_in_helper(obj1);
18170 if (arg2 == NULL) SWIG_fail;
ae8162c8 18171 temp2 = true;
d14a1e28
RD
18172 }
18173 {
18174 arg3 = wxString_in_helper(obj2);
18175 if (arg3 == NULL) SWIG_fail;
ae8162c8 18176 temp3 = true;
d14a1e28
RD
18177 }
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
4f89f6a3
RD
18185 {
18186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18187 }
d14a1e28
RD
18188 {
18189 if (temp2)
18190 delete arg2;
18191 }
18192 {
18193 if (temp3)
18194 delete arg3;
18195 }
18196 return resultobj;
18197 fail:
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 {
18203 if (temp3)
18204 delete arg3;
18205 }
18206 return NULL;
18207}
18208
18209
c32bde28 18210static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18211 PyObject *resultobj;
18212 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18213 wxString *arg2 = 0 ;
ae8162c8 18214 bool arg3 = (bool) true ;
d14a1e28 18215 bool result;
ae8162c8 18216 bool temp2 = false ;
d14a1e28
RD
18217 PyObject * obj0 = 0 ;
18218 PyObject * obj1 = 0 ;
18219 PyObject * obj2 = 0 ;
18220 char *kwnames[] = {
b88bce5f 18221 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
d14a1e28
RD
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18227 {
18228 arg2 = wxString_in_helper(obj1);
18229 if (arg2 == NULL) SWIG_fail;
ae8162c8 18230 temp2 = true;
d14a1e28
RD
18231 }
18232 if (obj2) {
093d3ff1
RD
18233 {
18234 arg3 = (bool)(SWIG_As_bool(obj2));
18235 if (SWIG_arg_fail(3)) SWIG_fail;
18236 }
d14a1e28
RD
18237 }
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
4f89f6a3
RD
18245 {
18246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18247 }
d14a1e28
RD
18248 {
18249 if (temp2)
18250 delete arg2;
18251 }
18252 return resultobj;
18253 fail:
18254 {
18255 if (temp2)
18256 delete arg2;
18257 }
18258 return NULL;
18259}
18260
18261
c32bde28 18262static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18263 PyObject *resultobj;
18264 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18265 wxString *arg2 = 0 ;
18266 bool result;
ae8162c8 18267 bool temp2 = false ;
d14a1e28
RD
18268 PyObject * obj0 = 0 ;
18269 PyObject * obj1 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self",(char *) "key", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18277 {
18278 arg2 = wxString_in_helper(obj1);
18279 if (arg2 == NULL) SWIG_fail;
ae8162c8 18280 temp2 = true;
d14a1e28
RD
18281 }
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
4f89f6a3
RD
18289 {
18290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18291 }
d14a1e28
RD
18292 {
18293 if (temp2)
18294 delete arg2;
18295 }
18296 return resultobj;
18297 fail:
18298 {
18299 if (temp2)
18300 delete arg2;
18301 }
18302 return NULL;
18303}
18304
18305
c32bde28 18306static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18307 PyObject *resultobj;
18308 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18309 bool result;
18310 PyObject * obj0 = 0 ;
18311 char *kwnames[] = {
18312 (char *) "self", NULL
18313 };
18314
18315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
18316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (bool)(arg1)->DeleteAll();
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
4f89f6a3
RD
18325 {
18326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18327 }
d14a1e28
RD
18328 return resultobj;
18329 fail:
18330 return NULL;
18331}
18332
18333
c32bde28 18334static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18335 PyObject *resultobj;
18336 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18337 bool arg2 = (bool) true ;
d14a1e28 18338 PyObject * obj0 = 0 ;
b88bce5f 18339 PyObject * obj1 = 0 ;
d14a1e28 18340 char *kwnames[] = {
b88bce5f 18341 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
18342 };
18343
b88bce5f 18344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail;
b88bce5f 18347 if (obj1) {
093d3ff1
RD
18348 {
18349 arg2 = (bool)(SWIG_As_bool(obj1));
18350 if (SWIG_arg_fail(2)) SWIG_fail;
18351 }
b88bce5f 18352 }
d14a1e28
RD
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 18355 (arg1)->SetExpandEnvVars(arg2);
d14a1e28
RD
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
b88bce5f 18360 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
c32bde28 18367static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18368 PyObject *resultobj;
18369 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b88bce5f 18370 bool result;
d14a1e28 18371 PyObject * obj0 = 0 ;
d14a1e28 18372 char *kwnames[] = {
b88bce5f 18373 (char *) "self", NULL
d14a1e28
RD
18374 };
18375
b88bce5f 18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
18377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
b88bce5f 18381 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
d14a1e28
RD
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
4f89f6a3
RD
18386 {
18387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18388 }
d14a1e28
RD
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
c32bde28 18395static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18396 PyObject *resultobj;
18397 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18398 bool arg2 = (bool) true ;
d14a1e28
RD
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 char *kwnames[] = {
b88bce5f 18402 (char *) "self",(char *) "doIt", NULL
d14a1e28
RD
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18407 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 18408 if (obj1) {
093d3ff1
RD
18409 {
18410 arg2 = (bool)(SWIG_As_bool(obj1));
18411 if (SWIG_arg_fail(2)) SWIG_fail;
18412 }
d14a1e28
RD
18413 }
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->SetRecordDefaults(arg2);
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 return resultobj;
18423 fail:
18424 return NULL;
18425}
18426
18427
c32bde28 18428static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18429 PyObject *resultobj;
18430 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18431 bool result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
18438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18439 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
4f89f6a3
RD
18447 {
18448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18449 }
d14a1e28
RD
18450 return resultobj;
18451 fail:
18452 return NULL;
18453}
18454
18455
c32bde28 18456static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18457 PyObject *resultobj;
18458 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18459 wxString *arg2 = 0 ;
18460 wxString result;
ae8162c8 18461 bool temp2 = false ;
d14a1e28
RD
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "str", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18471 {
18472 arg2 = wxString_in_helper(obj1);
18473 if (arg2 == NULL) SWIG_fail;
ae8162c8 18474 temp2 = true;
d14a1e28
RD
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
18479
18480 wxPyEndAllowThreads(__tstate);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 {
18484#if wxUSE_UNICODE
18485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18486#else
18487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18488#endif
18489 }
18490 {
18491 if (temp2)
18492 delete arg2;
18493 }
18494 return resultobj;
18495 fail:
18496 {
18497 if (temp2)
18498 delete arg2;
18499 }
18500 return NULL;
18501}
18502
18503
c32bde28 18504static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18505 PyObject *resultobj;
18506 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18507 wxString result;
18508 PyObject * obj0 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18516 {
18517 PyThreadState* __tstate = wxPyBeginAllowThreads();
18518 result = ((wxConfigBase const *)arg1)->GetAppName();
18519
18520 wxPyEndAllowThreads(__tstate);
18521 if (PyErr_Occurred()) SWIG_fail;
18522 }
18523 {
18524#if wxUSE_UNICODE
18525 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18526#else
18527 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18528#endif
18529 }
18530 return resultobj;
18531 fail:
18532 return NULL;
18533}
18534
18535
c32bde28 18536static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18537 PyObject *resultobj;
18538 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18539 wxString result;
18540 PyObject * obj0 = 0 ;
18541 char *kwnames[] = {
18542 (char *) "self", NULL
18543 };
18544
18545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
18546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 result = ((wxConfigBase const *)arg1)->GetVendorName();
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
18555 {
18556#if wxUSE_UNICODE
18557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18558#else
18559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18560#endif
18561 }
18562 return resultobj;
18563 fail:
18564 return NULL;
18565}
18566
18567
c32bde28 18568static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18569 PyObject *resultobj;
18570 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18571 wxString *arg2 = 0 ;
ae8162c8 18572 bool temp2 = false ;
d14a1e28
RD
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self",(char *) "appName", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18581 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18582 {
18583 arg2 = wxString_in_helper(obj1);
18584 if (arg2 == NULL) SWIG_fail;
ae8162c8 18585 temp2 = true;
d14a1e28
RD
18586 }
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 (arg1)->SetAppName((wxString const &)*arg2);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 Py_INCREF(Py_None); resultobj = Py_None;
18595 {
18596 if (temp2)
18597 delete arg2;
18598 }
18599 return resultobj;
18600 fail:
18601 {
18602 if (temp2)
18603 delete arg2;
18604 }
18605 return NULL;
18606}
18607
18608
c32bde28 18609static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18610 PyObject *resultobj;
18611 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18612 wxString *arg2 = 0 ;
ae8162c8 18613 bool temp2 = false ;
d14a1e28
RD
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "vendorName", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18623 {
18624 arg2 = wxString_in_helper(obj1);
18625 if (arg2 == NULL) SWIG_fail;
ae8162c8 18626 temp2 = true;
d14a1e28
RD
18627 }
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 (arg1)->SetVendorName((wxString const &)*arg2);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 Py_INCREF(Py_None); resultobj = Py_None;
18636 {
18637 if (temp2)
18638 delete arg2;
18639 }
18640 return resultobj;
18641 fail:
18642 {
18643 if (temp2)
18644 delete arg2;
18645 }
18646 return NULL;
18647}
18648
18649
c32bde28 18650static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18651 PyObject *resultobj;
18652 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18653 long arg2 ;
18654 PyObject * obj0 = 0 ;
994141e6 18655 PyObject * obj1 = 0 ;
d14a1e28
RD
18656 char *kwnames[] = {
18657 (char *) "self",(char *) "style", NULL
18658 };
18659
994141e6 18660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18662 if (SWIG_arg_fail(1)) SWIG_fail;
18663 {
18664 arg2 = (long)(SWIG_As_long(obj1));
18665 if (SWIG_arg_fail(2)) SWIG_fail;
18666 }
d14a1e28
RD
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 (arg1)->SetStyle(arg2);
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 Py_INCREF(Py_None); resultobj = Py_None;
18675 return resultobj;
18676 fail:
18677 return NULL;
18678}
18679
18680
c32bde28 18681static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18682 PyObject *resultobj;
18683 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18684 long result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
18691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (long)((wxConfigBase const *)arg1)->GetStyle();
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
093d3ff1
RD
18700 {
18701 resultobj = SWIG_From_long((long)(result));
18702 }
d14a1e28
RD
18703 return resultobj;
18704 fail:
18705 return NULL;
18706}
18707
18708
c32bde28 18709static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18710 PyObject *obj;
18711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18712 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
18713 Py_INCREF(obj);
18714 return Py_BuildValue((char *)"");
18715}
c32bde28 18716static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18717 PyObject *resultobj;
18718 wxString const &arg1_defvalue = wxPyEmptyString ;
18719 wxString *arg1 = (wxString *) &arg1_defvalue ;
18720 wxString const &arg2_defvalue = wxPyEmptyString ;
18721 wxString *arg2 = (wxString *) &arg2_defvalue ;
18722 wxString const &arg3_defvalue = wxPyEmptyString ;
18723 wxString *arg3 = (wxString *) &arg3_defvalue ;
18724 wxString const &arg4_defvalue = wxPyEmptyString ;
18725 wxString *arg4 = (wxString *) &arg4_defvalue ;
4f89f6a3 18726 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 18727 wxConfig *result;
ae8162c8
RD
18728 bool temp1 = false ;
18729 bool temp2 = false ;
18730 bool temp3 = false ;
18731 bool temp4 = false ;
d14a1e28
RD
18732 PyObject * obj0 = 0 ;
18733 PyObject * obj1 = 0 ;
18734 PyObject * obj2 = 0 ;
18735 PyObject * obj3 = 0 ;
994141e6 18736 PyObject * obj4 = 0 ;
d14a1e28
RD
18737 char *kwnames[] = {
18738 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18739 };
18740
994141e6 18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
18742 if (obj0) {
18743 {
18744 arg1 = wxString_in_helper(obj0);
18745 if (arg1 == NULL) SWIG_fail;
ae8162c8 18746 temp1 = true;
d14a1e28
RD
18747 }
18748 }
18749 if (obj1) {
18750 {
18751 arg2 = wxString_in_helper(obj1);
18752 if (arg2 == NULL) SWIG_fail;
ae8162c8 18753 temp2 = true;
d14a1e28
RD
18754 }
18755 }
18756 if (obj2) {
18757 {
18758 arg3 = wxString_in_helper(obj2);
18759 if (arg3 == NULL) SWIG_fail;
ae8162c8 18760 temp3 = true;
d14a1e28
RD
18761 }
18762 }
18763 if (obj3) {
18764 {
18765 arg4 = wxString_in_helper(obj3);
18766 if (arg4 == NULL) SWIG_fail;
ae8162c8 18767 temp4 = true;
d14a1e28
RD
18768 }
18769 }
994141e6 18770 if (obj4) {
093d3ff1
RD
18771 {
18772 arg5 = (long)(SWIG_As_long(obj4));
18773 if (SWIG_arg_fail(5)) SWIG_fail;
18774 }
994141e6 18775 }
d14a1e28
RD
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18779
18780 wxPyEndAllowThreads(__tstate);
18781 if (PyErr_Occurred()) SWIG_fail;
18782 }
15afbcd0 18783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
d14a1e28
RD
18784 {
18785 if (temp1)
18786 delete arg1;
18787 }
18788 {
18789 if (temp2)
18790 delete arg2;
18791 }
18792 {
18793 if (temp3)
18794 delete arg3;
18795 }
18796 {
18797 if (temp4)
18798 delete arg4;
18799 }
18800 return resultobj;
18801 fail:
18802 {
18803 if (temp1)
18804 delete arg1;
18805 }
18806 {
18807 if (temp2)
18808 delete arg2;
18809 }
18810 {
18811 if (temp3)
18812 delete arg3;
18813 }
18814 {
18815 if (temp4)
18816 delete arg4;
18817 }
18818 return NULL;
18819}
18820
18821
c32bde28 18822static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18823 PyObject *resultobj;
18824 wxConfig *arg1 = (wxConfig *) 0 ;
18825 PyObject * obj0 = 0 ;
18826 char *kwnames[] = {
18827 (char *) "self", NULL
18828 };
18829
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
18831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
18832 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18833 {
18834 PyThreadState* __tstate = wxPyBeginAllowThreads();
18835 delete arg1;
18836
18837 wxPyEndAllowThreads(__tstate);
18838 if (PyErr_Occurred()) SWIG_fail;
18839 }
18840 Py_INCREF(Py_None); resultobj = Py_None;
18841 return resultobj;
18842 fail:
18843 return NULL;
18844}
18845
18846
c32bde28 18847static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18848 PyObject *obj;
18849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18850 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
18851 Py_INCREF(obj);
18852 return Py_BuildValue((char *)"");
18853}
c32bde28 18854static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18855 PyObject *resultobj;
18856 wxString const &arg1_defvalue = wxPyEmptyString ;
18857 wxString *arg1 = (wxString *) &arg1_defvalue ;
18858 wxString const &arg2_defvalue = wxPyEmptyString ;
18859 wxString *arg2 = (wxString *) &arg2_defvalue ;
18860 wxString const &arg3_defvalue = wxPyEmptyString ;
18861 wxString *arg3 = (wxString *) &arg3_defvalue ;
18862 wxString const &arg4_defvalue = wxPyEmptyString ;
18863 wxString *arg4 = (wxString *) &arg4_defvalue ;
4276dc52 18864 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
d14a1e28 18865 wxFileConfig *result;
ae8162c8
RD
18866 bool temp1 = false ;
18867 bool temp2 = false ;
18868 bool temp3 = false ;
18869 bool temp4 = false ;
d14a1e28
RD
18870 PyObject * obj0 = 0 ;
18871 PyObject * obj1 = 0 ;
18872 PyObject * obj2 = 0 ;
18873 PyObject * obj3 = 0 ;
994141e6 18874 PyObject * obj4 = 0 ;
d14a1e28
RD
18875 char *kwnames[] = {
18876 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18877 };
18878
994141e6 18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
18880 if (obj0) {
18881 {
18882 arg1 = wxString_in_helper(obj0);
18883 if (arg1 == NULL) SWIG_fail;
ae8162c8 18884 temp1 = true;
d14a1e28
RD
18885 }
18886 }
18887 if (obj1) {
18888 {
18889 arg2 = wxString_in_helper(obj1);
18890 if (arg2 == NULL) SWIG_fail;
ae8162c8 18891 temp2 = true;
d14a1e28
RD
18892 }
18893 }
18894 if (obj2) {
18895 {
18896 arg3 = wxString_in_helper(obj2);
18897 if (arg3 == NULL) SWIG_fail;
ae8162c8 18898 temp3 = true;
d14a1e28
RD
18899 }
18900 }
18901 if (obj3) {
18902 {
18903 arg4 = wxString_in_helper(obj3);
18904 if (arg4 == NULL) SWIG_fail;
ae8162c8 18905 temp4 = true;
d14a1e28
RD
18906 }
18907 }
994141e6 18908 if (obj4) {
093d3ff1
RD
18909 {
18910 arg5 = (long)(SWIG_As_long(obj4));
18911 if (SWIG_arg_fail(5)) SWIG_fail;
18912 }
994141e6 18913 }
d14a1e28
RD
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
15afbcd0 18921 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
d14a1e28
RD
18922 {
18923 if (temp1)
18924 delete arg1;
18925 }
18926 {
18927 if (temp2)
18928 delete arg2;
18929 }
18930 {
18931 if (temp3)
18932 delete arg3;
18933 }
18934 {
18935 if (temp4)
18936 delete arg4;
18937 }
18938 return resultobj;
18939 fail:
18940 {
18941 if (temp1)
18942 delete arg1;
18943 }
18944 {
18945 if (temp2)
18946 delete arg2;
18947 }
18948 {
18949 if (temp3)
18950 delete arg3;
18951 }
18952 {
18953 if (temp4)
18954 delete arg4;
18955 }
18956 return NULL;
18957}
18958
18959
c32bde28 18960static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18961 PyObject *resultobj;
18962 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
18963 PyObject * obj0 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
18969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 delete arg1;
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 Py_INCREF(Py_None); resultobj = Py_None;
18979 return resultobj;
18980 fail:
18981 return NULL;
18982}
18983
18984
c32bde28 18985static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18986 PyObject *obj;
18987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18988 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
18989 Py_INCREF(obj);
18990 return Py_BuildValue((char *)"");
18991}
c32bde28 18992static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
18993 PyObject *resultobj;
18994 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18995 wxString *arg2 = 0 ;
18996 wxConfigPathChanger *result;
ae8162c8 18997 bool temp2 = false ;
b88bce5f
RD
18998 PyObject * obj0 = 0 ;
18999 PyObject * obj1 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "config",(char *) "entry", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19006 if (SWIG_arg_fail(1)) SWIG_fail;
b88bce5f
RD
19007 {
19008 arg2 = wxString_in_helper(obj1);
19009 if (arg2 == NULL) SWIG_fail;
ae8162c8 19010 temp2 = true;
b88bce5f
RD
19011 }
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
15afbcd0 19019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
b88bce5f
RD
19020 {
19021 if (temp2)
19022 delete arg2;
19023 }
19024 return resultobj;
19025 fail:
19026 {
19027 if (temp2)
19028 delete arg2;
19029 }
19030 return NULL;
19031}
19032
19033
c32bde28 19034static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
19035 PyObject *resultobj;
19036 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19037 PyObject * obj0 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "self", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
19043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail;
b88bce5f
RD
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 delete arg1;
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
19052 Py_INCREF(Py_None); resultobj = Py_None;
19053 return resultobj;
19054 fail:
19055 return NULL;
19056}
19057
19058
c32bde28 19059static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
b88bce5f
RD
19060 PyObject *resultobj;
19061 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19062 wxString *result;
19063 PyObject * obj0 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
19069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19070 if (SWIG_arg_fail(1)) SWIG_fail;
b88bce5f
RD
19071 {
19072 PyThreadState* __tstate = wxPyBeginAllowThreads();
19073 {
19074 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
19075 result = (wxString *) &_result_ref;
19076 }
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 {
19082#if wxUSE_UNICODE
19083 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19084#else
19085 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19086#endif
19087 }
19088 return resultobj;
19089 fail:
19090 return NULL;
19091}
19092
19093
c32bde28 19094static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
b88bce5f
RD
19095 PyObject *obj;
19096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19097 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
19098 Py_INCREF(obj);
19099 return Py_BuildValue((char *)"");
19100}
c32bde28 19101static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19102 PyObject *resultobj;
19103 wxString *arg1 = 0 ;
19104 wxString result;
ae8162c8 19105 bool temp1 = false ;
d14a1e28
RD
19106 PyObject * obj0 = 0 ;
19107 char *kwnames[] = {
19108 (char *) "sz", NULL
19109 };
19110
19111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
19112 {
19113 arg1 = wxString_in_helper(obj0);
19114 if (arg1 == NULL) SWIG_fail;
ae8162c8 19115 temp1 = true;
d14a1e28
RD
19116 }
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = wxExpandEnvVars((wxString const &)*arg1);
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 {
19125#if wxUSE_UNICODE
19126 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19127#else
19128 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19129#endif
19130 }
19131 {
19132 if (temp1)
19133 delete arg1;
19134 }
19135 return resultobj;
19136 fail:
19137 {
19138 if (temp1)
19139 delete arg1;
19140 }
19141 return NULL;
19142}
19143
19144
7557b9b5
RD
19145static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
19146 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
b2dc1044
RD
19147 return 1;
19148}
19149
19150
7557b9b5 19151static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
b2dc1044
RD
19152 PyObject *pyobj;
19153
19154 {
19155#if wxUSE_UNICODE
7557b9b5 19156 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
b2dc1044 19157#else
7557b9b5 19158 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
b2dc1044
RD
19159#endif
19160 }
19161 return pyobj;
19162}
19163
19164
7557b9b5
RD
19165static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19166 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
b2dc1044
RD
19167 return 1;
19168}
19169
19170
7557b9b5 19171static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
b2dc1044
RD
19172 PyObject *pyobj;
19173
19174 {
19175#if wxUSE_UNICODE
7557b9b5 19176 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
b2dc1044 19177#else
7557b9b5 19178 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
b2dc1044
RD
19179#endif
19180 }
19181 return pyobj;
19182}
19183
19184
c32bde28 19185static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19186 PyObject *resultobj;
093d3ff1 19187 wxDateTime::Country arg1 ;
994141e6 19188 PyObject * obj0 = 0 ;
d14a1e28
RD
19189 char *kwnames[] = {
19190 (char *) "country", NULL
19191 };
19192
994141e6 19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1
RD
19194 {
19195 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19196 if (SWIG_arg_fail(1)) SWIG_fail;
19197 }
d14a1e28
RD
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 wxDateTime::SetCountry((wxDateTime::Country )arg1);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 Py_INCREF(Py_None); resultobj = Py_None;
19206 return resultobj;
19207 fail:
19208 return NULL;
19209}
19210
19211
c32bde28 19212static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19213 PyObject *resultobj;
093d3ff1 19214 wxDateTime::Country result;
d14a1e28
RD
19215 char *kwnames[] = {
19216 NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19222 result = (wxDateTime::Country)wxDateTime::GetCountry();
d14a1e28
RD
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
093d3ff1 19227 resultobj = SWIG_From_int((result));
d14a1e28
RD
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
c32bde28 19234static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19235 PyObject *resultobj;
093d3ff1 19236 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28 19237 bool result;
994141e6 19238 PyObject * obj0 = 0 ;
d14a1e28
RD
19239 char *kwnames[] = {
19240 (char *) "country", NULL
19241 };
19242
994141e6
RD
19243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
19244 if (obj0) {
093d3ff1
RD
19245 {
19246 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19247 if (SWIG_arg_fail(1)) SWIG_fail;
19248 }
994141e6 19249 }
d14a1e28
RD
19250 {
19251 PyThreadState* __tstate = wxPyBeginAllowThreads();
19252 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
19253
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
4f89f6a3
RD
19257 {
19258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19259 }
d14a1e28
RD
19260 return resultobj;
19261 fail:
19262 return NULL;
19263}
19264
19265
c32bde28 19266static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19267 PyObject *resultobj;
093d3ff1 19268 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d14a1e28 19269 int result;
994141e6 19270 PyObject * obj0 = 0 ;
d14a1e28
RD
19271 char *kwnames[] = {
19272 (char *) "cal", NULL
19273 };
19274
994141e6
RD
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
19276 if (obj0) {
093d3ff1
RD
19277 {
19278 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19279 if (SWIG_arg_fail(1)) SWIG_fail;
19280 }
994141e6 19281 }
d14a1e28
RD
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
093d3ff1
RD
19289 {
19290 resultobj = SWIG_From_int((int)(result));
19291 }
d14a1e28
RD
19292 return resultobj;
19293 fail:
19294 return NULL;
19295}
19296
19297
c32bde28 19298static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19299 PyObject *resultobj;
19300 int arg1 ;
19301 int result;
994141e6 19302 PyObject * obj0 = 0 ;
d14a1e28
RD
19303 char *kwnames[] = {
19304 (char *) "year", NULL
19305 };
19306
994141e6 19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1
RD
19308 {
19309 arg1 = (int)(SWIG_As_int(obj0));
19310 if (SWIG_arg_fail(1)) SWIG_fail;
19311 }
d14a1e28
RD
19312 {
19313 PyThreadState* __tstate = wxPyBeginAllowThreads();
19314 result = (int)wxDateTime::ConvertYearToBC(arg1);
19315
19316 wxPyEndAllowThreads(__tstate);
19317 if (PyErr_Occurred()) SWIG_fail;
19318 }
093d3ff1
RD
19319 {
19320 resultobj = SWIG_From_int((int)(result));
19321 }
d14a1e28
RD
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
c32bde28 19328static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19329 PyObject *resultobj;
093d3ff1
RD
19330 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19331 wxDateTime::Month result;
994141e6 19332 PyObject * obj0 = 0 ;
d14a1e28
RD
19333 char *kwnames[] = {
19334 (char *) "cal", NULL
19335 };
19336
994141e6
RD
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
19338 if (obj0) {
093d3ff1
RD
19339 {
19340 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19341 if (SWIG_arg_fail(1)) SWIG_fail;
19342 }
994141e6 19343 }
d14a1e28
RD
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19346 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
d14a1e28
RD
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
093d3ff1 19351 resultobj = SWIG_From_int((result));
d14a1e28
RD
19352 return resultobj;
19353 fail:
19354 return NULL;
19355}
19356
19357
c32bde28 19358static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19359 PyObject *resultobj;
19360 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19361 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d14a1e28 19362 bool result;
994141e6
RD
19363 PyObject * obj0 = 0 ;
19364 PyObject * obj1 = 0 ;
d14a1e28
RD
19365 char *kwnames[] = {
19366 (char *) "year",(char *) "cal", NULL
19367 };
19368
994141e6
RD
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
19370 if (obj0) {
093d3ff1
RD
19371 {
19372 arg1 = (int)(SWIG_As_int(obj0));
19373 if (SWIG_arg_fail(1)) SWIG_fail;
19374 }
994141e6
RD
19375 }
19376 if (obj1) {
093d3ff1
RD
19377 {
19378 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19379 if (SWIG_arg_fail(2)) SWIG_fail;
19380 }
994141e6 19381 }
d14a1e28
RD
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
4f89f6a3
RD
19389 {
19390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19391 }
d14a1e28
RD
19392 return resultobj;
19393 fail:
19394 return NULL;
19395}
19396
19397
c32bde28 19398static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19399 PyObject *resultobj;
19400 int arg1 = (int) wxDateTime::Inv_Year ;
19401 int result;
994141e6 19402 PyObject * obj0 = 0 ;
d14a1e28
RD
19403 char *kwnames[] = {
19404 (char *) "year", NULL
19405 };
19406
994141e6
RD
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
19408 if (obj0) {
093d3ff1
RD
19409 {
19410 arg1 = (int)(SWIG_As_int(obj0));
19411 if (SWIG_arg_fail(1)) SWIG_fail;
19412 }
994141e6 19413 }
d14a1e28
RD
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 result = (int)wxDateTime::GetCentury(arg1);
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
093d3ff1
RD
19421 {
19422 resultobj = SWIG_From_int((int)(result));
19423 }
d14a1e28
RD
19424 return resultobj;
19425 fail:
19426 return NULL;
19427}
19428
19429
c32bde28 19430static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19431 PyObject *resultobj;
19432 int arg1 ;
093d3ff1 19433 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
322913ce 19434 int result;
994141e6
RD
19435 PyObject * obj0 = 0 ;
19436 PyObject * obj1 = 0 ;
d14a1e28
RD
19437 char *kwnames[] = {
19438 (char *) "year",(char *) "cal", NULL
19439 };
19440
994141e6 19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19442 {
19443 arg1 = (int)(SWIG_As_int(obj0));
19444 if (SWIG_arg_fail(1)) SWIG_fail;
19445 }
994141e6 19446 if (obj1) {
093d3ff1
RD
19447 {
19448 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19449 if (SWIG_arg_fail(2)) SWIG_fail;
19450 }
994141e6 19451 }
d14a1e28
RD
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19454 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
d14a1e28
RD
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
093d3ff1
RD
19459 {
19460 resultobj = SWIG_From_int((int)(result));
19461 }
d14a1e28
RD
19462 return resultobj;
19463 fail:
19464 return NULL;
19465}
19466
19467
c32bde28 19468static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19469 PyObject *resultobj;
093d3ff1 19470 wxDateTime::Month arg1 ;
d14a1e28 19471 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 19472 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
322913ce 19473 int result;
994141e6
RD
19474 PyObject * obj0 = 0 ;
19475 PyObject * obj1 = 0 ;
19476 PyObject * obj2 = 0 ;
d14a1e28
RD
19477 char *kwnames[] = {
19478 (char *) "month",(char *) "year",(char *) "cal", NULL
19479 };
19480
994141e6 19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19482 {
19483 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19484 if (SWIG_arg_fail(1)) SWIG_fail;
19485 }
994141e6 19486 if (obj1) {
093d3ff1
RD
19487 {
19488 arg2 = (int)(SWIG_As_int(obj1));
19489 if (SWIG_arg_fail(2)) SWIG_fail;
19490 }
994141e6
RD
19491 }
19492 if (obj2) {
093d3ff1
RD
19493 {
19494 arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
19495 if (SWIG_arg_fail(3)) SWIG_fail;
19496 }
994141e6 19497 }
d14a1e28
RD
19498 {
19499 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 19500 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
d14a1e28
RD
19501
19502 wxPyEndAllowThreads(__tstate);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 }
093d3ff1
RD
19505 {
19506 resultobj = SWIG_From_int((int)(result));
19507 }
d14a1e28
RD
19508 return resultobj;
19509 fail:
19510 return NULL;
19511}
19512
19513
c32bde28 19514static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19515 PyObject *resultobj;
093d3ff1
RD
19516 wxDateTime::Month arg1 ;
19517 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d14a1e28 19518 wxString result;
994141e6
RD
19519 PyObject * obj0 = 0 ;
19520 PyObject * obj1 = 0 ;
d14a1e28
RD
19521 char *kwnames[] = {
19522 (char *) "month",(char *) "flags", NULL
19523 };
19524
994141e6 19525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19526 {
19527 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19528 if (SWIG_arg_fail(1)) SWIG_fail;
19529 }
994141e6 19530 if (obj1) {
093d3ff1
RD
19531 {
19532 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19533 if (SWIG_arg_fail(2)) SWIG_fail;
19534 }
994141e6 19535 }
d14a1e28
RD
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 {
19544#if wxUSE_UNICODE
19545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19546#else
19547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19548#endif
19549 }
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
c32bde28 19556static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19557 PyObject *resultobj;
093d3ff1
RD
19558 wxDateTime::WeekDay arg1 ;
19559 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d14a1e28 19560 wxString result;
994141e6
RD
19561 PyObject * obj0 = 0 ;
19562 PyObject * obj1 = 0 ;
d14a1e28
RD
19563 char *kwnames[] = {
19564 (char *) "weekday",(char *) "flags", NULL
19565 };
19566
994141e6 19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19568 {
19569 arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
19570 if (SWIG_arg_fail(1)) SWIG_fail;
19571 }
994141e6 19572 if (obj1) {
093d3ff1
RD
19573 {
19574 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19575 if (SWIG_arg_fail(2)) SWIG_fail;
19576 }
994141e6 19577 }
d14a1e28
RD
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
19581
19582 wxPyEndAllowThreads(__tstate);
19583 if (PyErr_Occurred()) SWIG_fail;
19584 }
19585 {
19586#if wxUSE_UNICODE
19587 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19588#else
19589 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19590#endif
19591 }
19592 return resultobj;
19593 fail:
19594 return NULL;
19595}
19596
19597
c32bde28 19598static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19599 PyObject *resultobj;
b9d6a5f3 19600 PyObject *result;
d14a1e28 19601 char *kwnames[] = {
b9d6a5f3 19602 NULL
d14a1e28
RD
19603 };
19604
b9d6a5f3 19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d14a1e28
RD
19606 {
19607 PyThreadState* __tstate = wxPyBeginAllowThreads();
b9d6a5f3 19608 result = (PyObject *)DateTime_GetAmPmStrings();
d14a1e28
RD
19609
19610 wxPyEndAllowThreads(__tstate);
19611 if (PyErr_Occurred()) SWIG_fail;
19612 }
b9d6a5f3 19613 resultobj = result;
d14a1e28
RD
19614 return resultobj;
19615 fail:
19616 return NULL;
19617}
19618
19619
c32bde28 19620static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19621 PyObject *resultobj;
19622 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19623 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28 19624 bool result;
994141e6
RD
19625 PyObject * obj0 = 0 ;
19626 PyObject * obj1 = 0 ;
d14a1e28
RD
19627 char *kwnames[] = {
19628 (char *) "year",(char *) "country", NULL
19629 };
19630
994141e6
RD
19631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
19632 if (obj0) {
093d3ff1
RD
19633 {
19634 arg1 = (int)(SWIG_As_int(obj0));
19635 if (SWIG_arg_fail(1)) SWIG_fail;
19636 }
994141e6
RD
19637 }
19638 if (obj1) {
093d3ff1
RD
19639 {
19640 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19641 if (SWIG_arg_fail(2)) SWIG_fail;
19642 }
994141e6 19643 }
d14a1e28
RD
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
4f89f6a3
RD
19651 {
19652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19653 }
d14a1e28
RD
19654 return resultobj;
19655 fail:
19656 return NULL;
19657}
19658
19659
c32bde28 19660static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19661 PyObject *resultobj;
19662 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19663 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28 19664 wxDateTime result;
994141e6
RD
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
d14a1e28
RD
19667 char *kwnames[] = {
19668 (char *) "year",(char *) "country", NULL
19669 };
19670
994141e6
RD
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
19672 if (obj0) {
093d3ff1
RD
19673 {
19674 arg1 = (int)(SWIG_As_int(obj0));
19675 if (SWIG_arg_fail(1)) SWIG_fail;
19676 }
994141e6
RD
19677 }
19678 if (obj1) {
093d3ff1
RD
19679 {
19680 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19681 if (SWIG_arg_fail(2)) SWIG_fail;
19682 }
994141e6 19683 }
d14a1e28
RD
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 {
19692 wxDateTime * resultptr;
093d3ff1 19693 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 19694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19695 }
19696 return resultobj;
19697 fail:
19698 return NULL;
19699}
19700
19701
c32bde28 19702static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19703 PyObject *resultobj;
19704 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 19705 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28 19706 wxDateTime result;
994141e6
RD
19707 PyObject * obj0 = 0 ;
19708 PyObject * obj1 = 0 ;
d14a1e28
RD
19709 char *kwnames[] = {
19710 (char *) "year",(char *) "country", NULL
19711 };
19712
994141e6
RD
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
19714 if (obj0) {
093d3ff1
RD
19715 {
19716 arg1 = (int)(SWIG_As_int(obj0));
19717 if (SWIG_arg_fail(1)) SWIG_fail;
19718 }
994141e6
RD
19719 }
19720 if (obj1) {
093d3ff1
RD
19721 {
19722 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19723 if (SWIG_arg_fail(2)) SWIG_fail;
19724 }
994141e6 19725 }
d14a1e28
RD
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 {
19734 wxDateTime * resultptr;
093d3ff1 19735 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 19736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19737 }
19738 return resultobj;
19739 fail:
19740 return NULL;
19741}
19742
19743
c32bde28 19744static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19745 PyObject *resultobj;
19746 wxDateTime result;
19747 char *kwnames[] = {
19748 NULL
19749 };
19750
19751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = wxDateTime::Now();
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 {
19760 wxDateTime * resultptr;
093d3ff1 19761 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 19762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19763 }
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
c32bde28 19770static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19771 PyObject *resultobj;
19772 wxDateTime result;
19773 char *kwnames[] = {
19774 NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 result = wxDateTime::UNow();
19781
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 {
19786 wxDateTime * resultptr;
093d3ff1 19787 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 19788 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793}
19794
19795
c32bde28 19796static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19797 PyObject *resultobj;
19798 wxDateTime result;
19799 char *kwnames[] = {
19800 NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 result = wxDateTime::Today();
19807
19808 wxPyEndAllowThreads(__tstate);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 }
19811 {
19812 wxDateTime * resultptr;
093d3ff1 19813 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 19814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19815 }
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
c32bde28 19822static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19823 PyObject *resultobj;
19824 wxDateTime *result;
19825 char *kwnames[] = {
19826 NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (wxDateTime *)new wxDateTime();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
15afbcd0 19837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19838 return resultobj;
19839 fail:
19840 return NULL;
19841}
19842
19843
c32bde28 19844static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19845 PyObject *resultobj;
19846 time_t arg1 ;
19847 wxDateTime *result;
19848 PyObject * obj0 = 0 ;
19849 char *kwnames[] = {
19850 (char *) "timet", NULL
19851 };
19852
19853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1
RD
19854 {
19855 arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
19856 if (SWIG_arg_fail(1)) SWIG_fail;
19857 }
d14a1e28
RD
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (wxDateTime *)new wxDateTime(arg1);
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
15afbcd0 19865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19866 return resultobj;
19867 fail:
19868 return NULL;
19869}
19870
19871
c32bde28 19872static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19873 PyObject *resultobj;
19874 double arg1 ;
19875 wxDateTime *result;
994141e6 19876 PyObject * obj0 = 0 ;
d14a1e28
RD
19877 char *kwnames[] = {
19878 (char *) "jdn", NULL
19879 };
19880
994141e6 19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
19882 {
19883 arg1 = (double)(SWIG_As_double(obj0));
19884 if (SWIG_arg_fail(1)) SWIG_fail;
19885 }
d14a1e28
RD
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (wxDateTime *)new wxDateTime(arg1);
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
15afbcd0 19893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19894 return resultobj;
19895 fail:
19896 return NULL;
19897}
19898
19899
c32bde28 19900static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19901 PyObject *resultobj;
322913ce
RD
19902 int arg1 ;
19903 int arg2 = (int) 0 ;
19904 int arg3 = (int) 0 ;
19905 int arg4 = (int) 0 ;
d14a1e28 19906 wxDateTime *result;
994141e6
RD
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 PyObject * obj2 = 0 ;
19910 PyObject * obj3 = 0 ;
d14a1e28
RD
19911 char *kwnames[] = {
19912 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19913 };
19914
994141e6 19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
19916 {
19917 arg1 = (int)(SWIG_As_int(obj0));
19918 if (SWIG_arg_fail(1)) SWIG_fail;
19919 }
994141e6 19920 if (obj1) {
093d3ff1
RD
19921 {
19922 arg2 = (int)(SWIG_As_int(obj1));
19923 if (SWIG_arg_fail(2)) SWIG_fail;
19924 }
994141e6
RD
19925 }
19926 if (obj2) {
093d3ff1
RD
19927 {
19928 arg3 = (int)(SWIG_As_int(obj2));
19929 if (SWIG_arg_fail(3)) SWIG_fail;
19930 }
994141e6
RD
19931 }
19932 if (obj3) {
093d3ff1
RD
19933 {
19934 arg4 = (int)(SWIG_As_int(obj3));
19935 if (SWIG_arg_fail(4)) SWIG_fail;
19936 }
994141e6 19937 }
d14a1e28
RD
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
15afbcd0 19945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
c32bde28 19952static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19953 PyObject *resultobj;
322913ce 19954 int arg1 ;
093d3ff1 19955 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28 19956 int arg3 = (int) wxDateTime::Inv_Year ;
322913ce
RD
19957 int arg4 = (int) 0 ;
19958 int arg5 = (int) 0 ;
19959 int arg6 = (int) 0 ;
19960 int arg7 = (int) 0 ;
d14a1e28 19961 wxDateTime *result;
994141e6
RD
19962 PyObject * obj0 = 0 ;
19963 PyObject * obj1 = 0 ;
19964 PyObject * obj2 = 0 ;
19965 PyObject * obj3 = 0 ;
19966 PyObject * obj4 = 0 ;
19967 PyObject * obj5 = 0 ;
19968 PyObject * obj6 = 0 ;
d14a1e28
RD
19969 char *kwnames[] = {
19970 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19971 };
19972
994141e6 19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
19974 {
19975 arg1 = (int)(SWIG_As_int(obj0));
19976 if (SWIG_arg_fail(1)) SWIG_fail;
19977 }
994141e6 19978 if (obj1) {
093d3ff1
RD
19979 {
19980 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
19981 if (SWIG_arg_fail(2)) SWIG_fail;
19982 }
994141e6
RD
19983 }
19984 if (obj2) {
093d3ff1
RD
19985 {
19986 arg3 = (int)(SWIG_As_int(obj2));
19987 if (SWIG_arg_fail(3)) SWIG_fail;
19988 }
994141e6
RD
19989 }
19990 if (obj3) {
093d3ff1
RD
19991 {
19992 arg4 = (int)(SWIG_As_int(obj3));
19993 if (SWIG_arg_fail(4)) SWIG_fail;
19994 }
994141e6
RD
19995 }
19996 if (obj4) {
093d3ff1
RD
19997 {
19998 arg5 = (int)(SWIG_As_int(obj4));
19999 if (SWIG_arg_fail(5)) SWIG_fail;
20000 }
994141e6
RD
20001 }
20002 if (obj5) {
093d3ff1
RD
20003 {
20004 arg6 = (int)(SWIG_As_int(obj5));
20005 if (SWIG_arg_fail(6)) SWIG_fail;
20006 }
994141e6
RD
20007 }
20008 if (obj6) {
093d3ff1
RD
20009 {
20010 arg7 = (int)(SWIG_As_int(obj6));
20011 if (SWIG_arg_fail(7)) SWIG_fail;
20012 }
994141e6 20013 }
d14a1e28
RD
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
15afbcd0 20021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20022 return resultobj;
20023 fail:
20024 return NULL;
20025}
20026
20027
c32bde28 20028static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20029 PyObject *resultobj;
20030 wxDateTime *arg1 = (wxDateTime *) 0 ;
20031 PyObject * obj0 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 delete arg1;
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
20046 Py_INCREF(Py_None); resultobj = Py_None;
20047 return resultobj;
20048 fail:
20049 return NULL;
20050}
20051
20052
c32bde28 20053static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20054 PyObject *resultobj;
20055 wxDateTime *arg1 = (wxDateTime *) 0 ;
20056 wxDateTime *result;
20057 PyObject * obj0 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
20063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20064 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 {
20068 wxDateTime &_result_ref = (arg1)->SetToCurrent();
20069 result = (wxDateTime *) &_result_ref;
20070 }
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
15afbcd0 20075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
c32bde28 20082static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20083 PyObject *resultobj;
20084 wxDateTime *arg1 = (wxDateTime *) 0 ;
20085 time_t arg2 ;
20086 wxDateTime *result;
20087 PyObject * obj0 = 0 ;
20088 PyObject * obj1 = 0 ;
20089 char *kwnames[] = {
20090 (char *) "self",(char *) "timet", NULL
20091 };
20092
20093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20095 if (SWIG_arg_fail(1)) SWIG_fail;
20096 {
20097 arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
20098 if (SWIG_arg_fail(2)) SWIG_fail;
20099 }
d14a1e28
RD
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 {
20103 wxDateTime &_result_ref = (arg1)->Set(arg2);
20104 result = (wxDateTime *) &_result_ref;
20105 }
20106
20107 wxPyEndAllowThreads(__tstate);
20108 if (PyErr_Occurred()) SWIG_fail;
20109 }
15afbcd0 20110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20111 return resultobj;
20112 fail:
20113 return NULL;
20114}
20115
20116
c32bde28 20117static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20118 PyObject *resultobj;
20119 wxDateTime *arg1 = (wxDateTime *) 0 ;
20120 double arg2 ;
20121 wxDateTime *result;
20122 PyObject * obj0 = 0 ;
994141e6 20123 PyObject * obj1 = 0 ;
d14a1e28
RD
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "jdn", NULL
20126 };
20127
994141e6 20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20130 if (SWIG_arg_fail(1)) SWIG_fail;
20131 {
20132 arg2 = (double)(SWIG_As_double(obj1));
20133 if (SWIG_arg_fail(2)) SWIG_fail;
20134 }
d14a1e28
RD
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 {
20138 wxDateTime &_result_ref = (arg1)->Set(arg2);
20139 result = (wxDateTime *) &_result_ref;
20140 }
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
15afbcd0 20145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20146 return resultobj;
20147 fail:
20148 return NULL;
20149}
20150
20151
c32bde28 20152static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20153 PyObject *resultobj;
20154 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce
RD
20155 int arg2 ;
20156 int arg3 = (int) 0 ;
20157 int arg4 = (int) 0 ;
20158 int arg5 = (int) 0 ;
d14a1e28
RD
20159 wxDateTime *result;
20160 PyObject * obj0 = 0 ;
994141e6
RD
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 PyObject * obj3 = 0 ;
20164 PyObject * obj4 = 0 ;
d14a1e28
RD
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20167 };
20168
994141e6 20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail;
20172 {
20173 arg2 = (int)(SWIG_As_int(obj1));
20174 if (SWIG_arg_fail(2)) SWIG_fail;
20175 }
994141e6 20176 if (obj2) {
093d3ff1
RD
20177 {
20178 arg3 = (int)(SWIG_As_int(obj2));
20179 if (SWIG_arg_fail(3)) SWIG_fail;
20180 }
994141e6
RD
20181 }
20182 if (obj3) {
093d3ff1
RD
20183 {
20184 arg4 = (int)(SWIG_As_int(obj3));
20185 if (SWIG_arg_fail(4)) SWIG_fail;
20186 }
994141e6
RD
20187 }
20188 if (obj4) {
093d3ff1
RD
20189 {
20190 arg5 = (int)(SWIG_As_int(obj4));
20191 if (SWIG_arg_fail(5)) SWIG_fail;
20192 }
994141e6 20193 }
d14a1e28
RD
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 {
20197 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
20198 result = (wxDateTime *) &_result_ref;
20199 }
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
15afbcd0 20204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
c32bde28 20211static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20212 PyObject *resultobj;
20213 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20214 int arg2 ;
093d3ff1 20215 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28 20216 int arg4 = (int) wxDateTime::Inv_Year ;
322913ce
RD
20217 int arg5 = (int) 0 ;
20218 int arg6 = (int) 0 ;
20219 int arg7 = (int) 0 ;
20220 int arg8 = (int) 0 ;
d14a1e28
RD
20221 wxDateTime *result;
20222 PyObject * obj0 = 0 ;
994141e6
RD
20223 PyObject * obj1 = 0 ;
20224 PyObject * obj2 = 0 ;
20225 PyObject * obj3 = 0 ;
20226 PyObject * obj4 = 0 ;
20227 PyObject * obj5 = 0 ;
20228 PyObject * obj6 = 0 ;
20229 PyObject * obj7 = 0 ;
d14a1e28
RD
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20232 };
20233
994141e6 20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
20235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20236 if (SWIG_arg_fail(1)) SWIG_fail;
20237 {
20238 arg2 = (int)(SWIG_As_int(obj1));
20239 if (SWIG_arg_fail(2)) SWIG_fail;
20240 }
994141e6 20241 if (obj2) {
093d3ff1
RD
20242 {
20243 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20244 if (SWIG_arg_fail(3)) SWIG_fail;
20245 }
994141e6
RD
20246 }
20247 if (obj3) {
093d3ff1
RD
20248 {
20249 arg4 = (int)(SWIG_As_int(obj3));
20250 if (SWIG_arg_fail(4)) SWIG_fail;
20251 }
20252 }
994141e6 20253 if (obj4) {
093d3ff1
RD
20254 {
20255 arg5 = (int)(SWIG_As_int(obj4));
20256 if (SWIG_arg_fail(5)) SWIG_fail;
20257 }
994141e6
RD
20258 }
20259 if (obj5) {
093d3ff1
RD
20260 {
20261 arg6 = (int)(SWIG_As_int(obj5));
20262 if (SWIG_arg_fail(6)) SWIG_fail;
20263 }
994141e6
RD
20264 }
20265 if (obj6) {
093d3ff1
RD
20266 {
20267 arg7 = (int)(SWIG_As_int(obj6));
20268 if (SWIG_arg_fail(7)) SWIG_fail;
20269 }
994141e6
RD
20270 }
20271 if (obj7) {
093d3ff1
RD
20272 {
20273 arg8 = (int)(SWIG_As_int(obj7));
20274 if (SWIG_arg_fail(8)) SWIG_fail;
20275 }
994141e6 20276 }
d14a1e28
RD
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 {
20280 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
20281 result = (wxDateTime *) &_result_ref;
20282 }
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
15afbcd0 20287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20288 return resultobj;
20289 fail:
20290 return NULL;
20291}
20292
20293
c32bde28 20294static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20295 PyObject *resultobj;
20296 wxDateTime *arg1 = (wxDateTime *) 0 ;
20297 wxDateTime *result;
20298 PyObject * obj0 = 0 ;
20299 char *kwnames[] = {
20300 (char *) "self", NULL
20301 };
20302
20303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20305 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 {
20309 wxDateTime &_result_ref = (arg1)->ResetTime();
20310 result = (wxDateTime *) &_result_ref;
20311 }
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
15afbcd0 20316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20317 return resultobj;
20318 fail:
20319 return NULL;
20320}
20321
20322
c32bde28 20323static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20324 PyObject *resultobj;
20325 wxDateTime *arg1 = (wxDateTime *) 0 ;
20326 int arg2 ;
20327 wxDateTime *result;
20328 PyObject * obj0 = 0 ;
994141e6 20329 PyObject * obj1 = 0 ;
d14a1e28
RD
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "year", NULL
20332 };
20333
994141e6 20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20336 if (SWIG_arg_fail(1)) SWIG_fail;
20337 {
20338 arg2 = (int)(SWIG_As_int(obj1));
20339 if (SWIG_arg_fail(2)) SWIG_fail;
20340 }
d14a1e28
RD
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 {
20344 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
20345 result = (wxDateTime *) &_result_ref;
20346 }
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
15afbcd0 20351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20352 return resultobj;
20353 fail:
20354 return NULL;
20355}
20356
20357
c32bde28 20358static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20359 PyObject *resultobj;
20360 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20361 wxDateTime::Month arg2 ;
d14a1e28
RD
20362 wxDateTime *result;
20363 PyObject * obj0 = 0 ;
994141e6 20364 PyObject * obj1 = 0 ;
d14a1e28
RD
20365 char *kwnames[] = {
20366 (char *) "self",(char *) "month", NULL
20367 };
20368
994141e6 20369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20371 if (SWIG_arg_fail(1)) SWIG_fail;
20372 {
20373 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20374 if (SWIG_arg_fail(2)) SWIG_fail;
20375 }
d14a1e28
RD
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 {
20379 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
20380 result = (wxDateTime *) &_result_ref;
20381 }
20382
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
15afbcd0 20386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20387 return resultobj;
20388 fail:
20389 return NULL;
20390}
20391
20392
c32bde28 20393static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20394 PyObject *resultobj;
20395 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20396 int arg2 ;
d14a1e28
RD
20397 wxDateTime *result;
20398 PyObject * obj0 = 0 ;
994141e6 20399 PyObject * obj1 = 0 ;
d14a1e28
RD
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "day", NULL
20402 };
20403
994141e6 20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail;
20407 {
20408 arg2 = (int)(SWIG_As_int(obj1));
20409 if (SWIG_arg_fail(2)) SWIG_fail;
20410 }
d14a1e28
RD
20411 {
20412 PyThreadState* __tstate = wxPyBeginAllowThreads();
20413 {
20414 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
20415 result = (wxDateTime *) &_result_ref;
20416 }
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
15afbcd0 20421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20422 return resultobj;
20423 fail:
20424 return NULL;
20425}
20426
20427
c32bde28 20428static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20429 PyObject *resultobj;
20430 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20431 int arg2 ;
d14a1e28
RD
20432 wxDateTime *result;
20433 PyObject * obj0 = 0 ;
994141e6 20434 PyObject * obj1 = 0 ;
d14a1e28
RD
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "hour", NULL
20437 };
20438
994141e6 20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20441 if (SWIG_arg_fail(1)) SWIG_fail;
20442 {
20443 arg2 = (int)(SWIG_As_int(obj1));
20444 if (SWIG_arg_fail(2)) SWIG_fail;
20445 }
d14a1e28
RD
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 {
20449 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
20450 result = (wxDateTime *) &_result_ref;
20451 }
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
15afbcd0 20456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20457 return resultobj;
20458 fail:
20459 return NULL;
20460}
20461
20462
c32bde28 20463static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20464 PyObject *resultobj;
20465 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20466 int arg2 ;
d14a1e28
RD
20467 wxDateTime *result;
20468 PyObject * obj0 = 0 ;
994141e6 20469 PyObject * obj1 = 0 ;
d14a1e28
RD
20470 char *kwnames[] = {
20471 (char *) "self",(char *) "minute", NULL
20472 };
20473
994141e6 20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20476 if (SWIG_arg_fail(1)) SWIG_fail;
20477 {
20478 arg2 = (int)(SWIG_As_int(obj1));
20479 if (SWIG_arg_fail(2)) SWIG_fail;
20480 }
d14a1e28
RD
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 {
20484 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
20485 result = (wxDateTime *) &_result_ref;
20486 }
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
15afbcd0 20491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20492 return resultobj;
20493 fail:
20494 return NULL;
20495}
20496
20497
c32bde28 20498static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20499 PyObject *resultobj;
20500 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20501 int arg2 ;
d14a1e28
RD
20502 wxDateTime *result;
20503 PyObject * obj0 = 0 ;
994141e6 20504 PyObject * obj1 = 0 ;
d14a1e28
RD
20505 char *kwnames[] = {
20506 (char *) "self",(char *) "second", NULL
20507 };
20508
994141e6 20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20511 if (SWIG_arg_fail(1)) SWIG_fail;
20512 {
20513 arg2 = (int)(SWIG_As_int(obj1));
20514 if (SWIG_arg_fail(2)) SWIG_fail;
20515 }
d14a1e28
RD
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 {
20519 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
20520 result = (wxDateTime *) &_result_ref;
20521 }
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
15afbcd0 20526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
c32bde28 20533static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20534 PyObject *resultobj;
20535 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20536 int arg2 ;
d14a1e28
RD
20537 wxDateTime *result;
20538 PyObject * obj0 = 0 ;
994141e6 20539 PyObject * obj1 = 0 ;
d14a1e28
RD
20540 char *kwnames[] = {
20541 (char *) "self",(char *) "millisecond", NULL
20542 };
20543
994141e6 20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20546 if (SWIG_arg_fail(1)) SWIG_fail;
20547 {
20548 arg2 = (int)(SWIG_As_int(obj1));
20549 if (SWIG_arg_fail(2)) SWIG_fail;
20550 }
d14a1e28
RD
20551 {
20552 PyThreadState* __tstate = wxPyBeginAllowThreads();
20553 {
20554 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
20555 result = (wxDateTime *) &_result_ref;
20556 }
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
15afbcd0 20561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20562 return resultobj;
20563 fail:
20564 return NULL;
20565}
20566
20567
c32bde28 20568static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20569 PyObject *resultobj;
20570 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20571 wxDateTime::WeekDay arg2 ;
20572 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
20573 wxDateTime *result;
20574 PyObject * obj0 = 0 ;
994141e6
RD
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
d14a1e28
RD
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20579 };
20580
994141e6 20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20583 if (SWIG_arg_fail(1)) SWIG_fail;
20584 {
20585 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20586 if (SWIG_arg_fail(2)) SWIG_fail;
20587 }
994141e6 20588 if (obj2) {
093d3ff1
RD
20589 {
20590 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20591 if (SWIG_arg_fail(3)) SWIG_fail;
20592 }
994141e6 20593 }
d14a1e28
RD
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 {
20597 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20598 result = (wxDateTime *) &_result_ref;
20599 }
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
15afbcd0 20604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
c32bde28 20611static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20612 PyObject *resultobj;
20613 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20614 wxDateTime::WeekDay arg2 ;
20615 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
20616 wxDateTime result;
20617 PyObject * obj0 = 0 ;
994141e6
RD
20618 PyObject * obj1 = 0 ;
20619 PyObject * obj2 = 0 ;
d14a1e28
RD
20620 char *kwnames[] = {
20621 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20622 };
20623
994141e6 20624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
20625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20626 if (SWIG_arg_fail(1)) SWIG_fail;
20627 {
20628 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20629 if (SWIG_arg_fail(2)) SWIG_fail;
20630 }
994141e6 20631 if (obj2) {
093d3ff1
RD
20632 {
20633 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20634 if (SWIG_arg_fail(3)) SWIG_fail;
20635 }
994141e6 20636 }
d14a1e28
RD
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 {
20645 wxDateTime * resultptr;
093d3ff1 20646 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 20647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20648 }
20649 return resultobj;
20650 fail:
20651 return NULL;
20652}
20653
20654
c32bde28 20655static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20656 PyObject *resultobj;
20657 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20658 wxDateTime::WeekDay arg2 ;
d14a1e28
RD
20659 wxDateTime *result;
20660 PyObject * obj0 = 0 ;
994141e6 20661 PyObject * obj1 = 0 ;
d14a1e28
RD
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "weekday", NULL
20664 };
20665
994141e6 20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20668 if (SWIG_arg_fail(1)) SWIG_fail;
20669 {
20670 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20671 if (SWIG_arg_fail(2)) SWIG_fail;
20672 }
d14a1e28
RD
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 {
20676 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
20677 result = (wxDateTime *) &_result_ref;
20678 }
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
15afbcd0 20683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
c32bde28 20690static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20691 PyObject *resultobj;
20692 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20693 wxDateTime::WeekDay arg2 ;
d14a1e28
RD
20694 wxDateTime result;
20695 PyObject * obj0 = 0 ;
994141e6 20696 PyObject * obj1 = 0 ;
d14a1e28
RD
20697 char *kwnames[] = {
20698 (char *) "self",(char *) "weekday", NULL
20699 };
20700
994141e6 20701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20703 if (SWIG_arg_fail(1)) SWIG_fail;
20704 {
20705 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20706 if (SWIG_arg_fail(2)) SWIG_fail;
20707 }
d14a1e28
RD
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 wxDateTime * resultptr;
093d3ff1 20717 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 20718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723}
20724
20725
c32bde28 20726static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20727 PyObject *resultobj;
20728 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20729 wxDateTime::WeekDay arg2 ;
d14a1e28
RD
20730 wxDateTime *result;
20731 PyObject * obj0 = 0 ;
994141e6 20732 PyObject * obj1 = 0 ;
d14a1e28
RD
20733 char *kwnames[] = {
20734 (char *) "self",(char *) "weekday", NULL
20735 };
20736
994141e6 20737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20739 if (SWIG_arg_fail(1)) SWIG_fail;
20740 {
20741 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20742 if (SWIG_arg_fail(2)) SWIG_fail;
20743 }
d14a1e28
RD
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 {
20747 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
20748 result = (wxDateTime *) &_result_ref;
20749 }
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
15afbcd0 20754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
c32bde28 20761static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20762 PyObject *resultobj;
20763 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20764 wxDateTime::WeekDay arg2 ;
d14a1e28
RD
20765 wxDateTime result;
20766 PyObject * obj0 = 0 ;
994141e6 20767 PyObject * obj1 = 0 ;
d14a1e28
RD
20768 char *kwnames[] = {
20769 (char *) "self",(char *) "weekday", NULL
20770 };
20771
994141e6 20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20774 if (SWIG_arg_fail(1)) SWIG_fail;
20775 {
20776 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20777 if (SWIG_arg_fail(2)) SWIG_fail;
20778 }
d14a1e28
RD
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
20782
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 {
20787 wxDateTime * resultptr;
093d3ff1 20788 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 20789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20790 }
20791 return resultobj;
20792 fail:
20793 return NULL;
20794}
20795
20796
c32bde28 20797static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20798 PyObject *resultobj;
20799 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 20800 wxDateTime::WeekDay arg2 ;
d14a1e28 20801 int arg3 = (int) 1 ;
093d3ff1 20802 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28
RD
20803 int arg5 = (int) wxDateTime::Inv_Year ;
20804 bool result;
20805 PyObject * obj0 = 0 ;
994141e6
RD
20806 PyObject * obj1 = 0 ;
20807 PyObject * obj2 = 0 ;
20808 PyObject * obj3 = 0 ;
20809 PyObject * obj4 = 0 ;
d14a1e28
RD
20810 char *kwnames[] = {
20811 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20812 };
20813
994141e6 20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20816 if (SWIG_arg_fail(1)) SWIG_fail;
20817 {
20818 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20819 if (SWIG_arg_fail(2)) SWIG_fail;
20820 }
994141e6 20821 if (obj2) {
093d3ff1
RD
20822 {
20823 arg3 = (int)(SWIG_As_int(obj2));
20824 if (SWIG_arg_fail(3)) SWIG_fail;
20825 }
994141e6
RD
20826 }
20827 if (obj3) {
093d3ff1
RD
20828 {
20829 arg4 = (wxDateTime::Month)(SWIG_As_int(obj3));
20830 if (SWIG_arg_fail(4)) SWIG_fail;
20831 }
994141e6
RD
20832 }
20833 if (obj4) {
093d3ff1
RD
20834 {
20835 arg5 = (int)(SWIG_As_int(obj4));
20836 if (SWIG_arg_fail(5)) SWIG_fail;
20837 }
994141e6 20838 }
d14a1e28
RD
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
4f89f6a3
RD
20846 {
20847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20848 }
d14a1e28
RD
20849 return resultobj;
20850 fail:
20851 return NULL;
20852}
20853
20854
c32bde28 20855static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20856 PyObject *resultobj;
20857 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20858 wxDateTime::WeekDay arg2 ;
20859 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28
RD
20860 int arg4 = (int) wxDateTime::Inv_Year ;
20861 bool result;
20862 PyObject * obj0 = 0 ;
994141e6
RD
20863 PyObject * obj1 = 0 ;
20864 PyObject * obj2 = 0 ;
20865 PyObject * obj3 = 0 ;
d14a1e28
RD
20866 char *kwnames[] = {
20867 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20868 };
20869
994141e6 20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20872 if (SWIG_arg_fail(1)) SWIG_fail;
20873 {
20874 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20875 if (SWIG_arg_fail(2)) SWIG_fail;
20876 }
994141e6 20877 if (obj2) {
093d3ff1
RD
20878 {
20879 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20880 if (SWIG_arg_fail(3)) SWIG_fail;
20881 }
994141e6
RD
20882 }
20883 if (obj3) {
093d3ff1
RD
20884 {
20885 arg4 = (int)(SWIG_As_int(obj3));
20886 if (SWIG_arg_fail(4)) SWIG_fail;
20887 }
994141e6 20888 }
d14a1e28
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
4f89f6a3
RD
20896 {
20897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20898 }
d14a1e28
RD
20899 return resultobj;
20900 fail:
20901 return NULL;
20902}
20903
20904
c32bde28 20905static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20906 PyObject *resultobj;
20907 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
20908 wxDateTime::WeekDay arg2 ;
20909 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28
RD
20910 int arg4 = (int) wxDateTime::Inv_Year ;
20911 wxDateTime result;
20912 PyObject * obj0 = 0 ;
994141e6
RD
20913 PyObject * obj1 = 0 ;
20914 PyObject * obj2 = 0 ;
20915 PyObject * obj3 = 0 ;
d14a1e28
RD
20916 char *kwnames[] = {
20917 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20918 };
20919
994141e6 20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail;
20923 {
20924 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20925 if (SWIG_arg_fail(2)) SWIG_fail;
20926 }
994141e6 20927 if (obj2) {
093d3ff1
RD
20928 {
20929 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20930 if (SWIG_arg_fail(3)) SWIG_fail;
20931 }
994141e6
RD
20932 }
20933 if (obj3) {
093d3ff1
RD
20934 {
20935 arg4 = (int)(SWIG_As_int(obj3));
20936 if (SWIG_arg_fail(4)) SWIG_fail;
20937 }
994141e6 20938 }
d14a1e28
RD
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 {
20947 wxDateTime * resultptr;
093d3ff1 20948 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 20949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
20950 }
20951 return resultobj;
20952 fail:
20953 return NULL;
20954}
20955
20956
c32bde28 20957static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20958 PyObject *resultobj;
20959 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 20960 int arg2 ;
093d3ff1
RD
20961 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20962 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
20963 bool result;
20964 PyObject * obj0 = 0 ;
994141e6
RD
20965 PyObject * obj1 = 0 ;
20966 PyObject * obj2 = 0 ;
20967 PyObject * obj3 = 0 ;
d14a1e28
RD
20968 char *kwnames[] = {
20969 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20970 };
20971
994141e6 20972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
20973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail;
20975 {
20976 arg2 = (int)(SWIG_As_int(obj1));
20977 if (SWIG_arg_fail(2)) SWIG_fail;
20978 }
994141e6 20979 if (obj2) {
093d3ff1
RD
20980 {
20981 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20982 if (SWIG_arg_fail(3)) SWIG_fail;
20983 }
994141e6
RD
20984 }
20985 if (obj3) {
093d3ff1
RD
20986 {
20987 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20988 if (SWIG_arg_fail(4)) SWIG_fail;
20989 }
994141e6 20990 }
d14a1e28
RD
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
4f89f6a3
RD
20998 {
20999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21000 }
d14a1e28
RD
21001 return resultobj;
21002 fail:
21003 return NULL;
21004}
21005
21006
c32bde28 21007static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21008 PyObject *resultobj;
21009 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 21010 int arg2 ;
093d3ff1
RD
21011 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21012 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
21013 wxDateTime result;
21014 PyObject * obj0 = 0 ;
994141e6
RD
21015 PyObject * obj1 = 0 ;
21016 PyObject * obj2 = 0 ;
21017 PyObject * obj3 = 0 ;
d14a1e28
RD
21018 char *kwnames[] = {
21019 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21020 };
21021
994141e6 21022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail;
21025 {
21026 arg2 = (int)(SWIG_As_int(obj1));
21027 if (SWIG_arg_fail(2)) SWIG_fail;
21028 }
994141e6 21029 if (obj2) {
093d3ff1
RD
21030 {
21031 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
21032 if (SWIG_arg_fail(3)) SWIG_fail;
21033 }
994141e6
RD
21034 }
21035 if (obj3) {
093d3ff1
RD
21036 {
21037 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
21038 if (SWIG_arg_fail(4)) SWIG_fail;
21039 }
994141e6 21040 }
d14a1e28
RD
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 wxDateTime * resultptr;
093d3ff1 21050 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 21051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21052 }
21053 return resultobj;
21054 fail:
21055 return NULL;
21056}
21057
21058
7e63a440
RD
21059static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj;
21061 int arg1 ;
21062 int arg2 ;
093d3ff1 21063 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
21064 wxDateTime result;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 PyObject * obj2 = 0 ;
21068 char *kwnames[] = {
21069 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21070 };
21071
21072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21073 {
21074 arg1 = (int)(SWIG_As_int(obj0));
21075 if (SWIG_arg_fail(1)) SWIG_fail;
21076 }
21077 {
21078 arg2 = (int)(SWIG_As_int(obj1));
21079 if (SWIG_arg_fail(2)) SWIG_fail;
21080 }
7e63a440 21081 if (obj2) {
093d3ff1
RD
21082 {
21083 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
21084 if (SWIG_arg_fail(3)) SWIG_fail;
21085 }
7e63a440
RD
21086 }
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 {
21095 wxDateTime * resultptr;
093d3ff1 21096 resultptr = new wxDateTime((wxDateTime &)(result));
7e63a440
RD
21097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21098 }
21099 return resultobj;
21100 fail:
21101 return NULL;
21102}
21103
21104
c32bde28 21105static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21106 PyObject *resultobj;
21107 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21108 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28
RD
21109 int arg3 = (int) wxDateTime::Inv_Year ;
21110 wxDateTime *result;
21111 PyObject * obj0 = 0 ;
994141e6
RD
21112 PyObject * obj1 = 0 ;
21113 PyObject * obj2 = 0 ;
d14a1e28
RD
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "month",(char *) "year", NULL
21116 };
21117
994141e6 21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 21121 if (obj1) {
093d3ff1
RD
21122 {
21123 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
21124 if (SWIG_arg_fail(2)) SWIG_fail;
21125 }
994141e6
RD
21126 }
21127 if (obj2) {
093d3ff1
RD
21128 {
21129 arg3 = (int)(SWIG_As_int(obj2));
21130 if (SWIG_arg_fail(3)) SWIG_fail;
21131 }
994141e6 21132 }
d14a1e28
RD
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 {
21136 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
21137 result = (wxDateTime *) &_result_ref;
21138 }
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
15afbcd0 21143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
c32bde28 21150static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21151 PyObject *resultobj;
21152 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21153 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d14a1e28
RD
21154 int arg3 = (int) wxDateTime::Inv_Year ;
21155 wxDateTime result;
21156 PyObject * obj0 = 0 ;
994141e6
RD
21157 PyObject * obj1 = 0 ;
21158 PyObject * obj2 = 0 ;
d14a1e28
RD
21159 char *kwnames[] = {
21160 (char *) "self",(char *) "month",(char *) "year", NULL
21161 };
21162
994141e6 21163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 21166 if (obj1) {
093d3ff1
RD
21167 {
21168 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
21169 if (SWIG_arg_fail(2)) SWIG_fail;
21170 }
994141e6
RD
21171 }
21172 if (obj2) {
093d3ff1
RD
21173 {
21174 arg3 = (int)(SWIG_As_int(obj2));
21175 if (SWIG_arg_fail(3)) SWIG_fail;
21176 }
994141e6 21177 }
d14a1e28
RD
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 {
21186 wxDateTime * resultptr;
093d3ff1 21187 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 21188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21189 }
21190 return resultobj;
21191 fail:
21192 return NULL;
21193}
21194
21195
c32bde28 21196static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21197 PyObject *resultobj;
21198 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 21199 int arg2 ;
d14a1e28
RD
21200 wxDateTime *result;
21201 PyObject * obj0 = 0 ;
994141e6 21202 PyObject * obj1 = 0 ;
d14a1e28
RD
21203 char *kwnames[] = {
21204 (char *) "self",(char *) "yday", NULL
21205 };
21206
994141e6 21207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21209 if (SWIG_arg_fail(1)) SWIG_fail;
21210 {
21211 arg2 = (int)(SWIG_As_int(obj1));
21212 if (SWIG_arg_fail(2)) SWIG_fail;
21213 }
d14a1e28
RD
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 {
21217 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
21218 result = (wxDateTime *) &_result_ref;
21219 }
21220
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
15afbcd0 21224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
21225 return resultobj;
21226 fail:
21227 return NULL;
21228}
21229
21230
c32bde28 21231static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21232 PyObject *resultobj;
21233 wxDateTime *arg1 = (wxDateTime *) 0 ;
322913ce 21234 int arg2 ;
d14a1e28
RD
21235 wxDateTime result;
21236 PyObject * obj0 = 0 ;
994141e6 21237 PyObject * obj1 = 0 ;
d14a1e28
RD
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "yday", NULL
21240 };
21241
994141e6 21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail;
21245 {
21246 arg2 = (int)(SWIG_As_int(obj1));
21247 if (SWIG_arg_fail(2)) SWIG_fail;
21248 }
d14a1e28
RD
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 result = (arg1)->GetYearDay(arg2);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
21257 wxDateTime * resultptr;
093d3ff1 21258 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 21259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21260 }
21261 return resultobj;
21262 fail:
21263 return NULL;
21264}
21265
21266
c32bde28 21267static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21268 PyObject *resultobj;
21269 wxDateTime *arg1 = (wxDateTime *) 0 ;
21270 double result;
21271 PyObject * obj0 = 0 ;
21272 char *kwnames[] = {
21273 (char *) "self", NULL
21274 };
21275
21276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (double)(arg1)->GetJulianDayNumber();
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
093d3ff1
RD
21286 {
21287 resultobj = SWIG_From_double((double)(result));
21288 }
d14a1e28
RD
21289 return resultobj;
21290 fail:
21291 return NULL;
21292}
21293
21294
c32bde28 21295static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21296 PyObject *resultobj;
21297 wxDateTime *arg1 = (wxDateTime *) 0 ;
21298 double result;
21299 PyObject * obj0 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
21305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 result = (double)(arg1)->GetJDN();
21310
21311 wxPyEndAllowThreads(__tstate);
21312 if (PyErr_Occurred()) SWIG_fail;
21313 }
093d3ff1
RD
21314 {
21315 resultobj = SWIG_From_double((double)(result));
21316 }
d14a1e28
RD
21317 return resultobj;
21318 fail:
21319 return NULL;
21320}
21321
21322
c32bde28 21323static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21324 PyObject *resultobj;
21325 wxDateTime *arg1 = (wxDateTime *) 0 ;
21326 double result;
21327 PyObject * obj0 = 0 ;
21328 char *kwnames[] = {
21329 (char *) "self", NULL
21330 };
21331
21332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
21333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
21338
21339 wxPyEndAllowThreads(__tstate);
21340 if (PyErr_Occurred()) SWIG_fail;
21341 }
093d3ff1
RD
21342 {
21343 resultobj = SWIG_From_double((double)(result));
21344 }
d14a1e28
RD
21345 return resultobj;
21346 fail:
21347 return NULL;
21348}
21349
21350
c32bde28 21351static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21352 PyObject *resultobj;
21353 wxDateTime *arg1 = (wxDateTime *) 0 ;
21354 double result;
21355 PyObject * obj0 = 0 ;
21356 char *kwnames[] = {
21357 (char *) "self", NULL
21358 };
21359
21360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
21361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21363 {
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
21365 result = (double)(arg1)->GetMJD();
21366
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
093d3ff1
RD
21370 {
21371 resultobj = SWIG_From_double((double)(result));
21372 }
d14a1e28
RD
21373 return resultobj;
21374 fail:
21375 return NULL;
21376}
21377
21378
c32bde28 21379static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21380 PyObject *resultobj;
21381 wxDateTime *arg1 = (wxDateTime *) 0 ;
21382 double result;
21383 PyObject * obj0 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "self", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
21389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (double)(arg1)->GetRataDie();
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
093d3ff1
RD
21398 {
21399 resultobj = SWIG_From_double((double)(result));
21400 }
d14a1e28
RD
21401 return resultobj;
21402 fail:
21403 return NULL;
21404}
21405
21406
c32bde28 21407static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21408 PyObject *resultobj;
21409 wxDateTime *arg1 = (wxDateTime *) 0 ;
21410 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21411 bool arg3 = (bool) false ;
d14a1e28 21412 wxDateTime result;
ae8162c8 21413 bool temp2 = false ;
d14a1e28
RD
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 PyObject * obj2 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21424 {
21425 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21426 temp2 = true;
d14a1e28
RD
21427 }
21428 if (obj2) {
093d3ff1
RD
21429 {
21430 arg3 = (bool)(SWIG_As_bool(obj2));
21431 if (SWIG_arg_fail(3)) SWIG_fail;
21432 }
d14a1e28
RD
21433 }
21434 {
21435 PyThreadState* __tstate = wxPyBeginAllowThreads();
21436 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21437
21438 wxPyEndAllowThreads(__tstate);
21439 if (PyErr_Occurred()) SWIG_fail;
21440 }
21441 {
21442 wxDateTime * resultptr;
093d3ff1 21443 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 21444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21445 }
21446 {
7722248d 21447 if (temp2) delete arg2;
d14a1e28
RD
21448 }
21449 return resultobj;
21450 fail:
21451 {
7722248d 21452 if (temp2) delete arg2;
d14a1e28
RD
21453 }
21454 return NULL;
21455}
21456
21457
c32bde28 21458static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21459 PyObject *resultobj;
21460 wxDateTime *arg1 = (wxDateTime *) 0 ;
21461 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 21462 bool arg3 = (bool) false ;
d14a1e28 21463 wxDateTime *result;
ae8162c8 21464 bool temp2 = false ;
d14a1e28
RD
21465 PyObject * obj0 = 0 ;
21466 PyObject * obj1 = 0 ;
21467 PyObject * obj2 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21474 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21475 {
21476 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21477 temp2 = true;
d14a1e28
RD
21478 }
21479 if (obj2) {
093d3ff1
RD
21480 {
21481 arg3 = (bool)(SWIG_As_bool(obj2));
21482 if (SWIG_arg_fail(3)) SWIG_fail;
21483 }
d14a1e28
RD
21484 }
21485 {
21486 PyThreadState* __tstate = wxPyBeginAllowThreads();
21487 {
21488 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21489 result = (wxDateTime *) &_result_ref;
21490 }
21491
21492 wxPyEndAllowThreads(__tstate);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
15afbcd0 21495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28 21496 {
7722248d 21497 if (temp2) delete arg2;
d14a1e28
RD
21498 }
21499 return resultobj;
21500 fail:
21501 {
7722248d 21502 if (temp2) delete arg2;
d14a1e28
RD
21503 }
21504 return NULL;
21505}
21506
21507
c32bde28 21508static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21509 PyObject *resultobj;
21510 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21511 bool arg2 = (bool) false ;
d14a1e28
RD
21512 wxDateTime result;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "noDST", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 21522 if (obj1) {
093d3ff1
RD
21523 {
21524 arg2 = (bool)(SWIG_As_bool(obj1));
21525 if (SWIG_arg_fail(2)) SWIG_fail;
21526 }
d14a1e28
RD
21527 }
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 result = (arg1)->ToGMT(arg2);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 {
21536 wxDateTime * resultptr;
093d3ff1 21537 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 21538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
21539 }
21540 return resultobj;
21541 fail:
21542 return NULL;
21543}
21544
21545
c32bde28 21546static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21547 PyObject *resultobj;
21548 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 21549 bool arg2 = (bool) false ;
d14a1e28
RD
21550 wxDateTime *result;
21551 PyObject * obj0 = 0 ;
21552 PyObject * obj1 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self",(char *) "noDST", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 21560 if (obj1) {
093d3ff1
RD
21561 {
21562 arg2 = (bool)(SWIG_As_bool(obj1));
21563 if (SWIG_arg_fail(2)) SWIG_fail;
21564 }
d14a1e28
RD
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 {
21569 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
21570 result = (wxDateTime *) &_result_ref;
21571 }
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
15afbcd0 21576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
21577 return resultobj;
21578 fail:
21579 return NULL;
21580}
21581
21582
c32bde28 21583static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21584 PyObject *resultobj;
21585 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21586 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28
RD
21587 int result;
21588 PyObject * obj0 = 0 ;
994141e6 21589 PyObject * obj1 = 0 ;
d14a1e28
RD
21590 char *kwnames[] = {
21591 (char *) "self",(char *) "country", NULL
21592 };
21593
994141e6 21594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 21597 if (obj1) {
093d3ff1
RD
21598 {
21599 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21600 if (SWIG_arg_fail(2)) SWIG_fail;
21601 }
994141e6 21602 }
d14a1e28
RD
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
093d3ff1
RD
21610 {
21611 resultobj = SWIG_From_int((int)(result));
21612 }
d14a1e28
RD
21613 return resultobj;
21614 fail:
21615 return NULL;
21616}
21617
21618
c32bde28 21619static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21620 PyObject *resultobj;
21621 wxDateTime *arg1 = (wxDateTime *) 0 ;
21622 bool result;
21623 PyObject * obj0 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
21629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21630 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 result = (bool)((wxDateTime const *)arg1)->IsValid();
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
4f89f6a3
RD
21638 {
21639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21640 }
d14a1e28
RD
21641 return resultobj;
21642 fail:
21643 return NULL;
21644}
21645
21646
c32bde28 21647static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21648 PyObject *resultobj;
21649 wxDateTime *arg1 = (wxDateTime *) 0 ;
21650 time_t result;
21651 PyObject * obj0 = 0 ;
21652 char *kwnames[] = {
21653 (char *) "self", NULL
21654 };
21655
21656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
21657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
093d3ff1
RD
21666 {
21667 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
21668 }
d14a1e28
RD
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
c32bde28 21675static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21676 PyObject *resultobj;
21677 wxDateTime *arg1 = (wxDateTime *) 0 ;
21678 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21679 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21680 int result;
ae8162c8 21681 bool temp2 = false ;
d14a1e28
RD
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "tz", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21691 if (obj1) {
21692 {
21693 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21694 temp2 = true;
d14a1e28
RD
21695 }
21696 }
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
21699 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
093d3ff1
RD
21704 {
21705 resultobj = SWIG_From_int((int)(result));
21706 }
d14a1e28 21707 {
7722248d 21708 if (temp2) delete arg2;
d14a1e28
RD
21709 }
21710 return resultobj;
21711 fail:
21712 {
7722248d 21713 if (temp2) delete arg2;
d14a1e28
RD
21714 }
21715 return NULL;
21716}
21717
21718
c32bde28 21719static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21720 PyObject *resultobj;
21721 wxDateTime *arg1 = (wxDateTime *) 0 ;
21722 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21723 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21724 wxDateTime::Month result;
ae8162c8 21725 bool temp2 = false ;
d14a1e28
RD
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "tz", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21734 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21735 if (obj1) {
21736 {
21737 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21738 temp2 = true;
d14a1e28
RD
21739 }
21740 }
21741 {
21742 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21743 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21744
21745 wxPyEndAllowThreads(__tstate);
21746 if (PyErr_Occurred()) SWIG_fail;
21747 }
093d3ff1 21748 resultobj = SWIG_From_int((result));
d14a1e28 21749 {
7722248d 21750 if (temp2) delete arg2;
d14a1e28
RD
21751 }
21752 return resultobj;
21753 fail:
21754 {
7722248d 21755 if (temp2) delete arg2;
d14a1e28
RD
21756 }
21757 return NULL;
21758}
21759
21760
c32bde28 21761static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21762 PyObject *resultobj;
21763 wxDateTime *arg1 = (wxDateTime *) 0 ;
21764 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21765 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 21766 int result;
ae8162c8 21767 bool temp2 = false ;
d14a1e28
RD
21768 PyObject * obj0 = 0 ;
21769 PyObject * obj1 = 0 ;
21770 char *kwnames[] = {
21771 (char *) "self",(char *) "tz", NULL
21772 };
21773
21774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21776 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21777 if (obj1) {
21778 {
21779 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21780 temp2 = true;
d14a1e28
RD
21781 }
21782 }
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21785 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21786
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
093d3ff1
RD
21790 {
21791 resultobj = SWIG_From_int((int)(result));
21792 }
d14a1e28 21793 {
7722248d 21794 if (temp2) delete arg2;
d14a1e28
RD
21795 }
21796 return resultobj;
21797 fail:
21798 {
7722248d 21799 if (temp2) delete arg2;
d14a1e28
RD
21800 }
21801 return NULL;
21802}
21803
21804
c32bde28 21805static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21806 PyObject *resultobj;
21807 wxDateTime *arg1 = (wxDateTime *) 0 ;
21808 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21809 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 21810 wxDateTime::WeekDay result;
ae8162c8 21811 bool temp2 = false ;
d14a1e28
RD
21812 PyObject * obj0 = 0 ;
21813 PyObject * obj1 = 0 ;
21814 char *kwnames[] = {
21815 (char *) "self",(char *) "tz", NULL
21816 };
21817
21818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21820 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21821 if (obj1) {
21822 {
21823 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21824 temp2 = true;
d14a1e28
RD
21825 }
21826 }
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 21829 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
093d3ff1 21834 resultobj = SWIG_From_int((result));
d14a1e28 21835 {
7722248d 21836 if (temp2) delete arg2;
d14a1e28
RD
21837 }
21838 return resultobj;
21839 fail:
21840 {
7722248d 21841 if (temp2) delete arg2;
d14a1e28
RD
21842 }
21843 return NULL;
21844}
21845
21846
c32bde28 21847static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21848 PyObject *resultobj;
21849 wxDateTime *arg1 = (wxDateTime *) 0 ;
21850 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21851 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 21852 int result;
ae8162c8 21853 bool temp2 = false ;
d14a1e28
RD
21854 PyObject * obj0 = 0 ;
21855 PyObject * obj1 = 0 ;
21856 char *kwnames[] = {
21857 (char *) "self",(char *) "tz", NULL
21858 };
21859
21860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21863 if (obj1) {
21864 {
21865 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21866 temp2 = true;
d14a1e28
RD
21867 }
21868 }
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21871 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
093d3ff1
RD
21876 {
21877 resultobj = SWIG_From_int((int)(result));
21878 }
d14a1e28 21879 {
7722248d 21880 if (temp2) delete arg2;
d14a1e28
RD
21881 }
21882 return resultobj;
21883 fail:
21884 {
7722248d 21885 if (temp2) delete arg2;
d14a1e28
RD
21886 }
21887 return NULL;
21888}
21889
21890
c32bde28 21891static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21892 PyObject *resultobj;
21893 wxDateTime *arg1 = (wxDateTime *) 0 ;
21894 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21895 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 21896 int result;
ae8162c8 21897 bool temp2 = false ;
d14a1e28
RD
21898 PyObject * obj0 = 0 ;
21899 PyObject * obj1 = 0 ;
21900 char *kwnames[] = {
21901 (char *) "self",(char *) "tz", NULL
21902 };
21903
21904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21906 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21907 if (obj1) {
21908 {
21909 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21910 temp2 = true;
d14a1e28
RD
21911 }
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21915 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
093d3ff1
RD
21920 {
21921 resultobj = SWIG_From_int((int)(result));
21922 }
d14a1e28 21923 {
7722248d 21924 if (temp2) delete arg2;
d14a1e28
RD
21925 }
21926 return resultobj;
21927 fail:
21928 {
7722248d 21929 if (temp2) delete arg2;
d14a1e28
RD
21930 }
21931 return NULL;
21932}
21933
21934
c32bde28 21935static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21936 PyObject *resultobj;
21937 wxDateTime *arg1 = (wxDateTime *) 0 ;
21938 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21939 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 21940 int result;
ae8162c8 21941 bool temp2 = false ;
d14a1e28
RD
21942 PyObject * obj0 = 0 ;
21943 PyObject * obj1 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self",(char *) "tz", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21951 if (obj1) {
21952 {
21953 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21954 temp2 = true;
d14a1e28
RD
21955 }
21956 }
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 21959 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
093d3ff1
RD
21964 {
21965 resultobj = SWIG_From_int((int)(result));
21966 }
d14a1e28 21967 {
7722248d 21968 if (temp2) delete arg2;
d14a1e28
RD
21969 }
21970 return resultobj;
21971 fail:
21972 {
7722248d 21973 if (temp2) delete arg2;
d14a1e28
RD
21974 }
21975 return NULL;
21976}
21977
21978
c32bde28 21979static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21980 PyObject *resultobj;
21981 wxDateTime *arg1 = (wxDateTime *) 0 ;
21982 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21983 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 21984 int result;
ae8162c8 21985 bool temp2 = false ;
d14a1e28
RD
21986 PyObject * obj0 = 0 ;
21987 PyObject * obj1 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self",(char *) "tz", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21995 if (obj1) {
21996 {
21997 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 21998 temp2 = true;
d14a1e28
RD
21999 }
22000 }
22001 {
22002 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22003 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
22004
22005 wxPyEndAllowThreads(__tstate);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 }
093d3ff1
RD
22008 {
22009 resultobj = SWIG_From_int((int)(result));
22010 }
d14a1e28 22011 {
7722248d 22012 if (temp2) delete arg2;
d14a1e28
RD
22013 }
22014 return resultobj;
22015 fail:
22016 {
7722248d 22017 if (temp2) delete arg2;
d14a1e28
RD
22018 }
22019 return NULL;
22020}
22021
22022
c32bde28 22023static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22024 PyObject *resultobj;
22025 wxDateTime *arg1 = (wxDateTime *) 0 ;
22026 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22027 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
322913ce 22028 int result;
ae8162c8 22029 bool temp2 = false ;
d14a1e28
RD
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "tz", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22039 if (obj1) {
22040 {
22041 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22042 temp2 = true;
d14a1e28
RD
22043 }
22044 }
22045 {
22046 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22047 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
d14a1e28
RD
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
093d3ff1
RD
22052 {
22053 resultobj = SWIG_From_int((int)(result));
22054 }
d14a1e28 22055 {
7722248d 22056 if (temp2) delete arg2;
d14a1e28
RD
22057 }
22058 return resultobj;
22059 fail:
22060 {
7722248d 22061 if (temp2) delete arg2;
d14a1e28
RD
22062 }
22063 return NULL;
22064}
22065
22066
c32bde28 22067static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22068 PyObject *resultobj;
22069 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22070 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
22071 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
22072 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 22073 int result;
ae8162c8 22074 bool temp3 = false ;
d14a1e28 22075 PyObject * obj0 = 0 ;
994141e6 22076 PyObject * obj1 = 0 ;
d14a1e28
RD
22077 PyObject * obj2 = 0 ;
22078 char *kwnames[] = {
22079 (char *) "self",(char *) "flags",(char *) "tz", NULL
22080 };
22081
994141e6 22082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22084 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 22085 if (obj1) {
093d3ff1
RD
22086 {
22087 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
22088 if (SWIG_arg_fail(2)) SWIG_fail;
22089 }
994141e6 22090 }
d14a1e28
RD
22091 if (obj2) {
22092 {
22093 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 22094 temp3 = true;
d14a1e28
RD
22095 }
22096 }
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22099 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
093d3ff1
RD
22104 {
22105 resultobj = SWIG_From_int((int)(result));
22106 }
d14a1e28 22107 {
7722248d 22108 if (temp3) delete arg3;
d14a1e28
RD
22109 }
22110 return resultobj;
22111 fail:
22112 {
7722248d 22113 if (temp3) delete arg3;
d14a1e28
RD
22114 }
22115 return NULL;
22116}
22117
22118
c32bde28 22119static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22120 PyObject *resultobj;
22121 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22122 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d14a1e28
RD
22123 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
22124 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
322913ce 22125 int result;
ae8162c8 22126 bool temp3 = false ;
d14a1e28 22127 PyObject * obj0 = 0 ;
994141e6 22128 PyObject * obj1 = 0 ;
d14a1e28
RD
22129 PyObject * obj2 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self",(char *) "flags",(char *) "tz", NULL
22132 };
22133
994141e6 22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22136 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 22137 if (obj1) {
093d3ff1
RD
22138 {
22139 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
22140 if (SWIG_arg_fail(2)) SWIG_fail;
22141 }
994141e6 22142 }
d14a1e28
RD
22143 if (obj2) {
22144 {
22145 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 22146 temp3 = true;
d14a1e28
RD
22147 }
22148 }
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 22151 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
d14a1e28
RD
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
093d3ff1
RD
22156 {
22157 resultobj = SWIG_From_int((int)(result));
22158 }
d14a1e28 22159 {
7722248d 22160 if (temp3) delete arg3;
d14a1e28
RD
22161 }
22162 return resultobj;
22163 fail:
22164 {
7722248d 22165 if (temp3) delete arg3;
d14a1e28
RD
22166 }
22167 return NULL;
22168}
22169
22170
c32bde28 22171static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22172 PyObject *resultobj;
22173 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22174 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d14a1e28
RD
22175 bool result;
22176 PyObject * obj0 = 0 ;
994141e6 22177 PyObject * obj1 = 0 ;
d14a1e28
RD
22178 char *kwnames[] = {
22179 (char *) "self",(char *) "country", NULL
22180 };
22181
994141e6 22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 22185 if (obj1) {
093d3ff1
RD
22186 {
22187 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
22188 if (SWIG_arg_fail(2)) SWIG_fail;
22189 }
994141e6 22190 }
d14a1e28
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
4f89f6a3
RD
22198 {
22199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22200 }
d14a1e28
RD
22201 return resultobj;
22202 fail:
22203 return NULL;
22204}
22205
22206
c32bde28 22207static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22208 PyObject *resultobj;
22209 wxDateTime *arg1 = (wxDateTime *) 0 ;
22210 wxDateTime *arg2 = 0 ;
22211 bool result;
22212 PyObject * obj0 = 0 ;
22213 PyObject * obj1 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self",(char *) "datetime", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22220 if (SWIG_arg_fail(1)) SWIG_fail;
22221 {
22222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22223 if (SWIG_arg_fail(2)) SWIG_fail;
22224 if (arg2 == NULL) {
22225 SWIG_null_ref("wxDateTime");
22226 }
22227 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22228 }
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
22232
22233 wxPyEndAllowThreads(__tstate);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 }
4f89f6a3
RD
22236 {
22237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22238 }
d14a1e28
RD
22239 return resultobj;
22240 fail:
22241 return NULL;
22242}
22243
22244
c32bde28 22245static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22246 PyObject *resultobj;
22247 wxDateTime *arg1 = (wxDateTime *) 0 ;
22248 wxDateTime *arg2 = 0 ;
22249 bool result;
22250 PyObject * obj0 = 0 ;
22251 PyObject * obj1 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self",(char *) "datetime", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
22259 {
22260 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22261 if (SWIG_arg_fail(2)) SWIG_fail;
22262 if (arg2 == NULL) {
22263 SWIG_null_ref("wxDateTime");
22264 }
22265 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22266 }
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
4f89f6a3
RD
22274 {
22275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22276 }
d14a1e28
RD
22277 return resultobj;
22278 fail:
22279 return NULL;
22280}
22281
22282
c32bde28 22283static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22284 PyObject *resultobj;
22285 wxDateTime *arg1 = (wxDateTime *) 0 ;
22286 wxDateTime *arg2 = 0 ;
22287 bool result;
22288 PyObject * obj0 = 0 ;
22289 PyObject * obj1 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "datetime", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail;
22297 {
22298 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(2)) SWIG_fail;
22300 if (arg2 == NULL) {
22301 SWIG_null_ref("wxDateTime");
22302 }
22303 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22304 }
22305 {
22306 PyThreadState* __tstate = wxPyBeginAllowThreads();
22307 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
22308
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
4f89f6a3
RD
22312 {
22313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22314 }
d14a1e28
RD
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
c32bde28 22321static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22322 PyObject *resultobj;
22323 wxDateTime *arg1 = (wxDateTime *) 0 ;
22324 wxDateTime *arg2 = 0 ;
22325 wxDateTime *arg3 = 0 ;
22326 bool result;
22327 PyObject * obj0 = 0 ;
22328 PyObject * obj1 = 0 ;
22329 PyObject * obj2 = 0 ;
22330 char *kwnames[] = {
22331 (char *) "self",(char *) "t1",(char *) "t2", NULL
22332 };
22333
22334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22336 if (SWIG_arg_fail(1)) SWIG_fail;
22337 {
22338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22339 if (SWIG_arg_fail(2)) SWIG_fail;
22340 if (arg2 == NULL) {
22341 SWIG_null_ref("wxDateTime");
22342 }
22343 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 22344 }
093d3ff1
RD
22345 {
22346 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22347 if (SWIG_arg_fail(3)) SWIG_fail;
22348 if (arg3 == NULL) {
22349 SWIG_null_ref("wxDateTime");
22350 }
22351 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
22352 }
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
4f89f6a3
RD
22360 {
22361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22362 }
d14a1e28
RD
22363 return resultobj;
22364 fail:
22365 return NULL;
22366}
22367
22368
c32bde28 22369static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22370 PyObject *resultobj;
22371 wxDateTime *arg1 = (wxDateTime *) 0 ;
22372 wxDateTime *arg2 = 0 ;
22373 wxDateTime *arg3 = 0 ;
22374 bool result;
22375 PyObject * obj0 = 0 ;
22376 PyObject * obj1 = 0 ;
22377 PyObject * obj2 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self",(char *) "t1",(char *) "t2", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail;
22385 {
22386 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22387 if (SWIG_arg_fail(2)) SWIG_fail;
22388 if (arg2 == NULL) {
22389 SWIG_null_ref("wxDateTime");
22390 }
22391 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 22392 }
093d3ff1
RD
22393 {
22394 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22395 if (SWIG_arg_fail(3)) SWIG_fail;
22396 if (arg3 == NULL) {
22397 SWIG_null_ref("wxDateTime");
22398 }
22399 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
22400 }
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22404
22405 wxPyEndAllowThreads(__tstate);
22406 if (PyErr_Occurred()) SWIG_fail;
22407 }
4f89f6a3
RD
22408 {
22409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22410 }
d14a1e28
RD
22411 return resultobj;
22412 fail:
22413 return NULL;
22414}
22415
22416
c32bde28 22417static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22418 PyObject *resultobj;
22419 wxDateTime *arg1 = (wxDateTime *) 0 ;
22420 wxDateTime *arg2 = 0 ;
22421 bool result;
22422 PyObject * obj0 = 0 ;
22423 PyObject * obj1 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self",(char *) "dt", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22430 if (SWIG_arg_fail(1)) SWIG_fail;
22431 {
22432 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22433 if (SWIG_arg_fail(2)) SWIG_fail;
22434 if (arg2 == NULL) {
22435 SWIG_null_ref("wxDateTime");
22436 }
22437 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22438 }
22439 {
22440 PyThreadState* __tstate = wxPyBeginAllowThreads();
22441 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
22442
22443 wxPyEndAllowThreads(__tstate);
22444 if (PyErr_Occurred()) SWIG_fail;
22445 }
4f89f6a3
RD
22446 {
22447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22448 }
d14a1e28
RD
22449 return resultobj;
22450 fail:
22451 return NULL;
22452}
22453
22454
c32bde28 22455static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22456 PyObject *resultobj;
22457 wxDateTime *arg1 = (wxDateTime *) 0 ;
22458 wxDateTime *arg2 = 0 ;
22459 bool result;
22460 PyObject * obj0 = 0 ;
22461 PyObject * obj1 = 0 ;
22462 char *kwnames[] = {
22463 (char *) "self",(char *) "dt", NULL
22464 };
22465
22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22468 if (SWIG_arg_fail(1)) SWIG_fail;
22469 {
22470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22471 if (SWIG_arg_fail(2)) SWIG_fail;
22472 if (arg2 == NULL) {
22473 SWIG_null_ref("wxDateTime");
22474 }
22475 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22476 }
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
4f89f6a3
RD
22484 {
22485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22486 }
d14a1e28
RD
22487 return resultobj;
22488 fail:
22489 return NULL;
22490}
22491
22492
c32bde28 22493static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22494 PyObject *resultobj;
22495 wxDateTime *arg1 = (wxDateTime *) 0 ;
22496 wxDateTime *arg2 = 0 ;
22497 wxTimeSpan *arg3 = 0 ;
22498 bool result;
22499 PyObject * obj0 = 0 ;
22500 PyObject * obj1 = 0 ;
22501 PyObject * obj2 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "dt",(char *) "ts", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail;
22509 {
22510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22511 if (SWIG_arg_fail(2)) SWIG_fail;
22512 if (arg2 == NULL) {
22513 SWIG_null_ref("wxDateTime");
22514 }
22515 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 22516 }
093d3ff1
RD
22517 {
22518 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22519 if (SWIG_arg_fail(3)) SWIG_fail;
22520 if (arg3 == NULL) {
22521 SWIG_null_ref("wxTimeSpan");
22522 }
22523 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
22528
22529 wxPyEndAllowThreads(__tstate);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
4f89f6a3
RD
22532 {
22533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22534 }
d14a1e28
RD
22535 return resultobj;
22536 fail:
22537 return NULL;
22538}
22539
22540
c32bde28 22541static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22542 PyObject *resultobj;
22543 wxDateTime *arg1 = (wxDateTime *) 0 ;
22544 wxTimeSpan *arg2 = 0 ;
22545 wxDateTime *result;
22546 PyObject * obj0 = 0 ;
22547 PyObject * obj1 = 0 ;
22548 char *kwnames[] = {
22549 (char *) "self",(char *) "diff", NULL
22550 };
22551
22552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22554 if (SWIG_arg_fail(1)) SWIG_fail;
22555 {
22556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22557 if (SWIG_arg_fail(2)) SWIG_fail;
22558 if (arg2 == NULL) {
22559 SWIG_null_ref("wxTimeSpan");
22560 }
22561 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22562 }
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 {
22566 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22567 result = (wxDateTime *) &_result_ref;
22568 }
22569
22570 wxPyEndAllowThreads(__tstate);
22571 if (PyErr_Occurred()) SWIG_fail;
22572 }
15afbcd0 22573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
22574 return resultobj;
22575 fail:
22576 return NULL;
22577}
22578
22579
c32bde28 22580static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22581 PyObject *resultobj;
22582 wxDateTime *arg1 = (wxDateTime *) 0 ;
22583 wxDateSpan *arg2 = 0 ;
22584 wxDateTime *result;
22585 PyObject * obj0 = 0 ;
22586 PyObject * obj1 = 0 ;
22587 char *kwnames[] = {
22588 (char *) "self",(char *) "diff", NULL
22589 };
22590
22591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22593 if (SWIG_arg_fail(1)) SWIG_fail;
22594 {
22595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22596 if (SWIG_arg_fail(2)) SWIG_fail;
22597 if (arg2 == NULL) {
22598 SWIG_null_ref("wxDateSpan");
22599 }
22600 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22601 }
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 {
22605 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22606 result = (wxDateTime *) &_result_ref;
22607 }
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
15afbcd0 22612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
22613 return resultobj;
22614 fail:
22615 return NULL;
22616}
22617
22618
c32bde28 22619static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22620 PyObject *resultobj;
22621 wxDateTime *arg1 = (wxDateTime *) 0 ;
22622 wxTimeSpan *arg2 = 0 ;
22623 wxDateTime *result;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "diff", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail;
22633 {
22634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22635 if (SWIG_arg_fail(2)) SWIG_fail;
22636 if (arg2 == NULL) {
22637 SWIG_null_ref("wxTimeSpan");
22638 }
22639 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22640 }
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 {
22644 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22645 result = (wxDateTime *) &_result_ref;
22646 }
22647
22648 wxPyEndAllowThreads(__tstate);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
15afbcd0 22651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
22652 return resultobj;
22653 fail:
22654 return NULL;
22655}
22656
22657
c32bde28 22658static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22659 PyObject *resultobj;
22660 wxDateTime *arg1 = (wxDateTime *) 0 ;
22661 wxDateSpan *arg2 = 0 ;
22662 wxDateTime *result;
22663 PyObject * obj0 = 0 ;
22664 PyObject * obj1 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "diff", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22671 if (SWIG_arg_fail(1)) SWIG_fail;
22672 {
22673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22674 if (SWIG_arg_fail(2)) SWIG_fail;
22675 if (arg2 == NULL) {
22676 SWIG_null_ref("wxDateSpan");
22677 }
22678 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22679 }
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 {
22683 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22684 result = (wxDateTime *) &_result_ref;
22685 }
22686
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
15afbcd0 22690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
d14a1e28
RD
22691 return resultobj;
22692 fail:
22693 return NULL;
22694}
22695
22696
c32bde28 22697static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22698 PyObject *resultobj;
22699 wxDateTime *arg1 = (wxDateTime *) 0 ;
22700 wxDateTime *arg2 = 0 ;
22701 wxTimeSpan result;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 char *kwnames[] = {
22705 (char *) "self",(char *) "dt", NULL
22706 };
22707
22708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22710 if (SWIG_arg_fail(1)) SWIG_fail;
22711 {
22712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22713 if (SWIG_arg_fail(2)) SWIG_fail;
22714 if (arg2 == NULL) {
22715 SWIG_null_ref("wxDateTime");
22716 }
22717 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22718 }
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
22722
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 {
22727 wxTimeSpan * resultptr;
093d3ff1 22728 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 22729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
22730 }
22731 return resultobj;
22732 fail:
22733 return NULL;
22734}
22735
22736
c32bde28 22737static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
22738 PyObject *resultobj;
22739 wxDateTime *arg1 = (wxDateTime *) 0 ;
22740 wxTimeSpan *arg2 = 0 ;
22741 wxDateTime *result;
22742 PyObject * obj0 = 0 ;
22743 PyObject * obj1 = 0 ;
22744
22745 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22747 if (SWIG_arg_fail(1)) SWIG_fail;
22748 {
22749 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22750 if (SWIG_arg_fail(2)) SWIG_fail;
22751 if (arg2 == NULL) {
22752 SWIG_null_ref("wxTimeSpan");
22753 }
22754 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22755 }
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 {
22759 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22760 result = (wxDateTime *) &_result_ref;
22761 }
22762
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
c32bde28 22766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
22767 return resultobj;
22768 fail:
22769 return NULL;
22770}
22771
22772
c32bde28 22773static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
22774 PyObject *resultobj;
22775 wxDateTime *arg1 = (wxDateTime *) 0 ;
22776 wxDateSpan *arg2 = 0 ;
22777 wxDateTime *result;
22778 PyObject * obj0 = 0 ;
22779 PyObject * obj1 = 0 ;
22780
22781 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22783 if (SWIG_arg_fail(1)) SWIG_fail;
22784 {
22785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22786 if (SWIG_arg_fail(2)) SWIG_fail;
22787 if (arg2 == NULL) {
22788 SWIG_null_ref("wxDateSpan");
22789 }
22790 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22791 }
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 {
22795 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22796 result = (wxDateTime *) &_result_ref;
22797 }
22798
22799 wxPyEndAllowThreads(__tstate);
22800 if (PyErr_Occurred()) SWIG_fail;
22801 }
c32bde28 22802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
22803 return resultobj;
22804 fail:
22805 return NULL;
22806}
22807
22808
22809static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
22810 int argc;
22811 PyObject *argv[3];
22812 int ii;
22813
22814 argc = PyObject_Length(args);
22815 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22816 argv[ii] = PyTuple_GetItem(args,ii);
22817 }
22818 if (argc == 2) {
22819 int _v;
22820 {
22821 void *ptr;
15afbcd0 22822 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
22823 _v = 0;
22824 PyErr_Clear();
22825 } else {
22826 _v = 1;
22827 }
22828 }
22829 if (_v) {
22830 {
093d3ff1 22831 void *ptr = 0;
15afbcd0 22832 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
22833 _v = 0;
22834 PyErr_Clear();
22835 } else {
093d3ff1 22836 _v = (ptr != 0);
d14a1e28
RD
22837 }
22838 }
22839 if (_v) {
22840 return _wrap_DateTime___iadd____SWIG_0(self,args);
22841 }
22842 }
22843 }
22844 if (argc == 2) {
22845 int _v;
22846 {
22847 void *ptr;
15afbcd0 22848 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
22849 _v = 0;
22850 PyErr_Clear();
22851 } else {
22852 _v = 1;
22853 }
22854 }
22855 if (_v) {
22856 {
093d3ff1 22857 void *ptr = 0;
15afbcd0 22858 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
22859 _v = 0;
22860 PyErr_Clear();
22861 } else {
093d3ff1 22862 _v = (ptr != 0);
d14a1e28
RD
22863 }
22864 }
22865 if (_v) {
22866 return _wrap_DateTime___iadd____SWIG_1(self,args);
22867 }
22868 }
22869 }
22870
093d3ff1 22871 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d14a1e28
RD
22872 return NULL;
22873}
22874
22875
c32bde28 22876static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
22877 PyObject *resultobj;
22878 wxDateTime *arg1 = (wxDateTime *) 0 ;
22879 wxTimeSpan *arg2 = 0 ;
22880 wxDateTime *result;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883
22884 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22886 if (SWIG_arg_fail(1)) SWIG_fail;
22887 {
22888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22889 if (SWIG_arg_fail(2)) SWIG_fail;
22890 if (arg2 == NULL) {
22891 SWIG_null_ref("wxTimeSpan");
22892 }
22893 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22894 }
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 {
22898 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22899 result = (wxDateTime *) &_result_ref;
22900 }
22901
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
c32bde28 22905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
22906 return resultobj;
22907 fail:
22908 return NULL;
22909}
22910
22911
c32bde28 22912static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
22913 PyObject *resultobj;
22914 wxDateTime *arg1 = (wxDateTime *) 0 ;
22915 wxDateSpan *arg2 = 0 ;
22916 wxDateTime *result;
22917 PyObject * obj0 = 0 ;
22918 PyObject * obj1 = 0 ;
22919
22920 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
22921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22922 if (SWIG_arg_fail(1)) SWIG_fail;
22923 {
22924 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22925 if (SWIG_arg_fail(2)) SWIG_fail;
22926 if (arg2 == NULL) {
22927 SWIG_null_ref("wxDateSpan");
22928 }
22929 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22930 }
22931 {
22932 PyThreadState* __tstate = wxPyBeginAllowThreads();
22933 {
22934 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22935 result = (wxDateTime *) &_result_ref;
22936 }
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
c32bde28 22941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
22948static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
22949 int argc;
22950 PyObject *argv[3];
22951 int ii;
22952
22953 argc = PyObject_Length(args);
22954 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22955 argv[ii] = PyTuple_GetItem(args,ii);
22956 }
22957 if (argc == 2) {
22958 int _v;
22959 {
22960 void *ptr;
15afbcd0 22961 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
22962 _v = 0;
22963 PyErr_Clear();
22964 } else {
22965 _v = 1;
22966 }
22967 }
22968 if (_v) {
22969 {
093d3ff1 22970 void *ptr = 0;
15afbcd0 22971 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
22972 _v = 0;
22973 PyErr_Clear();
22974 } else {
093d3ff1 22975 _v = (ptr != 0);
d14a1e28
RD
22976 }
22977 }
22978 if (_v) {
22979 return _wrap_DateTime___isub____SWIG_0(self,args);
22980 }
22981 }
22982 }
22983 if (argc == 2) {
22984 int _v;
22985 {
22986 void *ptr;
15afbcd0 22987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
22988 _v = 0;
22989 PyErr_Clear();
22990 } else {
22991 _v = 1;
22992 }
22993 }
22994 if (_v) {
22995 {
093d3ff1 22996 void *ptr = 0;
15afbcd0 22997 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
22998 _v = 0;
22999 PyErr_Clear();
23000 } else {
093d3ff1 23001 _v = (ptr != 0);
d14a1e28
RD
23002 }
23003 }
23004 if (_v) {
23005 return _wrap_DateTime___isub____SWIG_1(self,args);
23006 }
23007 }
23008 }
23009
093d3ff1 23010 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d14a1e28
RD
23011 return NULL;
23012}
23013
23014
c32bde28 23015static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23016 PyObject *resultobj;
23017 wxDateTime *arg1 = (wxDateTime *) 0 ;
23018 wxTimeSpan *arg2 = 0 ;
23019 wxDateTime result;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022
23023 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23025 if (SWIG_arg_fail(1)) SWIG_fail;
23026 {
23027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23028 if (SWIG_arg_fail(2)) SWIG_fail;
23029 if (arg2 == NULL) {
23030 SWIG_null_ref("wxTimeSpan");
23031 }
23032 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23033 }
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 {
23042 wxDateTime * resultptr;
093d3ff1 23043 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 23044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
23045 }
23046 return resultobj;
23047 fail:
23048 return NULL;
23049}
23050
23051
c32bde28 23052static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23053 PyObject *resultobj;
23054 wxDateTime *arg1 = (wxDateTime *) 0 ;
23055 wxDateSpan *arg2 = 0 ;
23056 wxDateTime result;
23057 PyObject * obj0 = 0 ;
23058 PyObject * obj1 = 0 ;
23059
23060 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail;
23063 {
23064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23065 if (SWIG_arg_fail(2)) SWIG_fail;
23066 if (arg2 == NULL) {
23067 SWIG_null_ref("wxDateSpan");
23068 }
23069 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23070 }
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
23074
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 {
23079 wxDateTime * resultptr;
093d3ff1 23080 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 23081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
23082 }
23083 return resultobj;
23084 fail:
23085 return NULL;
23086}
23087
23088
23089static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
23090 int argc;
23091 PyObject *argv[3];
23092 int ii;
23093
23094 argc = PyObject_Length(args);
23095 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23096 argv[ii] = PyTuple_GetItem(args,ii);
23097 }
23098 if (argc == 2) {
23099 int _v;
23100 {
23101 void *ptr;
15afbcd0 23102 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23103 _v = 0;
23104 PyErr_Clear();
23105 } else {
23106 _v = 1;
23107 }
23108 }
23109 if (_v) {
23110 {
093d3ff1 23111 void *ptr = 0;
15afbcd0 23112 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
23113 _v = 0;
23114 PyErr_Clear();
23115 } else {
093d3ff1 23116 _v = (ptr != 0);
d14a1e28
RD
23117 }
23118 }
23119 if (_v) {
23120 return _wrap_DateTime___add____SWIG_0(self,args);
23121 }
23122 }
23123 }
23124 if (argc == 2) {
23125 int _v;
23126 {
23127 void *ptr;
15afbcd0 23128 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23129 _v = 0;
23130 PyErr_Clear();
23131 } else {
23132 _v = 1;
23133 }
23134 }
23135 if (_v) {
23136 {
093d3ff1 23137 void *ptr = 0;
15afbcd0 23138 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
23139 _v = 0;
23140 PyErr_Clear();
23141 } else {
093d3ff1 23142 _v = (ptr != 0);
d14a1e28
RD
23143 }
23144 }
23145 if (_v) {
23146 return _wrap_DateTime___add____SWIG_1(self,args);
23147 }
23148 }
23149 }
23150
093d3ff1
RD
23151 Py_INCREF(Py_NotImplemented);
23152 return Py_NotImplemented;
d14a1e28
RD
23153}
23154
23155
c32bde28 23156static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23157 PyObject *resultobj;
23158 wxDateTime *arg1 = (wxDateTime *) 0 ;
23159 wxDateTime *arg2 = 0 ;
23160 wxTimeSpan result;
23161 PyObject * obj0 = 0 ;
23162 PyObject * obj1 = 0 ;
23163
23164 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23166 if (SWIG_arg_fail(1)) SWIG_fail;
23167 {
23168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23169 if (SWIG_arg_fail(2)) SWIG_fail;
23170 if (arg2 == NULL) {
23171 SWIG_null_ref("wxDateTime");
23172 }
23173 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23174 }
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 {
23183 wxTimeSpan * resultptr;
093d3ff1 23184 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 23185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190}
23191
23192
c32bde28 23193static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
23194 PyObject *resultobj;
23195 wxDateTime *arg1 = (wxDateTime *) 0 ;
23196 wxTimeSpan *arg2 = 0 ;
23197 wxDateTime result;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200
23201 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail;
23204 {
23205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23206 if (SWIG_arg_fail(2)) SWIG_fail;
23207 if (arg2 == NULL) {
23208 SWIG_null_ref("wxTimeSpan");
23209 }
23210 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23211 }
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 wxDateTime * resultptr;
093d3ff1 23221 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 23222 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
23223 }
23224 return resultobj;
23225 fail:
23226 return NULL;
23227}
23228
23229
c32bde28 23230static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
23231 PyObject *resultobj;
23232 wxDateTime *arg1 = (wxDateTime *) 0 ;
23233 wxDateSpan *arg2 = 0 ;
23234 wxDateTime result;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237
23238 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23240 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 23241 {
093d3ff1
RD
23242 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23243 if (SWIG_arg_fail(2)) SWIG_fail;
23244 if (arg2 == NULL) {
23245 SWIG_null_ref("wxDateSpan");
23246 }
23247 if (SWIG_arg_fail(2)) SWIG_fail;
23248 }
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28
RD
23251 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 {
23257 wxDateTime * resultptr;
093d3ff1 23258 resultptr = new wxDateTime((wxDateTime &)(result));
15afbcd0 23259 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
23260 }
23261 return resultobj;
23262 fail:
23263 return NULL;
23264}
23265
23266
23267static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
23268 int argc;
23269 PyObject *argv[3];
23270 int ii;
23271
23272 argc = PyObject_Length(args);
23273 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23274 argv[ii] = PyTuple_GetItem(args,ii);
23275 }
23276 if (argc == 2) {
23277 int _v;
23278 {
23279 void *ptr;
15afbcd0 23280 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23281 _v = 0;
23282 PyErr_Clear();
23283 } else {
23284 _v = 1;
23285 }
23286 }
23287 if (_v) {
23288 {
093d3ff1 23289 void *ptr = 0;
15afbcd0 23290 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23291 _v = 0;
23292 PyErr_Clear();
23293 } else {
093d3ff1 23294 _v = (ptr != 0);
d14a1e28
RD
23295 }
23296 }
23297 if (_v) {
23298 return _wrap_DateTime___sub____SWIG_0(self,args);
23299 }
23300 }
23301 }
23302 if (argc == 2) {
23303 int _v;
23304 {
23305 void *ptr;
15afbcd0 23306 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23307 _v = 0;
23308 PyErr_Clear();
23309 } else {
23310 _v = 1;
23311 }
23312 }
23313 if (_v) {
23314 {
093d3ff1 23315 void *ptr = 0;
15afbcd0 23316 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
d14a1e28
RD
23317 _v = 0;
23318 PyErr_Clear();
23319 } else {
093d3ff1 23320 _v = (ptr != 0);
d14a1e28
RD
23321 }
23322 }
23323 if (_v) {
23324 return _wrap_DateTime___sub____SWIG_1(self,args);
23325 }
23326 }
23327 }
23328 if (argc == 2) {
23329 int _v;
23330 {
23331 void *ptr;
15afbcd0 23332 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
d14a1e28
RD
23333 _v = 0;
23334 PyErr_Clear();
23335 } else {
23336 _v = 1;
23337 }
23338 }
23339 if (_v) {
23340 {
093d3ff1 23341 void *ptr = 0;
15afbcd0 23342 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
d14a1e28
RD
23343 _v = 0;
23344 PyErr_Clear();
23345 } else {
093d3ff1 23346 _v = (ptr != 0);
d14a1e28
RD
23347 }
23348 }
23349 if (_v) {
23350 return _wrap_DateTime___sub____SWIG_2(self,args);
23351 }
23352 }
23353 }
23354
093d3ff1
RD
23355 Py_INCREF(Py_NotImplemented);
23356 return Py_NotImplemented;
d14a1e28
RD
23357}
23358
23359
fef4c27a 23360static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23361 PyObject *resultobj;
23362 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23363 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23364 bool result;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
fef4c27a
RD
23367 char *kwnames[] = {
23368 (char *) "self",(char *) "other", NULL
23369 };
d14a1e28 23370
fef4c27a 23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail;
23374 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23375 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23376 {
23377 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23378 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23379
23380 wxPyEndAllowThreads(__tstate);
23381 if (PyErr_Occurred()) SWIG_fail;
23382 }
4f89f6a3
RD
23383 {
23384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23385 }
d14a1e28
RD
23386 return resultobj;
23387 fail:
23388 return NULL;
23389}
23390
23391
fef4c27a 23392static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23393 PyObject *resultobj;
23394 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23395 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23396 bool result;
23397 PyObject * obj0 = 0 ;
23398 PyObject * obj1 = 0 ;
fef4c27a
RD
23399 char *kwnames[] = {
23400 (char *) "self",(char *) "other", NULL
23401 };
d14a1e28 23402
fef4c27a 23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23405 if (SWIG_arg_fail(1)) SWIG_fail;
23406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23407 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23410 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
4f89f6a3
RD
23415 {
23416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23417 }
d14a1e28
RD
23418 return resultobj;
23419 fail:
23420 return NULL;
23421}
23422
23423
fef4c27a 23424static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23425 PyObject *resultobj;
23426 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23427 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23428 bool result;
23429 PyObject * obj0 = 0 ;
23430 PyObject * obj1 = 0 ;
fef4c27a
RD
23431 char *kwnames[] = {
23432 (char *) "self",(char *) "other", NULL
23433 };
d14a1e28 23434
fef4c27a 23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail;
23438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23439 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23440 {
23441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23442 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
4f89f6a3
RD
23447 {
23448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23449 }
d14a1e28
RD
23450 return resultobj;
23451 fail:
23452 return NULL;
23453}
23454
23455
fef4c27a 23456static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23457 PyObject *resultobj;
23458 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23459 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23460 bool result;
23461 PyObject * obj0 = 0 ;
23462 PyObject * obj1 = 0 ;
fef4c27a
RD
23463 char *kwnames[] = {
23464 (char *) "self",(char *) "other", NULL
23465 };
d14a1e28 23466
fef4c27a 23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail;
23470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23471 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23474 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23475
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
4f89f6a3
RD
23479 {
23480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23481 }
d14a1e28
RD
23482 return resultobj;
23483 fail:
23484 return NULL;
23485}
23486
23487
fef4c27a 23488static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23489 PyObject *resultobj;
23490 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23491 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23492 bool result;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
fef4c27a
RD
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "other", NULL
23497 };
d14a1e28 23498
fef4c27a 23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail;
23502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23503 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23506 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
4f89f6a3
RD
23511 {
23512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23513 }
d14a1e28
RD
23514 return resultobj;
23515 fail:
23516 return NULL;
23517}
23518
23519
fef4c27a 23520static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23521 PyObject *resultobj;
23522 wxDateTime *arg1 = (wxDateTime *) 0 ;
22faec7d 23523 wxDateTime *arg2 = (wxDateTime *) 0 ;
d14a1e28
RD
23524 bool result;
23525 PyObject * obj0 = 0 ;
23526 PyObject * obj1 = 0 ;
fef4c27a
RD
23527 char *kwnames[] = {
23528 (char *) "self",(char *) "other", NULL
23529 };
d14a1e28 23530
fef4c27a 23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail;
23534 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23535 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23538 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
d14a1e28
RD
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
4f89f6a3
RD
23543 {
23544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23545 }
d14a1e28
RD
23546 return resultobj;
23547 fail:
23548 return NULL;
23549}
23550
23551
c32bde28 23552static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23553 PyObject *resultobj;
23554 wxDateTime *arg1 = (wxDateTime *) 0 ;
23555 wxString *arg2 = 0 ;
23556 int result;
ae8162c8 23557 bool temp2 = false ;
d14a1e28
RD
23558 PyObject * obj0 = 0 ;
23559 PyObject * obj1 = 0 ;
23560 char *kwnames[] = {
23561 (char *) "self",(char *) "date", NULL
23562 };
23563
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23567 {
23568 arg2 = wxString_in_helper(obj1);
23569 if (arg2 == NULL) SWIG_fail;
ae8162c8 23570 temp2 = true;
d14a1e28
RD
23571 }
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
23575
23576 wxPyEndAllowThreads(__tstate);
23577 if (PyErr_Occurred()) SWIG_fail;
23578 }
093d3ff1
RD
23579 {
23580 resultobj = SWIG_From_int((int)(result));
23581 }
d14a1e28
RD
23582 {
23583 if (temp2)
23584 delete arg2;
23585 }
23586 return resultobj;
23587 fail:
23588 {
23589 if (temp2)
23590 delete arg2;
23591 }
23592 return NULL;
23593}
23594
23595
c32bde28 23596static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23597 PyObject *resultobj;
23598 wxDateTime *arg1 = (wxDateTime *) 0 ;
23599 wxString *arg2 = 0 ;
7557b9b5 23600 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d14a1e28
RD
23601 wxString *arg3 = (wxString *) &arg3_defvalue ;
23602 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
23603 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
23604 int result;
ae8162c8
RD
23605 bool temp2 = false ;
23606 bool temp3 = false ;
d14a1e28
RD
23607 PyObject * obj0 = 0 ;
23608 PyObject * obj1 = 0 ;
23609 PyObject * obj2 = 0 ;
23610 PyObject * obj3 = 0 ;
23611 char *kwnames[] = {
23612 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23613 };
23614
23615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
23616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23617 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23618 {
23619 arg2 = wxString_in_helper(obj1);
23620 if (arg2 == NULL) SWIG_fail;
ae8162c8 23621 temp2 = true;
d14a1e28
RD
23622 }
23623 if (obj2) {
23624 {
23625 arg3 = wxString_in_helper(obj2);
23626 if (arg3 == NULL) SWIG_fail;
ae8162c8 23627 temp3 = true;
d14a1e28
RD
23628 }
23629 }
23630 if (obj3) {
093d3ff1
RD
23631 {
23632 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23633 if (SWIG_arg_fail(4)) SWIG_fail;
23634 if (arg4 == NULL) {
23635 SWIG_null_ref("wxDateTime");
23636 }
23637 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
23638 }
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
093d3ff1
RD
23647 {
23648 resultobj = SWIG_From_int((int)(result));
23649 }
d14a1e28
RD
23650 {
23651 if (temp2)
23652 delete arg2;
23653 }
23654 {
23655 if (temp3)
23656 delete arg3;
23657 }
23658 return resultobj;
23659 fail:
23660 {
23661 if (temp2)
23662 delete arg2;
23663 }
23664 {
23665 if (temp3)
23666 delete arg3;
23667 }
23668 return NULL;
23669}
23670
23671
c32bde28 23672static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23673 PyObject *resultobj;
23674 wxDateTime *arg1 = (wxDateTime *) 0 ;
23675 wxString *arg2 = 0 ;
23676 int result;
ae8162c8 23677 bool temp2 = false ;
d14a1e28
RD
23678 PyObject * obj0 = 0 ;
23679 PyObject * obj1 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self",(char *) "datetime", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23686 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23687 {
23688 arg2 = wxString_in_helper(obj1);
23689 if (arg2 == NULL) SWIG_fail;
ae8162c8 23690 temp2 = true;
d14a1e28
RD
23691 }
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
23695
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
093d3ff1
RD
23699 {
23700 resultobj = SWIG_From_int((int)(result));
23701 }
d14a1e28
RD
23702 {
23703 if (temp2)
23704 delete arg2;
23705 }
23706 return resultobj;
23707 fail:
23708 {
23709 if (temp2)
23710 delete arg2;
23711 }
23712 return NULL;
23713}
23714
23715
c32bde28 23716static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23717 PyObject *resultobj;
23718 wxDateTime *arg1 = (wxDateTime *) 0 ;
23719 wxString *arg2 = 0 ;
23720 int result;
ae8162c8 23721 bool temp2 = false ;
d14a1e28
RD
23722 PyObject * obj0 = 0 ;
23723 PyObject * obj1 = 0 ;
23724 char *kwnames[] = {
23725 (char *) "self",(char *) "date", NULL
23726 };
23727
23728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23731 {
23732 arg2 = wxString_in_helper(obj1);
23733 if (arg2 == NULL) SWIG_fail;
ae8162c8 23734 temp2 = true;
d14a1e28
RD
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
093d3ff1
RD
23743 {
23744 resultobj = SWIG_From_int((int)(result));
23745 }
d14a1e28
RD
23746 {
23747 if (temp2)
23748 delete arg2;
23749 }
23750 return resultobj;
23751 fail:
23752 {
23753 if (temp2)
23754 delete arg2;
23755 }
23756 return NULL;
23757}
23758
23759
c32bde28 23760static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23761 PyObject *resultobj;
23762 wxDateTime *arg1 = (wxDateTime *) 0 ;
23763 wxString *arg2 = 0 ;
23764 int result;
ae8162c8 23765 bool temp2 = false ;
d14a1e28
RD
23766 PyObject * obj0 = 0 ;
23767 PyObject * obj1 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "time", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23774 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23775 {
23776 arg2 = wxString_in_helper(obj1);
23777 if (arg2 == NULL) SWIG_fail;
ae8162c8 23778 temp2 = true;
d14a1e28
RD
23779 }
23780 {
23781 PyThreadState* __tstate = wxPyBeginAllowThreads();
23782 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
23783
23784 wxPyEndAllowThreads(__tstate);
23785 if (PyErr_Occurred()) SWIG_fail;
23786 }
093d3ff1
RD
23787 {
23788 resultobj = SWIG_From_int((int)(result));
23789 }
d14a1e28
RD
23790 {
23791 if (temp2)
23792 delete arg2;
23793 }
23794 return resultobj;
23795 fail:
23796 {
23797 if (temp2)
23798 delete arg2;
23799 }
23800 return NULL;
23801}
23802
23803
c32bde28 23804static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23805 PyObject *resultobj;
23806 wxDateTime *arg1 = (wxDateTime *) 0 ;
7557b9b5 23807 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d14a1e28
RD
23808 wxString *arg2 = (wxString *) &arg2_defvalue ;
23809 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23810 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23811 wxString result;
ae8162c8
RD
23812 bool temp2 = false ;
23813 bool temp3 = false ;
d14a1e28
RD
23814 PyObject * obj0 = 0 ;
23815 PyObject * obj1 = 0 ;
23816 PyObject * obj2 = 0 ;
23817 char *kwnames[] = {
23818 (char *) "self",(char *) "format",(char *) "tz", NULL
23819 };
23820
23821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23823 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23824 if (obj1) {
23825 {
23826 arg2 = wxString_in_helper(obj1);
23827 if (arg2 == NULL) SWIG_fail;
ae8162c8 23828 temp2 = true;
d14a1e28
RD
23829 }
23830 }
23831 if (obj2) {
23832 {
23833 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23834 temp3 = true;
d14a1e28
RD
23835 }
23836 }
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
23840
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 {
23845#if wxUSE_UNICODE
23846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23847#else
23848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23849#endif
23850 }
23851 {
23852 if (temp2)
23853 delete arg2;
23854 }
23855 {
7722248d 23856 if (temp3) delete arg3;
d14a1e28
RD
23857 }
23858 return resultobj;
23859 fail:
23860 {
23861 if (temp2)
23862 delete arg2;
23863 }
23864 {
7722248d 23865 if (temp3) delete arg3;
d14a1e28
RD
23866 }
23867 return NULL;
23868}
23869
23870
c32bde28 23871static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23872 PyObject *resultobj;
23873 wxDateTime *arg1 = (wxDateTime *) 0 ;
23874 wxString result;
23875 PyObject * obj0 = 0 ;
23876 char *kwnames[] = {
23877 (char *) "self", NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = ((wxDateTime const *)arg1)->FormatDate();
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 {
23891#if wxUSE_UNICODE
23892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23893#else
23894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23895#endif
23896 }
23897 return resultobj;
23898 fail:
23899 return NULL;
23900}
23901
23902
c32bde28 23903static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23904 PyObject *resultobj;
23905 wxDateTime *arg1 = (wxDateTime *) 0 ;
23906 wxString result;
23907 PyObject * obj0 = 0 ;
23908 char *kwnames[] = {
23909 (char *) "self", NULL
23910 };
23911
23912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23914 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23915 {
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = ((wxDateTime const *)arg1)->FormatTime();
23918
23919 wxPyEndAllowThreads(__tstate);
23920 if (PyErr_Occurred()) SWIG_fail;
23921 }
23922 {
23923#if wxUSE_UNICODE
23924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23925#else
23926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23927#endif
23928 }
23929 return resultobj;
23930 fail:
23931 return NULL;
23932}
23933
23934
c32bde28 23935static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23936 PyObject *resultobj;
23937 wxDateTime *arg1 = (wxDateTime *) 0 ;
23938 wxString result;
23939 PyObject * obj0 = 0 ;
23940 char *kwnames[] = {
23941 (char *) "self", NULL
23942 };
23943
23944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23946 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 result = ((wxDateTime const *)arg1)->FormatISODate();
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 {
23955#if wxUSE_UNICODE
23956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23957#else
23958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23959#endif
23960 }
23961 return resultobj;
23962 fail:
23963 return NULL;
23964}
23965
23966
c32bde28 23967static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23968 PyObject *resultobj;
23969 wxDateTime *arg1 = (wxDateTime *) 0 ;
23970 wxString result;
23971 PyObject * obj0 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
23977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = ((wxDateTime const *)arg1)->FormatISOTime();
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 {
23987#if wxUSE_UNICODE
23988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23989#else
23990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23991#endif
23992 }
23993 return resultobj;
23994 fail:
23995 return NULL;
23996}
23997
23998
c32bde28 23999static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24000 PyObject *obj;
24001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24002 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
24003 Py_INCREF(obj);
24004 return Py_BuildValue((char *)"");
24005}
c32bde28 24006static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24007 PyObject *resultobj;
24008 long arg1 ;
24009 wxTimeSpan result;
994141e6 24010 PyObject * obj0 = 0 ;
d14a1e28
RD
24011 char *kwnames[] = {
24012 (char *) "sec", NULL
24013 };
24014
994141e6 24015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
24016 {
24017 arg1 = (long)(SWIG_As_long(obj0));
24018 if (SWIG_arg_fail(1)) SWIG_fail;
24019 }
d14a1e28
RD
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = wxTimeSpan::Seconds(arg1);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 wxTimeSpan * resultptr;
093d3ff1 24029 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24031 }
24032 return resultobj;
24033 fail:
24034 return NULL;
24035}
24036
24037
c32bde28 24038static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24039 PyObject *resultobj;
24040 wxTimeSpan result;
24041 char *kwnames[] = {
24042 NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
24046 {
24047 PyThreadState* __tstate = wxPyBeginAllowThreads();
24048 result = wxTimeSpan::Second();
24049
24050 wxPyEndAllowThreads(__tstate);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 {
24054 wxTimeSpan * resultptr;
093d3ff1 24055 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24057 }
24058 return resultobj;
24059 fail:
24060 return NULL;
24061}
24062
24063
c32bde28 24064static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24065 PyObject *resultobj;
24066 long arg1 ;
24067 wxTimeSpan result;
994141e6 24068 PyObject * obj0 = 0 ;
d14a1e28
RD
24069 char *kwnames[] = {
24070 (char *) "min", NULL
24071 };
24072
994141e6 24073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
24074 {
24075 arg1 = (long)(SWIG_As_long(obj0));
24076 if (SWIG_arg_fail(1)) SWIG_fail;
24077 }
d14a1e28
RD
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 result = wxTimeSpan::Minutes(arg1);
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 {
24086 wxTimeSpan * resultptr;
093d3ff1 24087 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24089 }
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
c32bde28 24096static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24097 PyObject *resultobj;
24098 wxTimeSpan result;
24099 char *kwnames[] = {
24100 NULL
24101 };
24102
24103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 result = wxTimeSpan::Minute();
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 {
24112 wxTimeSpan * resultptr;
093d3ff1 24113 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24115 }
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
c32bde28 24122static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24123 PyObject *resultobj;
24124 long arg1 ;
24125 wxTimeSpan result;
994141e6 24126 PyObject * obj0 = 0 ;
d14a1e28
RD
24127 char *kwnames[] = {
24128 (char *) "hours", NULL
24129 };
24130
994141e6 24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1
RD
24132 {
24133 arg1 = (long)(SWIG_As_long(obj0));
24134 if (SWIG_arg_fail(1)) SWIG_fail;
24135 }
d14a1e28
RD
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 result = wxTimeSpan::Hours(arg1);
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
24143 {
24144 wxTimeSpan * resultptr;
093d3ff1 24145 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24147 }
24148 return resultobj;
24149 fail:
24150 return NULL;
24151}
24152
24153
c32bde28 24154static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24155 PyObject *resultobj;
24156 wxTimeSpan result;
24157 char *kwnames[] = {
24158 NULL
24159 };
24160
24161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 result = wxTimeSpan::Hour();
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 {
24170 wxTimeSpan * resultptr;
093d3ff1 24171 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177}
24178
24179
c32bde28 24180static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24181 PyObject *resultobj;
24182 long arg1 ;
24183 wxTimeSpan result;
994141e6 24184 PyObject * obj0 = 0 ;
d14a1e28
RD
24185 char *kwnames[] = {
24186 (char *) "days", NULL
24187 };
24188
994141e6 24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
24190 {
24191 arg1 = (long)(SWIG_As_long(obj0));
24192 if (SWIG_arg_fail(1)) SWIG_fail;
24193 }
d14a1e28
RD
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = wxTimeSpan::Days(arg1);
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 wxTimeSpan * resultptr;
093d3ff1 24203 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24204 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24205 }
24206 return resultobj;
24207 fail:
24208 return NULL;
24209}
24210
24211
c32bde28 24212static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24213 PyObject *resultobj;
24214 wxTimeSpan result;
24215 char *kwnames[] = {
24216 NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = wxTimeSpan::Day();
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 {
24228 wxTimeSpan * resultptr;
093d3ff1 24229 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
c32bde28 24238static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24239 PyObject *resultobj;
24240 long arg1 ;
24241 wxTimeSpan result;
994141e6 24242 PyObject * obj0 = 0 ;
d14a1e28
RD
24243 char *kwnames[] = {
24244 (char *) "days", NULL
24245 };
24246
994141e6 24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
24248 {
24249 arg1 = (long)(SWIG_As_long(obj0));
24250 if (SWIG_arg_fail(1)) SWIG_fail;
24251 }
d14a1e28
RD
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = wxTimeSpan::Weeks(arg1);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 wxTimeSpan * resultptr;
093d3ff1 24261 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24263 }
24264 return resultobj;
24265 fail:
24266 return NULL;
24267}
24268
24269
c32bde28 24270static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24271 PyObject *resultobj;
24272 wxTimeSpan result;
24273 char *kwnames[] = {
24274 NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 result = wxTimeSpan::Week();
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 {
24286 wxTimeSpan * resultptr;
093d3ff1 24287 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24289 }
24290 return resultobj;
24291 fail:
24292 return NULL;
24293}
24294
24295
c32bde28 24296static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24297 PyObject *resultobj;
24298 long arg1 = (long) 0 ;
24299 long arg2 = (long) 0 ;
24300 long arg3 = (long) 0 ;
24301 long arg4 = (long) 0 ;
24302 wxTimeSpan *result;
994141e6
RD
24303 PyObject * obj0 = 0 ;
24304 PyObject * obj1 = 0 ;
24305 PyObject * obj2 = 0 ;
24306 PyObject * obj3 = 0 ;
d14a1e28
RD
24307 char *kwnames[] = {
24308 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24309 };
24310
994141e6
RD
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24312 if (obj0) {
093d3ff1
RD
24313 {
24314 arg1 = (long)(SWIG_As_long(obj0));
24315 if (SWIG_arg_fail(1)) SWIG_fail;
24316 }
994141e6
RD
24317 }
24318 if (obj1) {
093d3ff1
RD
24319 {
24320 arg2 = (long)(SWIG_As_long(obj1));
24321 if (SWIG_arg_fail(2)) SWIG_fail;
24322 }
994141e6
RD
24323 }
24324 if (obj2) {
093d3ff1
RD
24325 {
24326 arg3 = (long)(SWIG_As_long(obj2));
24327 if (SWIG_arg_fail(3)) SWIG_fail;
24328 }
994141e6
RD
24329 }
24330 if (obj3) {
093d3ff1
RD
24331 {
24332 arg4 = (long)(SWIG_As_long(obj3));
24333 if (SWIG_arg_fail(4)) SWIG_fail;
24334 }
994141e6 24335 }
d14a1e28
RD
24336 {
24337 PyThreadState* __tstate = wxPyBeginAllowThreads();
24338 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
24339
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
15afbcd0 24343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24344 return resultobj;
24345 fail:
24346 return NULL;
24347}
24348
24349
c32bde28 24350static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24351 PyObject *resultobj;
24352 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24353 PyObject * obj0 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
24359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24361 {
24362 PyThreadState* __tstate = wxPyBeginAllowThreads();
24363 delete arg1;
24364
24365 wxPyEndAllowThreads(__tstate);
24366 if (PyErr_Occurred()) SWIG_fail;
24367 }
24368 Py_INCREF(Py_None); resultobj = Py_None;
24369 return resultobj;
24370 fail:
24371 return NULL;
24372}
24373
24374
c32bde28 24375static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24376 PyObject *resultobj;
24377 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24378 wxTimeSpan *arg2 = 0 ;
24379 wxTimeSpan *result;
24380 PyObject * obj0 = 0 ;
24381 PyObject * obj1 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self",(char *) "diff", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24388 if (SWIG_arg_fail(1)) SWIG_fail;
24389 {
24390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24391 if (SWIG_arg_fail(2)) SWIG_fail;
24392 if (arg2 == NULL) {
24393 SWIG_null_ref("wxTimeSpan");
24394 }
24395 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24396 }
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 {
24400 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
24401 result = (wxTimeSpan *) &_result_ref;
24402 }
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
15afbcd0 24407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
24408 return resultobj;
24409 fail:
24410 return NULL;
24411}
24412
24413
c32bde28 24414static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24415 PyObject *resultobj;
24416 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24417 wxTimeSpan *arg2 = 0 ;
24418 wxTimeSpan *result;
24419 PyObject * obj0 = 0 ;
24420 PyObject * obj1 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "self",(char *) "diff", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24427 if (SWIG_arg_fail(1)) SWIG_fail;
24428 {
24429 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24430 if (SWIG_arg_fail(2)) SWIG_fail;
24431 if (arg2 == NULL) {
24432 SWIG_null_ref("wxTimeSpan");
24433 }
24434 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24435 }
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 {
24439 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
24440 result = (wxTimeSpan *) &_result_ref;
24441 }
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
15afbcd0 24446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
24447 return resultobj;
24448 fail:
24449 return NULL;
24450}
24451
24452
c32bde28 24453static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24454 PyObject *resultobj;
24455 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24456 int arg2 ;
24457 wxTimeSpan *result;
24458 PyObject * obj0 = 0 ;
994141e6 24459 PyObject * obj1 = 0 ;
d14a1e28
RD
24460 char *kwnames[] = {
24461 (char *) "self",(char *) "n", NULL
24462 };
24463
994141e6 24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24466 if (SWIG_arg_fail(1)) SWIG_fail;
24467 {
24468 arg2 = (int)(SWIG_As_int(obj1));
24469 if (SWIG_arg_fail(2)) SWIG_fail;
24470 }
d14a1e28
RD
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 {
24474 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
24475 result = (wxTimeSpan *) &_result_ref;
24476 }
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
15afbcd0 24481 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
24482 return resultobj;
24483 fail:
24484 return NULL;
24485}
24486
24487
c32bde28 24488static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24489 PyObject *resultobj;
24490 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24491 wxTimeSpan *result;
24492 PyObject * obj0 = 0 ;
24493 char *kwnames[] = {
24494 (char *) "self", NULL
24495 };
24496
24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
24498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 {
24503 wxTimeSpan &_result_ref = (arg1)->Neg();
24504 result = (wxTimeSpan *) &_result_ref;
24505 }
24506
24507 wxPyEndAllowThreads(__tstate);
24508 if (PyErr_Occurred()) SWIG_fail;
24509 }
15afbcd0 24510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
24511 return resultobj;
24512 fail:
24513 return NULL;
24514}
24515
24516
c32bde28 24517static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24518 PyObject *resultobj;
24519 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24520 wxTimeSpan result;
24521 PyObject * obj0 = 0 ;
24522 char *kwnames[] = {
24523 (char *) "self", NULL
24524 };
24525
24526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
24527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24528 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 result = ((wxTimeSpan const *)arg1)->Abs();
24532
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 {
24537 wxTimeSpan * resultptr;
093d3ff1 24538 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24539 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24540 }
24541 return resultobj;
24542 fail:
24543 return NULL;
24544}
24545
24546
c32bde28 24547static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24548 PyObject *resultobj;
24549 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24550 wxTimeSpan *arg2 = 0 ;
24551 wxTimeSpan *result;
24552 PyObject * obj0 = 0 ;
24553 PyObject * obj1 = 0 ;
24554 char *kwnames[] = {
24555 (char *) "self",(char *) "diff", NULL
24556 };
24557
24558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24560 if (SWIG_arg_fail(1)) SWIG_fail;
24561 {
24562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail;
24564 if (arg2 == NULL) {
24565 SWIG_null_ref("wxTimeSpan");
24566 }
24567 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24568 }
24569 {
24570 PyThreadState* __tstate = wxPyBeginAllowThreads();
24571 {
24572 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
24573 result = (wxTimeSpan *) &_result_ref;
24574 }
24575
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
c32bde28 24579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24580 return resultobj;
24581 fail:
24582 return NULL;
24583}
24584
24585
c32bde28 24586static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24587 PyObject *resultobj;
24588 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24589 wxTimeSpan *arg2 = 0 ;
24590 wxTimeSpan *result;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "self",(char *) "diff", NULL
24595 };
24596
24597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24599 if (SWIG_arg_fail(1)) SWIG_fail;
24600 {
24601 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24602 if (SWIG_arg_fail(2)) SWIG_fail;
24603 if (arg2 == NULL) {
24604 SWIG_null_ref("wxTimeSpan");
24605 }
24606 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24607 }
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 {
24611 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
24612 result = (wxTimeSpan *) &_result_ref;
24613 }
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
c32bde28 24618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
c32bde28 24625static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24626 PyObject *resultobj;
24627 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24628 int arg2 ;
24629 wxTimeSpan *result;
24630 PyObject * obj0 = 0 ;
994141e6 24631 PyObject * obj1 = 0 ;
d14a1e28
RD
24632 char *kwnames[] = {
24633 (char *) "self",(char *) "n", NULL
24634 };
24635
994141e6 24636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24638 if (SWIG_arg_fail(1)) SWIG_fail;
24639 {
24640 arg2 = (int)(SWIG_As_int(obj1));
24641 if (SWIG_arg_fail(2)) SWIG_fail;
24642 }
d14a1e28
RD
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 {
24646 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
24647 result = (wxTimeSpan *) &_result_ref;
24648 }
24649
24650 wxPyEndAllowThreads(__tstate);
24651 if (PyErr_Occurred()) SWIG_fail;
24652 }
c32bde28 24653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24654 return resultobj;
24655 fail:
24656 return NULL;
24657}
24658
24659
c32bde28 24660static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24661 PyObject *resultobj;
24662 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24663 wxTimeSpan *result;
24664 PyObject * obj0 = 0 ;
24665 char *kwnames[] = {
24666 (char *) "self", NULL
24667 };
24668
24669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
24670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24671 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24672 {
24673 PyThreadState* __tstate = wxPyBeginAllowThreads();
24674 {
24675 wxTimeSpan &_result_ref = (arg1)->operator -();
24676 result = (wxTimeSpan *) &_result_ref;
24677 }
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
15afbcd0 24682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
d14a1e28
RD
24683 return resultobj;
24684 fail:
24685 return NULL;
24686}
24687
24688
c32bde28 24689static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24690 PyObject *resultobj;
24691 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24692 wxTimeSpan *arg2 = 0 ;
24693 wxTimeSpan result;
24694 PyObject * obj0 = 0 ;
24695 PyObject * obj1 = 0 ;
24696 char *kwnames[] = {
24697 (char *) "self",(char *) "other", NULL
24698 };
24699
24700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24702 if (SWIG_arg_fail(1)) SWIG_fail;
24703 {
24704 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24705 if (SWIG_arg_fail(2)) SWIG_fail;
24706 if (arg2 == NULL) {
24707 SWIG_null_ref("wxTimeSpan");
24708 }
24709 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24710 }
24711 {
24712 PyThreadState* __tstate = wxPyBeginAllowThreads();
24713 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
24714
24715 wxPyEndAllowThreads(__tstate);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 }
24718 {
24719 wxTimeSpan * resultptr;
093d3ff1 24720 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24722 }
24723 return resultobj;
24724 fail:
24725 return NULL;
24726}
24727
24728
c32bde28 24729static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24730 PyObject *resultobj;
24731 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24732 wxTimeSpan *arg2 = 0 ;
24733 wxTimeSpan result;
24734 PyObject * obj0 = 0 ;
24735 PyObject * obj1 = 0 ;
24736 char *kwnames[] = {
24737 (char *) "self",(char *) "other", NULL
24738 };
24739
24740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24742 if (SWIG_arg_fail(1)) SWIG_fail;
24743 {
24744 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24745 if (SWIG_arg_fail(2)) SWIG_fail;
24746 if (arg2 == NULL) {
24747 SWIG_null_ref("wxTimeSpan");
24748 }
24749 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24750 }
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 {
24759 wxTimeSpan * resultptr;
093d3ff1 24760 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24761 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24762 }
24763 return resultobj;
24764 fail:
24765 return NULL;
24766}
24767
24768
c32bde28 24769static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24770 PyObject *resultobj;
24771 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24772 int arg2 ;
24773 wxTimeSpan result;
24774 PyObject * obj0 = 0 ;
994141e6 24775 PyObject * obj1 = 0 ;
d14a1e28
RD
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "n", NULL
24778 };
24779
994141e6 24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail;
24783 {
24784 arg2 = (int)(SWIG_As_int(obj1));
24785 if (SWIG_arg_fail(2)) SWIG_fail;
24786 }
d14a1e28
RD
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = wxTimeSpan___mul__(arg1,arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 {
24795 wxTimeSpan * resultptr;
093d3ff1 24796 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24798 }
24799 return resultobj;
24800 fail:
24801 return NULL;
24802}
24803
24804
c32bde28 24805static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24806 PyObject *resultobj;
24807 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24808 int arg2 ;
24809 wxTimeSpan result;
24810 PyObject * obj0 = 0 ;
994141e6 24811 PyObject * obj1 = 0 ;
d14a1e28
RD
24812 char *kwnames[] = {
24813 (char *) "self",(char *) "n", NULL
24814 };
24815
994141e6 24816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24818 if (SWIG_arg_fail(1)) SWIG_fail;
24819 {
24820 arg2 = (int)(SWIG_As_int(obj1));
24821 if (SWIG_arg_fail(2)) SWIG_fail;
24822 }
d14a1e28
RD
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 result = wxTimeSpan___rmul__(arg1,arg2);
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
24830 {
24831 wxTimeSpan * resultptr;
093d3ff1 24832 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
15afbcd0 24833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
d14a1e28
RD
24834 }
24835 return resultobj;
24836 fail:
24837 return NULL;
24838}
24839
24840
c32bde28 24841static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24842 PyObject *resultobj;
24843 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 24844 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
24845 bool result;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "self",(char *) "other", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail;
24855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24856 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24859 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
4f89f6a3
RD
24864 {
24865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24866 }
d14a1e28
RD
24867 return resultobj;
24868 fail:
24869 return NULL;
24870}
24871
24872
c32bde28 24873static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24874 PyObject *resultobj;
24875 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 24876 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
24877 bool result;
24878 PyObject * obj0 = 0 ;
24879 PyObject * obj1 = 0 ;
24880 char *kwnames[] = {
24881 (char *) "self",(char *) "other", NULL
24882 };
24883
24884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail;
24887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24888 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24891 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
4f89f6a3
RD
24896 {
24897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24898 }
d14a1e28
RD
24899 return resultobj;
24900 fail:
24901 return NULL;
24902}
24903
24904
c32bde28 24905static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24906 PyObject *resultobj;
24907 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 24908 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
24909 bool result;
24910 PyObject * obj0 = 0 ;
24911 PyObject * obj1 = 0 ;
24912 char *kwnames[] = {
24913 (char *) "self",(char *) "other", NULL
24914 };
24915
24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail;
24919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24920 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24923 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
4f89f6a3
RD
24928 {
24929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24930 }
d14a1e28
RD
24931 return resultobj;
24932 fail:
24933 return NULL;
24934}
24935
24936
c32bde28 24937static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24938 PyObject *resultobj;
24939 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 24940 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
24941 bool result;
24942 PyObject * obj0 = 0 ;
24943 PyObject * obj1 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "other", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail;
24951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24952 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24953 {
24954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24955 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
24956
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
4f89f6a3
RD
24960 {
24961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24962 }
d14a1e28
RD
24963 return resultobj;
24964 fail:
24965 return NULL;
24966}
24967
24968
c32bde28 24969static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24970 PyObject *resultobj;
24971 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 24972 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
24973 bool result;
24974 PyObject * obj0 = 0 ;
24975 PyObject * obj1 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self",(char *) "other", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24982 if (SWIG_arg_fail(1)) SWIG_fail;
24983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24984 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24985 {
24986 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 24987 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
24988
24989 wxPyEndAllowThreads(__tstate);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
4f89f6a3
RD
24992 {
24993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24994 }
d14a1e28
RD
24995 return resultobj;
24996 fail:
24997 return NULL;
24998}
24999
25000
c32bde28 25001static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25002 PyObject *resultobj;
25003 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22faec7d 25004 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
d14a1e28
RD
25005 bool result;
25006 PyObject * obj0 = 0 ;
25007 PyObject * obj1 = 0 ;
25008 char *kwnames[] = {
25009 (char *) "self",(char *) "other", NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25014 if (SWIG_arg_fail(1)) SWIG_fail;
25015 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 25019 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
d14a1e28
RD
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
4f89f6a3
RD
25024 {
25025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25026 }
d14a1e28
RD
25027 return resultobj;
25028 fail:
25029 return NULL;
25030}
25031
25032
c32bde28 25033static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25034 PyObject *resultobj;
25035 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25036 bool result;
25037 PyObject * obj0 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self", NULL
25040 };
25041
25042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
25043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25045 {
25046 PyThreadState* __tstate = wxPyBeginAllowThreads();
25047 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
25048
25049 wxPyEndAllowThreads(__tstate);
25050 if (PyErr_Occurred()) SWIG_fail;
25051 }
4f89f6a3
RD
25052 {
25053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25054 }
d14a1e28
RD
25055 return resultobj;
25056 fail:
25057 return NULL;
25058}
25059
25060
c32bde28 25061static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25062 PyObject *resultobj;
25063 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25064 bool result;
25065 PyObject * obj0 = 0 ;
25066 char *kwnames[] = {
25067 (char *) "self", NULL
25068 };
25069
25070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
25071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25072 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25073 {
25074 PyThreadState* __tstate = wxPyBeginAllowThreads();
25075 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
25076
25077 wxPyEndAllowThreads(__tstate);
25078 if (PyErr_Occurred()) SWIG_fail;
25079 }
4f89f6a3
RD
25080 {
25081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25082 }
d14a1e28
RD
25083 return resultobj;
25084 fail:
25085 return NULL;
25086}
25087
25088
c32bde28 25089static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25090 PyObject *resultobj;
25091 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25092 bool result;
25093 PyObject * obj0 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
25099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
4f89f6a3
RD
25108 {
25109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25110 }
d14a1e28
RD
25111 return resultobj;
25112 fail:
25113 return NULL;
25114}
25115
25116
c32bde28 25117static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25118 PyObject *resultobj;
25119 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25120 wxTimeSpan *arg2 = 0 ;
25121 bool result;
25122 PyObject * obj0 = 0 ;
25123 PyObject * obj1 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "ts", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25130 if (SWIG_arg_fail(1)) SWIG_fail;
25131 {
25132 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25133 if (SWIG_arg_fail(2)) SWIG_fail;
25134 if (arg2 == NULL) {
25135 SWIG_null_ref("wxTimeSpan");
25136 }
25137 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25138 }
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
4f89f6a3
RD
25146 {
25147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25148 }
d14a1e28
RD
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
c32bde28 25155static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25156 PyObject *resultobj;
25157 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25158 wxTimeSpan *arg2 = 0 ;
25159 bool result;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "ts", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail;
25169 {
25170 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25171 if (SWIG_arg_fail(2)) SWIG_fail;
25172 if (arg2 == NULL) {
25173 SWIG_null_ref("wxTimeSpan");
25174 }
25175 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25176 }
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
4f89f6a3
RD
25184 {
25185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25186 }
d14a1e28
RD
25187 return resultobj;
25188 fail:
25189 return NULL;
25190}
25191
25192
c32bde28 25193static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25194 PyObject *resultobj;
25195 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25196 wxTimeSpan *arg2 = 0 ;
25197 bool result;
25198 PyObject * obj0 = 0 ;
25199 PyObject * obj1 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self",(char *) "t", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail;
25207 {
25208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25209 if (SWIG_arg_fail(2)) SWIG_fail;
25210 if (arg2 == NULL) {
25211 SWIG_null_ref("wxTimeSpan");
25212 }
25213 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25214 }
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
4f89f6a3
RD
25222 {
25223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25224 }
d14a1e28
RD
25225 return resultobj;
25226 fail:
25227 return NULL;
25228}
25229
25230
c32bde28 25231static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25232 PyObject *resultobj;
25233 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25234 int result;
25235 PyObject * obj0 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
093d3ff1
RD
25250 {
25251 resultobj = SWIG_From_int((int)(result));
25252 }
d14a1e28
RD
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
c32bde28 25259static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25260 PyObject *resultobj;
25261 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25262 int result;
25263 PyObject * obj0 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
25269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 result = (int)((wxTimeSpan const *)arg1)->GetDays();
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
093d3ff1
RD
25278 {
25279 resultobj = SWIG_From_int((int)(result));
25280 }
d14a1e28
RD
25281 return resultobj;
25282 fail:
25283 return NULL;
25284}
25285
25286
c32bde28 25287static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25288 PyObject *resultobj;
25289 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25290 int result;
25291 PyObject * obj0 = 0 ;
25292 char *kwnames[] = {
25293 (char *) "self", NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
25297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (int)((wxTimeSpan const *)arg1)->GetHours();
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
093d3ff1
RD
25306 {
25307 resultobj = SWIG_From_int((int)(result));
25308 }
d14a1e28
RD
25309 return resultobj;
25310 fail:
25311 return NULL;
25312}
25313
25314
c32bde28 25315static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25316 PyObject *resultobj;
25317 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25318 int result;
25319 PyObject * obj0 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "self", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
25325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25327 {
25328 PyThreadState* __tstate = wxPyBeginAllowThreads();
25329 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
25330
25331 wxPyEndAllowThreads(__tstate);
25332 if (PyErr_Occurred()) SWIG_fail;
25333 }
093d3ff1
RD
25334 {
25335 resultobj = SWIG_From_int((int)(result));
25336 }
d14a1e28
RD
25337 return resultobj;
25338 fail:
25339 return NULL;
25340}
25341
25342
c32bde28 25343static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25344 PyObject *resultobj;
25345 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25346 wxLongLong result;
25347 PyObject * obj0 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25354 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 result = ((wxTimeSpan const *)arg1)->GetSeconds();
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 {
25363 PyObject *hi, *lo, *shifter, *shifted;
25364 hi = PyLong_FromLong( (&result)->GetHi() );
25365 lo = PyLong_FromLong( (&result)->GetLo() );
25366 shifter = PyLong_FromLong(32);
25367 shifted = PyNumber_Lshift(hi, shifter);
25368 resultobj = PyNumber_Or(shifted, lo);
25369 Py_DECREF(hi);
25370 Py_DECREF(lo);
25371 Py_DECREF(shifter);
25372 Py_DECREF(shifted);
25373 }
25374 return resultobj;
25375 fail:
25376 return NULL;
25377}
25378
25379
c32bde28 25380static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25381 PyObject *resultobj;
25382 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25383 wxLongLong result;
25384 PyObject * obj0 = 0 ;
25385 char *kwnames[] = {
25386 (char *) "self", NULL
25387 };
25388
25389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
25390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25392 {
25393 PyThreadState* __tstate = wxPyBeginAllowThreads();
25394 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 {
25400 PyObject *hi, *lo, *shifter, *shifted;
25401 hi = PyLong_FromLong( (&result)->GetHi() );
25402 lo = PyLong_FromLong( (&result)->GetLo() );
25403 shifter = PyLong_FromLong(32);
25404 shifted = PyNumber_Lshift(hi, shifter);
25405 resultobj = PyNumber_Or(shifted, lo);
25406 Py_DECREF(hi);
25407 Py_DECREF(lo);
25408 Py_DECREF(shifter);
25409 Py_DECREF(shifted);
25410 }
25411 return resultobj;
25412 fail:
25413 return NULL;
25414}
25415
25416
c32bde28 25417static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25418 PyObject *resultobj;
25419 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
7557b9b5 25420 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d14a1e28
RD
25421 wxString *arg2 = (wxString *) &arg2_defvalue ;
25422 wxString result;
ae8162c8 25423 bool temp2 = false ;
d14a1e28
RD
25424 PyObject * obj0 = 0 ;
25425 PyObject * obj1 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "format", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25433 if (obj1) {
25434 {
25435 arg2 = wxString_in_helper(obj1);
25436 if (arg2 == NULL) SWIG_fail;
ae8162c8 25437 temp2 = true;
d14a1e28
RD
25438 }
25439 }
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 {
25448#if wxUSE_UNICODE
25449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25450#else
25451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25452#endif
25453 }
25454 {
25455 if (temp2)
25456 delete arg2;
25457 }
25458 return resultobj;
25459 fail:
25460 {
25461 if (temp2)
25462 delete arg2;
25463 }
25464 return NULL;
25465}
25466
25467
c32bde28 25468static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25469 PyObject *obj;
25470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25471 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
25472 Py_INCREF(obj);
25473 return Py_BuildValue((char *)"");
25474}
c32bde28 25475static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25476 PyObject *resultobj;
25477 int arg1 = (int) 0 ;
25478 int arg2 = (int) 0 ;
25479 int arg3 = (int) 0 ;
25480 int arg4 = (int) 0 ;
25481 wxDateSpan *result;
994141e6
RD
25482 PyObject * obj0 = 0 ;
25483 PyObject * obj1 = 0 ;
25484 PyObject * obj2 = 0 ;
25485 PyObject * obj3 = 0 ;
d14a1e28
RD
25486 char *kwnames[] = {
25487 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25488 };
25489
994141e6
RD
25490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25491 if (obj0) {
093d3ff1
RD
25492 {
25493 arg1 = (int)(SWIG_As_int(obj0));
25494 if (SWIG_arg_fail(1)) SWIG_fail;
25495 }
994141e6
RD
25496 }
25497 if (obj1) {
093d3ff1
RD
25498 {
25499 arg2 = (int)(SWIG_As_int(obj1));
25500 if (SWIG_arg_fail(2)) SWIG_fail;
25501 }
994141e6
RD
25502 }
25503 if (obj2) {
093d3ff1
RD
25504 {
25505 arg3 = (int)(SWIG_As_int(obj2));
25506 if (SWIG_arg_fail(3)) SWIG_fail;
25507 }
994141e6
RD
25508 }
25509 if (obj3) {
093d3ff1
RD
25510 {
25511 arg4 = (int)(SWIG_As_int(obj3));
25512 if (SWIG_arg_fail(4)) SWIG_fail;
25513 }
994141e6 25514 }
d14a1e28
RD
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
25518
25519 wxPyEndAllowThreads(__tstate);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
15afbcd0 25522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25523 return resultobj;
25524 fail:
25525 return NULL;
25526}
25527
25528
c32bde28 25529static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25530 PyObject *resultobj;
25531 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25532 PyObject * obj0 = 0 ;
25533 char *kwnames[] = {
25534 (char *) "self", NULL
25535 };
25536
25537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25540 {
25541 PyThreadState* __tstate = wxPyBeginAllowThreads();
25542 delete arg1;
25543
25544 wxPyEndAllowThreads(__tstate);
25545 if (PyErr_Occurred()) SWIG_fail;
25546 }
25547 Py_INCREF(Py_None); resultobj = Py_None;
25548 return resultobj;
25549 fail:
25550 return NULL;
25551}
25552
25553
c32bde28 25554static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25555 PyObject *resultobj;
25556 int arg1 ;
25557 wxDateSpan result;
994141e6 25558 PyObject * obj0 = 0 ;
d14a1e28
RD
25559 char *kwnames[] = {
25560 (char *) "days", NULL
25561 };
25562
994141e6 25563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1
RD
25564 {
25565 arg1 = (int)(SWIG_As_int(obj0));
25566 if (SWIG_arg_fail(1)) SWIG_fail;
25567 }
d14a1e28
RD
25568 {
25569 PyThreadState* __tstate = wxPyBeginAllowThreads();
25570 result = wxDateSpan::Days(arg1);
25571
25572 wxPyEndAllowThreads(__tstate);
25573 if (PyErr_Occurred()) SWIG_fail;
25574 }
25575 {
25576 wxDateSpan * resultptr;
093d3ff1 25577 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25579 }
25580 return resultobj;
25581 fail:
25582 return NULL;
25583}
25584
25585
c32bde28 25586static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25587 PyObject *resultobj;
25588 wxDateSpan result;
25589 char *kwnames[] = {
25590 NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 result = wxDateSpan::Day();
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 {
25602 wxDateSpan * resultptr;
093d3ff1 25603 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25604 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25605 }
25606 return resultobj;
25607 fail:
25608 return NULL;
25609}
25610
25611
c32bde28 25612static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25613 PyObject *resultobj;
25614 int arg1 ;
25615 wxDateSpan result;
994141e6 25616 PyObject * obj0 = 0 ;
d14a1e28
RD
25617 char *kwnames[] = {
25618 (char *) "weeks", NULL
25619 };
25620
994141e6 25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25622 {
25623 arg1 = (int)(SWIG_As_int(obj0));
25624 if (SWIG_arg_fail(1)) SWIG_fail;
25625 }
d14a1e28
RD
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = wxDateSpan::Weeks(arg1);
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 {
25634 wxDateSpan * resultptr;
093d3ff1 25635 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25636 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25637 }
25638 return resultobj;
25639 fail:
25640 return NULL;
25641}
25642
25643
c32bde28 25644static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25645 PyObject *resultobj;
25646 wxDateSpan result;
25647 char *kwnames[] = {
25648 NULL
25649 };
25650
25651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = wxDateSpan::Week();
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 {
25660 wxDateSpan * resultptr;
093d3ff1 25661 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25663 }
25664 return resultobj;
25665 fail:
25666 return NULL;
25667}
25668
25669
c32bde28 25670static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25671 PyObject *resultobj;
25672 int arg1 ;
25673 wxDateSpan result;
994141e6 25674 PyObject * obj0 = 0 ;
d14a1e28
RD
25675 char *kwnames[] = {
25676 (char *) "mon", NULL
25677 };
25678
994141e6 25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1
RD
25680 {
25681 arg1 = (int)(SWIG_As_int(obj0));
25682 if (SWIG_arg_fail(1)) SWIG_fail;
25683 }
d14a1e28
RD
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = wxDateSpan::Months(arg1);
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 {
25692 wxDateSpan * resultptr;
093d3ff1 25693 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25695 }
25696 return resultobj;
25697 fail:
25698 return NULL;
25699}
25700
25701
c32bde28 25702static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25703 PyObject *resultobj;
25704 wxDateSpan result;
25705 char *kwnames[] = {
25706 NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
25710 {
25711 PyThreadState* __tstate = wxPyBeginAllowThreads();
25712 result = wxDateSpan::Month();
25713
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 {
25718 wxDateSpan * resultptr;
093d3ff1 25719 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25721 }
25722 return resultobj;
25723 fail:
25724 return NULL;
25725}
25726
25727
c32bde28 25728static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25729 PyObject *resultobj;
25730 int arg1 ;
25731 wxDateSpan result;
994141e6 25732 PyObject * obj0 = 0 ;
d14a1e28
RD
25733 char *kwnames[] = {
25734 (char *) "years", NULL
25735 };
25736
994141e6 25737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1
RD
25738 {
25739 arg1 = (int)(SWIG_As_int(obj0));
25740 if (SWIG_arg_fail(1)) SWIG_fail;
25741 }
d14a1e28
RD
25742 {
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = wxDateSpan::Years(arg1);
25745
25746 wxPyEndAllowThreads(__tstate);
25747 if (PyErr_Occurred()) SWIG_fail;
25748 }
25749 {
25750 wxDateSpan * resultptr;
093d3ff1 25751 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25753 }
25754 return resultobj;
25755 fail:
25756 return NULL;
25757}
25758
25759
c32bde28 25760static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25761 PyObject *resultobj;
25762 wxDateSpan result;
25763 char *kwnames[] = {
25764 NULL
25765 };
25766
25767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 result = wxDateSpan::Year();
25771
25772 wxPyEndAllowThreads(__tstate);
25773 if (PyErr_Occurred()) SWIG_fail;
25774 }
25775 {
25776 wxDateSpan * resultptr;
093d3ff1 25777 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 25778 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
25779 }
25780 return resultobj;
25781 fail:
25782 return NULL;
25783}
25784
25785
c32bde28 25786static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25787 PyObject *resultobj;
25788 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25789 int arg2 ;
25790 wxDateSpan *result;
25791 PyObject * obj0 = 0 ;
994141e6 25792 PyObject * obj1 = 0 ;
d14a1e28
RD
25793 char *kwnames[] = {
25794 (char *) "self",(char *) "n", NULL
25795 };
25796
994141e6 25797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25799 if (SWIG_arg_fail(1)) SWIG_fail;
25800 {
25801 arg2 = (int)(SWIG_As_int(obj1));
25802 if (SWIG_arg_fail(2)) SWIG_fail;
25803 }
d14a1e28
RD
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 {
25807 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
25808 result = (wxDateSpan *) &_result_ref;
25809 }
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
15afbcd0 25814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
25815 return resultobj;
25816 fail:
25817 return NULL;
25818}
25819
25820
c32bde28 25821static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25822 PyObject *resultobj;
25823 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25824 int arg2 ;
25825 wxDateSpan *result;
25826 PyObject * obj0 = 0 ;
994141e6 25827 PyObject * obj1 = 0 ;
d14a1e28
RD
25828 char *kwnames[] = {
25829 (char *) "self",(char *) "n", NULL
25830 };
25831
994141e6 25832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25834 if (SWIG_arg_fail(1)) SWIG_fail;
25835 {
25836 arg2 = (int)(SWIG_As_int(obj1));
25837 if (SWIG_arg_fail(2)) SWIG_fail;
25838 }
d14a1e28
RD
25839 {
25840 PyThreadState* __tstate = wxPyBeginAllowThreads();
25841 {
25842 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
25843 result = (wxDateSpan *) &_result_ref;
25844 }
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
15afbcd0 25849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
25850 return resultobj;
25851 fail:
25852 return NULL;
25853}
25854
25855
c32bde28 25856static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25857 PyObject *resultobj;
25858 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25859 int arg2 ;
25860 wxDateSpan *result;
25861 PyObject * obj0 = 0 ;
994141e6 25862 PyObject * obj1 = 0 ;
d14a1e28
RD
25863 char *kwnames[] = {
25864 (char *) "self",(char *) "n", NULL
25865 };
25866
994141e6 25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail;
25870 {
25871 arg2 = (int)(SWIG_As_int(obj1));
25872 if (SWIG_arg_fail(2)) SWIG_fail;
25873 }
d14a1e28
RD
25874 {
25875 PyThreadState* __tstate = wxPyBeginAllowThreads();
25876 {
25877 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
25878 result = (wxDateSpan *) &_result_ref;
25879 }
25880
25881 wxPyEndAllowThreads(__tstate);
25882 if (PyErr_Occurred()) SWIG_fail;
25883 }
15afbcd0 25884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
25885 return resultobj;
25886 fail:
25887 return NULL;
25888}
25889
25890
c32bde28 25891static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25892 PyObject *resultobj;
25893 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25894 int arg2 ;
25895 wxDateSpan *result;
25896 PyObject * obj0 = 0 ;
994141e6 25897 PyObject * obj1 = 0 ;
d14a1e28
RD
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "n", NULL
25900 };
25901
994141e6 25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail;
25905 {
25906 arg2 = (int)(SWIG_As_int(obj1));
25907 if (SWIG_arg_fail(2)) SWIG_fail;
25908 }
d14a1e28
RD
25909 {
25910 PyThreadState* __tstate = wxPyBeginAllowThreads();
25911 {
25912 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
25913 result = (wxDateSpan *) &_result_ref;
25914 }
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
15afbcd0 25919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
25920 return resultobj;
25921 fail:
25922 return NULL;
25923}
25924
25925
c32bde28 25926static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25927 PyObject *resultobj;
25928 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25929 int result;
25930 PyObject * obj0 = 0 ;
25931 char *kwnames[] = {
25932 (char *) "self", NULL
25933 };
25934
25935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
25936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25937 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25938 {
25939 PyThreadState* __tstate = wxPyBeginAllowThreads();
25940 result = (int)((wxDateSpan const *)arg1)->GetYears();
25941
25942 wxPyEndAllowThreads(__tstate);
25943 if (PyErr_Occurred()) SWIG_fail;
25944 }
093d3ff1
RD
25945 {
25946 resultobj = SWIG_From_int((int)(result));
25947 }
d14a1e28
RD
25948 return resultobj;
25949 fail:
25950 return NULL;
25951}
25952
25953
c32bde28 25954static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25955 PyObject *resultobj;
25956 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25957 int result;
25958 PyObject * obj0 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 result = (int)((wxDateSpan const *)arg1)->GetMonths();
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
093d3ff1
RD
25973 {
25974 resultobj = SWIG_From_int((int)(result));
25975 }
d14a1e28
RD
25976 return resultobj;
25977 fail:
25978 return NULL;
25979}
25980
25981
c32bde28 25982static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25983 PyObject *resultobj;
25984 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25985 int result;
25986 PyObject * obj0 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
25992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25994 {
25995 PyThreadState* __tstate = wxPyBeginAllowThreads();
25996 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
25997
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
093d3ff1
RD
26001 {
26002 resultobj = SWIG_From_int((int)(result));
26003 }
d14a1e28
RD
26004 return resultobj;
26005 fail:
26006 return NULL;
26007}
26008
26009
c32bde28 26010static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26011 PyObject *resultobj;
26012 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26013 int result;
26014 PyObject * obj0 = 0 ;
26015 char *kwnames[] = {
26016 (char *) "self", NULL
26017 };
26018
26019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26021 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26022 {
26023 PyThreadState* __tstate = wxPyBeginAllowThreads();
26024 result = (int)((wxDateSpan const *)arg1)->GetDays();
26025
26026 wxPyEndAllowThreads(__tstate);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
093d3ff1
RD
26029 {
26030 resultobj = SWIG_From_int((int)(result));
26031 }
d14a1e28
RD
26032 return resultobj;
26033 fail:
26034 return NULL;
26035}
26036
26037
c32bde28 26038static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26039 PyObject *resultobj;
26040 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26041 int result;
26042 PyObject * obj0 = 0 ;
26043 char *kwnames[] = {
26044 (char *) "self", NULL
26045 };
26046
26047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
093d3ff1
RD
26057 {
26058 resultobj = SWIG_From_int((int)(result));
26059 }
d14a1e28
RD
26060 return resultobj;
26061 fail:
26062 return NULL;
26063}
26064
26065
c32bde28 26066static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26067 PyObject *resultobj;
26068 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26069 wxDateSpan *arg2 = 0 ;
26070 wxDateSpan *result;
26071 PyObject * obj0 = 0 ;
26072 PyObject * obj1 = 0 ;
26073 char *kwnames[] = {
26074 (char *) "self",(char *) "other", NULL
26075 };
26076
26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
26080 {
26081 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26082 if (SWIG_arg_fail(2)) SWIG_fail;
26083 if (arg2 == NULL) {
26084 SWIG_null_ref("wxDateSpan");
26085 }
26086 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 {
26091 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
26092 result = (wxDateSpan *) &_result_ref;
26093 }
26094
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
15afbcd0 26098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
26099 return resultobj;
26100 fail:
26101 return NULL;
26102}
26103
26104
c32bde28 26105static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26106 PyObject *resultobj;
26107 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26108 wxDateSpan *arg2 = 0 ;
26109 wxDateSpan *result;
26110 PyObject * obj0 = 0 ;
26111 PyObject * obj1 = 0 ;
26112 char *kwnames[] = {
26113 (char *) "self",(char *) "other", NULL
26114 };
26115
26116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail;
26119 {
26120 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26121 if (SWIG_arg_fail(2)) SWIG_fail;
26122 if (arg2 == NULL) {
26123 SWIG_null_ref("wxDateSpan");
26124 }
26125 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26126 }
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 {
26130 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
26131 result = (wxDateSpan *) &_result_ref;
26132 }
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
15afbcd0 26137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
c32bde28 26144static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26145 PyObject *resultobj;
26146 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26147 wxDateSpan *result;
26148 PyObject * obj0 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
26154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26156 {
26157 PyThreadState* __tstate = wxPyBeginAllowThreads();
26158 {
26159 wxDateSpan &_result_ref = (arg1)->Neg();
26160 result = (wxDateSpan *) &_result_ref;
26161 }
26162
26163 wxPyEndAllowThreads(__tstate);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 }
15afbcd0 26166 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
26167 return resultobj;
26168 fail:
26169 return NULL;
26170}
26171
26172
c32bde28 26173static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26174 PyObject *resultobj;
26175 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26176 int arg2 ;
26177 wxDateSpan *result;
26178 PyObject * obj0 = 0 ;
994141e6 26179 PyObject * obj1 = 0 ;
d14a1e28
RD
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "factor", NULL
26182 };
26183
994141e6 26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail;
26187 {
26188 arg2 = (int)(SWIG_As_int(obj1));
26189 if (SWIG_arg_fail(2)) SWIG_fail;
26190 }
d14a1e28
RD
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 {
26194 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
26195 result = (wxDateSpan *) &_result_ref;
26196 }
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
15afbcd0 26201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
c32bde28 26208static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26209 PyObject *resultobj;
26210 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26211 wxDateSpan *arg2 = 0 ;
26212 wxDateSpan *result;
26213 PyObject * obj0 = 0 ;
26214 PyObject * obj1 = 0 ;
26215 char *kwnames[] = {
26216 (char *) "self",(char *) "other", NULL
26217 };
26218
26219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26221 if (SWIG_arg_fail(1)) SWIG_fail;
26222 {
26223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26224 if (SWIG_arg_fail(2)) SWIG_fail;
26225 if (arg2 == NULL) {
26226 SWIG_null_ref("wxDateSpan");
26227 }
26228 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26229 }
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 {
26233 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
26234 result = (wxDateSpan *) &_result_ref;
26235 }
26236
26237 wxPyEndAllowThreads(__tstate);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 }
c32bde28 26240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26241 return resultobj;
26242 fail:
26243 return NULL;
26244}
26245
26246
c32bde28 26247static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26248 PyObject *resultobj;
26249 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26250 wxDateSpan *arg2 = 0 ;
26251 wxDateSpan *result;
26252 PyObject * obj0 = 0 ;
26253 PyObject * obj1 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self",(char *) "other", NULL
26256 };
26257
26258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26260 if (SWIG_arg_fail(1)) SWIG_fail;
26261 {
26262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26263 if (SWIG_arg_fail(2)) SWIG_fail;
26264 if (arg2 == NULL) {
26265 SWIG_null_ref("wxDateSpan");
26266 }
26267 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26268 }
26269 {
26270 PyThreadState* __tstate = wxPyBeginAllowThreads();
26271 {
26272 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
26273 result = (wxDateSpan *) &_result_ref;
26274 }
26275
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
c32bde28 26279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26280 return resultobj;
26281 fail:
26282 return NULL;
26283}
26284
26285
c32bde28 26286static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26287 PyObject *resultobj;
26288 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26289 wxDateSpan *result;
26290 PyObject * obj0 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
26296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 {
26301 wxDateSpan &_result_ref = (arg1)->operator -();
26302 result = (wxDateSpan *) &_result_ref;
26303 }
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
15afbcd0 26308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
d14a1e28
RD
26309 return resultobj;
26310 fail:
26311 return NULL;
26312}
26313
26314
c32bde28 26315static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26316 PyObject *resultobj;
26317 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26318 int arg2 ;
26319 wxDateSpan *result;
26320 PyObject * obj0 = 0 ;
994141e6 26321 PyObject * obj1 = 0 ;
d14a1e28
RD
26322 char *kwnames[] = {
26323 (char *) "self",(char *) "factor", NULL
26324 };
26325
994141e6 26326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26328 if (SWIG_arg_fail(1)) SWIG_fail;
26329 {
26330 arg2 = (int)(SWIG_As_int(obj1));
26331 if (SWIG_arg_fail(2)) SWIG_fail;
26332 }
d14a1e28
RD
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 {
26336 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
26337 result = (wxDateSpan *) &_result_ref;
26338 }
26339
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
c32bde28 26343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26344 return resultobj;
26345 fail:
26346 return NULL;
26347}
26348
26349
c32bde28 26350static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26351 PyObject *resultobj;
26352 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26353 wxDateSpan *arg2 = 0 ;
26354 wxDateSpan result;
26355 PyObject * obj0 = 0 ;
26356 PyObject * obj1 = 0 ;
26357 char *kwnames[] = {
26358 (char *) "self",(char *) "other", NULL
26359 };
26360
26361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26363 if (SWIG_arg_fail(1)) SWIG_fail;
26364 {
26365 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26366 if (SWIG_arg_fail(2)) SWIG_fail;
26367 if (arg2 == NULL) {
26368 SWIG_null_ref("wxDateSpan");
26369 }
26370 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26371 }
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 {
26380 wxDateSpan * resultptr;
093d3ff1 26381 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 26382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26383 }
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
c32bde28 26390static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26391 PyObject *resultobj;
26392 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26393 wxDateSpan *arg2 = 0 ;
26394 wxDateSpan result;
26395 PyObject * obj0 = 0 ;
26396 PyObject * obj1 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self",(char *) "other", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail;
26404 {
26405 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26406 if (SWIG_arg_fail(2)) SWIG_fail;
26407 if (arg2 == NULL) {
26408 SWIG_null_ref("wxDateSpan");
26409 }
26410 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26411 }
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 {
26420 wxDateSpan * resultptr;
093d3ff1 26421 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 26422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26423 }
26424 return resultobj;
26425 fail:
26426 return NULL;
26427}
26428
26429
c32bde28 26430static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26431 PyObject *resultobj;
26432 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26433 int arg2 ;
26434 wxDateSpan result;
26435 PyObject * obj0 = 0 ;
994141e6 26436 PyObject * obj1 = 0 ;
d14a1e28
RD
26437 char *kwnames[] = {
26438 (char *) "self",(char *) "n", NULL
26439 };
26440
994141e6 26441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26443 if (SWIG_arg_fail(1)) SWIG_fail;
26444 {
26445 arg2 = (int)(SWIG_As_int(obj1));
26446 if (SWIG_arg_fail(2)) SWIG_fail;
26447 }
d14a1e28
RD
26448 {
26449 PyThreadState* __tstate = wxPyBeginAllowThreads();
26450 result = wxDateSpan___mul__(arg1,arg2);
26451
26452 wxPyEndAllowThreads(__tstate);
26453 if (PyErr_Occurred()) SWIG_fail;
26454 }
26455 {
26456 wxDateSpan * resultptr;
093d3ff1 26457 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 26458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26459 }
26460 return resultobj;
26461 fail:
26462 return NULL;
26463}
26464
26465
c32bde28 26466static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26467 PyObject *resultobj;
26468 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26469 int arg2 ;
26470 wxDateSpan result;
26471 PyObject * obj0 = 0 ;
994141e6 26472 PyObject * obj1 = 0 ;
d14a1e28
RD
26473 char *kwnames[] = {
26474 (char *) "self",(char *) "n", NULL
26475 };
26476
994141e6 26477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail;
26480 {
26481 arg2 = (int)(SWIG_As_int(obj1));
26482 if (SWIG_arg_fail(2)) SWIG_fail;
26483 }
d14a1e28
RD
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 result = wxDateSpan___rmul__(arg1,arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 {
26492 wxDateSpan * resultptr;
093d3ff1 26493 resultptr = new wxDateSpan((wxDateSpan &)(result));
15afbcd0 26494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
d14a1e28
RD
26495 }
26496 return resultobj;
26497 fail:
26498 return NULL;
26499}
26500
26501
c32bde28 26502static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26503 PyObject *resultobj;
26504 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 26505 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
26506 bool result;
26507 PyObject * obj0 = 0 ;
26508 PyObject * obj1 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self",(char *) "other", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26515 if (SWIG_arg_fail(1)) SWIG_fail;
26516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26517 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 26520 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
26521
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
4f89f6a3
RD
26525 {
26526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26527 }
d14a1e28
RD
26528 return resultobj;
26529 fail:
26530 return NULL;
26531}
26532
26533
c32bde28 26534static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26535 PyObject *resultobj;
26536 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22faec7d 26537 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
d14a1e28
RD
26538 bool result;
26539 PyObject * obj0 = 0 ;
26540 PyObject * obj1 = 0 ;
26541 char *kwnames[] = {
26542 (char *) "self",(char *) "other", NULL
26543 };
26544
26545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26547 if (SWIG_arg_fail(1)) SWIG_fail;
26548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26549 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26550 {
26551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 26552 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
d14a1e28
RD
26553
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
4f89f6a3
RD
26557 {
26558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26559 }
d14a1e28
RD
26560 return resultobj;
26561 fail:
26562 return NULL;
26563}
26564
26565
c32bde28 26566static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26567 PyObject *obj;
26568 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26569 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
26570 Py_INCREF(obj);
26571 return Py_BuildValue((char *)"");
26572}
c32bde28 26573static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26574 PyObject *resultobj;
26575 long result;
26576 char *kwnames[] = {
26577 NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
26581 {
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (long)wxGetLocalTime();
26584
26585 wxPyEndAllowThreads(__tstate);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 }
093d3ff1
RD
26588 {
26589 resultobj = SWIG_From_long((long)(result));
26590 }
d14a1e28
RD
26591 return resultobj;
26592 fail:
26593 return NULL;
26594}
26595
26596
c32bde28 26597static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26598 PyObject *resultobj;
26599 long result;
26600 char *kwnames[] = {
26601 NULL
26602 };
26603
26604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
26605 {
26606 PyThreadState* __tstate = wxPyBeginAllowThreads();
26607 result = (long)wxGetUTCTime();
26608
26609 wxPyEndAllowThreads(__tstate);
26610 if (PyErr_Occurred()) SWIG_fail;
26611 }
093d3ff1
RD
26612 {
26613 resultobj = SWIG_From_long((long)(result));
26614 }
d14a1e28
RD
26615 return resultobj;
26616 fail:
26617 return NULL;
26618}
26619
26620
c32bde28 26621static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26622 PyObject *resultobj;
26623 long result;
26624 char *kwnames[] = {
26625 NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
26629 {
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 result = (long)wxGetCurrentTime();
26632
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
093d3ff1
RD
26636 {
26637 resultobj = SWIG_From_long((long)(result));
26638 }
d14a1e28
RD
26639 return resultobj;
26640 fail:
26641 return NULL;
26642}
26643
26644
c32bde28 26645static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26646 PyObject *resultobj;
26647 wxLongLong result;
26648 char *kwnames[] = {
26649 NULL
26650 };
26651
26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
26653 {
26654 PyThreadState* __tstate = wxPyBeginAllowThreads();
26655 result = wxGetLocalTimeMillis();
26656
26657 wxPyEndAllowThreads(__tstate);
26658 if (PyErr_Occurred()) SWIG_fail;
26659 }
26660 {
26661 PyObject *hi, *lo, *shifter, *shifted;
26662 hi = PyLong_FromLong( (&result)->GetHi() );
26663 lo = PyLong_FromLong( (&result)->GetLo() );
26664 shifter = PyLong_FromLong(32);
26665 shifted = PyNumber_Lshift(hi, shifter);
26666 resultobj = PyNumber_Or(shifted, lo);
26667 Py_DECREF(hi);
26668 Py_DECREF(lo);
26669 Py_DECREF(shifter);
26670 Py_DECREF(shifted);
26671 }
26672 return resultobj;
26673 fail:
26674 return NULL;
26675}
26676
26677
c32bde28 26678static int _wrap_DefaultDateTime_set(PyObject *) {
98e665d3
RD
26679 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
26680 return 1;
26681}
26682
26683
093d3ff1 26684static PyObject *_wrap_DefaultDateTime_get(void) {
98e665d3
RD
26685 PyObject *pyobj;
26686
15afbcd0 26687 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
98e665d3
RD
26688 return pyobj;
26689}
26690
26691
c32bde28 26692static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 26693 PyObject *resultobj;
093d3ff1 26694 wxDataFormatId arg1 ;
d14a1e28 26695 wxDataFormat *result;
994141e6 26696 PyObject * obj0 = 0 ;
d14a1e28
RD
26697 char *kwnames[] = {
26698 (char *) "type", NULL
26699 };
26700
994141e6 26701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26702 {
26703 arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
26704 if (SWIG_arg_fail(1)) SWIG_fail;
26705 }
d14a1e28
RD
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
26709
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
15afbcd0 26713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
26714 return resultobj;
26715 fail:
26716 return NULL;
26717}
26718
26719
c32bde28 26720static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26721 PyObject *resultobj;
26722 wxString *arg1 = 0 ;
26723 wxDataFormat *result;
ae8162c8 26724 bool temp1 = false ;
d14a1e28
RD
26725 PyObject * obj0 = 0 ;
26726 char *kwnames[] = {
26727 (char *) "format", NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
26731 {
26732 arg1 = wxString_in_helper(obj0);
26733 if (arg1 == NULL) SWIG_fail;
ae8162c8 26734 temp1 = true;
d14a1e28
RD
26735 }
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
15afbcd0 26743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
26744 {
26745 if (temp1)
26746 delete arg1;
26747 }
26748 return resultobj;
26749 fail:
26750 {
26751 if (temp1)
26752 delete arg1;
26753 }
26754 return NULL;
26755}
26756
26757
c32bde28 26758static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26759 PyObject *resultobj;
26760 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26761 PyObject * obj0 = 0 ;
26762 char *kwnames[] = {
26763 (char *) "self", NULL
26764 };
26765
26766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
26767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26768 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26769 {
26770 PyThreadState* __tstate = wxPyBeginAllowThreads();
26771 delete arg1;
26772
26773 wxPyEndAllowThreads(__tstate);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 }
26776 Py_INCREF(Py_None); resultobj = Py_None;
26777 return resultobj;
26778 fail:
26779 return NULL;
26780}
26781
26782
c32bde28 26783static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26784 PyObject *resultobj;
26785 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26786 wxDataFormatId arg2 ;
d14a1e28
RD
26787 bool result;
26788 PyObject * obj0 = 0 ;
994141e6 26789 PyObject * obj1 = 0 ;
d14a1e28 26790
994141e6 26791 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26793 if (SWIG_arg_fail(1)) SWIG_fail;
26794 {
26795 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26796 if (SWIG_arg_fail(2)) SWIG_fail;
26797 }
d14a1e28
RD
26798 {
26799 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 26800 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
d14a1e28
RD
26801
26802 wxPyEndAllowThreads(__tstate);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 }
4f89f6a3
RD
26805 {
26806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26807 }
d14a1e28
RD
26808 return resultobj;
26809 fail:
26810 return NULL;
26811}
26812
26813
c32bde28 26814static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26815 PyObject *resultobj;
26816 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 26817 wxDataFormatId arg2 ;
d14a1e28
RD
26818 bool result;
26819 PyObject * obj0 = 0 ;
994141e6 26820 PyObject * obj1 = 0 ;
d14a1e28 26821
994141e6 26822 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail;
26825 {
26826 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26827 if (SWIG_arg_fail(2)) SWIG_fail;
26828 }
d14a1e28
RD
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
db914595 26831 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
d14a1e28
RD
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
4f89f6a3
RD
26836 {
26837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26838 }
d14a1e28
RD
26839 return resultobj;
26840 fail:
26841 return NULL;
26842}
26843
26844
c32bde28 26845static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
26846 PyObject *resultobj;
26847 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26848 wxDataFormat *arg2 = 0 ;
26849 bool result;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852
26853 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26855 if (SWIG_arg_fail(1)) SWIG_fail;
26856 {
26857 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26858 if (SWIG_arg_fail(2)) SWIG_fail;
26859 if (arg2 == NULL) {
26860 SWIG_null_ref("wxDataFormat");
26861 }
26862 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26863 }
26864 {
26865 PyThreadState* __tstate = wxPyBeginAllowThreads();
26866 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
26867
26868 wxPyEndAllowThreads(__tstate);
26869 if (PyErr_Occurred()) SWIG_fail;
26870 }
4f89f6a3
RD
26871 {
26872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26873 }
d14a1e28
RD
26874 return resultobj;
26875 fail:
26876 return NULL;
26877}
26878
26879
26880static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
26881 int argc;
26882 PyObject *argv[3];
26883 int ii;
26884
26885 argc = PyObject_Length(args);
26886 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26887 argv[ii] = PyTuple_GetItem(args,ii);
26888 }
26889 if (argc == 2) {
26890 int _v;
26891 {
26892 void *ptr;
15afbcd0 26893 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
26894 _v = 0;
26895 PyErr_Clear();
26896 } else {
26897 _v = 1;
26898 }
26899 }
26900 if (_v) {
26901 {
093d3ff1 26902 void *ptr = 0;
15afbcd0 26903 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
26904 _v = 0;
26905 PyErr_Clear();
26906 } else {
093d3ff1 26907 _v = (ptr != 0);
d14a1e28
RD
26908 }
26909 }
26910 if (_v) {
26911 return _wrap_DataFormat___eq____SWIG_1(self,args);
26912 }
26913 }
26914 }
26915 if (argc == 2) {
26916 int _v;
26917 {
26918 void *ptr;
15afbcd0 26919 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
26920 _v = 0;
26921 PyErr_Clear();
26922 } else {
26923 _v = 1;
26924 }
26925 }
26926 if (_v) {
c32bde28 26927 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
26928 if (_v) {
26929 return _wrap_DataFormat___eq____SWIG_0(self,args);
26930 }
26931 }
26932 }
26933
093d3ff1
RD
26934 Py_INCREF(Py_NotImplemented);
26935 return Py_NotImplemented;
d14a1e28
RD
26936}
26937
26938
c32bde28 26939static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
26940 PyObject *resultobj;
26941 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26942 wxDataFormat *arg2 = 0 ;
26943 bool result;
26944 PyObject * obj0 = 0 ;
26945 PyObject * obj1 = 0 ;
26946
26947 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
26948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26949 if (SWIG_arg_fail(1)) SWIG_fail;
26950 {
26951 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26952 if (SWIG_arg_fail(2)) SWIG_fail;
26953 if (arg2 == NULL) {
26954 SWIG_null_ref("wxDataFormat");
26955 }
26956 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26957 }
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
4f89f6a3
RD
26965 {
26966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26967 }
d14a1e28
RD
26968 return resultobj;
26969 fail:
26970 return NULL;
26971}
26972
26973
26974static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
26975 int argc;
26976 PyObject *argv[3];
26977 int ii;
26978
26979 argc = PyObject_Length(args);
26980 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26981 argv[ii] = PyTuple_GetItem(args,ii);
26982 }
26983 if (argc == 2) {
26984 int _v;
26985 {
26986 void *ptr;
15afbcd0 26987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
26988 _v = 0;
26989 PyErr_Clear();
26990 } else {
26991 _v = 1;
26992 }
26993 }
26994 if (_v) {
26995 {
093d3ff1 26996 void *ptr = 0;
15afbcd0 26997 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
26998 _v = 0;
26999 PyErr_Clear();
27000 } else {
093d3ff1 27001 _v = (ptr != 0);
d14a1e28
RD
27002 }
27003 }
27004 if (_v) {
27005 return _wrap_DataFormat___ne____SWIG_1(self,args);
27006 }
27007 }
27008 }
27009 if (argc == 2) {
27010 int _v;
27011 {
27012 void *ptr;
15afbcd0 27013 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
d14a1e28
RD
27014 _v = 0;
27015 PyErr_Clear();
27016 } else {
27017 _v = 1;
27018 }
27019 }
27020 if (_v) {
c32bde28 27021 _v = SWIG_Check_int(argv[1]);
d14a1e28
RD
27022 if (_v) {
27023 return _wrap_DataFormat___ne____SWIG_0(self,args);
27024 }
27025 }
27026 }
27027
093d3ff1
RD
27028 Py_INCREF(Py_NotImplemented);
27029 return Py_NotImplemented;
d14a1e28
RD
27030}
27031
27032
c32bde28 27033static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27034 PyObject *resultobj;
27035 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27036 wxDataFormatId arg2 ;
d14a1e28 27037 PyObject * obj0 = 0 ;
994141e6 27038 PyObject * obj1 = 0 ;
d14a1e28
RD
27039 char *kwnames[] = {
27040 (char *) "self",(char *) "format", NULL
27041 };
27042
994141e6 27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail;
27046 {
27047 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
27048 if (SWIG_arg_fail(2)) SWIG_fail;
27049 }
d14a1e28
RD
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 (arg1)->SetType((wxDataFormatId )arg2);
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 Py_INCREF(Py_None); resultobj = Py_None;
27058 return resultobj;
27059 fail:
27060 return NULL;
27061}
27062
27063
c32bde28 27064static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27065 PyObject *resultobj;
27066 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27067 wxDataFormatId result;
d14a1e28
RD
27068 PyObject * obj0 = 0 ;
27069 char *kwnames[] = {
27070 (char *) "self", NULL
27071 };
27072
27073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
27074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 27078 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d14a1e28
RD
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
093d3ff1 27083 resultobj = SWIG_From_int((result));
d14a1e28
RD
27084 return resultobj;
27085 fail:
27086 return NULL;
27087}
27088
27089
c32bde28 27090static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27091 PyObject *resultobj;
27092 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27093 wxString result;
27094 PyObject * obj0 = 0 ;
27095 char *kwnames[] = {
27096 (char *) "self", NULL
27097 };
27098
27099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
27100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 result = ((wxDataFormat const *)arg1)->GetId();
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 {
27110#if wxUSE_UNICODE
27111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27112#else
27113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27114#endif
27115 }
27116 return resultobj;
27117 fail:
27118 return NULL;
27119}
27120
27121
c32bde28 27122static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27123 PyObject *resultobj;
27124 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27125 wxString *arg2 = 0 ;
ae8162c8 27126 bool temp2 = false ;
d14a1e28
RD
27127 PyObject * obj0 = 0 ;
27128 PyObject * obj1 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "format", NULL
27131 };
27132
27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27136 {
27137 arg2 = wxString_in_helper(obj1);
27138 if (arg2 == NULL) SWIG_fail;
ae8162c8 27139 temp2 = true;
d14a1e28
RD
27140 }
27141 {
27142 PyThreadState* __tstate = wxPyBeginAllowThreads();
27143 (arg1)->SetId((wxString const &)*arg2);
27144
27145 wxPyEndAllowThreads(__tstate);
27146 if (PyErr_Occurred()) SWIG_fail;
27147 }
27148 Py_INCREF(Py_None); resultobj = Py_None;
27149 {
27150 if (temp2)
27151 delete arg2;
27152 }
27153 return resultobj;
27154 fail:
27155 {
27156 if (temp2)
27157 delete arg2;
27158 }
27159 return NULL;
27160}
27161
27162
c32bde28 27163static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27164 PyObject *obj;
27165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27166 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
27167 Py_INCREF(obj);
27168 return Py_BuildValue((char *)"");
27169}
c32bde28 27170static int _wrap_FormatInvalid_set(PyObject *) {
d14a1e28
RD
27171 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
27172 return 1;
27173}
27174
27175
093d3ff1 27176static PyObject *_wrap_FormatInvalid_get(void) {
d14a1e28
RD
27177 PyObject *pyobj;
27178
15afbcd0 27179 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
27180 return pyobj;
27181}
27182
27183
c32bde28 27184static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27185 PyObject *resultobj;
27186 wxDataObject *arg1 = (wxDataObject *) 0 ;
27187 PyObject * obj0 = 0 ;
27188 char *kwnames[] = {
27189 (char *) "self", NULL
27190 };
27191
27192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
27193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27195 {
27196 PyThreadState* __tstate = wxPyBeginAllowThreads();
27197 delete arg1;
27198
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 Py_INCREF(Py_None); resultobj = Py_None;
27203 return resultobj;
27204 fail:
27205 return NULL;
27206}
27207
27208
c32bde28 27209static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27210 PyObject *resultobj;
27211 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
27212 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
27213 SwigValueWrapper<wxDataFormat > result;
d14a1e28 27214 PyObject * obj0 = 0 ;
994141e6 27215 PyObject * obj1 = 0 ;
d14a1e28
RD
27216 char *kwnames[] = {
27217 (char *) "self",(char *) "dir", NULL
27218 };
27219
994141e6 27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27223 if (obj1) {
093d3ff1
RD
27224 {
27225 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27226 if (SWIG_arg_fail(2)) SWIG_fail;
27227 }
994141e6 27228 }
d14a1e28
RD
27229 {
27230 PyThreadState* __tstate = wxPyBeginAllowThreads();
27231 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
27232
27233 wxPyEndAllowThreads(__tstate);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 {
27237 wxDataFormat * resultptr;
093d3ff1 27238 resultptr = new wxDataFormat((wxDataFormat &)(result));
15afbcd0 27239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
d14a1e28
RD
27240 }
27241 return resultobj;
27242 fail:
27243 return NULL;
27244}
27245
27246
c32bde28 27247static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27248 PyObject *resultobj;
27249 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27250 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d14a1e28
RD
27251 size_t result;
27252 PyObject * obj0 = 0 ;
994141e6 27253 PyObject * obj1 = 0 ;
d14a1e28
RD
27254 char *kwnames[] = {
27255 (char *) "self",(char *) "dir", NULL
27256 };
27257
994141e6 27258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27260 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 27261 if (obj1) {
093d3ff1
RD
27262 {
27263 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27264 if (SWIG_arg_fail(2)) SWIG_fail;
27265 }
994141e6 27266 }
d14a1e28
RD
27267 {
27268 PyThreadState* __tstate = wxPyBeginAllowThreads();
27269 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
27270
27271 wxPyEndAllowThreads(__tstate);
27272 if (PyErr_Occurred()) SWIG_fail;
27273 }
093d3ff1
RD
27274 {
27275 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27276 }
d14a1e28
RD
27277 return resultobj;
27278 fail:
27279 return NULL;
27280}
27281
27282
c32bde28 27283static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27284 PyObject *resultobj;
27285 wxDataObject *arg1 = (wxDataObject *) 0 ;
27286 wxDataFormat *arg2 = 0 ;
093d3ff1 27287 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d14a1e28
RD
27288 bool result;
27289 PyObject * obj0 = 0 ;
27290 PyObject * obj1 = 0 ;
994141e6 27291 PyObject * obj2 = 0 ;
d14a1e28
RD
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "format",(char *) "dir", NULL
27294 };
27295
994141e6 27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail;
27299 {
27300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27301 if (SWIG_arg_fail(2)) SWIG_fail;
27302 if (arg2 == NULL) {
27303 SWIG_null_ref("wxDataFormat");
27304 }
27305 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 27306 }
994141e6 27307 if (obj2) {
093d3ff1
RD
27308 {
27309 arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
27310 if (SWIG_arg_fail(3)) SWIG_fail;
27311 }
994141e6 27312 }
d14a1e28
RD
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
4f89f6a3
RD
27320 {
27321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27322 }
d14a1e28
RD
27323 return resultobj;
27324 fail:
27325 return NULL;
27326}
27327
27328
c32bde28 27329static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27330 PyObject *resultobj;
27331 wxDataObject *arg1 = (wxDataObject *) 0 ;
27332 wxDataFormat *arg2 = 0 ;
27333 size_t result;
27334 PyObject * obj0 = 0 ;
27335 PyObject * obj1 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "self",(char *) "format", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail;
27343 {
27344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27345 if (SWIG_arg_fail(2)) SWIG_fail;
27346 if (arg2 == NULL) {
27347 SWIG_null_ref("wxDataFormat");
27348 }
27349 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27350 }
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
093d3ff1
RD
27358 {
27359 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27360 }
d14a1e28
RD
27361 return resultobj;
27362 fail:
27363 return NULL;
27364}
27365
27366
c32bde28 27367static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27368 PyObject *resultobj;
27369 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 27370 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
1a10c483 27371 PyObject *result;
d14a1e28
RD
27372 PyObject * obj0 = 0 ;
27373 PyObject * obj1 = 0 ;
27374 char *kwnames[] = {
1a10c483 27375 (char *) "self",(char *) "dir", NULL
d14a1e28
RD
27376 };
27377
1a10c483 27378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27380 if (SWIG_arg_fail(1)) SWIG_fail;
1a10c483 27381 if (obj1) {
093d3ff1
RD
27382 {
27383 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27384 if (SWIG_arg_fail(2)) SWIG_fail;
27385 }
994141e6 27386 }
d14a1e28
RD
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 27389 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
d14a1e28
RD
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
1a10c483 27394 resultobj = result;
d14a1e28
RD
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
c32bde28 27401static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27402 PyObject *resultobj;
27403 wxDataObject *arg1 = (wxDataObject *) 0 ;
27404 wxDataFormat *arg2 = 0 ;
1a10c483 27405 PyObject *result;
d14a1e28
RD
27406 PyObject * obj0 = 0 ;
27407 PyObject * obj1 = 0 ;
d14a1e28 27408 char *kwnames[] = {
1a10c483 27409 (char *) "self",(char *) "format", NULL
d14a1e28
RD
27410 };
27411
1a10c483 27412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail;
27415 {
27416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27417 if (SWIG_arg_fail(2)) SWIG_fail;
27418 if (arg2 == NULL) {
27419 SWIG_null_ref("wxDataFormat");
27420 }
27421 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 27422 }
d14a1e28
RD
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 27425 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d14a1e28
RD
27426
27427 wxPyEndAllowThreads(__tstate);
27428 if (PyErr_Occurred()) SWIG_fail;
27429 }
1a10c483 27430 resultobj = result;
d14a1e28
RD
27431 return resultobj;
27432 fail:
27433 return NULL;
27434}
27435
27436
c32bde28 27437static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27438 PyObject *resultobj;
27439 wxDataObject *arg1 = (wxDataObject *) 0 ;
27440 wxDataFormat *arg2 = 0 ;
1a10c483 27441 PyObject *arg3 = (PyObject *) 0 ;
d14a1e28
RD
27442 bool result;
27443 PyObject * obj0 = 0 ;
27444 PyObject * obj1 = 0 ;
27445 PyObject * obj2 = 0 ;
d14a1e28 27446 char *kwnames[] = {
1a10c483 27447 (char *) "self",(char *) "format",(char *) "data", NULL
d14a1e28
RD
27448 };
27449
1a10c483 27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail;
27453 {
27454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27455 if (SWIG_arg_fail(2)) SWIG_fail;
27456 if (arg2 == NULL) {
27457 SWIG_null_ref("wxDataFormat");
27458 }
27459 if (SWIG_arg_fail(2)) SWIG_fail;
a41e16b6 27460 }
1a10c483 27461 arg3 = obj2;
d14a1e28
RD
27462 {
27463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1a10c483 27464 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d14a1e28
RD
27465
27466 wxPyEndAllowThreads(__tstate);
27467 if (PyErr_Occurred()) SWIG_fail;
27468 }
4f89f6a3
RD
27469 {
27470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27471 }
d14a1e28
RD
27472 return resultobj;
27473 fail:
27474 return NULL;
27475}
27476
27477
c32bde28 27478static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27479 PyObject *obj;
27480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27481 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
27482 Py_INCREF(obj);
27483 return Py_BuildValue((char *)"");
27484}
c32bde28 27485static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27486 PyObject *resultobj;
27487 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27488 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27489 wxDataObjectSimple *result;
27490 PyObject * obj0 = 0 ;
27491 char *kwnames[] = {
27492 (char *) "format", NULL
27493 };
27494
27495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
27496 if (obj0) {
093d3ff1
RD
27497 {
27498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail;
27500 if (arg1 == NULL) {
27501 SWIG_null_ref("wxDataFormat");
27502 }
27503 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27504 }
27505 }
27506 {
27507 PyThreadState* __tstate = wxPyBeginAllowThreads();
27508 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
27509
27510 wxPyEndAllowThreads(__tstate);
27511 if (PyErr_Occurred()) SWIG_fail;
27512 }
15afbcd0 27513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
d14a1e28
RD
27514 return resultobj;
27515 fail:
27516 return NULL;
27517}
27518
27519
c32bde28 27520static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27521 PyObject *resultobj;
27522 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27523 wxDataFormat *result;
27524 PyObject * obj0 = 0 ;
27525 char *kwnames[] = {
27526 (char *) "self", NULL
27527 };
27528
27529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27531 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27532 {
27533 PyThreadState* __tstate = wxPyBeginAllowThreads();
27534 {
27535 wxDataFormat const &_result_ref = (arg1)->GetFormat();
27536 result = (wxDataFormat *) &_result_ref;
27537 }
27538
27539 wxPyEndAllowThreads(__tstate);
27540 if (PyErr_Occurred()) SWIG_fail;
27541 }
15afbcd0 27542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
d14a1e28
RD
27543 return resultobj;
27544 fail:
27545 return NULL;
27546}
27547
27548
c32bde28 27549static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27550 PyObject *resultobj;
27551 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27552 wxDataFormat *arg2 = 0 ;
27553 PyObject * obj0 = 0 ;
27554 PyObject * obj1 = 0 ;
27555 char *kwnames[] = {
27556 (char *) "self",(char *) "format", NULL
27557 };
27558
27559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27561 if (SWIG_arg_fail(1)) SWIG_fail;
27562 {
27563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27564 if (SWIG_arg_fail(2)) SWIG_fail;
27565 if (arg2 == NULL) {
27566 SWIG_null_ref("wxDataFormat");
27567 }
27568 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27569 }
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 (arg1)->SetFormat((wxDataFormat const &)*arg2);
27573
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 Py_INCREF(Py_None); resultobj = Py_None;
27578 return resultobj;
27579 fail:
27580 return NULL;
27581}
27582
27583
c32bde28 27584static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
27585 PyObject *resultobj;
27586 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27587 size_t result;
27588 PyObject * obj0 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "self", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27595 if (SWIG_arg_fail(1)) SWIG_fail;
1a10c483
RD
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
093d3ff1
RD
27603 {
27604 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27605 }
1a10c483
RD
27606 return resultobj;
27607 fail:
27608 return NULL;
27609}
27610
27611
c32bde28 27612static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
27613 PyObject *resultobj;
27614 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27615 PyObject *result;
27616 PyObject * obj0 = 0 ;
27617 char *kwnames[] = {
27618 (char *) "self", NULL
27619 };
27620
27621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
27622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27623 if (SWIG_arg_fail(1)) SWIG_fail;
1a10c483
RD
27624 {
27625 PyThreadState* __tstate = wxPyBeginAllowThreads();
27626 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
27627
27628 wxPyEndAllowThreads(__tstate);
27629 if (PyErr_Occurred()) SWIG_fail;
27630 }
27631 resultobj = result;
27632 return resultobj;
27633 fail:
27634 return NULL;
27635}
27636
27637
c32bde28 27638static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
1a10c483
RD
27639 PyObject *resultobj;
27640 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27641 PyObject *arg2 = (PyObject *) 0 ;
27642 bool result;
27643 PyObject * obj0 = 0 ;
27644 PyObject * obj1 = 0 ;
27645 char *kwnames[] = {
27646 (char *) "self",(char *) "data", NULL
27647 };
27648
27649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27651 if (SWIG_arg_fail(1)) SWIG_fail;
1a10c483
RD
27652 arg2 = obj1;
27653 {
27654 PyThreadState* __tstate = wxPyBeginAllowThreads();
27655 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
27656
27657 wxPyEndAllowThreads(__tstate);
27658 if (PyErr_Occurred()) SWIG_fail;
27659 }
27660 {
27661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27662 }
27663 return resultobj;
27664 fail:
27665 return NULL;
27666}
27667
27668
c32bde28 27669static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27670 PyObject *obj;
27671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27672 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
27673 Py_INCREF(obj);
27674 return Py_BuildValue((char *)"");
27675}
c32bde28 27676static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27677 PyObject *resultobj;
27678 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27679 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27680 wxPyDataObjectSimple *result;
27681 PyObject * obj0 = 0 ;
27682 char *kwnames[] = {
27683 (char *) "format", NULL
27684 };
27685
27686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
27687 if (obj0) {
093d3ff1
RD
27688 {
27689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27690 if (SWIG_arg_fail(1)) SWIG_fail;
27691 if (arg1 == NULL) {
27692 SWIG_null_ref("wxDataFormat");
27693 }
27694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27695 }
27696 }
27697 {
27698 PyThreadState* __tstate = wxPyBeginAllowThreads();
27699 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
27700
27701 wxPyEndAllowThreads(__tstate);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
15afbcd0 27704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
d14a1e28
RD
27705 return resultobj;
27706 fail:
27707 return NULL;
27708}
27709
27710
c32bde28 27711static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27712 PyObject *resultobj;
27713 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
27714 PyObject *arg2 = (PyObject *) 0 ;
27715 PyObject *arg3 = (PyObject *) 0 ;
27716 PyObject * obj0 = 0 ;
27717 PyObject * obj1 = 0 ;
27718 PyObject * obj2 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self",(char *) "self",(char *) "_class", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27726 arg2 = obj1;
27727 arg3 = obj2;
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 (arg1)->_setCallbackInfo(arg2,arg3);
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 Py_INCREF(Py_None); resultobj = Py_None;
27736 return resultobj;
27737 fail:
27738 return NULL;
27739}
27740
27741
c32bde28 27742static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27743 PyObject *obj;
27744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27745 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
27746 Py_INCREF(obj);
27747 return Py_BuildValue((char *)"");
27748}
c32bde28 27749static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27750 PyObject *resultobj;
27751 wxDataObjectComposite *result;
27752 char *kwnames[] = {
27753 NULL
27754 };
27755
27756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
27757 {
27758 PyThreadState* __tstate = wxPyBeginAllowThreads();
27759 result = (wxDataObjectComposite *)new wxDataObjectComposite();
27760
27761 wxPyEndAllowThreads(__tstate);
27762 if (PyErr_Occurred()) SWIG_fail;
27763 }
15afbcd0 27764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
d14a1e28
RD
27765 return resultobj;
27766 fail:
27767 return NULL;
27768}
27769
27770
c32bde28 27771static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27772 PyObject *resultobj;
27773 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
27774 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 27775 bool arg3 = (bool) false ;
d14a1e28
RD
27776 PyObject * obj0 = 0 ;
27777 PyObject * obj1 = 0 ;
994141e6 27778 PyObject * obj2 = 0 ;
d14a1e28
RD
27779 char *kwnames[] = {
27780 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27781 };
27782
994141e6 27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail;
27786 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27787 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 27788 if (obj2) {
093d3ff1
RD
27789 {
27790 arg3 = (bool)(SWIG_As_bool(obj2));
27791 if (SWIG_arg_fail(3)) SWIG_fail;
27792 }
994141e6 27793 }
d14a1e28
RD
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 (arg1)->Add(arg2,arg3);
27797
27798 wxPyEndAllowThreads(__tstate);
27799 if (PyErr_Occurred()) SWIG_fail;
27800 }
27801 Py_INCREF(Py_None); resultobj = Py_None;
27802 return resultobj;
27803 fail:
27804 return NULL;
27805}
27806
27807
c32bde28 27808static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27809 PyObject *obj;
27810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27811 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
27812 Py_INCREF(obj);
27813 return Py_BuildValue((char *)"");
27814}
c32bde28 27815static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27816 PyObject *resultobj;
27817 wxString const &arg1_defvalue = wxPyEmptyString ;
27818 wxString *arg1 = (wxString *) &arg1_defvalue ;
27819 wxTextDataObject *result;
ae8162c8 27820 bool temp1 = false ;
d14a1e28
RD
27821 PyObject * obj0 = 0 ;
27822 char *kwnames[] = {
27823 (char *) "text", NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
27827 if (obj0) {
27828 {
27829 arg1 = wxString_in_helper(obj0);
27830 if (arg1 == NULL) SWIG_fail;
ae8162c8 27831 temp1 = true;
d14a1e28
RD
27832 }
27833 }
27834 {
27835 PyThreadState* __tstate = wxPyBeginAllowThreads();
27836 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
27837
27838 wxPyEndAllowThreads(__tstate);
27839 if (PyErr_Occurred()) SWIG_fail;
27840 }
15afbcd0 27841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
d14a1e28
RD
27842 {
27843 if (temp1)
27844 delete arg1;
27845 }
27846 return resultobj;
27847 fail:
27848 {
27849 if (temp1)
27850 delete arg1;
27851 }
27852 return NULL;
27853}
27854
27855
c32bde28 27856static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27857 PyObject *resultobj;
27858 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27859 size_t result;
27860 PyObject * obj0 = 0 ;
27861 char *kwnames[] = {
27862 (char *) "self", NULL
27863 };
27864
27865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
27866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 result = (size_t)(arg1)->GetTextLength();
27871
27872 wxPyEndAllowThreads(__tstate);
27873 if (PyErr_Occurred()) SWIG_fail;
27874 }
093d3ff1
RD
27875 {
27876 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27877 }
d14a1e28
RD
27878 return resultobj;
27879 fail:
27880 return NULL;
27881}
27882
27883
c32bde28 27884static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27885 PyObject *resultobj;
27886 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27887 wxString result;
27888 PyObject * obj0 = 0 ;
27889 char *kwnames[] = {
27890 (char *) "self", NULL
27891 };
27892
27893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
27894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27895 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27896 {
27897 PyThreadState* __tstate = wxPyBeginAllowThreads();
27898 result = (arg1)->GetText();
27899
27900 wxPyEndAllowThreads(__tstate);
27901 if (PyErr_Occurred()) SWIG_fail;
27902 }
27903 {
27904#if wxUSE_UNICODE
27905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27906#else
27907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27908#endif
27909 }
27910 return resultobj;
27911 fail:
27912 return NULL;
27913}
27914
27915
c32bde28 27916static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27917 PyObject *resultobj;
27918 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27919 wxString *arg2 = 0 ;
ae8162c8 27920 bool temp2 = false ;
d14a1e28
RD
27921 PyObject * obj0 = 0 ;
27922 PyObject * obj1 = 0 ;
27923 char *kwnames[] = {
27924 (char *) "self",(char *) "text", NULL
27925 };
27926
27927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27929 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27930 {
27931 arg2 = wxString_in_helper(obj1);
27932 if (arg2 == NULL) SWIG_fail;
ae8162c8 27933 temp2 = true;
d14a1e28
RD
27934 }
27935 {
27936 PyThreadState* __tstate = wxPyBeginAllowThreads();
27937 (arg1)->SetText((wxString const &)*arg2);
27938
27939 wxPyEndAllowThreads(__tstate);
27940 if (PyErr_Occurred()) SWIG_fail;
27941 }
27942 Py_INCREF(Py_None); resultobj = Py_None;
27943 {
27944 if (temp2)
27945 delete arg2;
27946 }
27947 return resultobj;
27948 fail:
27949 {
27950 if (temp2)
27951 delete arg2;
27952 }
27953 return NULL;
27954}
27955
27956
c32bde28 27957static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27958 PyObject *obj;
27959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27960 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
27961 Py_INCREF(obj);
27962 return Py_BuildValue((char *)"");
27963}
c32bde28 27964static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27965 PyObject *resultobj;
27966 wxString const &arg1_defvalue = wxPyEmptyString ;
27967 wxString *arg1 = (wxString *) &arg1_defvalue ;
27968 wxPyTextDataObject *result;
ae8162c8 27969 bool temp1 = false ;
d14a1e28
RD
27970 PyObject * obj0 = 0 ;
27971 char *kwnames[] = {
27972 (char *) "text", NULL
27973 };
27974
27975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
27976 if (obj0) {
27977 {
27978 arg1 = wxString_in_helper(obj0);
27979 if (arg1 == NULL) SWIG_fail;
ae8162c8 27980 temp1 = true;
d14a1e28
RD
27981 }
27982 }
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
27986
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
15afbcd0 27990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
d14a1e28
RD
27991 {
27992 if (temp1)
27993 delete arg1;
27994 }
27995 return resultobj;
27996 fail:
27997 {
27998 if (temp1)
27999 delete arg1;
28000 }
28001 return NULL;
28002}
28003
28004
c32bde28 28005static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28006 PyObject *resultobj;
28007 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
28008 PyObject *arg2 = (PyObject *) 0 ;
28009 PyObject *arg3 = (PyObject *) 0 ;
28010 PyObject * obj0 = 0 ;
28011 PyObject * obj1 = 0 ;
28012 PyObject * obj2 = 0 ;
28013 char *kwnames[] = {
28014 (char *) "self",(char *) "self",(char *) "_class", NULL
28015 };
28016
28017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28020 arg2 = obj1;
28021 arg3 = obj2;
28022 {
28023 PyThreadState* __tstate = wxPyBeginAllowThreads();
28024 (arg1)->_setCallbackInfo(arg2,arg3);
28025
28026 wxPyEndAllowThreads(__tstate);
28027 if (PyErr_Occurred()) SWIG_fail;
28028 }
28029 Py_INCREF(Py_None); resultobj = Py_None;
28030 return resultobj;
28031 fail:
28032 return NULL;
28033}
28034
28035
c32bde28 28036static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28037 PyObject *obj;
28038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28039 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
28040 Py_INCREF(obj);
28041 return Py_BuildValue((char *)"");
28042}
c32bde28 28043static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28044 PyObject *resultobj;
28045 wxBitmap const &arg1_defvalue = wxNullBitmap ;
28046 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
28047 wxBitmapDataObject *result;
28048 PyObject * obj0 = 0 ;
28049 char *kwnames[] = {
28050 (char *) "bitmap", NULL
28051 };
28052
28053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
28054 if (obj0) {
093d3ff1
RD
28055 {
28056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28057 if (SWIG_arg_fail(1)) SWIG_fail;
28058 if (arg1 == NULL) {
28059 SWIG_null_ref("wxBitmap");
28060 }
28061 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28062 }
28063 }
28064 {
28065 PyThreadState* __tstate = wxPyBeginAllowThreads();
28066 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
28067
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
15afbcd0 28071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
d14a1e28
RD
28072 return resultobj;
28073 fail:
28074 return NULL;
28075}
28076
28077
c32bde28 28078static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28079 PyObject *resultobj;
28080 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
28081 wxBitmap result;
28082 PyObject * obj0 = 0 ;
28083 char *kwnames[] = {
28084 (char *) "self", NULL
28085 };
28086
28087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
28088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28089 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28090 {
28091 PyThreadState* __tstate = wxPyBeginAllowThreads();
28092 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
28093
28094 wxPyEndAllowThreads(__tstate);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 }
28097 {
28098 wxBitmap * resultptr;
093d3ff1 28099 resultptr = new wxBitmap((wxBitmap &)(result));
15afbcd0 28100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
28101 }
28102 return resultobj;
28103 fail:
28104 return NULL;
28105}
28106
28107
c32bde28 28108static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28109 PyObject *resultobj;
28110 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
28111 wxBitmap *arg2 = 0 ;
28112 PyObject * obj0 = 0 ;
28113 PyObject * obj1 = 0 ;
28114 char *kwnames[] = {
28115 (char *) "self",(char *) "bitmap", NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail;
28121 {
28122 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28123 if (SWIG_arg_fail(2)) SWIG_fail;
28124 if (arg2 == NULL) {
28125 SWIG_null_ref("wxBitmap");
28126 }
28127 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28128 }
28129 {
28130 PyThreadState* __tstate = wxPyBeginAllowThreads();
28131 (arg1)->SetBitmap((wxBitmap const &)*arg2);
28132
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 Py_INCREF(Py_None); resultobj = Py_None;
28137 return resultobj;
28138 fail:
28139 return NULL;
28140}
28141
28142
c32bde28 28143static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28144 PyObject *obj;
28145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28146 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
28147 Py_INCREF(obj);
28148 return Py_BuildValue((char *)"");
28149}
c32bde28 28150static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28151 PyObject *resultobj;
28152 wxBitmap const &arg1_defvalue = wxNullBitmap ;
28153 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
28154 wxPyBitmapDataObject *result;
28155 PyObject * obj0 = 0 ;
28156 char *kwnames[] = {
28157 (char *) "bitmap", NULL
28158 };
28159
28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
28161 if (obj0) {
093d3ff1
RD
28162 {
28163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
28164 if (SWIG_arg_fail(1)) SWIG_fail;
28165 if (arg1 == NULL) {
28166 SWIG_null_ref("wxBitmap");
28167 }
28168 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28169 }
28170 }
28171 {
28172 PyThreadState* __tstate = wxPyBeginAllowThreads();
28173 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
28174
28175 wxPyEndAllowThreads(__tstate);
28176 if (PyErr_Occurred()) SWIG_fail;
28177 }
15afbcd0 28178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
d14a1e28
RD
28179 return resultobj;
28180 fail:
28181 return NULL;
28182}
28183
28184
c32bde28 28185static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28186 PyObject *resultobj;
28187 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
28188 PyObject *arg2 = (PyObject *) 0 ;
28189 PyObject *arg3 = (PyObject *) 0 ;
28190 PyObject * obj0 = 0 ;
28191 PyObject * obj1 = 0 ;
28192 PyObject * obj2 = 0 ;
28193 char *kwnames[] = {
28194 (char *) "self",(char *) "self",(char *) "_class", NULL
28195 };
28196
28197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
28199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28200 arg2 = obj1;
28201 arg3 = obj2;
28202 {
28203 PyThreadState* __tstate = wxPyBeginAllowThreads();
28204 (arg1)->_setCallbackInfo(arg2,arg3);
28205
28206 wxPyEndAllowThreads(__tstate);
28207 if (PyErr_Occurred()) SWIG_fail;
28208 }
28209 Py_INCREF(Py_None); resultobj = Py_None;
28210 return resultobj;
28211 fail:
28212 return NULL;
28213}
28214
28215
c32bde28 28216static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28217 PyObject *obj;
28218 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28219 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
28220 Py_INCREF(obj);
28221 return Py_BuildValue((char *)"");
28222}
c32bde28 28223static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28224 PyObject *resultobj;
28225 wxFileDataObject *result;
28226 char *kwnames[] = {
28227 NULL
28228 };
28229
28230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
28231 {
28232 PyThreadState* __tstate = wxPyBeginAllowThreads();
28233 result = (wxFileDataObject *)new wxFileDataObject();
28234
28235 wxPyEndAllowThreads(__tstate);
28236 if (PyErr_Occurred()) SWIG_fail;
28237 }
15afbcd0 28238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
d14a1e28
RD
28239 return resultobj;
28240 fail:
28241 return NULL;
28242}
28243
28244
c32bde28 28245static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28246 PyObject *resultobj;
28247 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28248 wxArrayString *result;
28249 PyObject * obj0 = 0 ;
28250 char *kwnames[] = {
28251 (char *) "self", NULL
28252 };
28253
28254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
28255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28256 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28257 {
28258 PyThreadState* __tstate = wxPyBeginAllowThreads();
28259 {
28260 wxArrayString const &_result_ref = (arg1)->GetFilenames();
28261 result = (wxArrayString *) &_result_ref;
28262 }
28263
28264 wxPyEndAllowThreads(__tstate);
28265 if (PyErr_Occurred()) SWIG_fail;
28266 }
28267 {
28268 resultobj = wxArrayString2PyList_helper(*result);
28269 }
28270 return resultobj;
28271 fail:
28272 return NULL;
28273}
28274
28275
c32bde28 28276static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
15afbcd0
RD
28277 PyObject *resultobj;
28278 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28279 wxString *arg2 = 0 ;
ae8162c8 28280 bool temp2 = false ;
15afbcd0
RD
28281 PyObject * obj0 = 0 ;
28282 PyObject * obj1 = 0 ;
28283 char *kwnames[] = {
28284 (char *) "self",(char *) "filename", NULL
28285 };
28286
28287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28289 if (SWIG_arg_fail(1)) SWIG_fail;
15afbcd0
RD
28290 {
28291 arg2 = wxString_in_helper(obj1);
28292 if (arg2 == NULL) SWIG_fail;
ae8162c8 28293 temp2 = true;
15afbcd0
RD
28294 }
28295 {
28296 PyThreadState* __tstate = wxPyBeginAllowThreads();
28297 (arg1)->AddFile((wxString const &)*arg2);
28298
28299 wxPyEndAllowThreads(__tstate);
28300 if (PyErr_Occurred()) SWIG_fail;
28301 }
28302 Py_INCREF(Py_None); resultobj = Py_None;
28303 {
28304 if (temp2)
28305 delete arg2;
28306 }
28307 return resultobj;
28308 fail:
28309 {
28310 if (temp2)
28311 delete arg2;
28312 }
28313 return NULL;
28314}
28315
28316
c32bde28 28317static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28318 PyObject *obj;
28319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28320 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
28321 Py_INCREF(obj);
28322 return Py_BuildValue((char *)"");
28323}
7557b9b5 28324static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
d14a1e28 28325 PyObject *resultobj;
7557b9b5 28326 wxDataFormat *arg1 = 0 ;
d14a1e28
RD
28327 wxCustomDataObject *result;
28328 PyObject * obj0 = 0 ;
d14a1e28 28329
7557b9b5
RD
28330 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28331 {
28332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28333 if (SWIG_arg_fail(1)) SWIG_fail;
28334 if (arg1 == NULL) {
28335 SWIG_null_ref("wxDataFormat");
d14a1e28 28336 }
7557b9b5 28337 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28338 }
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
15afbcd0 28346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
d14a1e28
RD
28347 return resultobj;
28348 fail:
28349 return NULL;
28350}
28351
28352
7557b9b5
RD
28353static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
28354 PyObject *resultobj;
28355 wxString *arg1 = 0 ;
28356 wxCustomDataObject *result;
28357 bool temp1 = false ;
28358 PyObject * obj0 = 0 ;
28359
28360 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28361 {
28362 arg1 = wxString_in_helper(obj0);
28363 if (arg1 == NULL) SWIG_fail;
28364 temp1 = true;
28365 }
28366 {
28367 PyThreadState* __tstate = wxPyBeginAllowThreads();
28368 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
28369
28370 wxPyEndAllowThreads(__tstate);
28371 if (PyErr_Occurred()) SWIG_fail;
28372 }
28373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28374 {
28375 if (temp1)
28376 delete arg1;
28377 }
28378 return resultobj;
28379 fail:
28380 {
28381 if (temp1)
28382 delete arg1;
28383 }
28384 return NULL;
28385}
28386
28387
28388static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
28389 PyObject *resultobj;
28390 wxCustomDataObject *result;
28391
28392 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 result = (wxCustomDataObject *)new wxCustomDataObject();
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28401 return resultobj;
28402 fail:
28403 return NULL;
28404}
28405
28406
28407static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
28408 int argc;
28409 PyObject *argv[2];
28410 int ii;
28411
28412 argc = PyObject_Length(args);
28413 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
28414 argv[ii] = PyTuple_GetItem(args,ii);
28415 }
28416 if (argc == 0) {
28417 return _wrap_new_CustomDataObject__SWIG_2(self,args);
28418 }
28419 if (argc == 1) {
28420 int _v;
28421 {
28422 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
28423 }
28424 if (_v) {
28425 return _wrap_new_CustomDataObject__SWIG_1(self,args);
28426 }
28427 }
28428 if (argc == 1) {
28429 int _v;
28430 {
28431 void *ptr = 0;
28432 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28433 _v = 0;
28434 PyErr_Clear();
28435 } else {
28436 _v = (ptr != 0);
28437 }
28438 }
28439 if (_v) {
28440 return _wrap_new_CustomDataObject__SWIG_0(self,args);
28441 }
28442 }
28443
28444 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
28445 return NULL;
28446}
28447
28448
c32bde28 28449static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28450 PyObject *resultobj;
28451 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28452 PyObject *arg2 = (PyObject *) 0 ;
28453 bool result;
28454 PyObject * obj0 = 0 ;
28455 PyObject * obj1 = 0 ;
28456 char *kwnames[] = {
28457 (char *) "self",(char *) "data", NULL
28458 };
28459
28460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28463 arg2 = obj1;
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
28466 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
4f89f6a3
RD
28471 {
28472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28473 }
d14a1e28
RD
28474 return resultobj;
28475 fail:
28476 return NULL;
28477}
28478
28479
c32bde28 28480static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28481 PyObject *resultobj;
28482 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28483 size_t result;
28484 PyObject * obj0 = 0 ;
28485 char *kwnames[] = {
28486 (char *) "self", NULL
28487 };
28488
28489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28492 {
28493 PyThreadState* __tstate = wxPyBeginAllowThreads();
28494 result = (size_t)(arg1)->GetSize();
28495
28496 wxPyEndAllowThreads(__tstate);
28497 if (PyErr_Occurred()) SWIG_fail;
28498 }
093d3ff1
RD
28499 {
28500 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28501 }
d14a1e28
RD
28502 return resultobj;
28503 fail:
28504 return NULL;
28505}
28506
28507
c32bde28 28508static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28509 PyObject *resultobj;
28510 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28511 PyObject *result;
28512 PyObject * obj0 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "self", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
28518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28519 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = (PyObject *)wxCustomDataObject_GetData(arg1);
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 resultobj = result;
28528 return resultobj;
28529 fail:
28530 return NULL;
28531}
28532
28533
c32bde28 28534static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28535 PyObject *obj;
28536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28537 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
28538 Py_INCREF(obj);
28539 return Py_BuildValue((char *)"");
28540}
c32bde28 28541static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28542 PyObject *resultobj;
28543 wxURLDataObject *result;
28544 char *kwnames[] = {
28545 NULL
28546 };
28547
28548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = (wxURLDataObject *)new wxURLDataObject();
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
15afbcd0 28556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
d14a1e28
RD
28557 return resultobj;
28558 fail:
28559 return NULL;
28560}
28561
28562
c32bde28 28563static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28564 PyObject *resultobj;
28565 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28566 wxString result;
28567 PyObject * obj0 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "self", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
28573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 result = (arg1)->GetURL();
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 {
28583#if wxUSE_UNICODE
28584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28585#else
28586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28587#endif
28588 }
28589 return resultobj;
28590 fail:
28591 return NULL;
28592}
28593
28594
c32bde28 28595static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28596 PyObject *resultobj;
28597 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28598 wxString *arg2 = 0 ;
ae8162c8 28599 bool temp2 = false ;
d14a1e28
RD
28600 PyObject * obj0 = 0 ;
28601 PyObject * obj1 = 0 ;
28602 char *kwnames[] = {
28603 (char *) "self",(char *) "url", NULL
28604 };
28605
28606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28609 {
28610 arg2 = wxString_in_helper(obj1);
28611 if (arg2 == NULL) SWIG_fail;
ae8162c8 28612 temp2 = true;
d14a1e28
RD
28613 }
28614 {
28615 PyThreadState* __tstate = wxPyBeginAllowThreads();
28616 (arg1)->SetURL((wxString const &)*arg2);
28617
28618 wxPyEndAllowThreads(__tstate);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 Py_INCREF(Py_None); resultobj = Py_None;
28622 {
28623 if (temp2)
28624 delete arg2;
28625 }
28626 return resultobj;
28627 fail:
28628 {
28629 if (temp2)
28630 delete arg2;
28631 }
28632 return NULL;
28633}
28634
28635
c32bde28 28636static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28637 PyObject *obj;
28638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28639 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
28640 Py_INCREF(obj);
28641 return Py_BuildValue((char *)"");
28642}
c32bde28 28643static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28644 PyObject *resultobj;
28645 wxMetafileDataObject *result;
28646 char *kwnames[] = {
28647 NULL
28648 };
28649
28650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 result = (wxMetafileDataObject *)new wxMetafileDataObject();
28654
28655 wxPyEndAllowThreads(__tstate);
28656 if (PyErr_Occurred()) SWIG_fail;
28657 }
15afbcd0 28658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
d14a1e28
RD
28659 return resultobj;
28660 fail:
28661 return NULL;
28662}
28663
28664
c32bde28 28665static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28666 PyObject *obj;
28667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28668 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
28669 Py_INCREF(obj);
28670 return Py_BuildValue((char *)"");
28671}
c32bde28 28672static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 28673 PyObject *resultobj;
093d3ff1 28674 wxDragResult arg1 ;
d14a1e28 28675 bool result;
994141e6 28676 PyObject * obj0 = 0 ;
d14a1e28
RD
28677 char *kwnames[] = {
28678 (char *) "res", NULL
28679 };
28680
994141e6 28681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
28682 {
28683 arg1 = (wxDragResult)(SWIG_As_int(obj0));
28684 if (SWIG_arg_fail(1)) SWIG_fail;
28685 }
d14a1e28
RD
28686 {
28687 PyThreadState* __tstate = wxPyBeginAllowThreads();
28688 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
28689
28690 wxPyEndAllowThreads(__tstate);
28691 if (PyErr_Occurred()) SWIG_fail;
28692 }
4f89f6a3
RD
28693 {
28694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28695 }
d14a1e28
RD
28696 return resultobj;
28697 fail:
28698 return NULL;
28699}
28700
28701
c32bde28 28702static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 28703 PyObject *resultobj;
d1e20054 28704 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
28705 wxIcon const &arg2_defvalue = wxNullIcon ;
28706 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
28707 wxIcon const &arg3_defvalue = wxNullIcon ;
28708 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
28709 wxIcon const &arg4_defvalue = wxNullIcon ;
28710 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
28711 wxPyDropSource *result;
28712 PyObject * obj0 = 0 ;
28713 PyObject * obj1 = 0 ;
28714 PyObject * obj2 = 0 ;
28715 PyObject * obj3 = 0 ;
28716 char *kwnames[] = {
28717 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28718 };
28719
d1e20054 28720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 28723 if (obj1) {
093d3ff1
RD
28724 {
28725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
28726 if (SWIG_arg_fail(2)) SWIG_fail;
28727 if (arg2 == NULL) {
28728 SWIG_null_ref("wxIcon");
28729 }
28730 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
28731 }
28732 }
28733 if (obj2) {
093d3ff1
RD
28734 {
28735 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
28736 if (SWIG_arg_fail(3)) SWIG_fail;
28737 if (arg3 == NULL) {
28738 SWIG_null_ref("wxIcon");
28739 }
28740 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
28741 }
28742 }
28743 if (obj3) {
093d3ff1
RD
28744 {
28745 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
28746 if (SWIG_arg_fail(4)) SWIG_fail;
28747 if (arg4 == NULL) {
28748 SWIG_null_ref("wxIcon");
28749 }
28750 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
28751 }
28752 }
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
28756
28757 wxPyEndAllowThreads(__tstate);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
15afbcd0 28760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
d14a1e28
RD
28761 return resultobj;
28762 fail:
28763 return NULL;
28764}
28765
28766
c32bde28 28767static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28768 PyObject *resultobj;
28769 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28770 PyObject *arg2 = (PyObject *) 0 ;
28771 PyObject *arg3 = (PyObject *) 0 ;
28772 int arg4 ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 PyObject * obj2 = 0 ;
994141e6 28776 PyObject * obj3 = 0 ;
d14a1e28
RD
28777 char *kwnames[] = {
28778 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28779 };
28780
994141e6 28781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
28782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28783 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28784 arg2 = obj1;
28785 arg3 = obj2;
093d3ff1
RD
28786 {
28787 arg4 = (int)(SWIG_As_int(obj3));
28788 if (SWIG_arg_fail(4)) SWIG_fail;
28789 }
d14a1e28
RD
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 Py_INCREF(Py_None); resultobj = Py_None;
28798 return resultobj;
28799 fail:
28800 return NULL;
28801}
28802
28803
c32bde28 28804static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28805 PyObject *resultobj;
28806 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28807 PyObject * obj0 = 0 ;
28808 char *kwnames[] = {
28809 (char *) "self", NULL
28810 };
28811
28812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
28813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28815 {
28816 PyThreadState* __tstate = wxPyBeginAllowThreads();
28817 delete arg1;
28818
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 Py_INCREF(Py_None); resultobj = Py_None;
28823 return resultobj;
28824 fail:
28825 return NULL;
28826}
28827
28828
c32bde28 28829static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28830 PyObject *resultobj;
28831 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28832 wxDataObject *arg2 = 0 ;
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
28835 char *kwnames[] = {
28836 (char *) "self",(char *) "data", NULL
28837 };
28838
28839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28841 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 28842 {
093d3ff1
RD
28843 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28844 if (SWIG_arg_fail(2)) SWIG_fail;
28845 if (arg2 == NULL) {
28846 SWIG_null_ref("wxDataObject");
28847 }
28848 if (SWIG_arg_fail(2)) SWIG_fail;
28849 }
28850 {
28851 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28
RD
28852 (arg1)->SetData(*arg2);
28853
28854 wxPyEndAllowThreads(__tstate);
28855 if (PyErr_Occurred()) SWIG_fail;
28856 }
28857 Py_INCREF(Py_None); resultobj = Py_None;
28858 return resultobj;
28859 fail:
28860 return NULL;
28861}
28862
28863
c32bde28 28864static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28865 PyObject *resultobj;
28866 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28867 wxDataObject *result;
28868 PyObject * obj0 = 0 ;
28869 char *kwnames[] = {
28870 (char *) "self", NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
28876 {
28877 PyThreadState* __tstate = wxPyBeginAllowThreads();
28878 result = (wxDataObject *)(arg1)->GetDataObject();
28879
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
15afbcd0 28883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
28884 return resultobj;
28885 fail:
28886 return NULL;
28887}
28888
28889
c32bde28 28890static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28891 PyObject *resultobj;
28892 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28893 wxDragResult arg2 ;
d14a1e28
RD
28894 wxCursor *arg3 = 0 ;
28895 PyObject * obj0 = 0 ;
994141e6 28896 PyObject * obj1 = 0 ;
d14a1e28
RD
28897 PyObject * obj2 = 0 ;
28898 char *kwnames[] = {
28899 (char *) "self",(char *) "res",(char *) "cursor", NULL
28900 };
28901
994141e6 28902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail;
28905 {
28906 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28907 if (SWIG_arg_fail(2)) SWIG_fail;
28908 }
28909 {
28910 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28911 if (SWIG_arg_fail(3)) SWIG_fail;
28912 if (arg3 == NULL) {
28913 SWIG_null_ref("wxCursor");
28914 }
28915 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
28916 }
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
28919 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
28920
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
28924 Py_INCREF(Py_None); resultobj = Py_None;
28925 return resultobj;
28926 fail:
28927 return NULL;
28928}
28929
28930
c32bde28 28931static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28932 PyObject *resultobj;
28933 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28934 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 28935 wxDragResult result;
d14a1e28 28936 PyObject * obj0 = 0 ;
994141e6 28937 PyObject * obj1 = 0 ;
d14a1e28
RD
28938 char *kwnames[] = {
28939 (char *) "self",(char *) "flags", NULL
28940 };
28941
994141e6 28942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 28945 if (obj1) {
093d3ff1
RD
28946 {
28947 arg2 = (int)(SWIG_As_int(obj1));
28948 if (SWIG_arg_fail(2)) SWIG_fail;
28949 }
994141e6 28950 }
d14a1e28
RD
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28953 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d14a1e28
RD
28954
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
093d3ff1 28958 resultobj = SWIG_From_int((result));
d14a1e28
RD
28959 return resultobj;
28960 fail:
28961 return NULL;
28962}
28963
28964
c32bde28 28965static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28966 PyObject *resultobj;
28967 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 28968 wxDragResult arg2 ;
d14a1e28
RD
28969 bool result;
28970 PyObject * obj0 = 0 ;
994141e6 28971 PyObject * obj1 = 0 ;
d14a1e28
RD
28972 char *kwnames[] = {
28973 (char *) "self",(char *) "effect", NULL
28974 };
28975
994141e6 28976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28978 if (SWIG_arg_fail(1)) SWIG_fail;
28979 {
28980 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28981 if (SWIG_arg_fail(2)) SWIG_fail;
28982 }
d14a1e28
RD
28983 {
28984 PyThreadState* __tstate = wxPyBeginAllowThreads();
28985 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
28986
28987 wxPyEndAllowThreads(__tstate);
28988 if (PyErr_Occurred()) SWIG_fail;
28989 }
4f89f6a3
RD
28990 {
28991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28992 }
d14a1e28
RD
28993 return resultobj;
28994 fail:
28995 return NULL;
28996}
28997
28998
c32bde28 28999static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29000 PyObject *obj;
29001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29002 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
29003 Py_INCREF(obj);
29004 return Py_BuildValue((char *)"");
29005}
c32bde28 29006static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29007 PyObject *resultobj;
29008 wxDataObject *arg1 = (wxDataObject *) NULL ;
29009 wxPyDropTarget *result;
29010 PyObject * obj0 = 0 ;
29011 char *kwnames[] = {
29012 (char *) "dataObject", NULL
29013 };
29014
15afbcd0 29015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
d14a1e28 29016 if (obj0) {
093d3ff1
RD
29017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29019 }
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
29023
29024 wxPyEndAllowThreads(__tstate);
29025 if (PyErr_Occurred()) SWIG_fail;
29026 }
15afbcd0 29027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
d14a1e28
RD
29028 return resultobj;
29029 fail:
29030 return NULL;
29031}
29032
29033
c32bde28 29034static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29035 PyObject *resultobj;
29036 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29037 PyObject *arg2 = (PyObject *) 0 ;
29038 PyObject *arg3 = (PyObject *) 0 ;
29039 PyObject * obj0 = 0 ;
29040 PyObject * obj1 = 0 ;
29041 PyObject * obj2 = 0 ;
29042 char *kwnames[] = {
29043 (char *) "self",(char *) "self",(char *) "_class", NULL
29044 };
29045
29046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29049 arg2 = obj1;
29050 arg3 = obj2;
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
29053 (arg1)->_setCallbackInfo(arg2,arg3);
29054
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 Py_INCREF(Py_None); resultobj = Py_None;
29059 return resultobj;
29060 fail:
29061 return NULL;
29062}
29063
29064
c32bde28 29065static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29066 PyObject *resultobj;
29067 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29068 PyObject * obj0 = 0 ;
29069 char *kwnames[] = {
29070 (char *) "self", NULL
29071 };
29072
29073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
29074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29076 {
29077 PyThreadState* __tstate = wxPyBeginAllowThreads();
29078 delete arg1;
29079
29080 wxPyEndAllowThreads(__tstate);
29081 if (PyErr_Occurred()) SWIG_fail;
29082 }
29083 Py_INCREF(Py_None); resultobj = Py_None;
29084 return resultobj;
29085 fail:
29086 return NULL;
29087}
29088
29089
c32bde28 29090static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29091 PyObject *resultobj;
29092 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29093 wxDataObject *result;
29094 PyObject * obj0 = 0 ;
29095 char *kwnames[] = {
29096 (char *) "self", NULL
29097 };
29098
29099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
29100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 result = (wxDataObject *)(arg1)->GetDataObject();
29105
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
15afbcd0 29109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
d14a1e28
RD
29110 return resultobj;
29111 fail:
29112 return NULL;
29113}
29114
29115
c32bde28 29116static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29117 PyObject *resultobj;
29118 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29119 wxDataObject *arg2 = (wxDataObject *) 0 ;
29120 PyObject * obj0 = 0 ;
29121 PyObject * obj1 = 0 ;
29122 char *kwnames[] = {
29123 (char *) "self",(char *) "dataObject", NULL
29124 };
29125
29126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29128 if (SWIG_arg_fail(1)) SWIG_fail;
29129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29130 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 (arg1)->SetDataObject(arg2);
29134
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 Py_INCREF(Py_None); resultobj = Py_None;
29139 return resultobj;
29140 fail:
29141 return NULL;
29142}
29143
29144
c32bde28 29145static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29146 PyObject *resultobj;
29147 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
29148 int arg2 ;
29149 int arg3 ;
093d3ff1
RD
29150 wxDragResult arg4 ;
29151 wxDragResult result;
d14a1e28 29152 PyObject * obj0 = 0 ;
994141e6
RD
29153 PyObject * obj1 = 0 ;
29154 PyObject * obj2 = 0 ;
29155 PyObject * obj3 = 0 ;
d14a1e28
RD
29156 char *kwnames[] = {
29157 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29158 };
29159
994141e6 29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29162 if (SWIG_arg_fail(1)) SWIG_fail;
29163 {
29164 arg2 = (int)(SWIG_As_int(obj1));
29165 if (SWIG_arg_fail(2)) SWIG_fail;
29166 }
29167 {
29168 arg3 = (int)(SWIG_As_int(obj2));
29169 if (SWIG_arg_fail(3)) SWIG_fail;
29170 }
29171 {
29172 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29173 if (SWIG_arg_fail(4)) SWIG_fail;
29174 }
d14a1e28
RD
29175 {
29176 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29177 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29178
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
093d3ff1 29182 resultobj = SWIG_From_int((result));
d14a1e28
RD
29183 return resultobj;
29184 fail:
29185 return NULL;
29186}
29187
29188
c32bde28 29189static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29190 PyObject *resultobj;
29191 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
29192 int arg2 ;
29193 int arg3 ;
093d3ff1
RD
29194 wxDragResult arg4 ;
29195 wxDragResult result;
d14a1e28 29196 PyObject * obj0 = 0 ;
994141e6
RD
29197 PyObject * obj1 = 0 ;
29198 PyObject * obj2 = 0 ;
29199 PyObject * obj3 = 0 ;
d14a1e28
RD
29200 char *kwnames[] = {
29201 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29202 };
29203
994141e6 29204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29206 if (SWIG_arg_fail(1)) SWIG_fail;
29207 {
29208 arg2 = (int)(SWIG_As_int(obj1));
29209 if (SWIG_arg_fail(2)) SWIG_fail;
29210 }
29211 {
29212 arg3 = (int)(SWIG_As_int(obj2));
29213 if (SWIG_arg_fail(3)) SWIG_fail;
29214 }
29215 {
29216 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29217 if (SWIG_arg_fail(4)) SWIG_fail;
29218 }
d14a1e28
RD
29219 {
29220 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29221 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29222
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
093d3ff1 29226 resultobj = SWIG_From_int((result));
d14a1e28
RD
29227 return resultobj;
29228 fail:
29229 return NULL;
29230}
29231
29232
c32bde28 29233static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29234 PyObject *resultobj;
29235 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29236 PyObject * obj0 = 0 ;
29237 char *kwnames[] = {
29238 (char *) "self", NULL
29239 };
29240
29241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 (arg1)->base_OnLeave();
29247
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 Py_INCREF(Py_None); resultobj = Py_None;
29252 return resultobj;
29253 fail:
29254 return NULL;
29255}
29256
29257
c32bde28 29258static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29259 PyObject *resultobj;
29260 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
e811c8ce
RD
29261 int arg2 ;
29262 int arg3 ;
d14a1e28
RD
29263 bool result;
29264 PyObject * obj0 = 0 ;
994141e6
RD
29265 PyObject * obj1 = 0 ;
29266 PyObject * obj2 = 0 ;
d14a1e28
RD
29267 char *kwnames[] = {
29268 (char *) "self",(char *) "x",(char *) "y", NULL
29269 };
29270
994141e6 29271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29273 if (SWIG_arg_fail(1)) SWIG_fail;
29274 {
29275 arg2 = (int)(SWIG_As_int(obj1));
29276 if (SWIG_arg_fail(2)) SWIG_fail;
29277 }
29278 {
29279 arg3 = (int)(SWIG_As_int(obj2));
29280 if (SWIG_arg_fail(3)) SWIG_fail;
29281 }
d14a1e28
RD
29282 {
29283 PyThreadState* __tstate = wxPyBeginAllowThreads();
29284 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29285
29286 wxPyEndAllowThreads(__tstate);
29287 if (PyErr_Occurred()) SWIG_fail;
29288 }
4f89f6a3
RD
29289 {
29290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29291 }
d14a1e28
RD
29292 return resultobj;
29293 fail:
29294 return NULL;
29295}
29296
29297
c32bde28 29298static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29299 PyObject *resultobj;
29300 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29301 bool result;
29302 PyObject * obj0 = 0 ;
29303 char *kwnames[] = {
29304 (char *) "self", NULL
29305 };
29306
29307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 result = (bool)(arg1)->GetData();
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
4f89f6a3
RD
29317 {
29318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29319 }
d14a1e28
RD
29320 return resultobj;
29321 fail:
29322 return NULL;
29323}
29324
29325
c9caa6bb
RD
29326static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29327 PyObject *resultobj;
29328 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29329 wxDragResult arg2 ;
29330 PyObject * obj0 = 0 ;
29331 PyObject * obj1 = 0 ;
29332 char *kwnames[] = {
29333 (char *) "self",(char *) "action", NULL
29334 };
29335
29336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
29337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail;
29339 {
29340 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29341 if (SWIG_arg_fail(2)) SWIG_fail;
29342 }
29343 {
29344 PyThreadState* __tstate = wxPyBeginAllowThreads();
29345 (arg1)->SetDefaultAction((wxDragResult )arg2);
29346
29347 wxPyEndAllowThreads(__tstate);
29348 if (PyErr_Occurred()) SWIG_fail;
29349 }
29350 Py_INCREF(Py_None); resultobj = Py_None;
29351 return resultobj;
29352 fail:
29353 return NULL;
29354}
29355
29356
29357static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29358 PyObject *resultobj;
29359 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29360 wxDragResult result;
29361 PyObject * obj0 = 0 ;
29362 char *kwnames[] = {
29363 (char *) "self", NULL
29364 };
29365
29366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
29367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29368 if (SWIG_arg_fail(1)) SWIG_fail;
29369 {
29370 PyThreadState* __tstate = wxPyBeginAllowThreads();
29371 result = (wxDragResult)(arg1)->GetDefaultAction();
29372
29373 wxPyEndAllowThreads(__tstate);
29374 if (PyErr_Occurred()) SWIG_fail;
29375 }
29376 resultobj = SWIG_From_int((result));
29377 return resultobj;
29378 fail:
29379 return NULL;
29380}
29381
29382
c32bde28 29383static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29384 PyObject *obj;
29385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29386 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
29387 Py_INCREF(obj);
29388 return Py_BuildValue((char *)"");
29389}
c32bde28 29390static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29391 PyObject *resultobj;
29392 wxPyTextDropTarget *result;
29393 char *kwnames[] = {
29394 NULL
29395 };
29396
29397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
29398 {
29399 PyThreadState* __tstate = wxPyBeginAllowThreads();
29400 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
29401
29402 wxPyEndAllowThreads(__tstate);
29403 if (PyErr_Occurred()) SWIG_fail;
29404 }
15afbcd0 29405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
d14a1e28
RD
29406 return resultobj;
29407 fail:
29408 return NULL;
29409}
29410
29411
c32bde28 29412static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29413 PyObject *resultobj;
29414 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29415 PyObject *arg2 = (PyObject *) 0 ;
29416 PyObject *arg3 = (PyObject *) 0 ;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 PyObject * obj2 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self",(char *) "self",(char *) "_class", NULL
29422 };
29423
29424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29426 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29427 arg2 = obj1;
29428 arg3 = obj2;
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
29431 (arg1)->_setCallbackInfo(arg2,arg3);
29432
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 Py_INCREF(Py_None); resultobj = Py_None;
29437 return resultobj;
29438 fail:
29439 return NULL;
29440}
29441
29442
c32bde28 29443static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29444 PyObject *resultobj;
29445 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
29446 int arg2 ;
29447 int arg3 ;
093d3ff1
RD
29448 wxDragResult arg4 ;
29449 wxDragResult result;
d14a1e28 29450 PyObject * obj0 = 0 ;
994141e6
RD
29451 PyObject * obj1 = 0 ;
29452 PyObject * obj2 = 0 ;
29453 PyObject * obj3 = 0 ;
d14a1e28
RD
29454 char *kwnames[] = {
29455 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29456 };
29457
994141e6 29458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29460 if (SWIG_arg_fail(1)) SWIG_fail;
29461 {
29462 arg2 = (int)(SWIG_As_int(obj1));
29463 if (SWIG_arg_fail(2)) SWIG_fail;
29464 }
29465 {
29466 arg3 = (int)(SWIG_As_int(obj2));
29467 if (SWIG_arg_fail(3)) SWIG_fail;
29468 }
29469 {
29470 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29471 if (SWIG_arg_fail(4)) SWIG_fail;
29472 }
d14a1e28
RD
29473 {
29474 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29475 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29476
29477 wxPyEndAllowThreads(__tstate);
29478 if (PyErr_Occurred()) SWIG_fail;
29479 }
093d3ff1 29480 resultobj = SWIG_From_int((result));
d14a1e28
RD
29481 return resultobj;
29482 fail:
29483 return NULL;
29484}
29485
29486
c32bde28 29487static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29488 PyObject *resultobj;
29489 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
29490 int arg2 ;
29491 int arg3 ;
093d3ff1
RD
29492 wxDragResult arg4 ;
29493 wxDragResult result;
d14a1e28 29494 PyObject * obj0 = 0 ;
994141e6
RD
29495 PyObject * obj1 = 0 ;
29496 PyObject * obj2 = 0 ;
29497 PyObject * obj3 = 0 ;
d14a1e28
RD
29498 char *kwnames[] = {
29499 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29500 };
29501
994141e6 29502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29504 if (SWIG_arg_fail(1)) SWIG_fail;
29505 {
29506 arg2 = (int)(SWIG_As_int(obj1));
29507 if (SWIG_arg_fail(2)) SWIG_fail;
29508 }
29509 {
29510 arg3 = (int)(SWIG_As_int(obj2));
29511 if (SWIG_arg_fail(3)) SWIG_fail;
29512 }
29513 {
29514 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29515 if (SWIG_arg_fail(4)) SWIG_fail;
29516 }
d14a1e28
RD
29517 {
29518 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29519 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29520
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
093d3ff1 29524 resultobj = SWIG_From_int((result));
d14a1e28
RD
29525 return resultobj;
29526 fail:
29527 return NULL;
29528}
29529
29530
c32bde28 29531static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29532 PyObject *resultobj;
29533 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29534 PyObject * obj0 = 0 ;
29535 char *kwnames[] = {
29536 (char *) "self", NULL
29537 };
29538
29539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 (arg1)->base_OnLeave();
29545
29546 wxPyEndAllowThreads(__tstate);
29547 if (PyErr_Occurred()) SWIG_fail;
29548 }
29549 Py_INCREF(Py_None); resultobj = Py_None;
29550 return resultobj;
29551 fail:
29552 return NULL;
29553}
29554
29555
c32bde28 29556static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29557 PyObject *resultobj;
29558 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
29559 int arg2 ;
29560 int arg3 ;
d14a1e28
RD
29561 bool result;
29562 PyObject * obj0 = 0 ;
994141e6
RD
29563 PyObject * obj1 = 0 ;
29564 PyObject * obj2 = 0 ;
d14a1e28
RD
29565 char *kwnames[] = {
29566 (char *) "self",(char *) "x",(char *) "y", NULL
29567 };
29568
994141e6 29569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29571 if (SWIG_arg_fail(1)) SWIG_fail;
29572 {
29573 arg2 = (int)(SWIG_As_int(obj1));
29574 if (SWIG_arg_fail(2)) SWIG_fail;
29575 }
29576 {
29577 arg3 = (int)(SWIG_As_int(obj2));
29578 if (SWIG_arg_fail(3)) SWIG_fail;
29579 }
d14a1e28
RD
29580 {
29581 PyThreadState* __tstate = wxPyBeginAllowThreads();
29582 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29583
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
4f89f6a3
RD
29587 {
29588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29589 }
d14a1e28
RD
29590 return resultobj;
29591 fail:
29592 return NULL;
29593}
29594
29595
c32bde28 29596static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29597 PyObject *resultobj;
29598 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
e811c8ce
RD
29599 int arg2 ;
29600 int arg3 ;
093d3ff1
RD
29601 wxDragResult arg4 ;
29602 wxDragResult result;
d14a1e28 29603 PyObject * obj0 = 0 ;
994141e6
RD
29604 PyObject * obj1 = 0 ;
29605 PyObject * obj2 = 0 ;
29606 PyObject * obj3 = 0 ;
d14a1e28
RD
29607 char *kwnames[] = {
29608 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29609 };
29610
994141e6 29611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29613 if (SWIG_arg_fail(1)) SWIG_fail;
29614 {
29615 arg2 = (int)(SWIG_As_int(obj1));
29616 if (SWIG_arg_fail(2)) SWIG_fail;
29617 }
29618 {
29619 arg3 = (int)(SWIG_As_int(obj2));
29620 if (SWIG_arg_fail(3)) SWIG_fail;
29621 }
29622 {
29623 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29624 if (SWIG_arg_fail(4)) SWIG_fail;
29625 }
d14a1e28
RD
29626 {
29627 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29628 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29629
29630 wxPyEndAllowThreads(__tstate);
29631 if (PyErr_Occurred()) SWIG_fail;
29632 }
093d3ff1 29633 resultobj = SWIG_From_int((result));
d14a1e28
RD
29634 return resultobj;
29635 fail:
29636 return NULL;
29637}
29638
29639
c32bde28 29640static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29641 PyObject *obj;
29642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29643 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
29644 Py_INCREF(obj);
29645 return Py_BuildValue((char *)"");
29646}
c32bde28 29647static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29648 PyObject *resultobj;
29649 wxPyFileDropTarget *result;
29650 char *kwnames[] = {
29651 NULL
29652 };
29653
29654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
29655 {
29656 PyThreadState* __tstate = wxPyBeginAllowThreads();
29657 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
29658
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
15afbcd0 29662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
d14a1e28
RD
29663 return resultobj;
29664 fail:
29665 return NULL;
29666}
29667
29668
c32bde28 29669static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29670 PyObject *resultobj;
29671 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29672 PyObject *arg2 = (PyObject *) 0 ;
29673 PyObject *arg3 = (PyObject *) 0 ;
29674 PyObject * obj0 = 0 ;
29675 PyObject * obj1 = 0 ;
29676 PyObject * obj2 = 0 ;
29677 char *kwnames[] = {
29678 (char *) "self",(char *) "self",(char *) "_class", NULL
29679 };
29680
29681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29683 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29684 arg2 = obj1;
29685 arg3 = obj2;
29686 {
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 (arg1)->_setCallbackInfo(arg2,arg3);
29689
29690 wxPyEndAllowThreads(__tstate);
29691 if (PyErr_Occurred()) SWIG_fail;
29692 }
29693 Py_INCREF(Py_None); resultobj = Py_None;
29694 return resultobj;
29695 fail:
29696 return NULL;
29697}
29698
29699
c32bde28 29700static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29701 PyObject *resultobj;
29702 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
29703 int arg2 ;
29704 int arg3 ;
093d3ff1
RD
29705 wxDragResult arg4 ;
29706 wxDragResult result;
d14a1e28 29707 PyObject * obj0 = 0 ;
994141e6
RD
29708 PyObject * obj1 = 0 ;
29709 PyObject * obj2 = 0 ;
29710 PyObject * obj3 = 0 ;
d14a1e28
RD
29711 char *kwnames[] = {
29712 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29713 };
29714
994141e6 29715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29717 if (SWIG_arg_fail(1)) SWIG_fail;
29718 {
29719 arg2 = (int)(SWIG_As_int(obj1));
29720 if (SWIG_arg_fail(2)) SWIG_fail;
29721 }
29722 {
29723 arg3 = (int)(SWIG_As_int(obj2));
29724 if (SWIG_arg_fail(3)) SWIG_fail;
29725 }
29726 {
29727 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29728 if (SWIG_arg_fail(4)) SWIG_fail;
29729 }
d14a1e28
RD
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29732 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29733
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
093d3ff1 29737 resultobj = SWIG_From_int((result));
d14a1e28
RD
29738 return resultobj;
29739 fail:
29740 return NULL;
29741}
29742
29743
c32bde28 29744static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29745 PyObject *resultobj;
29746 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
29747 int arg2 ;
29748 int arg3 ;
093d3ff1
RD
29749 wxDragResult arg4 ;
29750 wxDragResult result;
d14a1e28 29751 PyObject * obj0 = 0 ;
994141e6
RD
29752 PyObject * obj1 = 0 ;
29753 PyObject * obj2 = 0 ;
29754 PyObject * obj3 = 0 ;
d14a1e28
RD
29755 char *kwnames[] = {
29756 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29757 };
29758
994141e6 29759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29761 if (SWIG_arg_fail(1)) SWIG_fail;
29762 {
29763 arg2 = (int)(SWIG_As_int(obj1));
29764 if (SWIG_arg_fail(2)) SWIG_fail;
29765 }
29766 {
29767 arg3 = (int)(SWIG_As_int(obj2));
29768 if (SWIG_arg_fail(3)) SWIG_fail;
29769 }
29770 {
29771 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29772 if (SWIG_arg_fail(4)) SWIG_fail;
29773 }
d14a1e28
RD
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29776 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29777
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
093d3ff1 29781 resultobj = SWIG_From_int((result));
d14a1e28
RD
29782 return resultobj;
29783 fail:
29784 return NULL;
29785}
29786
29787
c32bde28 29788static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29789 PyObject *resultobj;
29790 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29791 PyObject * obj0 = 0 ;
29792 char *kwnames[] = {
29793 (char *) "self", NULL
29794 };
29795
29796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
29797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29798 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29799 {
29800 PyThreadState* __tstate = wxPyBeginAllowThreads();
29801 (arg1)->base_OnLeave();
29802
29803 wxPyEndAllowThreads(__tstate);
29804 if (PyErr_Occurred()) SWIG_fail;
29805 }
29806 Py_INCREF(Py_None); resultobj = Py_None;
29807 return resultobj;
29808 fail:
29809 return NULL;
29810}
29811
29812
c32bde28 29813static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29814 PyObject *resultobj;
29815 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
29816 int arg2 ;
29817 int arg3 ;
d14a1e28
RD
29818 bool result;
29819 PyObject * obj0 = 0 ;
994141e6
RD
29820 PyObject * obj1 = 0 ;
29821 PyObject * obj2 = 0 ;
d14a1e28
RD
29822 char *kwnames[] = {
29823 (char *) "self",(char *) "x",(char *) "y", NULL
29824 };
29825
994141e6 29826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29828 if (SWIG_arg_fail(1)) SWIG_fail;
29829 {
29830 arg2 = (int)(SWIG_As_int(obj1));
29831 if (SWIG_arg_fail(2)) SWIG_fail;
29832 }
29833 {
29834 arg3 = (int)(SWIG_As_int(obj2));
29835 if (SWIG_arg_fail(3)) SWIG_fail;
29836 }
d14a1e28
RD
29837 {
29838 PyThreadState* __tstate = wxPyBeginAllowThreads();
29839 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29840
29841 wxPyEndAllowThreads(__tstate);
29842 if (PyErr_Occurred()) SWIG_fail;
29843 }
4f89f6a3
RD
29844 {
29845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29846 }
d14a1e28
RD
29847 return resultobj;
29848 fail:
29849 return NULL;
29850}
29851
29852
c32bde28 29853static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29854 PyObject *resultobj;
29855 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
e811c8ce
RD
29856 int arg2 ;
29857 int arg3 ;
093d3ff1
RD
29858 wxDragResult arg4 ;
29859 wxDragResult result;
d14a1e28 29860 PyObject * obj0 = 0 ;
994141e6
RD
29861 PyObject * obj1 = 0 ;
29862 PyObject * obj2 = 0 ;
29863 PyObject * obj3 = 0 ;
d14a1e28
RD
29864 char *kwnames[] = {
29865 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29866 };
29867
994141e6 29868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29870 if (SWIG_arg_fail(1)) SWIG_fail;
29871 {
29872 arg2 = (int)(SWIG_As_int(obj1));
29873 if (SWIG_arg_fail(2)) SWIG_fail;
29874 }
29875 {
29876 arg3 = (int)(SWIG_As_int(obj2));
29877 if (SWIG_arg_fail(3)) SWIG_fail;
29878 }
29879 {
29880 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29881 if (SWIG_arg_fail(4)) SWIG_fail;
29882 }
d14a1e28
RD
29883 {
29884 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29885 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
d14a1e28
RD
29886
29887 wxPyEndAllowThreads(__tstate);
29888 if (PyErr_Occurred()) SWIG_fail;
29889 }
093d3ff1 29890 resultobj = SWIG_From_int((result));
d14a1e28
RD
29891 return resultobj;
29892 fail:
29893 return NULL;
29894}
29895
29896
c32bde28 29897static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29898 PyObject *obj;
29899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29900 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
29901 Py_INCREF(obj);
29902 return Py_BuildValue((char *)"");
29903}
c32bde28 29904static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29905 PyObject *resultobj;
29906 wxClipboard *result;
29907 char *kwnames[] = {
29908 NULL
29909 };
29910
29911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (wxClipboard *)new wxClipboard();
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
15afbcd0 29919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
d14a1e28
RD
29920 return resultobj;
29921 fail:
29922 return NULL;
29923}
29924
29925
c32bde28 29926static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29927 PyObject *resultobj;
29928 wxClipboard *arg1 = (wxClipboard *) 0 ;
29929 PyObject * obj0 = 0 ;
29930 char *kwnames[] = {
29931 (char *) "self", NULL
29932 };
29933
29934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
29935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29937 {
29938 PyThreadState* __tstate = wxPyBeginAllowThreads();
29939 delete arg1;
29940
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 Py_INCREF(Py_None); resultobj = Py_None;
29945 return resultobj;
29946 fail:
29947 return NULL;
29948}
29949
29950
c32bde28 29951static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29952 PyObject *resultobj;
29953 wxClipboard *arg1 = (wxClipboard *) 0 ;
29954 bool result;
29955 PyObject * obj0 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
29961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 result = (bool)(arg1)->Open();
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
4f89f6a3
RD
29970 {
29971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29972 }
d14a1e28
RD
29973 return resultobj;
29974 fail:
29975 return NULL;
29976}
29977
29978
c32bde28 29979static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29980 PyObject *resultobj;
29981 wxClipboard *arg1 = (wxClipboard *) 0 ;
29982 PyObject * obj0 = 0 ;
29983 char *kwnames[] = {
29984 (char *) "self", NULL
29985 };
29986
29987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
29988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 (arg1)->Close();
29993
29994 wxPyEndAllowThreads(__tstate);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 }
29997 Py_INCREF(Py_None); resultobj = Py_None;
29998 return resultobj;
29999 fail:
30000 return NULL;
30001}
30002
30003
c32bde28 30004static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30005 PyObject *resultobj;
30006 wxClipboard *arg1 = (wxClipboard *) 0 ;
30007 bool result;
30008 PyObject * obj0 = 0 ;
30009 char *kwnames[] = {
30010 (char *) "self", NULL
30011 };
30012
30013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
30014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30015 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30016 {
30017 PyThreadState* __tstate = wxPyBeginAllowThreads();
30018 result = (bool)((wxClipboard const *)arg1)->IsOpened();
30019
30020 wxPyEndAllowThreads(__tstate);
30021 if (PyErr_Occurred()) SWIG_fail;
30022 }
4f89f6a3
RD
30023 {
30024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30025 }
d14a1e28
RD
30026 return resultobj;
30027 fail:
30028 return NULL;
30029}
30030
30031
c32bde28 30032static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30033 PyObject *resultobj;
30034 wxClipboard *arg1 = (wxClipboard *) 0 ;
30035 wxDataObject *arg2 = (wxDataObject *) 0 ;
30036 bool result;
30037 PyObject * obj0 = 0 ;
30038 PyObject * obj1 = 0 ;
30039 char *kwnames[] = {
30040 (char *) "self",(char *) "data", NULL
30041 };
30042
30043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30045 if (SWIG_arg_fail(1)) SWIG_fail;
30046 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30047 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30048 {
30049 PyThreadState* __tstate = wxPyBeginAllowThreads();
30050 result = (bool)(arg1)->AddData(arg2);
30051
30052 wxPyEndAllowThreads(__tstate);
30053 if (PyErr_Occurred()) SWIG_fail;
30054 }
4f89f6a3
RD
30055 {
30056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30057 }
d14a1e28
RD
30058 return resultobj;
30059 fail:
30060 return NULL;
30061}
30062
30063
c32bde28 30064static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30065 PyObject *resultobj;
30066 wxClipboard *arg1 = (wxClipboard *) 0 ;
30067 wxDataObject *arg2 = (wxDataObject *) 0 ;
30068 bool result;
30069 PyObject * obj0 = 0 ;
30070 PyObject * obj1 = 0 ;
30071 char *kwnames[] = {
30072 (char *) "self",(char *) "data", NULL
30073 };
30074
30075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30077 if (SWIG_arg_fail(1)) SWIG_fail;
30078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30079 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30080 {
30081 PyThreadState* __tstate = wxPyBeginAllowThreads();
30082 result = (bool)(arg1)->SetData(arg2);
30083
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
4f89f6a3
RD
30087 {
30088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30089 }
d14a1e28
RD
30090 return resultobj;
30091 fail:
30092 return NULL;
30093}
30094
30095
c32bde28 30096static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30097 PyObject *resultobj;
30098 wxClipboard *arg1 = (wxClipboard *) 0 ;
30099 wxDataFormat *arg2 = 0 ;
30100 bool result;
30101 PyObject * obj0 = 0 ;
30102 PyObject * obj1 = 0 ;
30103 char *kwnames[] = {
30104 (char *) "self",(char *) "format", NULL
30105 };
30106
30107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30109 if (SWIG_arg_fail(1)) SWIG_fail;
30110 {
30111 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
30112 if (SWIG_arg_fail(2)) SWIG_fail;
30113 if (arg2 == NULL) {
30114 SWIG_null_ref("wxDataFormat");
30115 }
30116 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30117 }
30118 {
30119 PyThreadState* __tstate = wxPyBeginAllowThreads();
30120 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
30121
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
4f89f6a3
RD
30125 {
30126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30127 }
d14a1e28
RD
30128 return resultobj;
30129 fail:
30130 return NULL;
30131}
30132
30133
c32bde28 30134static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30135 PyObject *resultobj;
30136 wxClipboard *arg1 = (wxClipboard *) 0 ;
30137 wxDataObject *arg2 = 0 ;
30138 bool result;
30139 PyObject * obj0 = 0 ;
30140 PyObject * obj1 = 0 ;
30141 char *kwnames[] = {
30142 (char *) "self",(char *) "data", NULL
30143 };
30144
30145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30147 if (SWIG_arg_fail(1)) SWIG_fail;
30148 {
30149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
30150 if (SWIG_arg_fail(2)) SWIG_fail;
30151 if (arg2 == NULL) {
30152 SWIG_null_ref("wxDataObject");
30153 }
30154 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
30155 }
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 result = (bool)(arg1)->GetData(*arg2);
30159
30160 wxPyEndAllowThreads(__tstate);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 }
4f89f6a3
RD
30163 {
30164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30165 }
d14a1e28
RD
30166 return resultobj;
30167 fail:
30168 return NULL;
30169}
30170
30171
c32bde28 30172static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30173 PyObject *resultobj;
30174 wxClipboard *arg1 = (wxClipboard *) 0 ;
30175 PyObject * obj0 = 0 ;
30176 char *kwnames[] = {
30177 (char *) "self", NULL
30178 };
30179
30180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
30181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30183 {
30184 PyThreadState* __tstate = wxPyBeginAllowThreads();
30185 (arg1)->Clear();
30186
30187 wxPyEndAllowThreads(__tstate);
30188 if (PyErr_Occurred()) SWIG_fail;
30189 }
30190 Py_INCREF(Py_None); resultobj = Py_None;
30191 return resultobj;
30192 fail:
30193 return NULL;
30194}
30195
30196
c32bde28 30197static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30198 PyObject *resultobj;
30199 wxClipboard *arg1 = (wxClipboard *) 0 ;
30200 bool result;
30201 PyObject * obj0 = 0 ;
30202 char *kwnames[] = {
30203 (char *) "self", NULL
30204 };
30205
30206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
30207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30208 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30209 {
30210 PyThreadState* __tstate = wxPyBeginAllowThreads();
30211 result = (bool)(arg1)->Flush();
30212
30213 wxPyEndAllowThreads(__tstate);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
4f89f6a3
RD
30216 {
30217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30218 }
d14a1e28
RD
30219 return resultobj;
30220 fail:
30221 return NULL;
30222}
30223
30224
c32bde28 30225static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30226 PyObject *resultobj;
30227 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 30228 bool arg2 = (bool) true ;
d14a1e28
RD
30229 PyObject * obj0 = 0 ;
30230 PyObject * obj1 = 0 ;
30231 char *kwnames[] = {
30232 (char *) "self",(char *) "primary", NULL
30233 };
30234
30235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30237 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 30238 if (obj1) {
093d3ff1
RD
30239 {
30240 arg2 = (bool)(SWIG_As_bool(obj1));
30241 if (SWIG_arg_fail(2)) SWIG_fail;
30242 }
d14a1e28
RD
30243 }
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 (arg1)->UsePrimarySelection(arg2);
30247
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 Py_INCREF(Py_None); resultobj = Py_None;
30252 return resultobj;
30253 fail:
30254 return NULL;
30255}
30256
30257
c32bde28 30258static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
30259 PyObject *resultobj;
30260 wxClipboard *result;
30261 char *kwnames[] = {
30262 NULL
30263 };
30264
30265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
30266 {
30267 PyThreadState* __tstate = wxPyBeginAllowThreads();
30268 result = (wxClipboard *)wxClipboard::Get();
30269
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
30274 return resultobj;
30275 fail:
30276 return NULL;
30277}
30278
30279
c32bde28 30280static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30281 PyObject *obj;
30282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30283 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
30284 Py_INCREF(obj);
30285 return Py_BuildValue((char *)"");
30286}
c32bde28 30287static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30288 PyObject *resultobj;
30289 wxClipboard *arg1 = (wxClipboard *) NULL ;
30290 wxClipboardLocker *result;
30291 PyObject * obj0 = 0 ;
30292 char *kwnames[] = {
30293 (char *) "clipboard", NULL
30294 };
30295
30296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
30297 if (obj0) {
093d3ff1
RD
30298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30300 }
30301 {
30302 PyThreadState* __tstate = wxPyBeginAllowThreads();
30303 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
30304
30305 wxPyEndAllowThreads(__tstate);
30306 if (PyErr_Occurred()) SWIG_fail;
30307 }
15afbcd0 30308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
d14a1e28
RD
30309 return resultobj;
30310 fail:
30311 return NULL;
30312}
30313
30314
c32bde28 30315static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30316 PyObject *resultobj;
30317 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30318 PyObject * obj0 = 0 ;
30319 char *kwnames[] = {
30320 (char *) "self", NULL
30321 };
30322
30323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
30324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30326 {
30327 PyThreadState* __tstate = wxPyBeginAllowThreads();
30328 delete arg1;
30329
30330 wxPyEndAllowThreads(__tstate);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 Py_INCREF(Py_None); resultobj = Py_None;
30334 return resultobj;
30335 fail:
30336 return NULL;
30337}
30338
30339
c32bde28 30340static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30341 PyObject *resultobj;
30342 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30343 bool result;
30344 PyObject * obj0 = 0 ;
30345 char *kwnames[] = {
30346 (char *) "self", NULL
30347 };
30348
30349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
30350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30351 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
30352 {
30353 PyThreadState* __tstate = wxPyBeginAllowThreads();
30354 result = (bool)wxClipboardLocker___nonzero__(arg1);
30355
30356 wxPyEndAllowThreads(__tstate);
30357 if (PyErr_Occurred()) SWIG_fail;
30358 }
4f89f6a3
RD
30359 {
30360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30361 }
d14a1e28
RD
30362 return resultobj;
30363 fail:
30364 return NULL;
30365}
30366
30367
c32bde28 30368static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30369 PyObject *obj;
30370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30371 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
30372 Py_INCREF(obj);
30373 return Py_BuildValue((char *)"");
30374}
c32bde28 30375static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30376 PyObject *resultobj;
30377 int arg1 = (int) 0 ;
30378 int arg2 = (int) 0 ;
30379 int arg3 = (int) 0 ;
30380 int arg4 = (int) 0 ;
30381 wxVideoMode *result;
30382 PyObject * obj0 = 0 ;
30383 PyObject * obj1 = 0 ;
30384 PyObject * obj2 = 0 ;
30385 PyObject * obj3 = 0 ;
30386 char *kwnames[] = {
30387 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30388 };
30389
30390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30391 if (obj0) {
093d3ff1
RD
30392 {
30393 arg1 = (int)(SWIG_As_int(obj0));
30394 if (SWIG_arg_fail(1)) SWIG_fail;
30395 }
4276dc52
RD
30396 }
30397 if (obj1) {
093d3ff1
RD
30398 {
30399 arg2 = (int)(SWIG_As_int(obj1));
30400 if (SWIG_arg_fail(2)) SWIG_fail;
30401 }
4276dc52
RD
30402 }
30403 if (obj2) {
093d3ff1
RD
30404 {
30405 arg3 = (int)(SWIG_As_int(obj2));
30406 if (SWIG_arg_fail(3)) SWIG_fail;
30407 }
4276dc52
RD
30408 }
30409 if (obj3) {
093d3ff1
RD
30410 {
30411 arg4 = (int)(SWIG_As_int(obj3));
30412 if (SWIG_arg_fail(4)) SWIG_fail;
30413 }
4276dc52
RD
30414 }
30415 {
30416 PyThreadState* __tstate = wxPyBeginAllowThreads();
30417 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
30418
30419 wxPyEndAllowThreads(__tstate);
30420 if (PyErr_Occurred()) SWIG_fail;
30421 }
30422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
30423 return resultobj;
30424 fail:
30425 return NULL;
30426}
30427
30428
c32bde28 30429static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30430 PyObject *resultobj;
30431 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30432 PyObject * obj0 = 0 ;
30433 char *kwnames[] = {
30434 (char *) "self", NULL
30435 };
30436
30437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
30438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30439 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30440 {
30441 PyThreadState* __tstate = wxPyBeginAllowThreads();
30442 delete arg1;
30443
30444 wxPyEndAllowThreads(__tstate);
30445 if (PyErr_Occurred()) SWIG_fail;
30446 }
30447 Py_INCREF(Py_None); resultobj = Py_None;
30448 return resultobj;
30449 fail:
30450 return NULL;
30451}
30452
30453
c32bde28 30454static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30455 PyObject *resultobj;
30456 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30457 wxVideoMode *arg2 = 0 ;
30458 bool result;
30459 PyObject * obj0 = 0 ;
30460 PyObject * obj1 = 0 ;
30461 char *kwnames[] = {
30462 (char *) "self",(char *) "other", NULL
30463 };
30464
30465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30467 if (SWIG_arg_fail(1)) SWIG_fail;
30468 {
30469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30470 if (SWIG_arg_fail(2)) SWIG_fail;
30471 if (arg2 == NULL) {
30472 SWIG_null_ref("wxVideoMode");
30473 }
30474 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
30475 }
30476 {
30477 PyThreadState* __tstate = wxPyBeginAllowThreads();
30478 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
30479
30480 wxPyEndAllowThreads(__tstate);
30481 if (PyErr_Occurred()) SWIG_fail;
30482 }
4f89f6a3
RD
30483 {
30484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30485 }
4276dc52
RD
30486 return resultobj;
30487 fail:
30488 return NULL;
30489}
30490
30491
c32bde28 30492static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30493 PyObject *resultobj;
30494 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30495 int result;
30496 PyObject * obj0 = 0 ;
30497 char *kwnames[] = {
30498 (char *) "self", NULL
30499 };
30500
30501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30503 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30504 {
30505 PyThreadState* __tstate = wxPyBeginAllowThreads();
30506 result = (int)((wxVideoMode const *)arg1)->GetWidth();
30507
30508 wxPyEndAllowThreads(__tstate);
30509 if (PyErr_Occurred()) SWIG_fail;
30510 }
093d3ff1
RD
30511 {
30512 resultobj = SWIG_From_int((int)(result));
30513 }
4276dc52
RD
30514 return resultobj;
30515 fail:
30516 return NULL;
30517}
30518
30519
c32bde28 30520static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
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_GetHeight",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;
4276dc52
RD
30532 {
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 result = (int)((wxVideoMode const *)arg1)->GetHeight();
30535
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
093d3ff1
RD
30539 {
30540 resultobj = SWIG_From_int((int)(result));
30541 }
4276dc52
RD
30542 return resultobj;
30543 fail:
30544 return NULL;
30545}
30546
30547
c32bde28 30548static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30549 PyObject *resultobj;
30550 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30551 int result;
30552 PyObject * obj0 = 0 ;
30553 char *kwnames[] = {
30554 (char *) "self", NULL
30555 };
30556
30557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
30558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30559 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30560 {
30561 PyThreadState* __tstate = wxPyBeginAllowThreads();
30562 result = (int)((wxVideoMode const *)arg1)->GetDepth();
30563
30564 wxPyEndAllowThreads(__tstate);
30565 if (PyErr_Occurred()) SWIG_fail;
30566 }
093d3ff1
RD
30567 {
30568 resultobj = SWIG_From_int((int)(result));
30569 }
4276dc52
RD
30570 return resultobj;
30571 fail:
30572 return NULL;
30573}
30574
30575
c32bde28 30576static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30577 PyObject *resultobj;
30578 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30579 bool result;
30580 PyObject * obj0 = 0 ;
30581 char *kwnames[] = {
30582 (char *) "self", NULL
30583 };
30584
30585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
30586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30587 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 result = (bool)((wxVideoMode const *)arg1)->IsOk();
30591
30592 wxPyEndAllowThreads(__tstate);
30593 if (PyErr_Occurred()) SWIG_fail;
30594 }
4f89f6a3
RD
30595 {
30596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30597 }
4276dc52
RD
30598 return resultobj;
30599 fail:
30600 return NULL;
30601}
30602
30603
c32bde28 30604static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30605 PyObject *resultobj;
30606 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30607 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30608 bool result;
30609 PyObject * obj0 = 0 ;
30610 PyObject * obj1 = 0 ;
30611 char *kwnames[] = {
30612 (char *) "self",(char *) "other", NULL
30613 };
30614
30615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30617 if (SWIG_arg_fail(1)) SWIG_fail;
30618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30619 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
30620 {
30621 PyThreadState* __tstate = wxPyBeginAllowThreads();
30622 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
30623
30624 wxPyEndAllowThreads(__tstate);
30625 if (PyErr_Occurred()) SWIG_fail;
30626 }
4f89f6a3
RD
30627 {
30628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30629 }
4276dc52
RD
30630 return resultobj;
30631 fail:
30632 return NULL;
30633}
30634
30635
c32bde28 30636static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30637 PyObject *resultobj;
30638 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30639 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30640 bool result;
30641 PyObject * obj0 = 0 ;
30642 PyObject * obj1 = 0 ;
30643 char *kwnames[] = {
30644 (char *) "self",(char *) "other", NULL
30645 };
30646
30647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30649 if (SWIG_arg_fail(1)) SWIG_fail;
30650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30651 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
30655
30656 wxPyEndAllowThreads(__tstate);
30657 if (PyErr_Occurred()) SWIG_fail;
30658 }
4f89f6a3
RD
30659 {
30660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30661 }
4276dc52
RD
30662 return resultobj;
30663 fail:
30664 return NULL;
30665}
30666
30667
c32bde28 30668static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30669 PyObject *resultobj;
30670 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30671 int arg2 ;
30672 PyObject * obj0 = 0 ;
30673 PyObject * obj1 = 0 ;
30674 char *kwnames[] = {
30675 (char *) "self",(char *) "w", NULL
30676 };
30677
30678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30680 if (SWIG_arg_fail(1)) SWIG_fail;
30681 {
30682 arg2 = (int)(SWIG_As_int(obj1));
30683 if (SWIG_arg_fail(2)) SWIG_fail;
30684 }
4276dc52
RD
30685 if (arg1) (arg1)->w = arg2;
30686
30687 Py_INCREF(Py_None); resultobj = Py_None;
30688 return resultobj;
30689 fail:
30690 return NULL;
30691}
30692
30693
c32bde28 30694static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30695 PyObject *resultobj;
30696 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30697 int result;
30698 PyObject * obj0 = 0 ;
30699 char *kwnames[] = {
30700 (char *) "self", NULL
30701 };
30702
30703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30705 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30706 result = (int) ((arg1)->w);
30707
093d3ff1
RD
30708 {
30709 resultobj = SWIG_From_int((int)(result));
30710 }
4276dc52
RD
30711 return resultobj;
30712 fail:
30713 return NULL;
30714}
30715
30716
c32bde28 30717static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30718 PyObject *resultobj;
30719 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30720 int arg2 ;
30721 PyObject * obj0 = 0 ;
30722 PyObject * obj1 = 0 ;
30723 char *kwnames[] = {
30724 (char *) "self",(char *) "h", NULL
30725 };
30726
30727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30729 if (SWIG_arg_fail(1)) SWIG_fail;
30730 {
30731 arg2 = (int)(SWIG_As_int(obj1));
30732 if (SWIG_arg_fail(2)) SWIG_fail;
30733 }
4276dc52
RD
30734 if (arg1) (arg1)->h = arg2;
30735
30736 Py_INCREF(Py_None); resultobj = Py_None;
30737 return resultobj;
30738 fail:
30739 return NULL;
30740}
30741
30742
c32bde28 30743static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30744 PyObject *resultobj;
30745 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30746 int result;
30747 PyObject * obj0 = 0 ;
30748 char *kwnames[] = {
30749 (char *) "self", NULL
30750 };
30751
30752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30754 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30755 result = (int) ((arg1)->h);
30756
093d3ff1
RD
30757 {
30758 resultobj = SWIG_From_int((int)(result));
30759 }
4276dc52
RD
30760 return resultobj;
30761 fail:
30762 return NULL;
30763}
30764
30765
c32bde28 30766static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30767 PyObject *resultobj;
30768 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30769 int arg2 ;
30770 PyObject * obj0 = 0 ;
30771 PyObject * obj1 = 0 ;
30772 char *kwnames[] = {
30773 (char *) "self",(char *) "bpp", NULL
30774 };
30775
30776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30778 if (SWIG_arg_fail(1)) SWIG_fail;
30779 {
30780 arg2 = (int)(SWIG_As_int(obj1));
30781 if (SWIG_arg_fail(2)) SWIG_fail;
30782 }
4276dc52
RD
30783 if (arg1) (arg1)->bpp = arg2;
30784
30785 Py_INCREF(Py_None); resultobj = Py_None;
30786 return resultobj;
30787 fail:
30788 return NULL;
30789}
30790
30791
c32bde28 30792static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30793 PyObject *resultobj;
30794 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30795 int result;
30796 PyObject * obj0 = 0 ;
30797 char *kwnames[] = {
30798 (char *) "self", NULL
30799 };
30800
30801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30803 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30804 result = (int) ((arg1)->bpp);
30805
093d3ff1
RD
30806 {
30807 resultobj = SWIG_From_int((int)(result));
30808 }
4276dc52
RD
30809 return resultobj;
30810 fail:
30811 return NULL;
30812}
30813
30814
c32bde28 30815static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30816 PyObject *resultobj;
30817 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30818 int arg2 ;
30819 PyObject * obj0 = 0 ;
30820 PyObject * obj1 = 0 ;
30821 char *kwnames[] = {
30822 (char *) "self",(char *) "refresh", NULL
30823 };
30824
30825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30827 if (SWIG_arg_fail(1)) SWIG_fail;
30828 {
30829 arg2 = (int)(SWIG_As_int(obj1));
30830 if (SWIG_arg_fail(2)) SWIG_fail;
30831 }
4276dc52
RD
30832 if (arg1) (arg1)->refresh = arg2;
30833
30834 Py_INCREF(Py_None); resultobj = Py_None;
30835 return resultobj;
30836 fail:
30837 return NULL;
30838}
30839
30840
c32bde28 30841static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30842 PyObject *resultobj;
30843 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30844 int result;
30845 PyObject * obj0 = 0 ;
30846 char *kwnames[] = {
30847 (char *) "self", NULL
30848 };
30849
30850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
30851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30852 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30853 result = (int) ((arg1)->refresh);
30854
093d3ff1
RD
30855 {
30856 resultobj = SWIG_From_int((int)(result));
30857 }
4276dc52
RD
30858 return resultobj;
30859 fail:
30860 return NULL;
30861}
30862
30863
c32bde28 30864static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
4276dc52
RD
30865 PyObject *obj;
30866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30867 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
30868 Py_INCREF(obj);
30869 return Py_BuildValue((char *)"");
30870}
c32bde28 30871static int _wrap_DefaultVideoMode_set(PyObject *) {
4276dc52
RD
30872 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
30873 return 1;
30874}
30875
30876
093d3ff1 30877static PyObject *_wrap_DefaultVideoMode_get(void) {
4276dc52
RD
30878 PyObject *pyobj;
30879
30880 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
30881 return pyobj;
30882}
30883
30884
c32bde28 30885static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30886 PyObject *resultobj;
30887 size_t arg1 = (size_t) 0 ;
30888 wxDisplay *result;
30889 PyObject * obj0 = 0 ;
30890 char *kwnames[] = {
30891 (char *) "index", NULL
30892 };
30893
30894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
30895 if (obj0) {
093d3ff1
RD
30896 {
30897 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
30898 if (SWIG_arg_fail(1)) SWIG_fail;
30899 }
4276dc52
RD
30900 }
30901 {
30902 PyThreadState* __tstate = wxPyBeginAllowThreads();
30903 result = (wxDisplay *)new wxDisplay(arg1);
30904
30905 wxPyEndAllowThreads(__tstate);
30906 if (PyErr_Occurred()) SWIG_fail;
30907 }
30908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
30909 return resultobj;
30910 fail:
30911 return NULL;
30912}
30913
30914
c32bde28 30915static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30916 PyObject *resultobj;
30917 wxDisplay *arg1 = (wxDisplay *) 0 ;
30918 PyObject * obj0 = 0 ;
30919 char *kwnames[] = {
30920 (char *) "self", NULL
30921 };
30922
30923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
30924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30925 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
30926 {
30927 PyThreadState* __tstate = wxPyBeginAllowThreads();
30928 delete arg1;
30929
30930 wxPyEndAllowThreads(__tstate);
30931 if (PyErr_Occurred()) SWIG_fail;
30932 }
30933 Py_INCREF(Py_None); resultobj = Py_None;
30934 return resultobj;
30935 fail:
30936 return NULL;
30937}
30938
30939
c32bde28 30940static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30941 PyObject *resultobj;
30942 size_t result;
30943 char *kwnames[] = {
30944 NULL
30945 };
30946
30947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
30948 {
30949 PyThreadState* __tstate = wxPyBeginAllowThreads();
30950 result = (size_t)wxDisplay::GetCount();
30951
30952 wxPyEndAllowThreads(__tstate);
30953 if (PyErr_Occurred()) SWIG_fail;
30954 }
093d3ff1
RD
30955 {
30956 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
30957 }
4276dc52
RD
30958 return resultobj;
30959 fail:
30960 return NULL;
30961}
30962
30963
c32bde28 30964static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30965 PyObject *resultobj;
30966 wxPoint *arg1 = 0 ;
30967 int result;
30968 wxPoint temp1 ;
30969 PyObject * obj0 = 0 ;
30970 char *kwnames[] = {
30971 (char *) "pt", NULL
30972 };
30973
30974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
30975 {
30976 arg1 = &temp1;
30977 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
30978 }
30979 {
30980 PyThreadState* __tstate = wxPyBeginAllowThreads();
30981 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
30982
30983 wxPyEndAllowThreads(__tstate);
30984 if (PyErr_Occurred()) SWIG_fail;
30985 }
093d3ff1
RD
30986 {
30987 resultobj = SWIG_From_int((int)(result));
30988 }
4276dc52
RD
30989 return resultobj;
30990 fail:
30991 return NULL;
30992}
30993
30994
c32bde28 30995static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
30996 PyObject *resultobj;
30997 wxWindow *arg1 = (wxWindow *) 0 ;
30998 int result;
30999 PyObject * obj0 = 0 ;
31000 char *kwnames[] = {
31001 (char *) "window", NULL
31002 };
31003
31004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
31005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31006 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31007 {
31008 PyThreadState* __tstate = wxPyBeginAllowThreads();
31009 result = (int)Display_GetFromWindow(arg1);
31010
31011 wxPyEndAllowThreads(__tstate);
31012 if (PyErr_Occurred()) SWIG_fail;
31013 }
093d3ff1
RD
31014 {
31015 resultobj = SWIG_From_int((int)(result));
31016 }
4276dc52
RD
31017 return resultobj;
31018 fail:
31019 return NULL;
31020}
31021
31022
c32bde28 31023static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31024 PyObject *resultobj;
31025 wxDisplay *arg1 = (wxDisplay *) 0 ;
31026 bool result;
31027 PyObject * obj0 = 0 ;
31028 char *kwnames[] = {
31029 (char *) "self", NULL
31030 };
31031
31032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
31033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31034 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31035 {
31036 PyThreadState* __tstate = wxPyBeginAllowThreads();
31037 result = (bool)((wxDisplay const *)arg1)->IsOk();
31038
31039 wxPyEndAllowThreads(__tstate);
31040 if (PyErr_Occurred()) SWIG_fail;
31041 }
4f89f6a3
RD
31042 {
31043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31044 }
4276dc52
RD
31045 return resultobj;
31046 fail:
31047 return NULL;
31048}
31049
31050
c32bde28 31051static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31052 PyObject *resultobj;
31053 wxDisplay *arg1 = (wxDisplay *) 0 ;
31054 wxRect result;
31055 PyObject * obj0 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
31061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31063 {
31064 PyThreadState* __tstate = wxPyBeginAllowThreads();
31065 result = ((wxDisplay const *)arg1)->GetGeometry();
31066
31067 wxPyEndAllowThreads(__tstate);
31068 if (PyErr_Occurred()) SWIG_fail;
31069 }
31070 {
31071 wxRect * resultptr;
093d3ff1 31072 resultptr = new wxRect((wxRect &)(result));
4276dc52
RD
31073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31074 }
31075 return resultobj;
31076 fail:
31077 return NULL;
31078}
31079
31080
c32bde28 31081static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31082 PyObject *resultobj;
31083 wxDisplay *arg1 = (wxDisplay *) 0 ;
31084 wxString result;
31085 PyObject * obj0 = 0 ;
31086 char *kwnames[] = {
31087 (char *) "self", NULL
31088 };
31089
31090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
31091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31093 {
31094 PyThreadState* __tstate = wxPyBeginAllowThreads();
31095 result = ((wxDisplay const *)arg1)->GetName();
31096
31097 wxPyEndAllowThreads(__tstate);
31098 if (PyErr_Occurred()) SWIG_fail;
31099 }
31100 {
31101#if wxUSE_UNICODE
31102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31103#else
31104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31105#endif
31106 }
31107 return resultobj;
31108 fail:
31109 return NULL;
31110}
31111
31112
c32bde28 31113static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31114 PyObject *resultobj;
31115 wxDisplay *arg1 = (wxDisplay *) 0 ;
31116 bool result;
31117 PyObject * obj0 = 0 ;
31118 char *kwnames[] = {
31119 (char *) "self", NULL
31120 };
31121
31122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
31123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31125 {
31126 PyThreadState* __tstate = wxPyBeginAllowThreads();
31127 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
31128
31129 wxPyEndAllowThreads(__tstate);
31130 if (PyErr_Occurred()) SWIG_fail;
31131 }
4f89f6a3
RD
31132 {
31133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31134 }
4276dc52
RD
31135 return resultobj;
31136 fail:
31137 return NULL;
31138}
31139
31140
c32bde28 31141static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31142 PyObject *resultobj;
31143 wxDisplay *arg1 = (wxDisplay *) 0 ;
31144 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31145 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31146 PyObject *result;
31147 PyObject * obj0 = 0 ;
31148 PyObject * obj1 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self",(char *) "mode", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31155 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 31156 if (obj1) {
093d3ff1
RD
31157 {
31158 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31159 if (SWIG_arg_fail(2)) SWIG_fail;
31160 if (arg2 == NULL) {
31161 SWIG_null_ref("wxVideoMode");
31162 }
31163 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
31164 }
31165 }
31166 {
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
31169
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = result;
31174 return resultobj;
31175 fail:
31176 return NULL;
31177}
31178
31179
c32bde28 31180static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31181 PyObject *resultobj;
31182 wxDisplay *arg1 = (wxDisplay *) 0 ;
31183 wxVideoMode result;
31184 PyObject * obj0 = 0 ;
31185 char *kwnames[] = {
31186 (char *) "self", NULL
31187 };
31188
31189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31191 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31192 {
31193 PyThreadState* __tstate = wxPyBeginAllowThreads();
31194 result = ((wxDisplay const *)arg1)->GetCurrentMode();
31195
31196 wxPyEndAllowThreads(__tstate);
31197 if (PyErr_Occurred()) SWIG_fail;
31198 }
31199 {
31200 wxVideoMode * resultptr;
093d3ff1 31201 resultptr = new wxVideoMode((wxVideoMode &)(result));
4276dc52
RD
31202 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
31203 }
31204 return resultobj;
31205 fail:
31206 return NULL;
31207}
31208
31209
c32bde28 31210static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31211 PyObject *resultobj;
31212 wxDisplay *arg1 = (wxDisplay *) 0 ;
31213 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31214 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31215 bool result;
31216 PyObject * obj0 = 0 ;
31217 PyObject * obj1 = 0 ;
31218 char *kwnames[] = {
31219 (char *) "self",(char *) "mode", NULL
31220 };
31221
31222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31224 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52 31225 if (obj1) {
093d3ff1
RD
31226 {
31227 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31228 if (SWIG_arg_fail(2)) SWIG_fail;
31229 if (arg2 == NULL) {
31230 SWIG_null_ref("wxVideoMode");
31231 }
31232 if (SWIG_arg_fail(2)) SWIG_fail;
4276dc52
RD
31233 }
31234 }
31235 {
31236 PyThreadState* __tstate = wxPyBeginAllowThreads();
31237 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
31238
31239 wxPyEndAllowThreads(__tstate);
31240 if (PyErr_Occurred()) SWIG_fail;
31241 }
4f89f6a3
RD
31242 {
31243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31244 }
4276dc52
RD
31245 return resultobj;
31246 fail:
31247 return NULL;
31248}
31249
31250
c32bde28 31251static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
31252 PyObject *resultobj;
31253 wxDisplay *arg1 = (wxDisplay *) 0 ;
31254 PyObject * obj0 = 0 ;
31255 char *kwnames[] = {
31256 (char *) "self", NULL
31257 };
31258
31259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31261 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
31262 {
31263 PyThreadState* __tstate = wxPyBeginAllowThreads();
31264 (arg1)->ResetMode();
31265
31266 wxPyEndAllowThreads(__tstate);
31267 if (PyErr_Occurred()) SWIG_fail;
31268 }
31269 Py_INCREF(Py_None); resultobj = Py_None;
31270 return resultobj;
31271 fail:
31272 return NULL;
31273}
31274
31275
c32bde28 31276static PyObject * Display_swigregister(PyObject *, PyObject *args) {
4276dc52
RD
31277 PyObject *obj;
31278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31279 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
31280 Py_INCREF(obj);
31281 return Py_BuildValue((char *)"");
31282}
d3b6e4ff
RD
31283static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31284 PyObject *resultobj;
31285 wxStandardPaths *result;
31286 char *kwnames[] = {
31287 NULL
31288 };
31289
31290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
31291 {
31292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8fb0e70a 31293 result = (wxStandardPaths *)StandardPaths_Get();
d3b6e4ff
RD
31294
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
31299 return resultobj;
31300 fail:
31301 return NULL;
31302}
31303
31304
31305static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31306 PyObject *resultobj;
31307 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31308 wxString result;
31309 PyObject * obj0 = 0 ;
31310 char *kwnames[] = {
31311 (char *) "self", NULL
31312 };
31313
31314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31316 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31317 {
31318 PyThreadState* __tstate = wxPyBeginAllowThreads();
31319 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
31320
31321 wxPyEndAllowThreads(__tstate);
31322 if (PyErr_Occurred()) SWIG_fail;
31323 }
31324 {
31325#if wxUSE_UNICODE
31326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31327#else
31328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31329#endif
31330 }
31331 return resultobj;
31332 fail:
31333 return NULL;
31334}
31335
31336
31337static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31338 PyObject *resultobj;
31339 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31340 wxString result;
31341 PyObject * obj0 = 0 ;
31342 char *kwnames[] = {
31343 (char *) "self", NULL
31344 };
31345
31346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31348 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31349 {
31350 PyThreadState* __tstate = wxPyBeginAllowThreads();
31351 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
31352
31353 wxPyEndAllowThreads(__tstate);
31354 if (PyErr_Occurred()) SWIG_fail;
31355 }
31356 {
31357#if wxUSE_UNICODE
31358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31359#else
31360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31361#endif
31362 }
31363 return resultobj;
31364 fail:
31365 return NULL;
31366}
31367
31368
31369static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31370 PyObject *resultobj;
31371 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31372 wxString result;
31373 PyObject * obj0 = 0 ;
31374 char *kwnames[] = {
31375 (char *) "self", NULL
31376 };
31377
31378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31380 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31381 {
31382 PyThreadState* __tstate = wxPyBeginAllowThreads();
31383 result = ((wxStandardPaths const *)arg1)->GetDataDir();
31384
31385 wxPyEndAllowThreads(__tstate);
31386 if (PyErr_Occurred()) SWIG_fail;
31387 }
31388 {
31389#if wxUSE_UNICODE
31390 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31391#else
31392 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31393#endif
31394 }
31395 return resultobj;
31396 fail:
31397 return NULL;
31398}
31399
31400
31401static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31402 PyObject *resultobj;
31403 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31404 wxString result;
31405 PyObject * obj0 = 0 ;
31406 char *kwnames[] = {
31407 (char *) "self", NULL
31408 };
31409
31410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31412 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31413 {
31414 PyThreadState* __tstate = wxPyBeginAllowThreads();
31415 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
31416
31417 wxPyEndAllowThreads(__tstate);
31418 if (PyErr_Occurred()) SWIG_fail;
31419 }
31420 {
31421#if wxUSE_UNICODE
31422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31423#else
31424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31425#endif
31426 }
31427 return resultobj;
31428 fail:
31429 return NULL;
31430}
31431
31432
31433static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31434 PyObject *resultobj;
31435 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31436 wxString result;
31437 PyObject * obj0 = 0 ;
31438 char *kwnames[] = {
31439 (char *) "self", NULL
31440 };
31441
31442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31444 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31445 {
31446 PyThreadState* __tstate = wxPyBeginAllowThreads();
31447 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
31448
31449 wxPyEndAllowThreads(__tstate);
31450 if (PyErr_Occurred()) SWIG_fail;
31451 }
31452 {
31453#if wxUSE_UNICODE
31454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31455#else
31456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31457#endif
31458 }
31459 return resultobj;
31460 fail:
31461 return NULL;
31462}
31463
31464
31465static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31466 PyObject *resultobj;
31467 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31468 wxString result;
31469 PyObject * obj0 = 0 ;
31470 char *kwnames[] = {
31471 (char *) "self", NULL
31472 };
31473
31474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31476 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31477 {
31478 PyThreadState* __tstate = wxPyBeginAllowThreads();
31479 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
31480
31481 wxPyEndAllowThreads(__tstate);
31482 if (PyErr_Occurred()) SWIG_fail;
31483 }
31484 {
31485#if wxUSE_UNICODE
31486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31487#else
31488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31489#endif
31490 }
31491 return resultobj;
31492 fail:
31493 return NULL;
31494}
31495
31496
31497static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
31498 PyObject *resultobj;
31499 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31500 wxString result;
31501 PyObject * obj0 = 0 ;
31502 char *kwnames[] = {
31503 (char *) "self", NULL
31504 };
31505
31506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
31507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31508 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 {
31517#if wxUSE_UNICODE
31518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31519#else
31520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31521#endif
31522 }
31523 return resultobj;
31524 fail:
31525 return NULL;
31526}
31527
31528
31529static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31530 PyObject *resultobj;
31531 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31532 wxString *arg2 = 0 ;
31533 bool temp2 = false ;
31534 PyObject * obj0 = 0 ;
31535 PyObject * obj1 = 0 ;
31536 char *kwnames[] = {
31537 (char *) "self",(char *) "prefix", NULL
31538 };
31539
31540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31542 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31543 {
31544 arg2 = wxString_in_helper(obj1);
31545 if (arg2 == NULL) SWIG_fail;
31546 temp2 = true;
31547 }
31548 {
31549 PyThreadState* __tstate = wxPyBeginAllowThreads();
31550 (arg1)->SetInstallPrefix((wxString const &)*arg2);
31551
31552 wxPyEndAllowThreads(__tstate);
31553 if (PyErr_Occurred()) SWIG_fail;
31554 }
31555 Py_INCREF(Py_None); resultobj = Py_None;
31556 {
31557 if (temp2)
31558 delete arg2;
31559 }
31560 return resultobj;
31561 fail:
31562 {
31563 if (temp2)
31564 delete arg2;
31565 }
31566 return NULL;
31567}
31568
31569
31570static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31571 PyObject *resultobj;
31572 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31573 wxString result;
31574 PyObject * obj0 = 0 ;
31575 char *kwnames[] = {
31576 (char *) "self", NULL
31577 };
31578
31579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
31580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31581 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
31582 {
31583 PyThreadState* __tstate = wxPyBeginAllowThreads();
31584 result = ((wxStandardPaths const *)arg1)->GetInstallPrefix();
31585
31586 wxPyEndAllowThreads(__tstate);
31587 if (PyErr_Occurred()) SWIG_fail;
31588 }
31589 {
31590#if wxUSE_UNICODE
31591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31592#else
31593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31594#endif
31595 }
31596 return resultobj;
31597 fail:
31598 return NULL;
31599}
31600
31601
31602static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
31603 PyObject *obj;
31604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31605 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
31606 Py_INCREF(obj);
31607 return Py_BuildValue((char *)"");
31608}
d14a1e28 31609static PyMethodDef SwigMethods[] = {
093d3ff1
RD
31610 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
31617 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
396fb509 31623 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31624 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
31625 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
31653 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
73c8ef6a 31677 { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31678 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 31683 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31684 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
31691 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
31699 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
8e738329 31700 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31701 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31714 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
8e738329 31716 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31717 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
31720 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
31723 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
31726 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
31732 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
31746 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 31752 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31753 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
31758 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
31761 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31770 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
31775 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
31778 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
31779 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
31782 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
31809 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
31811 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
31813 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
31815 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
31822 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
53307de4
RD
31828 { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31832 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
31846 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
31850 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
31853 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
31870 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
31878 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31889 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
31925 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
31943 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
31953 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
31969 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
31985 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
31999 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
85ee4fe9 32006 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32007 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
32009 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
32052 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
32055 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
32058 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
32062 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
32081 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
32129 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
32155 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
32156 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
32157 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
32158 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32159 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32164 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
32172 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
32175 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32188 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32202 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32206 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
32208 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
32220 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32238 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32249 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32250 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32251 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32252 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32253 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
32254 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
32262 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
32263 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
32266 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
32267 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
32268 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32269 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32270 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
32271 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32272 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32273 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
32274 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32275 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32276 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
32277 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32278 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32279 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32280 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32281 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32282 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32283 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
32284 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32285 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
32287 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
32290 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
32295 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
32298 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
32302 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
32305 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32306 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
32307 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
32308 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
7557b9b5 32309 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
32310 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32311 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32312 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
32314 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
32318 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
32320 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
32321 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32322 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32323 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32324 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32325 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32326 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32327 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32328 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
32329 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
32330 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32331 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32336 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32338 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32339 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
c9caa6bb
RD
32340 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
32341 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32342 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
32343 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32344 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32346 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32347 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32348 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32349 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32350 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
32351 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32352 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32354 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32355 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32356 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32357 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32358 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
32359 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32360 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32361 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32362 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32367 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32368 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
32371 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
32373 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
32376 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
32377 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32378 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32379 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
32380 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
32381 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32382 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32383 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32384 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32386 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
32387 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
32388 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
32389 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
32390 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
32391 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
32392 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
32393 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
32395 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32401 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
32402 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
32403 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
32404 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
32405 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
32406 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
32408 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
32409 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32410 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32411 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32412 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32413 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32414 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32415 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32416 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
32417 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32418 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32419 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 32420 { NULL, NULL, 0, NULL }
d14a1e28
RD
32421};
32422
32423
32424/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32425
32426static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32428}
32429static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32430 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32431}
32432static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32433 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32434}
32435static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32436 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32437}
32438static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32439 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32440}
32441static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32442 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32443}
32444static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
32445 return (void *)((wxEvent *) ((wxTimerEvent *) x));
32446}
32447static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32448 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32449}
32450static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32452}
32453static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32454 return (void *)((wxEvent *) ((wxPyEvent *) x));
32455}
32456static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32457 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32458}
32459static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
32460 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
32461}
32462static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32463 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32464}
32465static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32467}
32468static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32469 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32470}
32471static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32472 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32473}
32474static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32475 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32476}
32477static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32478 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32479}
32480static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32481 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32482}
32483static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32484 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32485}
53aa7709
RD
32486static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32488}
d14a1e28
RD
32489static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32490 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32491}
32492static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32493 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32494}
32495static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32497}
32498static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32499 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32500}
32501static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32502 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32503}
32504static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32505 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32506}
32507static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32508 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32509}
32510static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32511 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32512}
32513static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32514 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32515}
32516static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32518}
32519static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
32520 return (void *)((wxEvent *) ((wxProcessEvent *) x));
32521}
32522static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32523 return (void *)((wxEvent *) ((wxShowEvent *) x));
32524}
32525static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32526 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32527}
32528static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32530}
32531static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32532 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32533}
32534static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32535 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32536}
32537static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32538 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32539}
32540static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32541 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32542}
32543static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
32544 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
32545}
32546static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
32547 return (void *)((wxConfigBase *) ((wxConfig *) x));
32548}
32549static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
32550 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32551}
32552static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
32553 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
32554}
32555static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
32556 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
32557}
32558static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
32559 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32560}
32561static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
32562 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
32563}
32564static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
32565 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
32566}
32567static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
32568 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
32569}
32570static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
32571 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32572}
32573static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
32574 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32575}
32576static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
32577 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
32578}
32579static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
32580 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
32581}
32582static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32583 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
32584}
32585static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
32586 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32587}
32588static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
32589 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
32590}
32591static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
32592 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32593}
32594static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32595 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
32596}
32597static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32598 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
32599}
32600static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32601 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32602}
32603static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32604 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32605}
32606static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
32607 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
32608}
32609static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
32610 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
32611}
32612static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
32613 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32614}
32615static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32616 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32617}
32618static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32619 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32620}
32621static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32623}
32624static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32625 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32626}
32627static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
32628 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
32629}
32630static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32631 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32632}
32633static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32634 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32635}
32636static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32637 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32638}
32639static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32640 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32641}
32642static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
32643 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
32644}
32645static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
32646 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
32647}
32648static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32649 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32650}
32651static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32652 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32653}
32654static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32655 return (void *)((wxObject *) ((wxSizerItem *) x));
32656}
32657static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32659}
32660static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32661 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32662}
32663static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32664 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32665}
32666static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32667 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32668}
32669static void *_p_wxSizerTo_p_wxObject(void *x) {
32670 return (void *)((wxObject *) ((wxSizer *) x));
32671}
32672static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32673 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32674}
32675static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
32676 return (void *)((wxObject *) ((wxFileHistory *) x));
32677}
32678static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32680}
32681static void *_p_wxEventTo_p_wxObject(void *x) {
32682 return (void *)((wxObject *) ((wxEvent *) x));
32683}
32684static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32685 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32686}
32687static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32688 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32689}
32690static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32691 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32692}
32693static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32694 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32695}
32696static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32697 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32698}
32699static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32700 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32701}
32702static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32703 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32704}
32705static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32706 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32707}
32708static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32709 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32710}
32711static void *_p_wxControlTo_p_wxObject(void *x) {
32712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32713}
32714static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32715 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32716}
32717static void *_p_wxTimerEventTo_p_wxObject(void *x) {
32718 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
32719}
32720static void *_p_wxFSFileTo_p_wxObject(void *x) {
32721 return (void *)((wxObject *) ((wxFSFile *) x));
32722}
32723static void *_p_wxClipboardTo_p_wxObject(void *x) {
32724 return (void *)((wxObject *) ((wxClipboard *) x));
32725}
32726static void *_p_wxPySizerTo_p_wxObject(void *x) {
32727 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32728}
32729static void *_p_wxPyEventTo_p_wxObject(void *x) {
32730 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32731}
32732static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32733 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32734}
32735static void *_p_wxShowEventTo_p_wxObject(void *x) {
32736 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32737}
32738static void *_p_wxToolTipTo_p_wxObject(void *x) {
32739 return (void *)((wxObject *) ((wxToolTip *) x));
32740}
32741static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32742 return (void *)((wxObject *) ((wxMenuItem *) x));
32743}
53aa7709
RD
32744static void *_p_wxDateEventTo_p_wxObject(void *x) {
32745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32746}
d14a1e28
RD
32747static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32748 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32749}
32750static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32751 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32752}
32753static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32754 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32755}
32756static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32757 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32758}
32759static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32760 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32761}
32762static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32763 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32764}
32765static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32766 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32767}
32768static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32769 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32770}
32771static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32772 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32773}
32774static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32775 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32776}
32777static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32778 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32779}
32780static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32781 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32782}
32783static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32784 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32785}
32786static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32787 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32788}
32789static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32790 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32791}
32792static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32793 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32794}
32795static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32796 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32797}
32798static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32799 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32800}
32801static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32802 return (void *)((wxObject *) ((wxImageHandler *) x));
32803}
32804static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32805 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32806}
32807static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32808 return (void *)((wxObject *) ((wxEvtHandler *) x));
32809}
51b83b37
RD
32810static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32811 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32812}
1e0c8722
RD
32813static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32814 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32815}
d14a1e28
RD
32816static void *_p_wxImageTo_p_wxObject(void *x) {
32817 return (void *)((wxObject *) ((wxImage *) x));
32818}
32819static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32820 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32821}
32822static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
32823 return (void *)((wxObject *) ((wxSystemOptions *) x));
32824}
32825static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
32826 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
32827}
32828static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32830}
32831static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32832 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32833}
32834static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32835 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32836}
32837static void *_p_wxWindowTo_p_wxObject(void *x) {
32838 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32839}
32840static void *_p_wxMenuTo_p_wxObject(void *x) {
32841 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32842}
32843static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32845}
32846static void *_p_wxPyProcessTo_p_wxObject(void *x) {
32847 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
32848}
32849static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32850 return (void *)((wxObject *) ((wxFileSystem *) x));
32851}
32852static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32853 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32854}
32855static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32856 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32857}
32858static void *_p_wxPyAppTo_p_wxObject(void *x) {
32859 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32860}
32861static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32862 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32863}
32864static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32865 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32866}
32867static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32868 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32869}
32870static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
32871 return (void *)((wxObject *) ((wxBusyInfo *) x));
32872}
32873static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32875}
32876static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32877 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32878}
32879static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32880 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32881}
32882static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32883 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32884}
32885static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32887}
32888static void *_p_wxProcessEventTo_p_wxObject(void *x) {
32889 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
32890}
32891static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32893}
32894static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32895 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32896}
32897static void *_p_wxValidatorTo_p_wxObject(void *x) {
32898 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32899}
32900static void *_p_wxPyTimerTo_p_wxObject(void *x) {
32901 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
32902}
53307de4
RD
32903static void *_p_wxLogBufferTo_p_wxLog(void *x) {
32904 return (void *)((wxLog *) ((wxLogBuffer *) x));
32905}
d14a1e28
RD
32906static void *_p_wxLogStderrTo_p_wxLog(void *x) {
32907 return (void *)((wxLog *) ((wxLogStderr *) x));
32908}
32909static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
32910 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
32911}
32912static void *_p_wxLogWindowTo_p_wxLog(void *x) {
32913 return (void *)((wxLog *) ((wxLogWindow *) x));
32914}
32915static void *_p_wxLogChainTo_p_wxLog(void *x) {
32916 return (void *)((wxLog *) ((wxLogChain *) x));
32917}
32918static void *_p_wxLogGuiTo_p_wxLog(void *x) {
32919 return (void *)((wxLog *) ((wxLogGui *) x));
32920}
32921static void *_p_wxPyLogTo_p_wxLog(void *x) {
32922 return (void *)((wxLog *) ((wxPyLog *) x));
32923}
32924static void *_p_wxControlTo_p_wxWindow(void *x) {
32925 return (void *)((wxWindow *) ((wxControl *) x));
32926}
32927static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32928 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32929}
32930static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32931 return (void *)((wxWindow *) ((wxMenuBar *) x));
32932}
32933static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
32934 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
32935}
32936static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
32937 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
32938}
15afbcd0
RD
32939static 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}};
32940static 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}};
32941static 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}};
53307de4 32942static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogBuffer", _p_wxLogBufferTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0 32943static 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 32944static 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 32945static 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}};
15afbcd0 32946static 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}};
4276dc52 32947static 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}};
15afbcd0
RD
32948static 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}};
32949static 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}};
32950static 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}};
32951static 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}};
32952static 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}};
32953static 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
32954static 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}};
32955static 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}};
73c8ef6a 32956static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
32957static 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}};
32958static 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}};
32959static 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}};
32960static 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 32961static 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}};
15afbcd0
RD
32962static 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}};
32963static 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}};
32964static 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}};
32965static 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}};
32966static 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}};
32967static 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}};
15afbcd0
RD
32968static 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}};
32969static 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}};
32970static 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 32971static 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}};
1823fbb4 32972static 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}};
15afbcd0
RD
32973static 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}};
32974static 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}};
32975static 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}};
32976static 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}};
32977static 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}};
32978static 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}};
32979static 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}};
32980static 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}};
32981static 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}};
32982static 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 32983static 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}};
15afbcd0
RD
32984static 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}};
32985static 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 32986static 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 32987static 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}};
4276dc52 32988static 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}};
15afbcd0 32989static 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
32990static 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}};
32991static 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}};
15afbcd0
RD
32992static 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}};
32993static 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}};
32994static 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}};
32995static 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}};
d3b6e4ff 32996static 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}};
15afbcd0
RD
32997static 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}};
32998static 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}};
32999static 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 33000static 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}};
15afbcd0
RD
33001static 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}};
33002static 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}};
33003static 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}};
33004static 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}};
33005static 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}};
33006static 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}};
33007static 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}};
33008static 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}};
33009static 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 33010static 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}};
15afbcd0
RD
33011static 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}};
33012static 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}};
33013static 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 33014static 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}};
53307de4 33015static swig_type_info _swigt__p_wxLogBuffer[] = {{"_p_wxLogBuffer", 0, "wxLogBuffer *", 0, 0, 0, 0},{"_p_wxLogBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
1823fbb4 33016static 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}};
15afbcd0
RD
33017static 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}};
33018static 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}};
33019static 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}};
33020static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
33021static 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}};
33022static 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}};
73c8ef6a 33023static 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 33024static 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}};
15afbcd0
RD
33025static 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}};
33026static 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}};
33027static 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}};
33028static 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}};
33029static 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}};
33030static 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}};
33031static 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}};
33032static 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}};
33033static 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}};
15afbcd0 33034static 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 33035static 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}};
15afbcd0 33036static 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}};
d14a1e28
RD
33037
33038static swig_type_info *swig_types_initial[] = {
33039_swigt__p_wxLogChain,
33040_swigt__p_wxMutexGuiLocker,
33041_swigt__p_wxFileHistory,
33042_swigt__p_wxLog,
d14a1e28
RD
33043_swigt__p_wxMenu,
33044_swigt__p_wxEvent,
093d3ff1 33045_swigt__p_wxDateTime__TimeZone,
d14a1e28 33046_swigt__p_wxConfigBase,
4276dc52 33047_swigt__p_wxDisplay,
d14a1e28
RD
33048_swigt__p_wxFileType,
33049_swigt__p_wxLogGui,
33050_swigt__p_wxFont,
33051_swigt__p_wxDataFormat,
33052_swigt__p_wxTimerEvent,
33053_swigt__p_wxCaret,
093d3ff1
RD
33054_swigt__ptrdiff_t,
33055_swigt__std__ptrdiff_t,
73c8ef6a 33056_swigt__p_void,
d14a1e28
RD
33057_swigt__p_int,
33058_swigt__p_wxSize,
33059_swigt__p_wxClipboard,
33060_swigt__p_wxStopWatch,
68350608 33061_swigt__p_wxDC,
d14a1e28
RD
33062_swigt__p_wxClipboardLocker,
33063_swigt__p_wxIcon,
33064_swigt__p_wxLogStderr,
33065_swigt__p_wxLogTextCtrl,
33066_swigt__p_wxTextCtrl,
33067_swigt__p_wxBusyCursor,
d14a1e28
RD
33068_swigt__p_wxBitmapDataObject,
33069_swigt__p_wxTextDataObject,
33070_swigt__p_wxDataObject,
093d3ff1 33071_swigt__p_wxPyTextDataObject,
1823fbb4 33072_swigt__p_wxPyBitmapDataObject,
994141e6 33073_swigt__p_wxFileDataObject,
d14a1e28
RD
33074_swigt__p_wxCustomDataObject,
33075_swigt__p_wxURLDataObject,
33076_swigt__p_wxMetafileDataObject,
4d5c3d91 33077_swigt__p_wxSound,
d14a1e28
RD
33078_swigt__p_wxTimerRunner,
33079_swigt__p_wxLogWindow,
33080_swigt__p_wxTimeSpan,
33081_swigt__p_wxArrayString,
33082_swigt__p_wxWindowDisabler,
093d3ff1 33083_swigt__p_form_ops_t,
d14a1e28
RD
33084_swigt__p_wxToolTip,
33085_swigt__p_wxDataObjectComposite,
51b83b37 33086_swigt__p_wxSystemSettings,
68350608 33087_swigt__p_wxFileConfig,
4276dc52 33088_swigt__p_wxVideoMode,
d14a1e28 33089_swigt__p_wxDataObjectSimple,
093d3ff1
RD
33090_swigt__p_wxPyDataObjectSimple,
33091_swigt__p_wxDuplexMode,
d14a1e28
RD
33092_swigt__p_wxEvtHandler,
33093_swigt__p_wxRect,
994141e6 33094_swigt__p_char,
d14a1e28 33095_swigt__p_wxSingleInstanceChecker,
d3b6e4ff 33096_swigt__p_wxStandardPaths,
d14a1e28
RD
33097_swigt__p_wxFileTypeInfo,
33098_swigt__p_wxFrame,
33099_swigt__p_wxTimer,
093d3ff1 33100_swigt__p_wxPaperSize,
d14a1e28
RD
33101_swigt__p_wxMimeTypesManager,
33102_swigt__p_wxPyArtProvider,
33103_swigt__p_wxPyTipProvider,
33104_swigt__p_wxTipProvider,
33105_swigt__p_wxJoystick,
33106_swigt__p_wxSystemOptions,
33107_swigt__p_wxPoint,
33108_swigt__p_wxJoystickEvent,
33109_swigt__p_wxCursor,
33110_swigt__p_wxObject,
33111_swigt__p_wxOutputStream,
33112_swigt__p_wxDateTime,
33113_swigt__p_wxPyDropSource,
093d3ff1 33114_swigt__p_unsigned_long,
53307de4 33115_swigt__p_wxLogBuffer,
1823fbb4 33116_swigt__p_wxKillError,
d14a1e28
RD
33117_swigt__p_wxWindow,
33118_swigt__p_wxString,
33119_swigt__p_wxPyProcess,
33120_swigt__p_wxBitmap,
093d3ff1
RD
33121_swigt__unsigned_int,
33122_swigt__p_unsigned_int,
73c8ef6a 33123_swigt__p_wxConfig,
093d3ff1 33124_swigt__p_unsigned_char,
d14a1e28
RD
33125_swigt__p_wxChar,
33126_swigt__p_wxBusyInfo,
33127_swigt__p_wxPyDropTarget,
33128_swigt__p_wxPyTextDropTarget,
33129_swigt__p_wxPyFileDropTarget,
33130_swigt__p_wxProcessEvent,
33131_swigt__p_wxPyLog,
33132_swigt__p_wxLogNull,
33133_swigt__p_wxColour,
d14a1e28 33134_swigt__p_wxPyTimer,
093d3ff1 33135_swigt__p_wxConfigPathChanger,
d14a1e28
RD
33136_swigt__p_wxDateSpan,
331370
33138};
33139
33140
33141/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33142
33143static swig_const_info swig_const_table[] = {
15afbcd0
RD
33144{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
33145{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
33146{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
33147{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
33148{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 33149{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
33150
33151#ifdef __cplusplus
33152}
33153#endif
33154
093d3ff1
RD
33155
33156#ifdef __cplusplus
33157extern "C" {
33158#endif
33159
33160 /* Python-specific SWIG API */
33161#define SWIG_newvarlink() SWIG_Python_newvarlink()
33162#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33163#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33164
33165 /* -----------------------------------------------------------------------------
33166 * global variable support code.
33167 * ----------------------------------------------------------------------------- */
33168
33169 typedef struct swig_globalvar {
33170 char *name; /* Name of global variable */
33171 PyObject *(*get_attr)(); /* Return the current value */
33172 int (*set_attr)(PyObject *); /* Set the value */
33173 struct swig_globalvar *next;
33174 } swig_globalvar;
33175
33176 typedef struct swig_varlinkobject {
33177 PyObject_HEAD
33178 swig_globalvar *vars;
33179 } swig_varlinkobject;
33180
33181 static PyObject *
33182 swig_varlink_repr(swig_varlinkobject *v) {
33183 v = v;
33184 return PyString_FromString("<Swig global variables>");
33185 }
33186
33187 static int
33188 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
33189 swig_globalvar *var;
33190 flags = flags;
33191 fprintf(fp,"Swig global variables { ");
33192 for (var = v->vars; var; var=var->next) {
33193 fprintf(fp,"%s", var->name);
33194 if (var->next) fprintf(fp,", ");
33195 }
33196 fprintf(fp," }\n");
33197 return 0;
33198 }
33199
33200 static PyObject *
33201 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33202 swig_globalvar *var = v->vars;
33203 while (var) {
33204 if (strcmp(var->name,n) == 0) {
33205 return (*var->get_attr)();
33206 }
33207 var = var->next;
33208 }
33209 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33210 return NULL;
33211 }
33212
33213 static int
33214 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33215 swig_globalvar *var = v->vars;
33216 while (var) {
33217 if (strcmp(var->name,n) == 0) {
33218 return (*var->set_attr)(p);
33219 }
33220 var = var->next;
33221 }
33222 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33223 return 1;
33224 }
33225
33226 static PyTypeObject varlinktype = {
33227 PyObject_HEAD_INIT(0)
33228 0, /* Number of items in variable part (ob_size) */
33229 (char *)"swigvarlink", /* Type name (tp_name) */
33230 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33231 0, /* Itemsize (tp_itemsize) */
33232 0, /* Deallocator (tp_dealloc) */
33233 (printfunc) swig_varlink_print, /* Print (tp_print) */
33234 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33235 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33236 0, /* tp_compare */
33237 (reprfunc) swig_varlink_repr, /* tp_repr */
33238 0, /* tp_as_number */
33239 0, /* tp_as_sequence */
33240 0, /* tp_as_mapping */
33241 0, /* tp_hash */
33242 0, /* tp_call */
33243 0, /* tp_str */
33244 0, /* tp_getattro */
33245 0, /* tp_setattro */
33246 0, /* tp_as_buffer */
33247 0, /* tp_flags */
33248 0, /* tp_doc */
33249#if PY_VERSION_HEX >= 0x02000000
33250 0, /* tp_traverse */
33251 0, /* tp_clear */
33252#endif
33253#if PY_VERSION_HEX >= 0x02010000
33254 0, /* tp_richcompare */
33255 0, /* tp_weaklistoffset */
33256#endif
33257#if PY_VERSION_HEX >= 0x02020000
33258 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33259#endif
33260#if PY_VERSION_HEX >= 0x02030000
33261 0, /* tp_del */
33262#endif
33263#ifdef COUNT_ALLOCS
33264 0,0,0,0 /* tp_alloc -> tp_next */
33265#endif
33266 };
33267
33268 /* Create a variable linking object for use later */
33269 static PyObject *
33270 SWIG_Python_newvarlink(void) {
33271 swig_varlinkobject *result = 0;
33272 result = PyMem_NEW(swig_varlinkobject,1);
33273 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
33274 result->ob_type = &varlinktype;
33275 result->vars = 0;
33276 result->ob_refcnt = 0;
33277 Py_XINCREF((PyObject *) result);
33278 return ((PyObject*) result);
33279 }
33280
33281 static void
33282 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33283 swig_varlinkobject *v;
33284 swig_globalvar *gv;
33285 v= (swig_varlinkobject *) p;
33286 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33287 gv->name = (char *) malloc(strlen(name)+1);
33288 strcpy(gv->name,name);
33289 gv->get_attr = get_attr;
33290 gv->set_attr = set_attr;
33291 gv->next = v->vars;
33292 v->vars = gv;
33293 }
33294
33295 /* -----------------------------------------------------------------------------
33296 * constants/methods manipulation
33297 * ----------------------------------------------------------------------------- */
33298
33299 /* Install Constants */
33300 static void
33301 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33302 PyObject *obj = 0;
33303 size_t i;
33304 for (i = 0; constants[i].type; i++) {
33305 switch(constants[i].type) {
33306 case SWIG_PY_INT:
33307 obj = PyInt_FromLong(constants[i].lvalue);
33308 break;
33309 case SWIG_PY_FLOAT:
33310 obj = PyFloat_FromDouble(constants[i].dvalue);
33311 break;
33312 case SWIG_PY_STRING:
33313 if (constants[i].pvalue) {
33314 obj = PyString_FromString((char *) constants[i].pvalue);
33315 } else {
33316 Py_INCREF(Py_None);
33317 obj = Py_None;
33318 }
33319 break;
33320 case SWIG_PY_POINTER:
33321 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33322 break;
33323 case SWIG_PY_BINARY:
33324 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33325 break;
33326 default:
33327 obj = 0;
33328 break;
33329 }
33330 if (obj) {
33331 PyDict_SetItemString(d,constants[i].name,obj);
33332 Py_DECREF(obj);
33333 }
33334 }
33335 }
33336
33337 /* -----------------------------------------------------------------------------*/
33338 /* Fix SwigMethods to carry the callback ptrs when needed */
33339 /* -----------------------------------------------------------------------------*/
33340
33341 static void
33342 SWIG_Python_FixMethods(PyMethodDef *methods,
33343 swig_const_info *const_table,
33344 swig_type_info **types,
33345 swig_type_info **types_initial) {
33346 size_t i;
33347 for (i = 0; methods[i].ml_name; ++i) {
33348 char *c = methods[i].ml_doc;
33349 if (c && (c = strstr(c, "swig_ptr: "))) {
33350 int j;
33351 swig_const_info *ci = 0;
33352 char *name = c + 10;
33353 for (j = 0; const_table[j].type; j++) {
33354 if (strncmp(const_table[j].name, name,
33355 strlen(const_table[j].name)) == 0) {
33356 ci = &(const_table[j]);
33357 break;
33358 }
33359 }
33360 if (ci) {
33361 size_t shift = (ci->ptype) - types;
33362 swig_type_info *ty = types_initial[shift];
33363 size_t ldoc = (c - methods[i].ml_doc);
33364 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33365 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33366 char *buff = ndoc;
33367 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
33368 strncpy(buff, methods[i].ml_doc, ldoc);
33369 buff += ldoc;
33370 strncpy(buff, "swig_ptr: ", 10);
33371 buff += 10;
33372 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33373 methods[i].ml_doc = ndoc;
33374 }
33375 }
33376 }
33377 }
33378
33379 /* -----------------------------------------------------------------------------*
33380 * Initialize type list
33381 * -----------------------------------------------------------------------------*/
33382
33383#if PY_MAJOR_VERSION < 2
33384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33385 is copied out of Python/modsupport.c in python version 2.3.4 */
33386 static int
33387 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
33388 {
33389 PyObject *dict;
33390 if (!PyModule_Check(m)) {
33391 PyErr_SetString(PyExc_TypeError,
33392 "PyModule_AddObject() needs module as first arg");
33393 return -1;
33394 }
33395 if (!o) {
33396 PyErr_SetString(PyExc_TypeError,
33397 "PyModule_AddObject() needs non-NULL value");
33398 return -1;
33399 }
33400
33401 dict = PyModule_GetDict(m);
33402 if (dict == NULL) {
33403 /* Internal error -- modules must have a dict! */
33404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
33405 PyModule_GetName(m));
33406 return -1;
33407 }
33408 if (PyDict_SetItemString(dict, name, o))
33409 return -1;
33410 Py_DECREF(o);
33411 return 0;
33412 }
33413#endif
33414
33415 static swig_type_info **
33416 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
33417 static PyMethodDef swig_empty_runtime_method_table[] = {
33418 {
33419 NULL, NULL, 0, NULL
33420 }
33421 };/* Sentinel */
33422
33423 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
33424 swig_empty_runtime_method_table);
33425 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
33426 if (pointer && module) {
33427 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
33428 }
33429 return type_list_handle;
33430 }
33431
33432 static swig_type_info **
33433 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
33434 swig_type_info **type_pointer;
33435
33436 /* first check if module already created */
33437 type_pointer = SWIG_Python_GetTypeListHandle();
33438 if (type_pointer) {
33439 return type_pointer;
33440 } else {
33441 /* create a new module and variable */
33442 return SWIG_Python_SetTypeListHandle(type_list_handle);
33443 }
33444 }
33445
33446#ifdef __cplusplus
33447}
33448#endif
33449
33450/* -----------------------------------------------------------------------------*
33451 * Partial Init method
33452 * -----------------------------------------------------------------------------*/
33453
33454#ifdef SWIG_LINK_RUNTIME
33455#ifdef __cplusplus
33456extern "C"
33457#endif
33458SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33459#endif
33460
d14a1e28
RD
33461#ifdef __cplusplus
33462extern "C"
33463#endif
33464SWIGEXPORT(void) SWIG_init(void) {
33465 static PyObject *SWIG_globals = 0;
33466 static int typeinit = 0;
33467 PyObject *m, *d;
33468 int i;
33469 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
33470
33471 /* Fix SwigMethods to carry the callback ptrs when needed */
33472 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
33473
d14a1e28
RD
33474 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33475 d = PyModule_GetDict(m);
33476
33477 if (!typeinit) {
093d3ff1
RD
33478#ifdef SWIG_LINK_RUNTIME
33479 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
33480#else
33481# ifndef SWIG_STATIC_RUNTIME
33482 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
33483# endif
33484#endif
d14a1e28
RD
33485 for (i = 0; swig_types_initial[i]; i++) {
33486 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33487 }
33488 typeinit = 1;
33489 }
33490 SWIG_InstallConstants(d,swig_const_table);
33491
093d3ff1
RD
33492 {
33493 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
33494 }
33495 {
33496 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
33497 }
33498 {
33499 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
33500 }
33501 {
33502 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
33503 }
33504 {
33505 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
33506 }
33507 {
33508 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
33509 }
33510 {
33511 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
33512 }
33513 {
33514 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
33515 }
33516 {
33517 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
33518 }
33519 {
33520 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
33521 }
33522 {
33523 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
33524 }
33525 {
33526 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
33527 }
33528 {
33529 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
33530 }
33531 {
33532 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
33533 }
33534 {
33535 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
33536 }
33537 {
33538 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
33539 }
33540 {
33541 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
33542 }
33543 {
33544 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
33545 }
33546 {
33547 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
33548 }
33549 {
33550 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
33551 }
33552 {
33553 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
33554 }
33555 {
33556 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
33557 }
33558 {
33559 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
33560 }
33561 {
33562 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
33563 }
33564 {
33565 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
33566 }
33567 {
33568 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
33569 }
33570 {
33571 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
33572 }
33573 {
33574 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
33575 }
33576 {
33577 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
33578 }
33579 {
33580 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
33581 }
33582 {
33583 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
33584 }
33585 {
33586 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
33587 }
33588 {
33589 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
33590 }
33591 {
33592 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
33593 }
33594 {
33595 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
33596 }
33597 {
33598 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
33599 }
33600 {
33601 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
33602 }
33603 {
33604 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
33605 }
33606 {
33607 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
33608 }
33609 {
33610 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
33611 }
33612 {
33613 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
33614 }
33615 {
33616 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
33617 }
33618 {
33619 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
33620 }
33621 {
33622 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
33623 }
33624 {
33625 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
33626 }
33627 {
33628 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
33629 }
33630 {
33631 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
33632 }
33633 {
33634 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
33635 }
33636 {
33637 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
33638 }
33639 {
33640 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
33641 }
33642 {
33643 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
33644 }
33645 {
33646 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
33647 }
33648 {
33649 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
33650 }
33651 {
33652 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
33653 }
33654 {
33655 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
33656 }
33657 {
33658 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
33659 }
33660 {
33661 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
33662 }
33663 {
33664 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
33665 }
33666 {
33667 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
33668 }
33669 {
33670 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
33671 }
33672 {
33673 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
33674 }
33675 {
33676 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
33677 }
33678 {
33679 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
33680 }
33681 {
33682 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
33683 }
33684 {
33685 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
33686 }
33687 {
33688 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
33689 }
33690 {
33691 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
33692 }
33693 {
33694 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
33695 }
33696 {
33697 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
33698 }
33699 {
33700 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
33701 }
33702 {
33703 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
33704 }
33705 {
33706 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
33707 }
33708 {
33709 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
33710 }
33711 {
33712 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
33713 }
33714 {
33715 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
33716 }
33717 {
33718 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
33719 }
33720 {
33721 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
33722 }
33723 {
33724 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
33725 }
33726 {
33727 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
33728 }
33729 {
33730 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
33731 }
33732 {
33733 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
33734 }
33735 {
33736 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
33737 }
33738 {
33739 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
33740 }
33741 {
33742 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
33743 }
33744 {
33745 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
33746 }
33747 {
33748 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
33749 }
33750 {
33751 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
33752 }
33753 {
33754 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
33755 }
33756 {
33757 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
33758 }
33759 {
33760 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
33761 }
33762 {
33763 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
33764 }
33765 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33766 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
33767 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
33768 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
33769 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
33770 {
33771 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
33772 }
33773 {
33774 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
33775 }
33776 {
33777 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
33778 }
33779 {
33780 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
33781 }
33782 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
33783
33784 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33785
33786 {
33787 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
33788 }
33789 {
33790 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
33791 }
33792 {
33793 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
33794 }
33795 {
33796 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
33797 }
33798 {
33799 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
33800 }
33801 {
33802 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
33803 }
33804 {
33805 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
33806 }
33807 {
33808 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
33809 }
33810 {
33811 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
33812 }
33813 {
33814 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
33815 }
33816 {
33817 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
33818 }
33819 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
15afbcd0
RD
33820 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33821 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33822 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33823 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
093d3ff1
RD
33824 {
33825 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33826 }
33827 {
33828 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
33829 }
33830 {
33831 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33832 }
33833 {
33834 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33835 }
33836 {
33837 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33838 }
33839 {
33840 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
33841 }
33842 {
33843 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
33844 }
33845 {
33846 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
33847 }
33848 {
33849 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
33850 }
33851 {
33852 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
33853 }
33854 {
33855 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
33856 }
33857 {
33858 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
33859 }
33860 {
33861 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
33862 }
33863 {
33864 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
33865 }
33866 {
33867 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
33868 }
33869 {
33870 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
33871 }
33872 {
33873 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
33874 }
33875 {
33876 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
33877 }
33878 {
33879 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
33880 }
33881 {
33882 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
33883 }
33884 {
33885 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
33886 }
33887 {
33888 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
33889 }
33890 {
33891 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
33892 }
33893 {
33894 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
33895 }
33896 {
33897 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
33898 }
33899 {
33900 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
33901 }
33902 {
33903 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
33904 }
33905 {
33906 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
33907 }
33908 {
33909 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
33910 }
33911 {
33912 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
33913 }
33914 {
33915 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
33916 }
33917 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
33918 {
33919 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
33920 }
33921 {
33922 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
33923 }
33924 {
33925 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
33926 }
33927 {
33928 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
33929 }
33930 {
33931 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
33932 }
33933
33934 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33935
33936 {
33937 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
33938 }
33939 {
33940 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
33941 }
33942 {
33943 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
33944 }
33945 {
33946 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
33947 }
33948 {
33949 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
33950 }
33951 {
33952 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
33953 }
33954 {
33955 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
33956 }
33957 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
33958 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
33959 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
33960 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
33961 {
33962 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
33963 }
33964 {
33965 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
33966 }
33967 {
33968 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
33969 }
33970 {
33971 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
33972 }
33973 {
33974 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
33975 }
33976 {
33977 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
33978 }
33979 {
33980 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
33981 }
33982 {
33983 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
33984 }
33985 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
33986 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
33987 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
33988 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
33989 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
33990 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
33991 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
33992 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
33993 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
33994 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
33995 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
33996 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
33997 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
33998 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
33999 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
34000 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
34001 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
34002 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
34003 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
34004 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
34005 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
34006 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
34007 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
0c243d93
RD
34008 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
34009 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
093d3ff1
RD
34010 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
34011 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
34012 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
d14a1e28
RD
34013 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
34014 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
34015 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
34016 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
34017 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
34018 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
34019 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d14a1e28 34020 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 34021 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d14a1e28
RD
34022 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
34023 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
34024 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
34025 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
34026 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
34027 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
34028 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
34029 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
34030 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
34031 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
0c243d93
RD
34032 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
34033 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
34034 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
34035 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
a187dc0b 34036 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
0c243d93
RD
34037 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
34038 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
34039 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
34040 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
34041 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d14a1e28
RD
34042
34043 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
34044
093d3ff1
RD
34045 {
34046 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
34047 }
34048 {
34049 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
34050 }
34051 {
34052 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
34053 }
34054 {
34055 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
34056 }
34057 {
34058 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
34059 }
34060 {
34061 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
34062 }
34063 {
34064 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
34065 }
34066 {
34067 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
34068 }
34069 {
34070 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
34071 }
7557b9b5
RD
34072 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
34073 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1
RD
34074 {
34075 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
34076 }
34077 {
34078 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
34079 }
34080 {
34081 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
34082 }
34083 {
34084 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
34085 }
34086 {
34087 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
34088 }
34089 {
34090 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
34091 }
34092 {
34093 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
34094 }
34095 {
34096 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
34097 }
34098 {
34099 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
34100 }
34101 {
34102 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
34103 }
34104 {
34105 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
34106 }
34107 {
34108 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
34109 }
34110 {
34111 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
34112 }
34113 {
34114 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
34115 }
34116 {
34117 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
34118 }
34119 {
34120 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
34121 }
34122 {
34123 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
34124 }
34125 {
34126 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
34127 }
34128 {
34129 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
34130 }
34131 {
34132 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
34133 }
34134 {
34135 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
34136 }
34137 {
34138 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
34139 }
34140 {
34141 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
34142 }
34143 {
34144 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
34145 }
34146 {
34147 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
34148 }
34149 {
34150 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
34151 }
34152 {
34153 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
34154 }
34155 {
34156 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
34157 }
34158 {
34159 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
34160 }
34161 {
34162 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
34163 }
34164 {
34165 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
34166 }
34167 {
34168 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
34169 }
34170 {
34171 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
34172 }
34173 {
34174 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
34175 }
34176 {
34177 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
34178 }
34179 {
34180 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
34181 }
34182 {
34183 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
34184 }
34185 {
34186 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
34187 }
34188 {
34189 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
34190 }
34191 {
34192 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
34193 }
34194 {
34195 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
34196 }
34197 {
34198 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
34199 }
34200 {
34201 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
34202 }
34203 {
34204 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
34205 }
34206 {
34207 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
34208 }
34209 {
34210 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
34211 }
34212 {
34213 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
34214 }
34215 {
34216 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
34217 }
34218 {
34219 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
34220 }
34221 {
34222 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
34223 }
34224 {
34225 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
34226 }
34227 {
34228 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
34229 }
34230 {
34231 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
34232 }
34233 {
34234 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
34235 }
34236 {
34237 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
34238 }
34239 {
34240 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
34241 }
34242 {
34243 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
34244 }
34245 {
34246 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
34247 }
34248 {
34249 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
34250 }
34251 {
34252 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
34253 }
34254 {
34255 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
34256 }
34257 {
34258 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
34259 }
34260 {
34261 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
34262 }
34263 {
34264 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
34265 }
34266 {
34267 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
34268 }
34269 {
34270 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
34271 }
34272 {
34273 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
34274 }
34275 {
34276 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
34277 }
34278 {
34279 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
34280 }
34281 {
34282 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
34283 }
34284 {
34285 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
34286 }
34287 {
34288 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
34289 }
34290 {
34291 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
34292 }
34293 {
34294 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
34295 }
34296 {
34297 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
34298 }
34299 {
34300 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
34301 }
34302 {
34303 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
34304 }
34305 {
34306 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
34307 }
34308 {
34309 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
34310 }
34311 {
34312 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
34313 }
34314 {
34315 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
34316 }
34317 {
34318 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
34319 }
34320 {
34321 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
34322 }
34323 {
34324 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
34325 }
34326 {
34327 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
34328 }
34329 {
34330 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
34331 }
34332 {
34333 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
34334 }
34335 {
34336 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
34337 }
34338 {
34339 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
34340 }
34341 {
34342 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
34343 }
34344 {
34345 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
34346 }
34347 {
34348 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
34349 }
34350 {
34351 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
34352 }
34353 {
34354 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
34355 }
34356 {
34357 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
34358 }
34359 {
34360 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
34361 }
34362 {
34363 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
34364 }
34365 {
34366 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
34367 }
34368 {
34369 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
34370 }
34371 {
34372 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
34373 }
34374 {
34375 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
34376 }
34377 {
34378 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
34379 }
34380 {
34381 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
34382 }
34383 {
34384 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
34385 }
34386 {
34387 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
34388 }
34389 {
34390 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
34391 }
34392 {
34393 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
34394 }
34395 {
34396 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
34397 }
34398 {
34399 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
34400 }
34401 {
34402 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
34403 }
34404 {
34405 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
34406 }
34407 {
34408 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
34409 }
34410 {
34411 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
34412 }
34413 {
34414 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
34415 }
34416 {
34417 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
34418 }
34419 {
34420 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
34421 }
34422 {
34423 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
34424 }
34425 {
34426 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
34427 }
34428 {
34429 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
34430 }
34431 {
34432 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
34433 }
34434 {
34435 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
34436 }
34437 {
34438 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
34439 }
34440 {
34441 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
34442 }
34443 {
34444 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
34445 }
34446 {
34447 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
34448 }
34449 {
34450 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
34451 }
34452 {
34453 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
34454 }
34455 {
34456 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
34457 }
34458 {
34459 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
34460 }
34461 {
34462 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
34463 }
34464 {
34465 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
34466 }
34467 {
34468 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
34469 }
34470 {
34471 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
34472 }
34473 {
34474 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
34475 }
34476 {
34477 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
34478 }
34479 {
34480 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
34481 }
34482 {
34483 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
34484 }
34485 {
34486 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
34487 }
34488 {
34489 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
34490 }
34491 {
34492 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
34493 }
34494 {
34495 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
34496 }
34497 {
34498 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
34499 }
34500 {
34501 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
34502 }
34503 {
34504 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
34505 }
34506 {
34507 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
34508 }
34509 {
34510 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
34511 }
34512 {
34513 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
34514 }
34515 {
34516 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
34517 }
34518 {
34519 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
34520 }
34521 {
34522 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
34523 }
34524 {
34525 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
34526 }
34527 {
34528 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
34529 }
34530 {
34531 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
34532 }
34533 {
34534 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
34535 }
34536 {
34537 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
34538 }
34539 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
34540 {
34541 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
34542 }
34543 {
34544 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
34545 }
34546 {
34547 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
34548 }
34549 {
34550 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
34551 }
34552 {
34553 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
34554 }
34555 {
34556 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
34557 }
34558 {
34559 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
34560 }
34561 {
34562 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
34563 }
34564 {
34565 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
34566 }
34567 {
34568 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
34569 }
34570 {
34571 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
34572 }
34573 {
34574 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
34575 }
34576 {
34577 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
34578 }
34579 {
34580 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
34581 }
34582 {
34583 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
34584 }
34585 {
34586 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
34587 }
34588 {
34589 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
34590 }
34591 {
34592 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
34593 }
34594 {
34595 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
34596 }
34597 {
34598 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
34599 }
34600 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
34601 {
34602 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
34603 }
34604 {
34605 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
34606 }
34607 {
34608 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
34609 }
34610 {
34611 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
34612 }
34613 {
34614 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
34615 }
34616 {
34617 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
34618 }
34619 {
34620 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
34621 }
34622 {
34623 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
34624 }
34625 {
34626 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
34627 }
34628 {
34629 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
34630 }
34631 {
34632 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
34633 }
34634 {
34635 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
34636 }
d14a1e28
RD
34637
34638 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34639 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34640 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34641 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34642
4276dc52 34643 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
d14a1e28
RD
34644}
34645