]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
Added the wx.DC.GradientFillConcentric and wx.DC.GradientFillLinear
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
7449af73 3 * Version 1.3.27
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
7e08d4ef 12#define SWIG_VERSION 0x010327
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
7449af73
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d55e5bfc 36
7449af73
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 41# else
7449af73 42# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
43# endif
44#endif
d55e5bfc 45
7449af73
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
d55e5bfc 97
093d3ff1 98#include <Python.h>
d55e5bfc
RD
99
100/***********************************************************************
093d3ff1 101 * swigrun.swg
d55e5bfc 102 *
093d3ff1
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d55e5bfc
RD
105 *
106 ************************************************************************/
107
093d3ff1
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
7449af73 110#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 111
093d3ff1
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
7449af73
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 117#else
7449af73 118# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
7449af73 129
093d3ff1 130#ifndef SWIGRUNTIME
7449af73 131# define SWIGRUNTIME SWIGINTERN
093d3ff1 132#endif
7449af73 133
093d3ff1 134#ifndef SWIGRUNTIMEINLINE
7449af73 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
136#endif
137
7449af73
RD
138#include <string.h>
139
d55e5bfc
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
7449af73 147/* Structure to store inforomation on one type */
d55e5bfc 148typedef struct swig_type_info {
7449af73
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d55e5bfc
RD
154} swig_type_info;
155
7449af73
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
093d3ff1
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
7449af73 190 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 197 Return 0 if not equal, 1 if equal
093d3ff1
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
7449af73 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
7449af73
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 217*/
7449af73
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
093d3ff1 226 }
7449af73
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
093d3ff1 229 }
7449af73 230 return equiv;
093d3ff1
RD
231}
232
7449af73
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
093d3ff1
RD
256/*
257 Check the typename
258*/
7449af73 259SWIGRUNTIME swig_cast_info *
093d3ff1 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
7449af73 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
093d3ff1
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
7449af73
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
093d3ff1
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
7449af73
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
093d3ff1 335 }
7449af73
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
093d3ff1 379 }
7449af73
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
093d3ff1 414 }
7449af73
RD
415
416 /* neither found a match */
417 return 0;
093d3ff1
RD
418}
419
7449af73 420
093d3ff1
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
093d3ff1 429 for (; u != eu; ++u) {
7449af73 430 register unsigned char uu = *u;
093d3ff1
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
7449af73 443 register const unsigned char *eu = u + sz;
093d3ff1 444 for (; u != eu; ++u) {
7449af73 445 register char d = *(c++);
093d3ff1
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
093d3ff1
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
d55e5bfc 506
093d3ff1
RD
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d55e5bfc
RD
519
520#ifdef __cplusplus
521}
522#endif
523
093d3ff1
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
d55e5bfc 527
093d3ff1
RD
528#ifdef __cplusplus
529extern "C" {
530#endif
c32bde28 531
093d3ff1
RD
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
d55e5bfc 535
093d3ff1 536#ifndef SWIGINTERN
7449af73 537# define SWIGINTERN static SWIGUNUSED
093d3ff1 538#endif
d55e5bfc 539
7449af73
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 542#endif
d55e5bfc 543
093d3ff1
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
d55e5bfc 563
093d3ff1
RD
564/* Constant Types */
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
d55e5bfc 580
c32bde28 581
093d3ff1
RD
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
c32bde28
RD
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
588
589#ifdef __cplusplus
093d3ff1
RD
590}
591#endif
d55e5bfc 592
d55e5bfc 593
093d3ff1
RD
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
d55e5bfc 603
093d3ff1
RD
604/* Common SWIG API */
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
9d7dfdff 608
d55e5bfc 609
093d3ff1
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 613
7449af73
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 617
093d3ff1
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d55e5bfc 629
093d3ff1
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 633
d55e5bfc 634
7449af73
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
093d3ff1
RD
640#ifdef __cplusplus
641extern "C" {
642#endif
d55e5bfc 643
093d3ff1
RD
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
093d3ff1
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
d55e5bfc 650
7449af73
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
093d3ff1
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
d55e5bfc 674
093d3ff1
RD
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
680
681/* Declarations for objects of type PySwigObject */
682
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 685{
093d3ff1 686 char result[SWIG_BUFFER_SIZE];
7449af73 687 flags = flags;
093d3ff1
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
d55e5bfc 693 }
d55e5bfc 694}
9d7dfdff 695
093d3ff1
RD
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
d55e5bfc 698{
093d3ff1
RD
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
702}
703
093d3ff1
RD
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
706{
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710}
d55e5bfc 711
093d3ff1
RD
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
714{
7449af73
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
d55e5bfc 732}
093d3ff1
RD
733
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
c32bde28 736{
7449af73 737 return PySwigObject_format("%o",v);
c32bde28 738}
d55e5bfc 739
093d3ff1
RD
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
742{
7449af73 743 return PySwigObject_format("%x",v);
093d3ff1 744}
d55e5bfc 745
093d3ff1
RD
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 748{
093d3ff1
RD
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
7449af73 751 return (c > 0) ? 1 : -1;
093d3ff1
RD
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
7449af73 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
d55e5bfc 756 }
c32bde28
RD
757}
758
093d3ff1
RD
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
c32bde28 761{
7449af73 762 PyObject_Del(self);
d55e5bfc
RD
763}
764
093d3ff1 765SWIGRUNTIME PyTypeObject*
7449af73
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
093d3ff1 768 "Swig object carries a C/C++ instance pointer";
9d7dfdff 769
093d3ff1
RD
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 794#if PY_VERSION_HEX >= 0x02020000
093d3ff1 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
798#endif
799 };
800
7449af73
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
093d3ff1 805 if (!type_init) {
7449af73
RD
806 PyTypeObject tmp
807#endif
808 = {
093d3ff1
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
7449af73 811 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
7449af73
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840#endif
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843#endif
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
7449af73
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
093d3ff1 850 type_init = 1;
c32bde28 851 }
7449af73
RD
852#endif
853 return &pyswigobject_type;
c32bde28
RD
854}
855
093d3ff1
RD
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
d55e5bfc 858{
7449af73
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
093d3ff1 864 return (PyObject *)self;
c32bde28
RD
865}
866
093d3ff1
RD
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
c32bde28 872
093d3ff1
RD
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
c32bde28 875{
093d3ff1 876 return ((PySwigObject *)self)->desc;
d55e5bfc
RD
877}
878
093d3ff1
RD
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
7449af73 881 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
d55e5bfc 884
093d3ff1
RD
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
895
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 898{
093d3ff1 899 char result[SWIG_BUFFER_SIZE];
7449af73 900 flags = flags;
093d3ff1
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
c32bde28 905 }
093d3ff1
RD
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
d55e5bfc 909}
9d7dfdff 910
093d3ff1
RD
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
d55e5bfc 913{
093d3ff1
RD
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
d55e5bfc
RD
920}
921
093d3ff1
RD
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
7449af73 929 return PyString_FromString(v->desc);
093d3ff1
RD
930 }
931}
d55e5bfc 932
093d3ff1
RD
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935{
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
7449af73 938 return (c > 0) ? 1 : -1;
093d3ff1
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
7449af73 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945}
d55e5bfc 946
093d3ff1
RD
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
949{
950 free(self->pack);
7449af73 951 PyObject_Del(self);
093d3ff1
RD
952}
953
954SWIGRUNTIME PyTypeObject*
7449af73
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
093d3ff1 957 "Swig object carries a C/C++ instance pointer";
7449af73
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
093d3ff1 962 if (!type_init) {
7449af73
RD
963 PyTypeObject tmp
964#endif
965 = {
093d3ff1
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
7449af73 968 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
7449af73
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
7449af73
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
093d3ff1 1007 type_init = 1;
7e63a440 1008 }
7449af73
RD
1009#endif
1010 return &pyswigpacked_type;
093d3ff1 1011}
d55e5bfc 1012
093d3ff1
RD
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
7449af73 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
7449af73
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
093d3ff1
RD
1029 }
1030}
c32bde28 1031
093d3ff1
RD
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1034{
093d3ff1
RD
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
1040
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
1043{
1044 return ((PySwigPacked *)self)->desc;
d55e5bfc
RD
1045}
1046
093d3ff1
RD
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
7449af73 1049 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
d55e5bfc 1052
093d3ff1
RD
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063#endif
1064
1065#endif
1066
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
d55e5bfc 1073{
093d3ff1
RD
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
7449af73 1076 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
7449af73 1097 Py_XDECREF(str);
093d3ff1
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
d55e5bfc 1104 }
c32bde28
RD
1105}
1106
093d3ff1
RD
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
c32bde28 1109{
093d3ff1
RD
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
d55e5bfc
RD
1115}
1116
093d3ff1
RD
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
d55e5bfc 1141
093d3ff1
RD
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
d55e5bfc 1144{
093d3ff1
RD
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
7449af73 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
d55e5bfc
RD
1153}
1154
1155
093d3ff1
RD
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
7449af73 1163 swig_cast_info *tc;
093d3ff1
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
9d7dfdff 1169
093d3ff1
RD
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
d55e5bfc 1193#else
093d3ff1
RD
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
7449af73 1206 c = PyString_AsString(obj);
093d3ff1
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
d55e5bfc 1211#endif
d55e5bfc 1212
093d3ff1 1213type_check:
093d3ff1
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
093d3ff1
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
7449af73 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
d55e5bfc 1246 }
093d3ff1
RD
1247 }
1248 return -1;
1249}
d55e5bfc 1250
093d3ff1
RD
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
d55e5bfc 1260 }
093d3ff1
RD
1261 }
1262 return result;
1263}
d55e5bfc 1264
093d3ff1
RD
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
7449af73 1268 swig_cast_info *tc;
093d3ff1 1269 const char *c = 0;
d55e5bfc 1270
093d3ff1
RD
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
7449af73 1275 c = PyString_AsString(obj);
093d3ff1
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
d55e5bfc 1285
093d3ff1
RD
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
7449af73
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
093d3ff1
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
d55e5bfc 1337
093d3ff1
RD
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
d55e5bfc 1353#endif
093d3ff1
RD
1354 return robj;
1355}
d55e5bfc 1356
093d3ff1
RD
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
d55e5bfc 1360
093d3ff1
RD
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
d55e5bfc 1364
7449af73
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
093d3ff1
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
093d3ff1 1379#endif
7449af73
RD
1380 }
1381 return (swig_module_info *) type_pointer;
093d3ff1 1382}
d55e5bfc 1383
7449af73
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
093d3ff1 1413}
7449af73 1414#endif
d55e5bfc 1415
7449af73
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
d55e5bfc 1427
093d3ff1
RD
1428#ifdef __cplusplus
1429}
1430#endif
d55e5bfc 1431
d55e5bfc 1432
093d3ff1 1433/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1434
7449af73
RD
1435#define SWIGTYPE_p_char swig_types[0]
1436#define SWIGTYPE_p_form_ops_t swig_types[1]
1437#define SWIGTYPE_p_int swig_types[2]
1438#define SWIGTYPE_p_unsigned_char swig_types[3]
1439#define SWIGTYPE_p_unsigned_int swig_types[4]
1440#define SWIGTYPE_p_unsigned_long swig_types[5]
1441#define SWIGTYPE_p_void swig_types[6]
1442#define SWIGTYPE_p_wxANIHandler swig_types[7]
1443#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445#define SWIGTYPE_p_wxArrayString swig_types[10]
1446#define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447#define SWIGTYPE_p_wxBitmap swig_types[12]
1448#define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1449#define SWIGTYPE_p_wxBoxSizer swig_types[14]
1450#define SWIGTYPE_p_wxBusyCursor swig_types[15]
1451#define SWIGTYPE_p_wxBusyInfo swig_types[16]
1452#define SWIGTYPE_p_wxCURHandler swig_types[17]
1453#define SWIGTYPE_p_wxCaret swig_types[18]
1454#define SWIGTYPE_p_wxChar swig_types[19]
1455#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1456#define SWIGTYPE_p_wxClipboard swig_types[21]
1457#define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1458#define SWIGTYPE_p_wxCloseEvent swig_types[23]
1459#define SWIGTYPE_p_wxColour swig_types[24]
1460#define SWIGTYPE_p_wxCommandEvent swig_types[25]
1461#define SWIGTYPE_p_wxConfig swig_types[26]
1462#define SWIGTYPE_p_wxConfigBase swig_types[27]
1463#define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1464#define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1465#define SWIGTYPE_p_wxControl swig_types[30]
1466#define SWIGTYPE_p_wxControlWithItems swig_types[31]
1467#define SWIGTYPE_p_wxCursor swig_types[32]
1468#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1469#define SWIGTYPE_p_wxDC swig_types[34]
1470#define SWIGTYPE_p_wxDataFormat swig_types[35]
1471#define SWIGTYPE_p_wxDataObject swig_types[36]
1472#define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1473#define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1474#define SWIGTYPE_p_wxDateEvent swig_types[39]
1475#define SWIGTYPE_p_wxDateSpan swig_types[40]
1476#define SWIGTYPE_p_wxDateTime swig_types[41]
1477#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1478#define SWIGTYPE_p_wxDisplay swig_types[43]
1479#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1480#define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1481#define SWIGTYPE_p_wxDuplexMode swig_types[46]
1482#define SWIGTYPE_p_wxEraseEvent swig_types[47]
1483#define SWIGTYPE_p_wxEvent swig_types[48]
1484#define SWIGTYPE_p_wxEvtHandler swig_types[49]
1485#define SWIGTYPE_p_wxFSFile swig_types[50]
1486#define SWIGTYPE_p_wxFileConfig swig_types[51]
1487#define SWIGTYPE_p_wxFileDataObject swig_types[52]
1488#define SWIGTYPE_p_wxFileHistory swig_types[53]
1489#define SWIGTYPE_p_wxFileSystem swig_types[54]
1490#define SWIGTYPE_p_wxFileType swig_types[55]
1491#define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1492#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1493#define SWIGTYPE_p_wxFocusEvent swig_types[58]
1494#define SWIGTYPE_p_wxFont swig_types[59]
1495#define SWIGTYPE_p_wxFrame swig_types[60]
1496#define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1497#define SWIGTYPE_p_wxGIFHandler swig_types[62]
1498#define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1499#define SWIGTYPE_p_wxGridSizer swig_types[64]
1500#define SWIGTYPE_p_wxICOHandler swig_types[65]
1501#define SWIGTYPE_p_wxIcon swig_types[66]
1502#define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1503#define SWIGTYPE_p_wxIdleEvent swig_types[68]
1504#define SWIGTYPE_p_wxImage swig_types[69]
1505#define SWIGTYPE_p_wxImageHandler swig_types[70]
1506#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1507#define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1508#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509#define SWIGTYPE_p_wxJoystick swig_types[74]
1510#define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1511#define SWIGTYPE_p_wxKeyEvent swig_types[76]
1512#define SWIGTYPE_p_wxKillError swig_types[77]
1513#define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1514#define SWIGTYPE_p_wxLog swig_types[79]
1515#define SWIGTYPE_p_wxLogBuffer swig_types[80]
1516#define SWIGTYPE_p_wxLogChain swig_types[81]
1517#define SWIGTYPE_p_wxLogGui swig_types[82]
1518#define SWIGTYPE_p_wxLogNull swig_types[83]
1519#define SWIGTYPE_p_wxLogStderr swig_types[84]
1520#define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1521#define SWIGTYPE_p_wxLogWindow swig_types[86]
1522#define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1523#define SWIGTYPE_p_wxMemorySize swig_types[88]
1524#define SWIGTYPE_p_wxMenu swig_types[89]
1525#define SWIGTYPE_p_wxMenuBar swig_types[90]
1526#define SWIGTYPE_p_wxMenuEvent swig_types[91]
1527#define SWIGTYPE_p_wxMenuItem swig_types[92]
1528#define SWIGTYPE_p_wxMetafile swig_types[93]
1529#define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1530#define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1531#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1532#define SWIGTYPE_p_wxMouseEvent swig_types[97]
1533#define SWIGTYPE_p_wxMouseState swig_types[98]
1534#define SWIGTYPE_p_wxMoveEvent swig_types[99]
1535#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1536#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1537#define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1538#define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1539#define SWIGTYPE_p_wxObject swig_types[104]
1540#define SWIGTYPE_p_wxOutputStream swig_types[105]
1541#define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542#define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543#define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544#define SWIGTYPE_p_wxPaintEvent swig_types[109]
1545#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1546#define SWIGTYPE_p_wxPaperSize swig_types[111]
1547#define SWIGTYPE_p_wxPoint swig_types[112]
1548#define SWIGTYPE_p_wxProcessEvent swig_types[113]
1549#define SWIGTYPE_p_wxPyApp swig_types[114]
1550#define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1551#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1552#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1553#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1554#define SWIGTYPE_p_wxPyDropSource swig_types[119]
1555#define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1556#define SWIGTYPE_p_wxPyEvent swig_types[121]
1557#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1558#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1559#define SWIGTYPE_p_wxPyLog swig_types[124]
1560#define SWIGTYPE_p_wxPyProcess swig_types[125]
1561#define SWIGTYPE_p_wxPySizer swig_types[126]
1562#define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1563#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1564#define SWIGTYPE_p_wxPyTimer swig_types[129]
1565#define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1566#define SWIGTYPE_p_wxPyValidator swig_types[131]
1567#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1568#define SWIGTYPE_p_wxRect swig_types[133]
1569#define SWIGTYPE_p_wxScrollEvent swig_types[134]
1570#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1571#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1572#define SWIGTYPE_p_wxShowEvent swig_types[137]
1573#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1574#define SWIGTYPE_p_wxSize swig_types[139]
1575#define SWIGTYPE_p_wxSizeEvent swig_types[140]
1576#define SWIGTYPE_p_wxSizer swig_types[141]
1577#define SWIGTYPE_p_wxSizerItem swig_types[142]
1578#define SWIGTYPE_p_wxSound swig_types[143]
1579#define SWIGTYPE_p_wxStandardPaths swig_types[144]
1580#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1581#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1582#define SWIGTYPE_p_wxStopWatch swig_types[147]
1583#define SWIGTYPE_p_wxString swig_types[148]
1584#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1585#define SWIGTYPE_p_wxSystemOptions swig_types[150]
1586#define SWIGTYPE_p_wxSystemSettings swig_types[151]
1587#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1588#define SWIGTYPE_p_wxTextCtrl swig_types[153]
1589#define SWIGTYPE_p_wxTextDataObject swig_types[154]
1590#define SWIGTYPE_p_wxTimeSpan swig_types[155]
1591#define SWIGTYPE_p_wxTimer swig_types[156]
1592#define SWIGTYPE_p_wxTimerEvent swig_types[157]
1593#define SWIGTYPE_p_wxTimerRunner swig_types[158]
1594#define SWIGTYPE_p_wxTipProvider swig_types[159]
1595#define SWIGTYPE_p_wxToolTip swig_types[160]
1596#define SWIGTYPE_p_wxURLDataObject swig_types[161]
1597#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1598#define SWIGTYPE_p_wxValidator swig_types[163]
1599#define SWIGTYPE_p_wxVideoMode swig_types[164]
1600#define SWIGTYPE_p_wxWindow swig_types[165]
1601#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1602#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1603#define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1604#define SWIGTYPE_p_wxXPMHandler swig_types[169]
1605#define SWIGTYPE_ptrdiff_t swig_types[170]
1606#define SWIGTYPE_std__ptrdiff_t swig_types[171]
1607#define SWIGTYPE_unsigned_int swig_types[172]
1608static swig_type_info *swig_types[174];
1609static swig_module_info swig_module = {swig_types, 173, 0, 0, 0, 0};
1610#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1611#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
d55e5bfc 1612
093d3ff1 1613/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1614
1615
093d3ff1
RD
1616/*-----------------------------------------------
1617 @(target):= _misc_.so
1618 ------------------------------------------------*/
1619#define SWIG_init init_misc_
d55e5bfc 1620
093d3ff1 1621#define SWIG_name "_misc_"
d55e5bfc 1622
093d3ff1
RD
1623#include "wx/wxPython/wxPython.h"
1624#include "wx/wxPython/pyclasses.h"
1625#include "wx/wxPython/pyistream.h"
d55e5bfc 1626
093d3ff1 1627 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1628
d55e5bfc 1629
d55e5bfc 1630
7e08d4ef 1631 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1632#define SWIG_From_int PyInt_FromLong
1633/*@@*/
d55e5bfc
RD
1634
1635
093d3ff1 1636#include <limits.h>
d55e5bfc
RD
1637
1638
093d3ff1
RD
1639SWIGINTERN int
1640 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1641 const char *errmsg)
d55e5bfc 1642{
093d3ff1
RD
1643 if (value < min_value) {
1644 if (errmsg) {
1645 PyErr_Format(PyExc_OverflowError,
1646 "value %ld is less than '%s' minimum %ld",
1647 value, errmsg, min_value);
1648 }
1649 return 0;
1650 } else if (value > max_value) {
c32bde28
RD
1651 if (errmsg) {
1652 PyErr_Format(PyExc_OverflowError,
093d3ff1 1653 "value %ld is greater than '%s' maximum %ld",
c32bde28 1654 value, errmsg, max_value);
d55e5bfc 1655 }
c32bde28 1656 return 0;
d55e5bfc 1657 }
c32bde28 1658 return 1;
093d3ff1 1659}
d55e5bfc
RD
1660
1661
093d3ff1
RD
1662SWIGINTERN int
1663SWIG_AsVal_long(PyObject* obj, long* val)
1664{
1665 if (PyNumber_Check(obj)) {
1666 if (val) *val = PyInt_AsLong(obj);
1667 return 1;
1668 }
1669 else {
7e08d4ef 1670 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
1671 }
1672 return 0;
1673}
1674
1675
1676#if INT_MAX != LONG_MAX
1677SWIGINTERN int
1678 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1679{
093d3ff1
RD
1680 const char* errmsg = val ? "int" : (char*)0;
1681 long v;
1682 if (SWIG_AsVal_long(obj, &v)) {
1683 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
7449af73 1684 if (val) *val = static_cast<int >(v);
c32bde28 1685 return 1;
093d3ff1
RD
1686 } else {
1687 return 0;
c32bde28
RD
1688 }
1689 } else {
1690 PyErr_Clear();
1691 }
1692 if (val) {
093d3ff1 1693 SWIG_type_error(errmsg, obj);
c32bde28
RD
1694 }
1695 return 0;
d55e5bfc
RD
1696}
1697#else
7449af73 1698SWIGINTERNINLINE int
093d3ff1 1699 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1700{
093d3ff1 1701 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1702}
d55e5bfc
RD
1703#endif
1704
1705
7449af73 1706SWIGINTERNINLINE int
093d3ff1 1707SWIG_As_int(PyObject* obj)
d55e5bfc 1708{
093d3ff1
RD
1709 int v;
1710 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1711 /*
093d3ff1 1712 this is needed to make valgrind/purify happier.
c32bde28 1713 */
093d3ff1 1714 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1715 }
c32bde28
RD
1716 return v;
1717}
1718
1719
7449af73 1720SWIGINTERNINLINE int
093d3ff1 1721SWIG_Check_int(PyObject* obj)
c32bde28 1722{
093d3ff1 1723 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1724}
1725
093d3ff1 1726 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1727
093d3ff1 1728#include <wx/stockitem.h>
f78cc896 1729
093d3ff1
RD
1730 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1731 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1732 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1733
7e08d4ef 1734 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1735#define SWIG_From_long PyInt_FromLong
1736/*@@*/
f78cc896 1737
f78cc896 1738
7449af73 1739SWIGINTERNINLINE long
093d3ff1
RD
1740SWIG_As_long(PyObject* obj)
1741{
1742 long v;
1743 if (!SWIG_AsVal_long(obj, &v)) {
1744 /*
1745 this is needed to make valgrind/purify happier.
1746 */
1747 memset((void*)&v, 0, sizeof(long));
1748 }
1749 return v;
1750}
f78cc896 1751
093d3ff1 1752
7449af73 1753SWIGINTERNINLINE int
093d3ff1
RD
1754SWIG_Check_long(PyObject* obj)
1755{
1756 return SWIG_AsVal_long(obj, (long*)0);
1757}
f78cc896 1758
f78cc896 1759
093d3ff1
RD
1760SWIGINTERN int
1761 SWIG_AsVal_bool(PyObject *obj, bool *val)
1762{
1763 if (obj == Py_True) {
1764 if (val) *val = true;
1765 return 1;
1766 }
1767 if (obj == Py_False) {
1768 if (val) *val = false;
1769 return 1;
1770 }
1771 int res = 0;
1772 if (SWIG_AsVal_int(obj, &res)) {
1773 if (val) *val = res ? true : false;
1774 return 1;
1775 } else {
1776 PyErr_Clear();
1777 }
1778 if (val) {
1779 SWIG_type_error("bool", obj);
1780 }
1781 return 0;
1782}
d55e5bfc 1783
d55e5bfc 1784
7449af73 1785SWIGINTERNINLINE bool
093d3ff1
RD
1786SWIG_As_bool(PyObject* obj)
1787{
1788 bool v;
1789 if (!SWIG_AsVal_bool(obj, &v)) {
1790 /*
1791 this is needed to make valgrind/purify happier.
1792 */
1793 memset((void*)&v, 0, sizeof(bool));
1794 }
1795 return v;
1796}
d55e5bfc 1797
093d3ff1 1798
7449af73 1799SWIGINTERNINLINE int
093d3ff1
RD
1800SWIG_Check_bool(PyObject* obj)
1801{
1802 return SWIG_AsVal_bool(obj, (bool*)0);
1803}
d55e5bfc
RD
1804
1805
7e08d4ef
RD
1806 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1807 {
1808 PyObject* o2;
1809 PyObject* o3;
1810 if (!result) {
1811 result = obj;
1812 } else if (result == Py_None) {
1813 Py_DECREF(result);
1814 result = obj;
1815 } else {
1816 if (!PyTuple_Check(result)) {
1817 o2 = result;
1818 result = PyTuple_New(1);
1819 PyTuple_SET_ITEM(result, 0, o2);
1820 }
1821 o3 = PyTuple_New(1);
1822 PyTuple_SetItem(o3, 0, obj);
1823 o2 = result;
1824 result = PySequence_Concat(o2, o3);
1825 Py_DECREF(o2);
1826 Py_DECREF(o3);
1827 }
1828 return result;
1829 }
d55e5bfc 1830
d55e5bfc
RD
1831
1832
093d3ff1
RD
1833SWIGINTERN int
1834SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1835{
1836 long v = 0;
1837 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1838 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1839 }
093d3ff1
RD
1840 else if (val)
1841 *val = (unsigned long)v;
1842 return 1;
1843}
d55e5bfc 1844
d55e5bfc 1845
7449af73 1846SWIGINTERNINLINE unsigned long
093d3ff1
RD
1847SWIG_As_unsigned_SS_long(PyObject* obj)
1848{
1849 unsigned long v;
1850 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1851 /*
1852 this is needed to make valgrind/purify happier.
1853 */
1854 memset((void*)&v, 0, sizeof(unsigned long));
1855 }
1856 return v;
1857}
d55e5bfc 1858
093d3ff1 1859
7449af73 1860SWIGINTERNINLINE int
093d3ff1
RD
1861SWIG_Check_unsigned_SS_long(PyObject* obj)
1862{
1863 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1864}
d55e5bfc
RD
1865
1866
7449af73 1867SWIGINTERNINLINE PyObject*
093d3ff1
RD
1868 SWIG_From_unsigned_SS_long(unsigned long value)
1869{
1870 return (value > LONG_MAX) ?
1871 PyLong_FromUnsignedLong(value)
7449af73 1872 : PyInt_FromLong(static_cast<long >(value));
093d3ff1 1873}
d55e5bfc
RD
1874
1875
a97cefba
RD
1876 void* wxGetXDisplay()
1877 {
1878#ifdef __WXGTK__
1879 return wxGetDisplay();
1880#else
1881 return NULL;
1882#endif
1883 }
1884
1885
7449af73
RD
1886 wxWindow* FindWindowAtPointer() {
1887 wxPoint unused;
1888 return wxFindWindowAtPointer(unused);
1889 }
1890
1891
093d3ff1
RD
1892 bool wxThread_IsMain() {
1893#ifdef WXP_WITH_THREAD
1894 return wxThread::IsMain();
1895#else
1896 return true;
1897#endif
d55e5bfc 1898 }
093d3ff1 1899
091fdbfa
RD
1900static void wxCaret_Destroy(wxCaret *self){
1901 delete self;
1902 }
d55e5bfc 1903
093d3ff1
RD
1904#include <wx/snglinst.h>
1905
1906
68350608
RD
1907#ifdef __WXMSW__
1908#include <wx/msw/private.h>
1909#include <wx/dynload.h>
1910#endif
1911
1912
1913
1914bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1915#if 0
1916 , int method
1917#endif
1918 )
1919{
1920#ifdef __WXMSW__
1921#if 0
1922 switch (method)
1923 {
1924 case 1:
1925 // This one only partially works. Appears to be an undocumented
1926 // "standard" convention that not all widgets adhear to. For
1927 // example, for some widgets backgrounds or non-client areas may
1928 // not be painted.
1929 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1930 break;
1931
1932 case 2:
1933#endif
1934 // This one works much better, nearly all widgets and their
1935 // children are captured correctly[**]. Prior to the big
1936 // background erase changes that Vadim did in 2004-2005 this
1937 // method failed badly on XP with Themes activated, most native
1938 // widgets draw only partially, if at all. Without themes it
1939 // worked just like on Win2k. After those changes this method
1940 // works very well.
1941 //
1942 // ** For example the radio buttons in a wxRadioBox are not its
1943 // children by default, but you can capture it via the panel
1944 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1945 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1946 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1947 PRF_ERASEBKGND | PRF_OWNED );
1948 return true;
1949#if 0
1950 break;
1951
1952 case 3:
1953 // This one is only defined in the latest SDK and is only
1954 // available on XP. MSDN says it is similar to sending WM_PRINT
1955 // so I expect that it will work similar to the above. Since it
1956 // is avaialble only on XP, it can't be compiled like this and
1957 // will have to be loaded dynamically.
1958 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1959
1960 // fall through
1961
1962 case 4:
1963 // Use PrintWindow if available, or fallback to WM_PRINT
1964 // otherwise. Unfortunately using PrintWindow is even worse than
1965 // WM_PRINT. For most native widgets nothing is drawn to the dc
1966 // at all, with or without Themes.
1967 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1968 static bool s_triedToLoad = false;
1969 static PrintWindow_t pfnPrintWindow = NULL;
1970 if ( !s_triedToLoad )
1971 {
1972
1973 s_triedToLoad = true;
1974 wxDynamicLibrary dllUser32(_T("user32.dll"));
1975 if ( dllUser32.IsLoaded() )
1976 {
1977 wxLogNull nolog; // Don't report errors here
1978 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1979 }
1980 }
1981 if (pfnPrintWindow)
1982 {
1983 //printf("Using PrintWindow\n");
1984 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1985 }
1986 else
1987 {
1988 //printf("Using WM_PRINT\n");
1989 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1990 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1991 PRF_ERASEBKGND | PRF_OWNED );
1992 }
1993 }
1994#endif // 0
1995#else
1996 return false;
1997#endif // __WXMSW__
1998}
1999
2000
2001
093d3ff1
RD
2002#include <wx/tipdlg.h>
2003
d55e5bfc 2004
093d3ff1
RD
2005class wxPyTipProvider : public wxTipProvider {
2006public:
2007 wxPyTipProvider(size_t currentTip)
2008 : wxTipProvider(currentTip) {}
2009
2010 DEC_PYCALLBACK_STRING__pure(GetTip);
2011 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
2012 PYPRIVATE;
2013};
2014
093d3ff1
RD
2015IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
2016IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
2017
2018
b06b3e70 2019IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 2020
093d3ff1 2021IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 2022
093d3ff1
RD
2023wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
2024 : wxTimer(owner, id)
2025{
2026 if (owner == NULL) SetOwner(this);
2027}
d55e5bfc 2028
d55e5bfc 2029
093d3ff1
RD
2030SWIGINTERN PyObject *
2031SWIG_FromCharPtr(const char* cptr)
2032{
2033 if (cptr) {
2034 size_t size = strlen(cptr);
2035 if (size > INT_MAX) {
7449af73 2036 return SWIG_NewPointerObj(const_cast<char* >(cptr),
093d3ff1
RD
2037 SWIG_TypeQuery("char *"), 0);
2038 } else {
2039 if (size != 0) {
2040 return PyString_FromStringAndSize(cptr, size);
2041 } else {
2042 return PyString_FromString(cptr);
2043 }
c32bde28 2044 }
093d3ff1
RD
2045 }
2046 Py_INCREF(Py_None);
2047 return Py_None;
2048}
2049
2050
7449af73 2051SWIGINTERNINLINE int
093d3ff1
RD
2052 SWIG_CheckUnsignedLongInRange(unsigned long value,
2053 unsigned long max_value,
2054 const char *errmsg)
2055{
2056 if (value > max_value) {
2057 if (errmsg) {
2058 PyErr_Format(PyExc_OverflowError,
2059 "value %lu is greater than '%s' minimum %lu",
2060 value, errmsg, max_value);
d55e5bfc 2061 }
c32bde28 2062 return 0;
093d3ff1
RD
2063 }
2064 return 1;
2065 }
2066
2067
2068#if UINT_MAX != ULONG_MAX
2069SWIGINTERN int
2070 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2071{
2072 const char* errmsg = val ? "unsigned int" : (char*)0;
2073 unsigned long v;
2074 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2075 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
7449af73 2076 if (val) *val = static_cast<unsigned int >(v);
093d3ff1
RD
2077 return 1;
2078 }
2079 } else {
2080 PyErr_Clear();
2081 }
2082 if (val) {
2083 SWIG_type_error(errmsg, obj);
2084 }
2085 return 0;
2086}
2087#else
7449af73 2088SWIGINTERNINLINE unsigned int
093d3ff1
RD
2089 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2090{
2091 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 2092}
093d3ff1 2093#endif
d55e5bfc
RD
2094
2095
7449af73 2096SWIGINTERNINLINE unsigned int
093d3ff1 2097SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2098{
093d3ff1
RD
2099 unsigned int v;
2100 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 2101 /*
093d3ff1 2102 this is needed to make valgrind/purify happier.
c32bde28 2103 */
093d3ff1 2104 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2105 }
c32bde28
RD
2106 return v;
2107}
2108
2109
7449af73 2110SWIGINTERNINLINE int
093d3ff1 2111SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 2112{
093d3ff1 2113 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2114}
2115
7449af73 2116static wxString wxLog_TimeStamp(){
093d3ff1
RD
2117 wxString msg;
2118 wxLog::TimeStamp(&msg);
2119 return msg;
d55e5bfc 2120 }
093d3ff1 2121static void wxLog_Destroy(wxLog *self){ delete self; }
7e08d4ef 2122// Make some wrappers that double any % signs so they are 'escaped'
093d3ff1
RD
2123 void wxPyLogFatalError(const wxString& msg)
2124 {
2125 wxString m(msg);
2126 m.Replace(wxT("%"), wxT("%%"));
2127 wxLogFatalError(m);
2128 }
2129
2130 void wxPyLogError(const wxString& msg)
2131 {
2132 wxString m(msg);
2133 m.Replace(wxT("%"), wxT("%%"));
2134 wxLogError(m);
2135 }
d55e5bfc 2136
093d3ff1
RD
2137 void wxPyLogWarning(const wxString& msg)
2138 {
2139 wxString m(msg);
2140 m.Replace(wxT("%"), wxT("%%"));
2141 wxLogWarning(m);
2142 }
d55e5bfc 2143
093d3ff1
RD
2144 void wxPyLogMessage(const wxString& msg)
2145 {
2146 wxString m(msg);
2147 m.Replace(wxT("%"), wxT("%%"));
2148 wxLogMessage(m);
2149 }
d55e5bfc 2150
093d3ff1
RD
2151 void wxPyLogInfo(const wxString& msg)
2152 {
2153 wxString m(msg);
2154 m.Replace(wxT("%"), wxT("%%"));
2155 wxLogInfo(m);
2156 }
d55e5bfc 2157
093d3ff1
RD
2158 void wxPyLogDebug(const wxString& msg)
2159 {
2160 wxString m(msg);
2161 m.Replace(wxT("%"), wxT("%%"));
2162 wxLogDebug(m);
2163 }
d55e5bfc 2164
093d3ff1
RD
2165 void wxPyLogVerbose(const wxString& msg)
2166 {
2167 wxString m(msg);
2168 m.Replace(wxT("%"), wxT("%%"));
2169 wxLogVerbose(m);
2170 }
d55e5bfc 2171
093d3ff1
RD
2172 void wxPyLogStatus(const wxString& msg)
2173 {
2174 wxString m(msg);
2175 m.Replace(wxT("%"), wxT("%%"));
2176 wxLogStatus(m);
2177 }
d55e5bfc 2178
093d3ff1
RD
2179 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2180 {
2181 wxString m(msg);
2182 m.Replace(wxT("%"), wxT("%%"));
2183 wxLogStatus(pFrame, m);
2184 }
d55e5bfc 2185
093d3ff1
RD
2186 void wxPyLogSysError(const wxString& msg)
2187 {
2188 wxString m(msg);
2189 m.Replace(wxT("%"), wxT("%%"));
2190 wxLogSysError(m);
2191 }
d55e5bfc 2192
093d3ff1
RD
2193 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2194 {
2195 wxString m(msg);
2196 m.Replace(wxT("%"), wxT("%%"));
2197 wxLogGeneric(level, m);
2198 }
a07a67e6 2199
093d3ff1
RD
2200 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2201 {
2202 wxString m(msg);
2203 m.Replace(wxT("%"), wxT("%%"));
2204 wxLogTrace(mask, m);
d55e5bfc 2205 }
093d3ff1
RD
2206
2207 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2208 {
2209 wxString m(msg);
2210 m.Replace(wxT("%"), wxT("%%"));
2211 wxLogTrace(mask, m);
d55e5bfc 2212 }
093d3ff1 2213
d55e5bfc
RD
2214
2215
093d3ff1
RD
2216// A wxLog class that can be derived from in wxPython
2217class wxPyLog : public wxLog {
d55e5bfc 2218public:
093d3ff1 2219 wxPyLog() : wxLog() {}
d55e5bfc 2220
093d3ff1
RD
2221 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2222 bool found;
5a446332 2223 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2224 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2225 PyObject* s = wx2PyString(szString);
2226 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2227 Py_DECREF(s);
d55e5bfc 2228 }
093d3ff1
RD
2229 wxPyEndBlockThreads(blocked);
2230 if (! found)
2231 wxLog::DoLog(level, szString, t);
d55e5bfc 2232 }
d55e5bfc 2233
093d3ff1
RD
2234 virtual void DoLogString(const wxChar *szString, time_t t) {
2235 bool found;
5a446332 2236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2237 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2238 PyObject* s = wx2PyString(szString);
2239 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2240 Py_DECREF(s);
d55e5bfc 2241 }
093d3ff1
RD
2242 wxPyEndBlockThreads(blocked);
2243 if (! found)
2244 wxLog::DoLogString(szString, t);
2245 }
d55e5bfc 2246
b06b3e70 2247 DEC_PYCALLBACK_VOID_(Flush);
d55e5bfc
RD
2248 PYPRIVATE;
2249};
b06b3e70 2250IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
d55e5bfc 2251
d55e5bfc
RD
2252
2253
093d3ff1
RD
2254
2255IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2256
d55e5bfc 2257
093d3ff1 2258#include <wx/joystick.h>
d55e5bfc 2259
d55e5bfc 2260
093d3ff1
RD
2261#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2262// A C++ stub class for wxJoystick for platforms that don't have it.
2263class wxJoystick : public wxObject {
2264public:
2265 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2266 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2267 PyErr_SetString(PyExc_NotImplementedError,
2268 "wxJoystick is not available on this platform.");
2269 wxPyEndBlockThreads(blocked);
d55e5bfc 2270 }
093d3ff1
RD
2271 wxPoint GetPosition() { return wxPoint(-1,-1); }
2272 int GetZPosition() { return -1; }
2273 int GetButtonState() { return -1; }
2274 int GetPOVPosition() { return -1; }
2275 int GetPOVCTSPosition() { return -1; }
2276 int GetRudderPosition() { return -1; }
2277 int GetUPosition() { return -1; }
2278 int GetVPosition() { return -1; }
2279 int GetMovementThreshold() { return -1; }
2280 void SetMovementThreshold(int threshold) {}
d55e5bfc 2281
093d3ff1
RD
2282 bool IsOk(void) { return false; }
2283 int GetNumberJoysticks() { return -1; }
2284 int GetManufacturerId() { return -1; }
2285 int GetProductId() { return -1; }
2286 wxString GetProductName() { return wxEmptyString; }
2287 int GetXMin() { return -1; }
2288 int GetYMin() { return -1; }
2289 int GetZMin() { return -1; }
2290 int GetXMax() { return -1; }
2291 int GetYMax() { return -1; }
2292 int GetZMax() { return -1; }
2293 int GetNumberButtons() { return -1; }
2294 int GetNumberAxes() { return -1; }
2295 int GetMaxButtons() { return -1; }
2296 int GetMaxAxes() { return -1; }
2297 int GetPollingMin() { return -1; }
2298 int GetPollingMax() { return -1; }
2299 int GetRudderMin() { return -1; }
2300 int GetRudderMax() { return -1; }
2301 int GetUMin() { return -1; }
2302 int GetUMax() { return -1; }
2303 int GetVMin() { return -1; }
2304 int GetVMax() { return -1; }
d55e5bfc 2305
093d3ff1
RD
2306 bool HasRudder() { return false; }
2307 bool HasZ() { return false; }
2308 bool HasU() { return false; }
2309 bool HasV() { return false; }
2310 bool HasPOV() { return false; }
2311 bool HasPOV4Dir() { return false; }
2312 bool HasPOVCTS() { return false; }
d55e5bfc 2313
093d3ff1
RD
2314 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2315 bool ReleaseCapture() { return false; }
2316};
2317#endif
d55e5bfc 2318
6923d0a9 2319
093d3ff1 2320#include <wx/sound.h>
6923d0a9 2321
6923d0a9 2322
093d3ff1
RD
2323#if !wxUSE_SOUND
2324// A C++ stub class for wxWave for platforms that don't have it.
2325class wxSound : public wxObject
6923d0a9
RD
2326{
2327public:
093d3ff1 2328 wxSound() {
5a446332 2329 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2330 PyErr_SetString(PyExc_NotImplementedError,
2331 "wxSound is not available on this platform.");
2332 wxPyEndBlockThreads(blocked);
2333 }
2334 wxSound(const wxString&/*, bool*/) {
5a446332 2335 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2336 PyErr_SetString(PyExc_NotImplementedError,
2337 "wxSound is not available on this platform.");
2338 wxPyEndBlockThreads(blocked);
2339 }
2340 wxSound(int, const wxByte*) {
5a446332 2341 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2342 PyErr_SetString(PyExc_NotImplementedError,
2343 "wxSound is not available on this platform.");
2344 wxPyEndBlockThreads(blocked);
2345 }
6923d0a9 2346
093d3ff1 2347 ~wxSound() {};
6923d0a9 2348
093d3ff1
RD
2349 bool Create(const wxString&/*, bool*/) { return false; }
2350 bool Create(int, const wxByte*) { return false; };
2351 bool IsOk() { return false; };
2352 bool Play(unsigned) const { return false; }
2353 static bool Play(const wxString&, unsigned) { return false; }
2354 static void Stop() {}
6923d0a9 2355};
093d3ff1 2356
6923d0a9
RD
2357#endif
2358
093d3ff1
RD
2359static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2360 if (fileName.Length() == 0)
2361 return new wxSound;
2362 else
2363 return new wxSound(fileName);
2364 }
2365static wxSound *new_wxSound(PyObject *data){
2366 unsigned char* buffer; int size;
2367 wxSound *sound = NULL;
2368
5a446332 2369 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2370 if (!PyArg_Parse(data, "t#", &buffer, &size))
2371 goto done;
2372 sound = new wxSound(size, buffer);
2373 done:
d55e5bfc 2374 wxPyEndBlockThreads(blocked);
093d3ff1 2375 return sound;
d55e5bfc 2376 }
093d3ff1
RD
2377static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2378 #ifndef __WXMAC__
2379 unsigned char* buffer;
2380 int size;
2381 bool rv = false;
c1cb24a4 2382
5a446332 2383 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2384 if (!PyArg_Parse(data, "t#", &buffer, &size))
2385 goto done;
2386 rv = self->Create(size, buffer);
2387 done:
2388 wxPyEndBlockThreads(blocked);
2389 return rv;
2390 #else
5a446332 2391 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2392 PyErr_SetString(PyExc_NotImplementedError,
2393 "Create from data is not available on this platform.");
2394 wxPyEndBlockThreads(blocked);
2395 return false;
2396 #endif
2397 }
c1cb24a4 2398
093d3ff1
RD
2399#include <wx/mimetype.h>
2400
2401static PyObject *wxFileType_GetMimeType(wxFileType *self){
2402 wxString str;
2403 if (self->GetMimeType(&str))
2404 return wx2PyString(str);
2405 else
2406 RETURN_NONE();
8fb0e70a 2407 }
093d3ff1
RD
2408static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2409 wxArrayString arr;
2410 if (self->GetMimeTypes(arr))
2411 return wxArrayString2PyList_helper(arr);
2412 else
2413 RETURN_NONE();
2414 }
2415static PyObject *wxFileType_GetExtensions(wxFileType *self){
2416 wxArrayString arr;
2417 if (self->GetExtensions(arr))
2418 return wxArrayString2PyList_helper(arr);
2419 else
2420 RETURN_NONE();
2421 }
2422static wxIcon *wxFileType_GetIcon(wxFileType *self){
2423 wxIconLocation loc;
2424 if (self->GetIcon(&loc))
2425 return new wxIcon(loc);
2426 else
2427 return NULL;
2428 }
2429static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2430 wxIconLocation loc;
2431 if (self->GetIcon(&loc)) {
2432 wxString iconFile = loc.GetFileName();
2433 int iconIndex = -1;
d55e5bfc 2434
093d3ff1 2435 iconIndex = loc.GetIndex();
d55e5bfc 2436
093d3ff1 2437 // Make a tuple and put the values in it
5a446332 2438 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2439 PyObject* tuple = PyTuple_New(3);
2440 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2441 wxT("wxIcon"), true));
2442 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2443 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2444 wxPyEndBlockThreads(blocked);
2445 return tuple;
2446 }
2447 else
2448 RETURN_NONE();
2449 }
2450static PyObject *wxFileType_GetDescription(wxFileType *self){
2451 wxString str;
2452 if (self->GetDescription(&str))
2453 return wx2PyString(str);
2454 else
2455 RETURN_NONE();
2456 }
2457static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2458 wxString str;
2459 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2460 return wx2PyString(str);
2461 else
2462 RETURN_NONE();
2463 }
2464static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2465 wxString str;
2466 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2467 return wx2PyString(str);
2468 else
2469 RETURN_NONE();
2470 }
2471static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2472 wxArrayString verbs;
2473 wxArrayString commands;
2474 if (self->GetAllCommands(&verbs, &commands,
2475 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2476 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2477 PyObject* tuple = PyTuple_New(2);
2478 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2479 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2480 wxPyEndBlockThreads(blocked);
2481 return tuple;
2482 }
2483 else
2484 RETURN_NONE();
2485 }
7449af73 2486static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
093d3ff1
RD
2487 return wxFileType::ExpandCommand(command,
2488 wxFileType::MessageParameters(filename, mimetype));
2489 }
2490static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2491 wxArrayString arr;
2492 self->EnumAllFileTypes(arr);
2493 return wxArrayString2PyList_helper(arr);
2494 }
d55e5bfc 2495
093d3ff1 2496#include <wx/artprov.h>
d55e5bfc 2497
093d3ff1
RD
2498 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2499 static const wxString wxPyART_MENU(wxART_MENU);
2500 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2501 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2502 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2503 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2504 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2505 static const wxString wxPyART_OTHER(wxART_OTHER);
2506 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2507 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2508 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2509 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2510 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2511 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2512 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2513 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2514 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2515 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2516 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2517 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2518 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2519 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2520 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2521 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2522 static const wxString wxPyART_PRINT(wxART_PRINT);
2523 static const wxString wxPyART_HELP(wxART_HELP);
2524 static const wxString wxPyART_TIP(wxART_TIP);
2525 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2526 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2527 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2528 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2529 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2530 static const wxString wxPyART_CDROM(wxART_CDROM);
2531 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2532 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2533 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2534 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2535 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2536 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2537 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2538 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2539 static const wxString wxPyART_ERROR(wxART_ERROR);
2540 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2541 static const wxString wxPyART_WARNING(wxART_WARNING);
2542 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2543 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2544 static const wxString wxPyART_COPY(wxART_COPY);
2545 static const wxString wxPyART_CUT(wxART_CUT);
2546 static const wxString wxPyART_PASTE(wxART_PASTE);
2547 static const wxString wxPyART_DELETE(wxART_DELETE);
a187dc0b 2548 static const wxString wxPyART_NEW(wxART_NEW);
68350608
RD
2549 static const wxString wxPyART_UNDO(wxART_UNDO);
2550 static const wxString wxPyART_REDO(wxART_REDO);
2551 static const wxString wxPyART_QUIT(wxART_QUIT);
2552 static const wxString wxPyART_FIND(wxART_FIND);
2553 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2554 // Python aware wxArtProvider
2555class wxPyArtProvider : public wxArtProvider {
2556public:
d55e5bfc 2557
093d3ff1
RD
2558 virtual wxBitmap CreateBitmap(const wxArtID& id,
2559 const wxArtClient& client,
2560 const wxSize& size) {
2561 wxBitmap rval = wxNullBitmap;
5a446332 2562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2563 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2564 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2565 PyObject* ro;
2566 wxBitmap* ptr;
2567 PyObject* s1, *s2;
2568 s1 = wx2PyString(id);
2569 s2 = wx2PyString(client);
2570 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2571 Py_DECREF(so);
2572 Py_DECREF(s1);
2573 Py_DECREF(s2);
2574 if (ro) {
2575 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2576 rval = *ptr;
2577 Py_DECREF(ro);
2578 }
2579 }
2580 wxPyEndBlockThreads(blocked);
2581 return rval;
d55e5bfc 2582 }
d55e5bfc 2583
093d3ff1
RD
2584 PYPRIVATE;
2585};
d55e5bfc 2586
093d3ff1 2587static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2588
2589
d55e5bfc 2590
093d3ff1
RD
2591 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2592 PyObject* ret = PyTuple_New(3);
2593 if (ret) {
2594 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2595 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2596 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2597 }
2598 return ret;
2599 }
d55e5bfc 2600
093d3ff1
RD
2601static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2602 bool cont;
2603 long index = 0;
2604 wxString value;
7e63a440 2605
093d3ff1
RD
2606 cont = self->GetFirstGroup(value, index);
2607 return __EnumerationHelper(cont, value, index);
2608 }
2609static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2610 bool cont;
2611 wxString value;
7e63a440 2612
093d3ff1
RD
2613 cont = self->GetNextGroup(value, index);
2614 return __EnumerationHelper(cont, value, index);
2615 }
2616static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2617 bool cont;
2618 long index = 0;
2619 wxString value;
7e63a440 2620
093d3ff1
RD
2621 cont = self->GetFirstEntry(value, index);
2622 return __EnumerationHelper(cont, value, index);
2623 }
2624static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2625 bool cont;
2626 wxString value;
d55e5bfc 2627
093d3ff1
RD
2628 cont = self->GetNextEntry(value, index);
2629 return __EnumerationHelper(cont, value, index);
2630 }
2631static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2632 long rv;
2633 self->Read(key, &rv, defaultVal);
2634 return rv;
2635 }
d55e5bfc 2636
093d3ff1
RD
2637SWIGINTERN int
2638SWIG_AsVal_double(PyObject *obj, double* val)
2639{
2640 if (PyNumber_Check(obj)) {
2641 if (val) *val = PyFloat_AsDouble(obj);
2642 return 1;
d55e5bfc 2643 }
093d3ff1 2644 else {
7e08d4ef 2645 SWIG_Python_TypeError("number", obj);
d55e5bfc 2646 }
093d3ff1 2647 return 0;
d55e5bfc
RD
2648}
2649
2650
7449af73 2651SWIGINTERNINLINE double
093d3ff1
RD
2652SWIG_As_double(PyObject* obj)
2653{
2654 double v;
2655 if (!SWIG_AsVal_double(obj, &v)) {
2656 /*
2657 this is needed to make valgrind/purify happier.
2658 */
2659 memset((void*)&v, 0, sizeof(double));
2660 }
2661 return v;
d55e5bfc
RD
2662}
2663
093d3ff1 2664
7449af73 2665SWIGINTERNINLINE int
093d3ff1
RD
2666SWIG_Check_double(PyObject* obj)
2667{
2668 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2669}
2670
093d3ff1
RD
2671static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2672 double rv;
2673 self->Read(key, &rv, defaultVal);
2674 return rv;
2675 }
d55e5bfc 2676
7e08d4ef 2677 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2678#define SWIG_From_double PyFloat_FromDouble
2679/*@@*/
d55e5bfc 2680
093d3ff1
RD
2681static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2682 bool rv;
2683 self->Read(key, &rv, defaultVal);
2684 return rv;
2685 }
d55e5bfc 2686
093d3ff1 2687#include <wx/datetime.h>
d55e5bfc 2688
fef4c27a
RD
2689 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2690 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2691
093d3ff1 2692#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2693
7449af73 2694static PyObject *wxDateTime_GetAmPmStrings(){
b9d6a5f3
RD
2695 wxString am;
2696 wxString pm;
2697 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2698 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2699 PyObject* tup = PyTuple_New(2);
2700 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2701 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2702 wxPyEndBlockThreads(blocked);
2703 return tup;
2704 }
093d3ff1
RD
2705
2706#if UINT_MAX < LONG_MAX
7e08d4ef 2707/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2708#define SWIG_From_unsigned_SS_int SWIG_From_long
2709/*@@*/
d55e5bfc 2710#else
7e08d4ef 2711/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2712#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2713/*@@*/
d55e5bfc 2714#endif
d55e5bfc 2715
093d3ff1
RD
2716static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2717static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2718static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2719static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2720static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2721static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2722 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2723 return (*self < *other);
2724 }
2725static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2726 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2727 return (*self <= *other);
2728 }
2729static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2730 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2731 return (*self > *other);
2732 }
2733static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2734 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2735 return (*self >= *other);
2736 }
2737static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2738 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2739 return (*self == *other);
2740 }
2741static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2742 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2743 return (*self != *other);
2744 }
2745static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2746 const wxChar* rv;
2747 const wxChar* _date = date;
2748 rv = self->ParseRfc822Date(_date);
2749 if (rv == NULL) return -1;
2750 return rv - _date;
2751 }
fef4c27a 2752static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2753 const wxChar* rv;
2754 const wxChar* _date = date;
2755 rv = self->ParseFormat(_date, format, dateDef);
2756 if (rv == NULL) return -1;
2757 return rv - _date;
2758 }
2759static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2760 const wxChar* rv;
2761 const wxChar* _datetime = datetime;
2762 rv = self->ParseDateTime(_datetime);
2763 if (rv == NULL) return -1;
2764 return rv - _datetime;
2765 }
2766static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2767 const wxChar* rv;
2768 const wxChar* _date = date;
2769 rv = self->ParseDate(_date);
2770 if (rv == NULL) return -1;
2771 return rv - _date;
2772 }
2773static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2774 const wxChar* rv;
2775 const wxChar* _time = time;
2776 rv = self->ParseTime(_time);
2777 if (rv == NULL) return -1;
2778 return rv - _time;
2779 }
2780static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2781static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2782static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2783static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2784static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2785static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2786static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2787static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2788static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2789static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2790static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2791static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2792static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2793static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2794static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2795static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2796
093d3ff1 2797#include <wx/dataobj.h>
d55e5bfc 2798
093d3ff1
RD
2799static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2800 size_t count = self->GetFormatCount(dir);
2801 wxDataFormat* formats = new wxDataFormat[count];
2802 self->GetAllFormats(formats, dir);
d55e5bfc 2803
5a446332 2804 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2805 PyObject* list = PyList_New(count);
2806 for (size_t i=0; i<count; i++) {
2807 wxDataFormat* format = new wxDataFormat(formats[i]);
2808 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
9d7dfdff 2809 PyList_SET_ITEM(list, i, obj); // PyList_SET_ITEM steals a reference
093d3ff1
RD
2810 }
2811 wxPyEndBlockThreads(blocked);
2812 delete [] formats;
2813 return list;
2814 }
2815static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2816 PyObject* rval = NULL;
2817 size_t size = self->GetDataSize(format);
5a446332 2818 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2819 if (size) {
2820 char* buf = new char[size];
2821 if (self->GetDataHere(format, buf))
2822 rval = PyString_FromStringAndSize(buf, size);
2823 delete [] buf;
2824 }
2825 if (! rval) {
2826 rval = Py_None;
2827 Py_INCREF(rval);
2828 }
2829 wxPyEndBlockThreads(blocked);
2830 return rval;
2831 }
2832static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2833 bool rval;
5a446332 2834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2835 if (PyString_Check(data)) {
2836 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2837 }
2838 else {
2839 // raise a TypeError if not a string
2840 PyErr_SetString(PyExc_TypeError, "String expected.");
2841 rval = false;
2842 }
2843 wxPyEndBlockThreads(blocked);
2844 return rval;
2845 }
2846static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2847 PyObject* rval = NULL;
2848 size_t size = self->GetDataSize();
5a446332 2849 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2850 if (size) {
2851 char* buf = new char[size];
2852 if (self->GetDataHere(buf))
2853 rval = PyString_FromStringAndSize(buf, size);
2854 delete [] buf;
2855 }
2856 if (! rval) {
2857 rval = Py_None;
2858 Py_INCREF(rval);
2859 }
2860 wxPyEndBlockThreads(blocked);
2861 return rval;
2862 }
2863static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2864 bool rval;
5a446332 2865 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2866 if (PyString_Check(data)) {
2867 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2868 }
2869 else {
2870 // raise a TypeError if not a string
2871 PyErr_SetString(PyExc_TypeError, "String expected.");
2872 rval = false;
2873 }
2874 wxPyEndBlockThreads(blocked);
2875 return rval;
2876 }
2877 // Create a new class for wxPython to use
2878class wxPyDataObjectSimple : public wxDataObjectSimple {
2879public:
2880 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2881 : wxDataObjectSimple(format) {}
d55e5bfc 2882
093d3ff1
RD
2883 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2884 bool GetDataHere(void *buf) const;
2885 bool SetData(size_t len, const void *buf) const;
2886 PYPRIVATE;
2887};
d55e5bfc 2888
093d3ff1 2889IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2890
093d3ff1
RD
2891bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2892 // We need to get the data for this object and write it to buf. I think
2893 // the best way to do this for wxPython is to have the Python method
2894 // return either a string or None and then act appropriately with the
2895 // C++ version.
d55e5bfc 2896
093d3ff1 2897 bool rval = false;
5a446332 2898 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2899 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2900 PyObject* ro;
2901 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2902 if (ro) {
2903 rval = (ro != Py_None && PyString_Check(ro));
2904 if (rval)
2905 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2906 Py_DECREF(ro);
2907 }
d55e5bfc 2908 }
093d3ff1
RD
2909 wxPyEndBlockThreads(blocked);
2910 return rval;
d55e5bfc
RD
2911}
2912
093d3ff1
RD
2913bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2914 // For this one we simply need to make a string from buf and len
2915 // and send it to the Python method.
2916 bool rval = false;
5a446332 2917 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2918 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2919 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2920 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2921 Py_DECREF(data);
d55e5bfc 2922 }
093d3ff1
RD
2923 wxPyEndBlockThreads(blocked);
2924 return rval;
d55e5bfc
RD
2925}
2926
093d3ff1
RD
2927 // Create a new class for wxPython to use
2928class wxPyTextDataObject : public wxTextDataObject {
2929public:
2930 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2931 : wxTextDataObject(text) {}
2932
2933 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2934 DEC_PYCALLBACK_STRING__const(GetText);
2935 DEC_PYCALLBACK__STRING(SetText);
2936 PYPRIVATE;
2937};
d55e5bfc 2938
093d3ff1
RD
2939IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2940IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2941IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2942
2943
2944 // Create a new class for wxPython to use
2945class wxPyBitmapDataObject : public wxBitmapDataObject {
2946public:
2947 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2948 : wxBitmapDataObject(bitmap) {}
2949
2950 wxBitmap GetBitmap() const;
2951 void SetBitmap(const wxBitmap& bitmap);
2952 PYPRIVATE;
2953};
2954
2955wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2956 wxBitmap* rval = &wxNullBitmap;
5a446332 2957 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2958 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2959 PyObject* ro;
2960 wxBitmap* ptr;
2961 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2962 if (ro) {
2963 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2964 rval = ptr;
2965 Py_DECREF(ro);
2966 }
2967 }
2968 wxPyEndBlockThreads(blocked);
2969 return *rval;
2970}
2971
2972void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2973 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2974 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2975 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2976 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2977 Py_DECREF(bo);
2978 }
2979 wxPyEndBlockThreads(blocked);
2980}
2981
fef4c27a
RD
2982static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2983 return new wxCustomDataObject(wxDataFormat(formatName));
2984 }
093d3ff1
RD
2985static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2986 bool rval;
5a446332 2987 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2988 if (PyString_Check(data)) {
2989 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2990 }
2991 else {
2992 // raise a TypeError if not a string
2993 PyErr_SetString(PyExc_TypeError, "String expected.");
2994 rval = false;
2995 }
2996 wxPyEndBlockThreads(blocked);
2997 return rval;
2998 }
2999static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
3000 PyObject* obj;
5a446332 3001 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3002 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
3003 wxPyEndBlockThreads(blocked);
3004 return obj;
3005 }
3006
3007#include <wx/metafile.h>
3008
3009
3010IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
3011
3012
3013IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
3014IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
3015IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
3016IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
3017IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
3018
3019
3020class wxPyTextDropTarget : public wxTextDropTarget {
3021public:
3022 wxPyTextDropTarget() {}
3023
3024 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
3025
3026 DEC_PYCALLBACK__(OnLeave);
3027 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3028 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3029 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3030 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3031
3032 PYPRIVATE;
3033};
3034
3035IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
3036IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
3037IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
3038IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
3039IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
3040IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
3041
3042
3043
3044class wxPyFileDropTarget : public wxFileDropTarget {
3045public:
3046 wxPyFileDropTarget() {}
3047
3048 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
3049
3050 DEC_PYCALLBACK__(OnLeave);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3053 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3054 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3055
3056 PYPRIVATE;
3057};
3058
3059bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
3060 const wxArrayString& filenames) {
3061 bool rval = false;
5a446332 3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3063 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
3064 PyObject* list = wxArrayString2PyList_helper(filenames);
3065 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
3066 Py_DECREF(list);
3067 }
3068 wxPyEndBlockThreads(blocked);
3069 return rval;
3070}
3071
3072
3073
3074IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
3075IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
3076IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
3077IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
3078IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
3079
3080
3081
3082
3083static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
3084
3085#include <wx/display.h>
3086
3087static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
3088static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
3089
3090// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3091#if !wxUSE_DISPLAY
3092#include <wx/dynarray.h>
3093#include <wx/vidmode.h>
3094
7449af73 3095 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
093d3ff1
RD
3096#include "wx/arrimpl.cpp"
3097WX_DEFINE_OBJARRAY(wxArrayVideoModes);
3098const wxVideoMode wxDefaultVideoMode;
3099
3100class wxDisplay
3101{
3102public:
3103 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
3104 ~wxDisplay() {}
3105
3106 static size_t GetCount()
3107 { wxPyRaiseNotImplemented(); return 0; }
3108
3109 static int GetFromPoint(const wxPoint& pt)
3110 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3111 static int GetFromWindow(wxWindow *window)
3112 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3113
3114 virtual bool IsOk() const { return false; }
3115 virtual wxRect GetGeometry() const { wxRect r; return r; }
3116 virtual wxString GetName() const { return wxEmptyString; }
3117 bool IsPrimary() const { return false; }
3118
3119 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
3120 { wxArrayVideoModes a; return a; }
3121
3122 virtual wxVideoMode GetCurrentMode() const
3123 { return wxDefaultVideoMode; }
3124
3125 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
3126 { return false; }
3127
3128 void ResetMode() {}
3129};
3130#endif
3131
3132static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
3133 PyObject* pyList = NULL;
3134 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 3135 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3136 pyList = PyList_New(0);
3137 for (int i=0; i < arr.GetCount(); i++) {
3138 wxVideoMode* m = new wxVideoMode(arr.Item(i));
3139 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
3140 PyList_Append(pyList, pyObj);
3141 Py_DECREF(pyObj);
3142 }
3143 wxPyEndBlockThreads(blocked);
3144 return pyList;
3145 }
3146
3147#include <wx/stdpaths.h>
3148
7449af73 3149static wxStandardPaths *wxStandardPaths_Get(){
093d3ff1
RD
3150 return (wxStandardPaths*) &wxStandardPaths::Get();
3151 }
3152static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
3153static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
3154#ifdef __cplusplus
3155extern "C" {
3156#endif
3157static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3158 PyObject *resultobj = NULL;
093d3ff1
RD
3159 wxSystemColour arg1 ;
3160 wxColour result;
d55e5bfc
RD
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
093d3ff1 3163 (char *) "index", NULL
d55e5bfc
RD
3164 };
3165
093d3ff1
RD
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
3167 {
7449af73 3168 arg1 = static_cast<wxSystemColour >(SWIG_As_int(obj0));
093d3ff1
RD
3169 if (SWIG_arg_fail(1)) SWIG_fail;
3170 }
d55e5bfc 3171 {
093d3ff1 3172 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3174 result = wxSystemSettings::GetColour(arg1);
d55e5bfc
RD
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
093d3ff1
RD
3179 {
3180 wxColour * resultptr;
7449af73 3181 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
3182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3183 }
d55e5bfc
RD
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
093d3ff1 3190static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3191 PyObject *resultobj = NULL;
093d3ff1
RD
3192 wxSystemFont arg1 ;
3193 wxFont result;
3194 PyObject * obj0 = 0 ;
d55e5bfc 3195 char *kwnames[] = {
093d3ff1 3196 (char *) "index", NULL
d55e5bfc
RD
3197 };
3198
093d3ff1 3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3200 {
7449af73 3201 arg1 = static_cast<wxSystemFont >(SWIG_As_int(obj0));
093d3ff1
RD
3202 if (SWIG_arg_fail(1)) SWIG_fail;
3203 }
3204 {
3205 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3207 result = wxSystemSettings::GetFont(arg1);
d55e5bfc
RD
3208
3209 wxPyEndAllowThreads(__tstate);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
093d3ff1
RD
3212 {
3213 wxFont * resultptr;
7449af73 3214 resultptr = new wxFont(static_cast<wxFont & >(result));
093d3ff1
RD
3215 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3216 }
3217 return resultobj;
3218 fail:
3219 return NULL;
d55e5bfc
RD
3220}
3221
3222
093d3ff1 3223static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3224 PyObject *resultobj = NULL;
093d3ff1 3225 wxSystemMetric arg1 ;
6932ae68 3226 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3227 int result;
d1f3a348 3228 PyObject * obj0 = 0 ;
6932ae68 3229 PyObject * obj1 = 0 ;
d1f3a348 3230 char *kwnames[] = {
6932ae68 3231 (char *) "index",(char *) "win", NULL
d1f3a348
RD
3232 };
3233
6932ae68 3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
d1f3a348 3235 {
7449af73 3236 arg1 = static_cast<wxSystemMetric >(SWIG_As_int(obj0));
093d3ff1
RD
3237 if (SWIG_arg_fail(1)) SWIG_fail;
3238 }
6932ae68
RD
3239 if (obj1) {
3240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 }
093d3ff1
RD
3243 {
3244 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3246 result = (int)wxSystemSettings::GetMetric(arg1,arg2);
d1f3a348
RD
3247
3248 wxPyEndAllowThreads(__tstate);
3249 if (PyErr_Occurred()) SWIG_fail;
3250 }
3251 {
7449af73 3252 resultobj = SWIG_From_int(static_cast<int >(result));
d1f3a348
RD
3253 }
3254 return resultobj;
3255 fail:
3256 return NULL;
3257}
3258
3259
093d3ff1 3260static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3261 PyObject *resultobj = NULL;
093d3ff1 3262 wxSystemFeature arg1 ;
d1f3a348 3263 bool result;
d1f3a348 3264 PyObject * obj0 = 0 ;
d1f3a348 3265 char *kwnames[] = {
093d3ff1 3266 (char *) "index", NULL
d1f3a348
RD
3267 };
3268
093d3ff1 3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
d1f3a348 3270 {
7449af73 3271 arg1 = static_cast<wxSystemFeature >(SWIG_As_int(obj0));
093d3ff1 3272 if (SWIG_arg_fail(1)) SWIG_fail;
d1f3a348
RD
3273 }
3274 {
093d3ff1 3275 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3277 result = (bool)wxSystemSettings::HasFeature(arg1);
d1f3a348
RD
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 {
3283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3284 }
d1f3a348
RD
3285 return resultobj;
3286 fail:
d1f3a348
RD
3287 return NULL;
3288}
3289
3290
093d3ff1 3291static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3292 PyObject *resultobj = NULL;
093d3ff1 3293 wxSystemScreenType result;
d1f3a348 3294 char *kwnames[] = {
093d3ff1 3295 NULL
d1f3a348
RD
3296 };
3297
093d3ff1 3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
d1f3a348 3299 {
093d3ff1 3300 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3302 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
d1f3a348
RD
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
093d3ff1 3307 resultobj = SWIG_From_int((result));
d1f3a348
RD
3308 return resultobj;
3309 fail:
3310 return NULL;
3311}
3312
3313
093d3ff1 3314static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3315 PyObject *resultobj = NULL;
093d3ff1
RD
3316 wxSystemScreenType arg1 ;
3317 PyObject * obj0 = 0 ;
d55e5bfc 3318 char *kwnames[] = {
093d3ff1 3319 (char *) "screen", NULL
d55e5bfc
RD
3320 };
3321
093d3ff1
RD
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3323 {
7449af73 3324 arg1 = static_cast<wxSystemScreenType >(SWIG_As_int(obj0));
093d3ff1
RD
3325 if (SWIG_arg_fail(1)) SWIG_fail;
3326 }
d55e5bfc 3327 {
0439c23b 3328 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3330 wxSystemSettings::SetScreenType(arg1);
d55e5bfc
RD
3331
3332 wxPyEndAllowThreads(__tstate);
110da5b0 3333 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3334 }
3335 Py_INCREF(Py_None); resultobj = Py_None;
3336 return resultobj;
3337 fail:
3338 return NULL;
3339}
3340
3341
093d3ff1
RD
3342static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3343 PyObject *obj;
3344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3345 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3346 Py_INCREF(obj);
3347 return Py_BuildValue((char *)"");
3348}
3349static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3350 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3351 return 1;
3352}
3353
3354
3355static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
7449af73 3356 PyObject *pyobj = NULL;
d55e5bfc 3357
d55e5bfc 3358 {
093d3ff1
RD
3359#if wxUSE_UNICODE
3360 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3361#else
3362 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3363#endif
d55e5bfc 3364 }
093d3ff1 3365 return pyobj;
d55e5bfc
RD
3366}
3367
3368
093d3ff1 3369static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3370 PyObject *resultobj = NULL;
093d3ff1 3371 wxSystemOptions *result;
d55e5bfc 3372 char *kwnames[] = {
093d3ff1 3373 NULL
d55e5bfc
RD
3374 };
3375
093d3ff1 3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3379 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
093d3ff1 3384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
093d3ff1 3391static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3392 PyObject *resultobj = NULL;
093d3ff1
RD
3393 wxString *arg1 = 0 ;
3394 wxString *arg2 = 0 ;
3395 bool temp1 = false ;
3396 bool temp2 = false ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
d55e5bfc 3399 char *kwnames[] = {
093d3ff1 3400 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3401 };
3402
093d3ff1
RD
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3404 {
3405 arg1 = wxString_in_helper(obj0);
3406 if (arg1 == NULL) SWIG_fail;
3407 temp1 = true;
3408 }
3409 {
3410 arg2 = wxString_in_helper(obj1);
3411 if (arg2 == NULL) SWIG_fail;
3412 temp2 = true;
3413 }
d55e5bfc
RD
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3416 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3417
3418 wxPyEndAllowThreads(__tstate);
110da5b0 3419 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3422 {
3423 if (temp1)
3424 delete arg1;
3425 }
3426 {
3427 if (temp2)
3428 delete arg2;
3429 }
d55e5bfc
RD
3430 return resultobj;
3431 fail:
093d3ff1
RD
3432 {
3433 if (temp1)
3434 delete arg1;
3435 }
3436 {
3437 if (temp2)
3438 delete arg2;
3439 }
d55e5bfc
RD
3440 return NULL;
3441}
3442
3443
093d3ff1 3444static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3445 PyObject *resultobj = NULL;
093d3ff1
RD
3446 wxString *arg1 = 0 ;
3447 int arg2 ;
3448 bool temp1 = false ;
3449 PyObject * obj0 = 0 ;
3450 PyObject * obj1 = 0 ;
d55e5bfc 3451 char *kwnames[] = {
093d3ff1 3452 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3453 };
3454
093d3ff1
RD
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3456 {
3457 arg1 = wxString_in_helper(obj0);
3458 if (arg1 == NULL) SWIG_fail;
3459 temp1 = true;
3460 }
3461 {
7449af73 3462 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3463 if (SWIG_arg_fail(2)) SWIG_fail;
3464 }
d55e5bfc
RD
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3467 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
093d3ff1 3472 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3473 {
093d3ff1
RD
3474 if (temp1)
3475 delete arg1;
d55e5bfc
RD
3476 }
3477 return resultobj;
3478 fail:
093d3ff1
RD
3479 {
3480 if (temp1)
3481 delete arg1;
3482 }
d55e5bfc
RD
3483 return NULL;
3484}
3485
3486
093d3ff1 3487static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3488 PyObject *resultobj = NULL;
093d3ff1 3489 wxString *arg1 = 0 ;
d55e5bfc 3490 wxString result;
093d3ff1
RD
3491 bool temp1 = false ;
3492 PyObject * obj0 = 0 ;
d55e5bfc 3493 char *kwnames[] = {
093d3ff1 3494 (char *) "name", NULL
d55e5bfc
RD
3495 };
3496
093d3ff1
RD
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3498 {
3499 arg1 = wxString_in_helper(obj0);
3500 if (arg1 == NULL) SWIG_fail;
3501 temp1 = true;
3502 }
d55e5bfc
RD
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3505 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 {
3511#if wxUSE_UNICODE
3512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3513#else
3514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3515#endif
3516 }
093d3ff1
RD
3517 {
3518 if (temp1)
3519 delete arg1;
3520 }
d55e5bfc
RD
3521 return resultobj;
3522 fail:
093d3ff1
RD
3523 {
3524 if (temp1)
3525 delete arg1;
3526 }
d55e5bfc
RD
3527 return NULL;
3528}
3529
3530
093d3ff1 3531static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3532 PyObject *resultobj = NULL;
093d3ff1
RD
3533 wxString *arg1 = 0 ;
3534 int result;
ae8162c8 3535 bool temp1 = false ;
d55e5bfc
RD
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
093d3ff1 3538 (char *) "name", NULL
d55e5bfc
RD
3539 };
3540
093d3ff1
RD
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3542 {
3543 arg1 = wxString_in_helper(obj0);
3544 if (arg1 == NULL) SWIG_fail;
3545 temp1 = true;
d55e5bfc
RD
3546 }
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3549 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 {
7449af73 3555 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
3556 }
3557 {
3558 if (temp1)
3559 delete arg1;
3560 }
3561 return resultobj;
3562 fail:
3563 {
3564 if (temp1)
3565 delete arg1;
3566 }
3567 return NULL;
3568}
3569
3570
093d3ff1 3571static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3572 PyObject *resultobj = NULL;
093d3ff1
RD
3573 wxString *arg1 = 0 ;
3574 bool result;
3575 bool temp1 = false ;
3576 PyObject * obj0 = 0 ;
d55e5bfc 3577 char *kwnames[] = {
093d3ff1 3578 (char *) "name", NULL
d55e5bfc
RD
3579 };
3580
093d3ff1
RD
3581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3582 {
3583 arg1 = wxString_in_helper(obj0);
3584 if (arg1 == NULL) SWIG_fail;
3585 temp1 = true;
3586 }
d55e5bfc
RD
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3589 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
093d3ff1
RD
3594 {
3595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3596 }
3597 {
3598 if (temp1)
3599 delete arg1;
3600 }
d55e5bfc
RD
3601 return resultobj;
3602 fail:
093d3ff1
RD
3603 {
3604 if (temp1)
3605 delete arg1;
3606 }
d55e5bfc
RD
3607 return NULL;
3608}
3609
3610
396fb509 3611static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3612 PyObject *resultobj = NULL;
396fb509
RD
3613 wxString *arg1 = 0 ;
3614 bool result;
3615 bool temp1 = false ;
3616 PyObject * obj0 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "name", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3622 {
3623 arg1 = wxString_in_helper(obj0);
3624 if (arg1 == NULL) SWIG_fail;
3625 temp1 = true;
3626 }
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3630
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 {
3635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3636 }
3637 {
3638 if (temp1)
3639 delete arg1;
3640 }
3641 return resultobj;
3642 fail:
3643 {
3644 if (temp1)
3645 delete arg1;
3646 }
3647 return NULL;
3648}
3649
3650
093d3ff1
RD
3651static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3652 PyObject *obj;
3653 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3654 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3655 Py_INCREF(obj);
3656 return Py_BuildValue((char *)"");
3657}
3658static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3659 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3660 return 1;
3661}
3662
3663
3664static PyObject *_wrap_FileSelectorPromptStr_get(void) {
7449af73 3665 PyObject *pyobj = NULL;
093d3ff1
RD
3666
3667 {
3668#if wxUSE_UNICODE
3669 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3670#else
3671 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3672#endif
3673 }
3674 return pyobj;
3675}
3676
3677
3678static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3679 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3680 return 1;
3681}
3682
3683
3684static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
7449af73 3685 PyObject *pyobj = NULL;
093d3ff1
RD
3686
3687 {
3688#if wxUSE_UNICODE
3689 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3690#else
3691 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3692#endif
3693 }
3694 return pyobj;
3695}
3696
3697
3698static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3699 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3700 return 1;
3701}
3702
3703
3704static PyObject *_wrap_DirSelectorPromptStr_get(void) {
7449af73 3705 PyObject *pyobj = NULL;
093d3ff1
RD
3706
3707 {
3708#if wxUSE_UNICODE
3709 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3710#else
3711 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3712#endif
3713 }
3714 return pyobj;
3715}
3716
3717
3718static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3719 PyObject *resultobj = NULL;
093d3ff1 3720 long result;
d55e5bfc
RD
3721 char *kwnames[] = {
3722 NULL
3723 };
3724
093d3ff1 3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3726 {
3727 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3728 result = (long)wxNewId();
d55e5bfc
RD
3729
3730 wxPyEndAllowThreads(__tstate);
3731 if (PyErr_Occurred()) SWIG_fail;
3732 }
093d3ff1 3733 {
7449af73 3734 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 3735 }
d55e5bfc
RD
3736 return resultobj;
3737 fail:
3738 return NULL;
3739}
3740
3741
093d3ff1 3742static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3743 PyObject *resultobj = NULL;
093d3ff1
RD
3744 long arg1 ;
3745 PyObject * obj0 = 0 ;
d55e5bfc 3746 char *kwnames[] = {
093d3ff1 3747 (char *) "id", NULL
d55e5bfc
RD
3748 };
3749
093d3ff1
RD
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3751 {
7449af73 3752 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
3753 if (SWIG_arg_fail(1)) SWIG_fail;
3754 }
d55e5bfc
RD
3755 {
3756 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3757 wxRegisterId(arg1);
d55e5bfc
RD
3758
3759 wxPyEndAllowThreads(__tstate);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 }
093d3ff1 3762 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
093d3ff1 3769static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3770 PyObject *resultobj = NULL;
d55e5bfc
RD
3771 long result;
3772 char *kwnames[] = {
3773 NULL
3774 };
3775
093d3ff1 3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3779 result = (long)wxGetCurrentId();
d55e5bfc
RD
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
093d3ff1 3784 {
7449af73 3785 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 3786 }
d55e5bfc
RD
3787 return resultobj;
3788 fail:
3789 return NULL;
3790}
3791
3792
093d3ff1 3793static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3794 PyObject *resultobj = NULL;
d55e5bfc
RD
3795 int arg1 ;
3796 bool result;
3797 PyObject * obj0 = 0 ;
3798 char *kwnames[] = {
093d3ff1 3799 (char *) "id", NULL
d55e5bfc
RD
3800 };
3801
093d3ff1
RD
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3803 {
7449af73 3804 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3805 if (SWIG_arg_fail(1)) SWIG_fail;
3806 }
d55e5bfc
RD
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3809 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3810
3811 wxPyEndAllowThreads(__tstate);
110da5b0 3812 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3813 }
3814 {
3815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3816 }
3817 return resultobj;
3818 fail:
3819 return NULL;
3820}
3821
3822
093d3ff1 3823static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3824 PyObject *resultobj = NULL;
d55e5bfc 3825 int arg1 ;
093d3ff1
RD
3826 wxString *arg2 = 0 ;
3827 bool result;
3828 bool temp2 = false ;
d55e5bfc 3829 PyObject * obj0 = 0 ;
093d3ff1 3830 PyObject * obj1 = 0 ;
d55e5bfc 3831 char *kwnames[] = {
093d3ff1 3832 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3833 };
3834
093d3ff1
RD
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3836 {
7449af73 3837 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3838 if (SWIG_arg_fail(1)) SWIG_fail;
3839 }
3840 {
3841 arg2 = wxString_in_helper(obj1);
3842 if (arg2 == NULL) SWIG_fail;
3843 temp2 = true;
3844 }
d55e5bfc
RD
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3847 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
093d3ff1
RD
3852 {
3853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3854 }
3855 {
3856 if (temp2)
3857 delete arg2;
3858 }
d55e5bfc
RD
3859 return resultobj;
3860 fail:
093d3ff1
RD
3861 {
3862 if (temp2)
3863 delete arg2;
3864 }
d55e5bfc
RD
3865 return NULL;
3866}
3867
3868
093d3ff1 3869static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3870 PyObject *resultobj = NULL;
093d3ff1 3871 int arg1 ;
fef4c27a
RD
3872 bool arg2 = (bool) true ;
3873 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3874 wxString result;
d55e5bfc 3875 PyObject * obj0 = 0 ;
fef4c27a
RD
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
d55e5bfc 3878 char *kwnames[] = {
fef4c27a 3879 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3880 };
3881
fef4c27a 3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 3883 {
7449af73 3884 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3885 if (SWIG_arg_fail(1)) SWIG_fail;
3886 }
fef4c27a
RD
3887 if (obj1) {
3888 {
7449af73 3889 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
fef4c27a
RD
3890 if (SWIG_arg_fail(2)) SWIG_fail;
3891 }
3892 }
3893 if (obj2) {
3894 {
3895 wxString* sptr = wxString_in_helper(obj2);
3896 if (sptr == NULL) SWIG_fail;
3897 arg3 = *sptr;
3898 delete sptr;
3899 }
3900 }
d55e5bfc
RD
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3903 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
093d3ff1
RD
3908 {
3909#if wxUSE_UNICODE
3910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3911#else
3912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3913#endif
3914 }
bf26d883
RD
3915 return resultobj;
3916 fail:
3917 return NULL;
3918}
3919
3920
093d3ff1 3921static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3922 PyObject *resultobj = NULL;
bf26d883 3923 char *kwnames[] = {
093d3ff1 3924 NULL
bf26d883
RD
3925 };
3926
093d3ff1 3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3928 {
093d3ff1 3929 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3931 wxBell();
d55e5bfc
RD
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940}
3941
3942
093d3ff1 3943static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3944 PyObject *resultobj = NULL;
d55e5bfc 3945 char *kwnames[] = {
093d3ff1 3946 NULL
d55e5bfc
RD
3947 };
3948
093d3ff1 3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3950 {
093d3ff1 3951 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3953 wxEndBusyCursor();
d55e5bfc
RD
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 Py_INCREF(Py_None); resultobj = Py_None;
3959 return resultobj;
3960 fail:
3961 return NULL;
3962}
3963
3964
093d3ff1 3965static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3966 PyObject *resultobj = NULL;
093d3ff1
RD
3967 bool arg1 = (bool) true ;
3968 long result;
d55e5bfc
RD
3969 PyObject * obj0 = 0 ;
3970 char *kwnames[] = {
093d3ff1 3971 (char *) "resetTimer", NULL
d55e5bfc
RD
3972 };
3973
093d3ff1
RD
3974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3975 if (obj0) {
3976 {
7449af73 3977 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
3978 if (SWIG_arg_fail(1)) SWIG_fail;
3979 }
d55e5bfc
RD
3980 }
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3983 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3984
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 {
7449af73 3989 resultobj = SWIG_From_long(static_cast<long >(result));
d55e5bfc 3990 }
093d3ff1
RD
3991 return resultobj;
3992 fail:
d55e5bfc
RD
3993 return NULL;
3994}
3995
3996
093d3ff1 3997static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3998 PyObject *resultobj = NULL;
093d3ff1 3999 bool result;
d55e5bfc
RD
4000 char *kwnames[] = {
4001 NULL
4002 };
4003
093d3ff1 4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d55e5bfc
RD
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4007 result = (bool)wxIsBusy();
d55e5bfc
RD
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 {
093d3ff1 4013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4014 }
4015 return resultobj;
4016 fail:
4017 return NULL;
4018}
4019
4020
093d3ff1 4021static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4022 PyObject *resultobj = NULL;
d55e5bfc
RD
4023 wxString result;
4024 char *kwnames[] = {
4025 NULL
4026 };
4027
093d3ff1 4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4031 result = wxNow();
d55e5bfc
RD
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 {
4037#if wxUSE_UNICODE
4038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4039#else
4040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4041#endif
4042 }
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
093d3ff1 4049static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4050 PyObject *resultobj = NULL;
093d3ff1
RD
4051 wxString const &arg1_defvalue = wxPyEmptyString ;
4052 wxString *arg1 = (wxString *) &arg1_defvalue ;
4053 bool result;
4054 bool temp1 = false ;
4055 PyObject * obj0 = 0 ;
d55e5bfc 4056 char *kwnames[] = {
093d3ff1 4057 (char *) "command", NULL
d55e5bfc
RD
4058 };
4059
093d3ff1
RD
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
4061 if (obj0) {
4062 {
4063 arg1 = wxString_in_helper(obj0);
4064 if (arg1 == NULL) SWIG_fail;
4065 temp1 = true;
4066 }
4067 }
d55e5bfc
RD
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4070 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 {
093d3ff1
RD
4076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4077 }
4078 {
4079 if (temp1)
4080 delete arg1;
d55e5bfc
RD
4081 }
4082 return resultobj;
4083 fail:
093d3ff1
RD
4084 {
4085 if (temp1)
4086 delete arg1;
4087 }
d55e5bfc
RD
4088 return NULL;
4089}
4090
4091
093d3ff1 4092static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4093 PyObject *resultobj = NULL;
d55e5bfc
RD
4094 char *kwnames[] = {
4095 NULL
4096 };
4097
093d3ff1 4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4101 wxStartTimer();
d55e5bfc
RD
4102
4103 wxPyEndAllowThreads(__tstate);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
093d3ff1
RD
4106 Py_INCREF(Py_None); resultobj = Py_None;
4107 return resultobj;
4108 fail:
4109 return NULL;
4110}
4111
4112
4113static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4114 PyObject *resultobj = NULL;
093d3ff1
RD
4115 int *arg1 = (int *) 0 ;
4116 int *arg2 = (int *) 0 ;
4117 int result;
4118 int temp1 ;
4119 int res1 = 0 ;
4120 int temp2 ;
4121 int res2 = 0 ;
4122 char *kwnames[] = {
4123 NULL
4124 };
4125
4126 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4127 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
d55e5bfc 4129 {
093d3ff1
RD
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (int)wxGetOsVersion(arg1,arg2);
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4135 }
093d3ff1 4136 {
7449af73 4137 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
4138 }
4139 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4140 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4141 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4142 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4143 return resultobj;
4144 fail:
4145 return NULL;
4146}
4147
4148
093d3ff1 4149static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4150 PyObject *resultobj = NULL;
d55e5bfc
RD
4151 wxString result;
4152 char *kwnames[] = {
4153 NULL
4154 };
4155
093d3ff1 4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4159 result = wxGetOsDescription();
d55e5bfc
RD
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 {
4165#if wxUSE_UNICODE
4166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4167#else
4168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4169#endif
4170 }
4171 return resultobj;
4172 fail:
4173 return NULL;
4174}
4175
4176
093d3ff1 4177static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4178 PyObject *resultobj = NULL;
2f91e3df 4179 wxMemorySize result;
d55e5bfc
RD
4180 char *kwnames[] = {
4181 NULL
4182 };
4183
093d3ff1 4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4185 {
4186 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 4187 result = wxGetFreeMemory();
d55e5bfc
RD
4188
4189 wxPyEndAllowThreads(__tstate);
4190 if (PyErr_Occurred()) SWIG_fail;
4191 }
4192 {
2f91e3df 4193 wxMemorySize * resultptr;
7449af73 4194 resultptr = new wxMemorySize(static_cast<wxMemorySize & >(result));
2f91e3df 4195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1);
d55e5bfc
RD
4196 }
4197 return resultobj;
4198 fail:
4199 return NULL;
4200}
4201
4202
093d3ff1 4203static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4204 PyObject *resultobj = NULL;
093d3ff1
RD
4205 wxShutdownFlags arg1 ;
4206 bool result;
d55e5bfc
RD
4207 PyObject * obj0 = 0 ;
4208 char *kwnames[] = {
093d3ff1 4209 (char *) "wFlags", NULL
d55e5bfc
RD
4210 };
4211
093d3ff1
RD
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4213 {
7449af73 4214 arg1 = static_cast<wxShutdownFlags >(SWIG_As_int(obj0));
093d3ff1 4215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4216 }
4217 {
093d3ff1 4218 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4220 result = (bool)wxShutdown(arg1);
d55e5bfc
RD
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 {
093d3ff1 4226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4227 }
4228 return resultobj;
4229 fail:
d55e5bfc
RD
4230 return NULL;
4231}
4232
4233
093d3ff1 4234static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4235 PyObject *resultobj = NULL;
093d3ff1
RD
4236 int arg1 ;
4237 PyObject * obj0 = 0 ;
d55e5bfc 4238 char *kwnames[] = {
093d3ff1 4239 (char *) "secs", NULL
d55e5bfc
RD
4240 };
4241
093d3ff1
RD
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4243 {
7449af73 4244 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4245 if (SWIG_arg_fail(1)) SWIG_fail;
4246 }
d55e5bfc
RD
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4249 wxSleep(arg1);
d55e5bfc
RD
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
093d3ff1 4254 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4255 return resultobj;
4256 fail:
4257 return NULL;
4258}
4259
4260
093d3ff1 4261static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4262 PyObject *resultobj = NULL;
093d3ff1
RD
4263 unsigned long arg1 ;
4264 PyObject * obj0 = 0 ;
d55e5bfc 4265 char *kwnames[] = {
093d3ff1 4266 (char *) "milliseconds", NULL
d55e5bfc
RD
4267 };
4268
093d3ff1
RD
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4270 {
7449af73 4271 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
4272 if (SWIG_arg_fail(1)) SWIG_fail;
4273 }
d55e5bfc
RD
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4276 wxMilliSleep(arg1);
d55e5bfc
RD
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
093d3ff1 4288static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4289 PyObject *resultobj = NULL;
093d3ff1 4290 unsigned long arg1 ;
d55e5bfc 4291 PyObject * obj0 = 0 ;
d55e5bfc 4292 char *kwnames[] = {
093d3ff1 4293 (char *) "microseconds", NULL
d55e5bfc
RD
4294 };
4295
093d3ff1
RD
4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4297 {
7449af73 4298 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1 4299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4300 }
4301 {
4302 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4303 wxMicroSleep(arg1);
d55e5bfc
RD
4304
4305 wxPyEndAllowThreads(__tstate);
110da5b0 4306 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4307 }
093d3ff1 4308 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4309 return resultobj;
4310 fail:
093d3ff1
RD
4311 return NULL;
4312}
4313
4314
4315static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4316 PyObject *resultobj = NULL;
093d3ff1
RD
4317 bool arg1 ;
4318 PyObject * obj0 = 0 ;
4319 char *kwnames[] = {
4320 (char *) "enable", NULL
4321 };
4322
4323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4324 {
7449af73 4325 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1 4326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4327 }
4328 {
093d3ff1
RD
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 wxEnableTopLevelWindows(arg1);
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4334 }
093d3ff1
RD
4335 Py_INCREF(Py_None); resultobj = Py_None;
4336 return resultobj;
4337 fail:
d55e5bfc
RD
4338 return NULL;
4339}
4340
4341
093d3ff1 4342static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4343 PyObject *resultobj = NULL;
d55e5bfc 4344 wxString *arg1 = 0 ;
d55e5bfc 4345 wxString result;
ae8162c8 4346 bool temp1 = false ;
d55e5bfc 4347 PyObject * obj0 = 0 ;
d55e5bfc 4348 char *kwnames[] = {
093d3ff1 4349 (char *) "in", NULL
d55e5bfc
RD
4350 };
4351
093d3ff1 4352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4353 {
4354 arg1 = wxString_in_helper(obj0);
4355 if (arg1 == NULL) SWIG_fail;
ae8162c8 4356 temp1 = true;
d55e5bfc
RD
4357 }
4358 {
d55e5bfc 4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4360 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4361
4362 wxPyEndAllowThreads(__tstate);
110da5b0 4363 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
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 }
4372 {
4373 if (temp1)
4374 delete arg1;
4375 }
d55e5bfc
RD
4376 return resultobj;
4377 fail:
4378 {
4379 if (temp1)
4380 delete arg1;
4381 }
d55e5bfc
RD
4382 return NULL;
4383}
4384
4385
093d3ff1 4386static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4387 PyObject *resultobj = NULL;
d55e5bfc 4388 wxString result;
d55e5bfc 4389 char *kwnames[] = {
093d3ff1 4390 NULL
d55e5bfc
RD
4391 };
4392
093d3ff1 4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4396 result = wxGetEmailAddress();
d55e5bfc
RD
4397
4398 wxPyEndAllowThreads(__tstate);
110da5b0 4399 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4400 }
4401 {
4402#if wxUSE_UNICODE
4403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4404#else
4405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4406#endif
4407 }
d55e5bfc
RD
4408 return resultobj;
4409 fail:
093d3ff1
RD
4410 return NULL;
4411}
4412
4413
4414static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4415 PyObject *resultobj = NULL;
093d3ff1
RD
4416 wxString result;
4417 char *kwnames[] = {
4418 NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4422 {
093d3ff1
RD
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = wxGetHostName();
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4428 }
4429 {
093d3ff1
RD
4430#if wxUSE_UNICODE
4431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4432#else
4433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4434#endif
d55e5bfc 4435 }
093d3ff1
RD
4436 return resultobj;
4437 fail:
d55e5bfc
RD
4438 return NULL;
4439}
4440
4441
093d3ff1 4442static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4443 PyObject *resultobj = NULL;
d55e5bfc 4444 wxString result;
093d3ff1
RD
4445 char *kwnames[] = {
4446 NULL
4447 };
4448
4449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = wxGetFullHostName();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 {
4458#if wxUSE_UNICODE
4459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4460#else
4461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4462#endif
4463 }
4464 return resultobj;
4465 fail:
4466 return NULL;
4467}
4468
4469
4470static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4471 PyObject *resultobj = NULL;
093d3ff1
RD
4472 wxString result;
4473 char *kwnames[] = {
4474 NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = wxGetUserId();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 {
4486#if wxUSE_UNICODE
4487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4488#else
4489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4490#endif
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495}
4496
4497
4498static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4499 PyObject *resultobj = NULL;
093d3ff1
RD
4500 wxString result;
4501 char *kwnames[] = {
4502 NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 result = wxGetUserName();
4509
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 }
4513 {
4514#if wxUSE_UNICODE
4515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4516#else
4517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4518#endif
4519 }
4520 return resultobj;
4521 fail:
4522 return NULL;
4523}
4524
4525
4526static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4527 PyObject *resultobj = NULL;
093d3ff1
RD
4528 wxString result;
4529 char *kwnames[] = {
4530 NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 result = wxGetHomeDir();
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 {
4542#if wxUSE_UNICODE
4543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4544#else
4545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4546#endif
4547 }
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
4554static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4555 PyObject *resultobj = NULL;
093d3ff1
RD
4556 wxString const &arg1_defvalue = wxPyEmptyString ;
4557 wxString *arg1 = (wxString *) &arg1_defvalue ;
4558 wxString result;
4559 bool temp1 = false ;
d55e5bfc 4560 PyObject * obj0 = 0 ;
d55e5bfc 4561 char *kwnames[] = {
093d3ff1 4562 (char *) "user", NULL
d55e5bfc
RD
4563 };
4564
093d3ff1 4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4566 if (obj0) {
4567 {
4568 arg1 = wxString_in_helper(obj0);
4569 if (arg1 == NULL) SWIG_fail;
ae8162c8 4570 temp1 = true;
d55e5bfc
RD
4571 }
4572 }
d55e5bfc
RD
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4575 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4576
4577 wxPyEndAllowThreads(__tstate);
110da5b0 4578 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4579 }
4580 {
4581#if wxUSE_UNICODE
4582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4583#else
4584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4585#endif
4586 }
4587 {
4588 if (temp1)
4589 delete arg1;
4590 }
d55e5bfc
RD
4591 return resultobj;
4592 fail:
4593 {
4594 if (temp1)
4595 delete arg1;
4596 }
093d3ff1
RD
4597 return NULL;
4598}
4599
4600
4601static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4602 PyObject *resultobj = NULL;
093d3ff1
RD
4603 unsigned long result;
4604 char *kwnames[] = {
4605 NULL
4606 };
4607
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4609 {
4610 PyThreadState* __tstate = wxPyBeginAllowThreads();
4611 result = (unsigned long)wxGetProcessId();
4612
4613 wxPyEndAllowThreads(__tstate);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
d55e5bfc 4616 {
7449af73 4617 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
d55e5bfc 4618 }
093d3ff1
RD
4619 return resultobj;
4620 fail:
d55e5bfc
RD
4621 return NULL;
4622}
4623
4624
093d3ff1 4625static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4626 PyObject *resultobj = NULL;
093d3ff1
RD
4627 char *kwnames[] = {
4628 NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 wxTrap();
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 Py_INCREF(Py_None); resultobj = Py_None;
4640 return resultobj;
4641 fail:
4642 return NULL;
4643}
4644
4645
4646static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4647 PyObject *resultobj = NULL;
093d3ff1
RD
4648 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4649 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4650 wxString const &arg2_defvalue = wxPyEmptyString ;
4651 wxString *arg2 = (wxString *) &arg2_defvalue ;
4652 wxString const &arg3_defvalue = wxPyEmptyString ;
4653 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
4654 wxString const &arg4_defvalue = wxPyEmptyString ;
4655 wxString *arg4 = (wxString *) &arg4_defvalue ;
4656 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4657 wxString *arg5 = (wxString *) &arg5_defvalue ;
4658 int arg6 = (int) 0 ;
4659 wxWindow *arg7 = (wxWindow *) NULL ;
4660 int arg8 = (int) -1 ;
4661 int arg9 = (int) -1 ;
d55e5bfc 4662 wxString result;
ae8162c8
RD
4663 bool temp1 = false ;
4664 bool temp2 = false ;
4665 bool temp3 = false ;
093d3ff1
RD
4666 bool temp4 = false ;
4667 bool temp5 = false ;
d55e5bfc
RD
4668 PyObject * obj0 = 0 ;
4669 PyObject * obj1 = 0 ;
4670 PyObject * obj2 = 0 ;
4671 PyObject * obj3 = 0 ;
4672 PyObject * obj4 = 0 ;
4673 PyObject * obj5 = 0 ;
4674 PyObject * obj6 = 0 ;
093d3ff1
RD
4675 PyObject * obj7 = 0 ;
4676 PyObject * obj8 = 0 ;
d55e5bfc 4677 char *kwnames[] = {
093d3ff1 4678 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4679 };
4680
093d3ff1
RD
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4682 if (obj0) {
4683 {
4684 arg1 = wxString_in_helper(obj0);
4685 if (arg1 == NULL) SWIG_fail;
4686 temp1 = true;
4687 }
d55e5bfc
RD
4688 }
4689 if (obj1) {
4690 {
4691 arg2 = wxString_in_helper(obj1);
4692 if (arg2 == NULL) SWIG_fail;
ae8162c8 4693 temp2 = true;
d55e5bfc
RD
4694 }
4695 }
4696 if (obj2) {
4697 {
4698 arg3 = wxString_in_helper(obj2);
4699 if (arg3 == NULL) SWIG_fail;
ae8162c8 4700 temp3 = true;
d55e5bfc
RD
4701 }
4702 }
4703 if (obj3) {
093d3ff1
RD
4704 {
4705 arg4 = wxString_in_helper(obj3);
4706 if (arg4 == NULL) SWIG_fail;
4707 temp4 = true;
4708 }
d55e5bfc
RD
4709 }
4710 if (obj4) {
093d3ff1
RD
4711 {
4712 arg5 = wxString_in_helper(obj4);
4713 if (arg5 == NULL) SWIG_fail;
4714 temp5 = true;
4715 }
d55e5bfc
RD
4716 }
4717 if (obj5) {
093d3ff1 4718 {
7449af73 4719 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
4720 if (SWIG_arg_fail(6)) SWIG_fail;
4721 }
d55e5bfc
RD
4722 }
4723 if (obj6) {
093d3ff1
RD
4724 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4725 if (SWIG_arg_fail(7)) SWIG_fail;
4726 }
4727 if (obj7) {
4728 {
7449af73 4729 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
4730 if (SWIG_arg_fail(8)) SWIG_fail;
4731 }
4732 }
4733 if (obj8) {
4734 {
7449af73 4735 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
4736 if (SWIG_arg_fail(9)) SWIG_fail;
4737 }
d55e5bfc
RD
4738 }
4739 {
0439c23b 4740 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4742 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4743
4744 wxPyEndAllowThreads(__tstate);
110da5b0 4745 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4746 }
4747 {
4748#if wxUSE_UNICODE
4749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4750#else
4751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4752#endif
4753 }
4754 {
4755 if (temp1)
4756 delete arg1;
4757 }
4758 {
4759 if (temp2)
4760 delete arg2;
4761 }
4762 {
4763 if (temp3)
4764 delete arg3;
4765 }
d55e5bfc 4766 {
093d3ff1
RD
4767 if (temp4)
4768 delete arg4;
4769 }
4770 {
4771 if (temp5)
4772 delete arg5;
4773 }
4774 return resultobj;
4775 fail:
4776 {
4777 if (temp1)
4778 delete arg1;
d55e5bfc
RD
4779 }
4780 {
4781 if (temp2)
4782 delete arg2;
4783 }
4784 {
4785 if (temp3)
4786 delete arg3;
4787 }
093d3ff1
RD
4788 {
4789 if (temp4)
4790 delete arg4;
4791 }
4792 {
4793 if (temp5)
4794 delete arg5;
4795 }
d55e5bfc
RD
4796 return NULL;
4797}
4798
4799
093d3ff1 4800static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4801 PyObject *resultobj = NULL;
d55e5bfc 4802 wxString *arg1 = 0 ;
093d3ff1 4803 wxString *arg2 = 0 ;
d55e5bfc
RD
4804 wxString const &arg3_defvalue = wxPyEmptyString ;
4805 wxString *arg3 = (wxString *) &arg3_defvalue ;
4806 wxWindow *arg4 = (wxWindow *) NULL ;
4807 wxString result;
ae8162c8
RD
4808 bool temp1 = false ;
4809 bool temp2 = false ;
4810 bool temp3 = false ;
d55e5bfc
RD
4811 PyObject * obj0 = 0 ;
4812 PyObject * obj1 = 0 ;
4813 PyObject * obj2 = 0 ;
4814 PyObject * obj3 = 0 ;
4815 char *kwnames[] = {
093d3ff1 4816 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4817 };
4818
093d3ff1 4819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4820 {
4821 arg1 = wxString_in_helper(obj0);
4822 if (arg1 == NULL) SWIG_fail;
ae8162c8 4823 temp1 = true;
d55e5bfc 4824 }
093d3ff1
RD
4825 {
4826 arg2 = wxString_in_helper(obj1);
4827 if (arg2 == NULL) SWIG_fail;
4828 temp2 = true;
d55e5bfc
RD
4829 }
4830 if (obj2) {
4831 {
4832 arg3 = wxString_in_helper(obj2);
4833 if (arg3 == NULL) SWIG_fail;
ae8162c8 4834 temp3 = true;
d55e5bfc
RD
4835 }
4836 }
4837 if (obj3) {
093d3ff1
RD
4838 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4840 }
4841 {
0439c23b 4842 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4844 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4845
4846 wxPyEndAllowThreads(__tstate);
110da5b0 4847 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4848 }
4849 {
4850#if wxUSE_UNICODE
4851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4852#else
4853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4854#endif
4855 }
4856 {
4857 if (temp1)
4858 delete arg1;
4859 }
4860 {
4861 if (temp2)
4862 delete arg2;
4863 }
4864 {
4865 if (temp3)
4866 delete arg3;
4867 }
4868 return resultobj;
4869 fail:
4870 {
4871 if (temp1)
4872 delete arg1;
4873 }
4874 {
4875 if (temp2)
4876 delete arg2;
4877 }
4878 {
4879 if (temp3)
4880 delete arg3;
4881 }
4882 return NULL;
4883}
4884
4885
093d3ff1 4886static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4887 PyObject *resultobj = NULL;
d55e5bfc
RD
4888 wxString *arg1 = 0 ;
4889 wxString *arg2 = 0 ;
093d3ff1
RD
4890 wxString const &arg3_defvalue = wxPyEmptyString ;
4891 wxString *arg3 = (wxString *) &arg3_defvalue ;
4892 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4893 wxString result;
ae8162c8
RD
4894 bool temp1 = false ;
4895 bool temp2 = false ;
093d3ff1 4896 bool temp3 = false ;
d55e5bfc
RD
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 PyObject * obj2 = 0 ;
4900 PyObject * obj3 = 0 ;
d55e5bfc 4901 char *kwnames[] = {
093d3ff1 4902 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4903 };
4904
093d3ff1 4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4906 {
4907 arg1 = wxString_in_helper(obj0);
4908 if (arg1 == NULL) SWIG_fail;
ae8162c8 4909 temp1 = true;
d55e5bfc
RD
4910 }
4911 {
4912 arg2 = wxString_in_helper(obj1);
4913 if (arg2 == NULL) SWIG_fail;
ae8162c8 4914 temp2 = true;
d55e5bfc 4915 }
093d3ff1
RD
4916 if (obj2) {
4917 {
4918 arg3 = wxString_in_helper(obj2);
4919 if (arg3 == NULL) SWIG_fail;
4920 temp3 = true;
4921 }
d55e5bfc
RD
4922 }
4923 if (obj3) {
093d3ff1
RD
4924 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4925 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4926 }
4927 {
0439c23b 4928 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4930 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4931
4932 wxPyEndAllowThreads(__tstate);
110da5b0 4933 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4934 }
4935 {
4936#if wxUSE_UNICODE
4937 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4938#else
4939 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4940#endif
4941 }
4942 {
4943 if (temp1)
4944 delete arg1;
4945 }
4946 {
4947 if (temp2)
4948 delete arg2;
4949 }
4950 {
093d3ff1
RD
4951 if (temp3)
4952 delete arg3;
d55e5bfc
RD
4953 }
4954 return resultobj;
4955 fail:
4956 {
4957 if (temp1)
4958 delete arg1;
4959 }
4960 {
4961 if (temp2)
4962 delete arg2;
4963 }
4964 {
093d3ff1
RD
4965 if (temp3)
4966 delete arg3;
d55e5bfc
RD
4967 }
4968 return NULL;
4969}
4970
4971
093d3ff1 4972static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4973 PyObject *resultobj = NULL;
093d3ff1
RD
4974 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4975 wxString *arg1 = (wxString *) &arg1_defvalue ;
4976 wxString const &arg2_defvalue = wxPyEmptyString ;
4977 wxString *arg2 = (wxString *) &arg2_defvalue ;
4978 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4979 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4980 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4981 wxWindow *arg5 = (wxWindow *) NULL ;
093d3ff1 4982 wxString result;
ae8162c8
RD
4983 bool temp1 = false ;
4984 bool temp2 = false ;
093d3ff1 4985 wxPoint temp4 ;
d55e5bfc
RD
4986 PyObject * obj0 = 0 ;
4987 PyObject * obj1 = 0 ;
4988 PyObject * obj2 = 0 ;
4989 PyObject * obj3 = 0 ;
4990 PyObject * obj4 = 0 ;
d55e5bfc 4991 char *kwnames[] = {
093d3ff1 4992 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4993 };
4994
093d3ff1
RD
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4996 if (obj0) {
4997 {
4998 arg1 = wxString_in_helper(obj0);
4999 if (arg1 == NULL) SWIG_fail;
5000 temp1 = true;
5001 }
d55e5bfc 5002 }
093d3ff1
RD
5003 if (obj1) {
5004 {
5005 arg2 = wxString_in_helper(obj1);
5006 if (arg2 == NULL) SWIG_fail;
5007 temp2 = true;
5008 }
d55e5bfc 5009 }
093d3ff1
RD
5010 if (obj2) {
5011 {
7449af73 5012 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5013 if (SWIG_arg_fail(3)) SWIG_fail;
5014 }
d55e5bfc
RD
5015 }
5016 if (obj3) {
093d3ff1
RD
5017 {
5018 arg4 = &temp4;
5019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5020 }
d55e5bfc
RD
5021 }
5022 if (obj4) {
093d3ff1
RD
5023 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5024 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
5025 }
5026 {
0439c23b 5027 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5029 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
5030
5031 wxPyEndAllowThreads(__tstate);
110da5b0 5032 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5033 }
093d3ff1
RD
5034 {
5035#if wxUSE_UNICODE
5036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5037#else
5038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5039#endif
5040 }
d55e5bfc
RD
5041 {
5042 if (temp1)
5043 delete arg1;
5044 }
5045 {
5046 if (temp2)
5047 delete arg2;
5048 }
d55e5bfc
RD
5049 return resultobj;
5050 fail:
5051 {
5052 if (temp1)
5053 delete arg1;
5054 }
5055 {
5056 if (temp2)
5057 delete arg2;
5058 }
d55e5bfc
RD
5059 return NULL;
5060}
5061
5062
093d3ff1 5063static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5064 PyObject *resultobj = NULL;
d55e5bfc
RD
5065 wxString *arg1 = 0 ;
5066 wxString const &arg2_defvalue = wxPyEmptyString ;
5067 wxString *arg2 = (wxString *) &arg2_defvalue ;
093d3ff1
RD
5068 wxString const &arg3_defvalue = wxPyEmptyString ;
5069 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5070 wxWindow *arg4 = (wxWindow *) NULL ;
5071 int arg5 = (int) -1 ;
5072 int arg6 = (int) -1 ;
093d3ff1
RD
5073 bool arg7 = (bool) true ;
5074 wxString result;
ae8162c8
RD
5075 bool temp1 = false ;
5076 bool temp2 = false ;
093d3ff1 5077 bool temp3 = false ;
d55e5bfc
RD
5078 PyObject * obj0 = 0 ;
5079 PyObject * obj1 = 0 ;
5080 PyObject * obj2 = 0 ;
5081 PyObject * obj3 = 0 ;
5082 PyObject * obj4 = 0 ;
5083 PyObject * obj5 = 0 ;
093d3ff1 5084 PyObject * obj6 = 0 ;
d55e5bfc 5085 char *kwnames[] = {
093d3ff1 5086 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
5087 };
5088
093d3ff1 5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5090 {
5091 arg1 = wxString_in_helper(obj0);
5092 if (arg1 == NULL) SWIG_fail;
ae8162c8 5093 temp1 = true;
d55e5bfc
RD
5094 }
5095 if (obj1) {
5096 {
5097 arg2 = wxString_in_helper(obj1);
5098 if (arg2 == NULL) SWIG_fail;
ae8162c8 5099 temp2 = true;
d55e5bfc
RD
5100 }
5101 }
5102 if (obj2) {
093d3ff1
RD
5103 {
5104 arg3 = wxString_in_helper(obj2);
5105 if (arg3 == NULL) SWIG_fail;
5106 temp3 = true;
5107 }
d55e5bfc
RD
5108 }
5109 if (obj3) {
093d3ff1
RD
5110 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5111 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
5112 }
5113 if (obj4) {
093d3ff1 5114 {
7449af73 5115 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5116 if (SWIG_arg_fail(5)) SWIG_fail;
5117 }
d55e5bfc
RD
5118 }
5119 if (obj5) {
093d3ff1 5120 {
7449af73 5121 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5122 if (SWIG_arg_fail(6)) SWIG_fail;
5123 }
5124 }
5125 if (obj6) {
5126 {
7449af73 5127 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5128 if (SWIG_arg_fail(7)) SWIG_fail;
5129 }
d55e5bfc
RD
5130 }
5131 {
0439c23b 5132 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5134 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
5135
5136 wxPyEndAllowThreads(__tstate);
110da5b0 5137 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5138 }
093d3ff1
RD
5139 {
5140#if wxUSE_UNICODE
5141 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5142#else
5143 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5144#endif
5145 }
d55e5bfc
RD
5146 {
5147 if (temp1)
5148 delete arg1;
5149 }
5150 {
5151 if (temp2)
5152 delete arg2;
5153 }
093d3ff1
RD
5154 {
5155 if (temp3)
5156 delete arg3;
5157 }
d55e5bfc
RD
5158 return resultobj;
5159 fail:
5160 {
5161 if (temp1)
5162 delete arg1;
5163 }
5164 {
5165 if (temp2)
5166 delete arg2;
5167 }
093d3ff1
RD
5168 {
5169 if (temp3)
5170 delete arg3;
5171 }
d55e5bfc
RD
5172 return NULL;
5173}
5174
5175
093d3ff1 5176static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5177 PyObject *resultobj = NULL;
d55e5bfc 5178 wxString *arg1 = 0 ;
093d3ff1
RD
5179 wxString const &arg2_defvalue = wxPyEmptyString ;
5180 wxString *arg2 = (wxString *) &arg2_defvalue ;
5181 wxString const &arg3_defvalue = wxPyEmptyString ;
5182 wxString *arg3 = (wxString *) &arg3_defvalue ;
5183 wxWindow *arg4 = (wxWindow *) NULL ;
5184 wxString result;
ae8162c8
RD
5185 bool temp1 = false ;
5186 bool temp2 = false ;
5187 bool temp3 = false ;
d55e5bfc
RD
5188 PyObject * obj0 = 0 ;
5189 PyObject * obj1 = 0 ;
5190 PyObject * obj2 = 0 ;
5191 PyObject * obj3 = 0 ;
d55e5bfc 5192 char *kwnames[] = {
093d3ff1 5193 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5194 };
5195
093d3ff1 5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5197 {
5198 arg1 = wxString_in_helper(obj0);
5199 if (arg1 == NULL) SWIG_fail;
ae8162c8 5200 temp1 = true;
d55e5bfc 5201 }
093d3ff1
RD
5202 if (obj1) {
5203 {
5204 arg2 = wxString_in_helper(obj1);
5205 if (arg2 == NULL) SWIG_fail;
5206 temp2 = true;
5207 }
d55e5bfc 5208 }
093d3ff1 5209 if (obj2) {
d55e5bfc 5210 {
093d3ff1
RD
5211 arg3 = wxString_in_helper(obj2);
5212 if (arg3 == NULL) SWIG_fail;
5213 temp3 = true;
d55e5bfc
RD
5214 }
5215 }
093d3ff1
RD
5216 if (obj3) {
5217 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5218 if (SWIG_arg_fail(4)) SWIG_fail;
5219 }
d55e5bfc 5220 {
0439c23b 5221 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5223 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5224
5225 wxPyEndAllowThreads(__tstate);
110da5b0 5226 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5227 }
093d3ff1
RD
5228 {
5229#if wxUSE_UNICODE
5230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5231#else
5232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5233#endif
5234 }
d55e5bfc
RD
5235 {
5236 if (temp1)
5237 delete arg1;
5238 }
5239 {
5240 if (temp2)
5241 delete arg2;
5242 }
5243 {
5244 if (temp3)
5245 delete arg3;
5246 }
5247 return resultobj;
5248 fail:
5249 {
5250 if (temp1)
5251 delete arg1;
5252 }
5253 {
5254 if (temp2)
5255 delete arg2;
5256 }
5257 {
5258 if (temp3)
5259 delete arg3;
5260 }
5261 return NULL;
5262}
5263
5264
093d3ff1 5265static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5266 PyObject *resultobj = NULL;
093d3ff1
RD
5267 wxString *arg1 = 0 ;
5268 wxString *arg2 = 0 ;
5269 int arg3 ;
5270 wxString *arg4 = (wxString *) 0 ;
5271 wxWindow *arg5 = (wxWindow *) NULL ;
5272 int arg6 = (int) -1 ;
5273 int arg7 = (int) -1 ;
5274 bool arg8 = (bool) true ;
5275 int arg9 = (int) 150 ;
5276 int arg10 = (int) 200 ;
5277 wxString result;
5278 bool temp1 = false ;
5279 bool temp2 = false ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
5282 PyObject * obj2 = 0 ;
5283 PyObject * obj3 = 0 ;
5284 PyObject * obj4 = 0 ;
5285 PyObject * obj5 = 0 ;
5286 PyObject * obj6 = 0 ;
5287 PyObject * obj7 = 0 ;
5288 PyObject * obj8 = 0 ;
d55e5bfc 5289 char *kwnames[] = {
093d3ff1 5290 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5291 };
5292
093d3ff1
RD
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5294 {
5295 arg1 = wxString_in_helper(obj0);
5296 if (arg1 == NULL) SWIG_fail;
5297 temp1 = true;
5298 }
5299 {
5300 arg2 = wxString_in_helper(obj1);
5301 if (arg2 == NULL) SWIG_fail;
5302 temp2 = true;
5303 }
5304 {
5305 arg3 = PyList_Size(obj2);
5306 arg4 = wxString_LIST_helper(obj2);
5307 if (arg4 == NULL) SWIG_fail;
5308 }
5309 if (obj3) {
5310 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5311 if (SWIG_arg_fail(5)) SWIG_fail;
5312 }
5313 if (obj4) {
5314 {
7449af73 5315 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5316 if (SWIG_arg_fail(6)) SWIG_fail;
5317 }
5318 }
5319 if (obj5) {
5320 {
7449af73 5321 arg7 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5322 if (SWIG_arg_fail(7)) SWIG_fail;
5323 }
5324 }
5325 if (obj6) {
5326 {
7449af73 5327 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5328 if (SWIG_arg_fail(8)) SWIG_fail;
5329 }
5330 }
5331 if (obj7) {
5332 {
7449af73 5333 arg9 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
5334 if (SWIG_arg_fail(9)) SWIG_fail;
5335 }
5336 }
5337 if (obj8) {
5338 {
7449af73 5339 arg10 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
5340 if (SWIG_arg_fail(10)) SWIG_fail;
5341 }
5342 }
d55e5bfc 5343 {
0439c23b 5344 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5346 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5347
5348 wxPyEndAllowThreads(__tstate);
110da5b0 5349 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5350 }
5351 {
093d3ff1
RD
5352#if wxUSE_UNICODE
5353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5354#else
5355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5356#endif
5357 }
5358 {
5359 if (temp1)
5360 delete arg1;
5361 }
5362 {
5363 if (temp2)
5364 delete arg2;
5365 }
5366 {
5367 if (arg4) delete [] arg4;
d55e5bfc
RD
5368 }
5369 return resultobj;
5370 fail:
093d3ff1
RD
5371 {
5372 if (temp1)
5373 delete arg1;
5374 }
5375 {
5376 if (temp2)
5377 delete arg2;
5378 }
5379 {
5380 if (arg4) delete [] arg4;
5381 }
d55e5bfc
RD
5382 return NULL;
5383}
5384
5385
093d3ff1 5386static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5387 PyObject *resultobj = NULL;
093d3ff1
RD
5388 wxString *arg1 = 0 ;
5389 wxString *arg2 = 0 ;
5390 int arg3 ;
5391 wxString *arg4 = (wxString *) 0 ;
5392 wxWindow *arg5 = (wxWindow *) NULL ;
5393 int arg6 = (int) -1 ;
5394 int arg7 = (int) -1 ;
5395 bool arg8 = (bool) true ;
5396 int arg9 = (int) 150 ;
5397 int arg10 = (int) 200 ;
d55e5bfc 5398 int result;
093d3ff1
RD
5399 bool temp1 = false ;
5400 bool temp2 = false ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 PyObject * obj2 = 0 ;
5404 PyObject * obj3 = 0 ;
5405 PyObject * obj4 = 0 ;
5406 PyObject * obj5 = 0 ;
5407 PyObject * obj6 = 0 ;
5408 PyObject * obj7 = 0 ;
5409 PyObject * obj8 = 0 ;
d55e5bfc 5410 char *kwnames[] = {
093d3ff1 5411 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5412 };
5413
093d3ff1
RD
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5415 {
5416 arg1 = wxString_in_helper(obj0);
5417 if (arg1 == NULL) SWIG_fail;
5418 temp1 = true;
5419 }
5420 {
5421 arg2 = wxString_in_helper(obj1);
5422 if (arg2 == NULL) SWIG_fail;
5423 temp2 = true;
5424 }
5425 {
5426 arg3 = PyList_Size(obj2);
5427 arg4 = wxString_LIST_helper(obj2);
5428 if (arg4 == NULL) SWIG_fail;
5429 }
5430 if (obj3) {
5431 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5432 if (SWIG_arg_fail(5)) SWIG_fail;
5433 }
5434 if (obj4) {
5435 {
7449af73 5436 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5437 if (SWIG_arg_fail(6)) SWIG_fail;
5438 }
5439 }
5440 if (obj5) {
5441 {
7449af73 5442 arg7 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5443 if (SWIG_arg_fail(7)) SWIG_fail;
5444 }
5445 }
5446 if (obj6) {
5447 {
7449af73 5448 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5449 if (SWIG_arg_fail(8)) SWIG_fail;
5450 }
5451 }
5452 if (obj7) {
5453 {
7449af73 5454 arg9 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
5455 if (SWIG_arg_fail(9)) SWIG_fail;
5456 }
5457 }
5458 if (obj8) {
5459 {
7449af73 5460 arg10 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
5461 if (SWIG_arg_fail(10)) SWIG_fail;
5462 }
5463 }
d55e5bfc 5464 {
0439c23b 5465 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5467 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5468
5469 wxPyEndAllowThreads(__tstate);
110da5b0 5470 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5471 }
093d3ff1 5472 {
7449af73 5473 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5474 }
5475 {
5476 if (temp1)
5477 delete arg1;
5478 }
5479 {
5480 if (temp2)
5481 delete arg2;
5482 }
5483 {
5484 if (arg4) delete [] arg4;
5485 }
d55e5bfc
RD
5486 return resultobj;
5487 fail:
093d3ff1
RD
5488 {
5489 if (temp1)
5490 delete arg1;
5491 }
5492 {
5493 if (temp2)
5494 delete arg2;
5495 }
5496 {
5497 if (arg4) delete [] arg4;
5498 }
d55e5bfc
RD
5499 return NULL;
5500}
5501
5502
093d3ff1 5503static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5504 PyObject *resultobj = NULL;
093d3ff1
RD
5505 wxString *arg1 = 0 ;
5506 wxString const &arg2_defvalue = wxPyEmptyString ;
5507 wxString *arg2 = (wxString *) &arg2_defvalue ;
5508 int arg3 = (int) wxOK|wxCENTRE ;
5509 wxWindow *arg4 = (wxWindow *) NULL ;
5510 int arg5 = (int) -1 ;
5511 int arg6 = (int) -1 ;
d55e5bfc 5512 int result;
093d3ff1
RD
5513 bool temp1 = false ;
5514 bool temp2 = false ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 PyObject * obj2 = 0 ;
5518 PyObject * obj3 = 0 ;
5519 PyObject * obj4 = 0 ;
5520 PyObject * obj5 = 0 ;
d55e5bfc 5521 char *kwnames[] = {
093d3ff1 5522 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5523 };
5524
093d3ff1 5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5526 {
093d3ff1
RD
5527 arg1 = wxString_in_helper(obj0);
5528 if (arg1 == NULL) SWIG_fail;
5529 temp1 = true;
5530 }
5531 if (obj1) {
5532 {
5533 arg2 = wxString_in_helper(obj1);
5534 if (arg2 == NULL) SWIG_fail;
5535 temp2 = true;
5536 }
5537 }
5538 if (obj2) {
5539 {
7449af73 5540 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5541 if (SWIG_arg_fail(3)) SWIG_fail;
5542 }
5543 }
5544 if (obj3) {
5545 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5546 if (SWIG_arg_fail(4)) SWIG_fail;
5547 }
5548 if (obj4) {
5549 {
7449af73 5550 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5551 if (SWIG_arg_fail(5)) SWIG_fail;
5552 }
5553 }
5554 if (obj5) {
5555 {
7449af73 5556 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5557 if (SWIG_arg_fail(6)) SWIG_fail;
5558 }
5559 }
5560 {
5561 if (!wxPyCheckForApp()) SWIG_fail;
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 {
7449af73 5569 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5570 }
5571 {
5572 if (temp1)
5573 delete arg1;
5574 }
5575 {
5576 if (temp2)
5577 delete arg2;
5578 }
5579 return resultobj;
5580 fail:
5581 {
5582 if (temp1)
5583 delete arg1;
5584 }
5585 {
5586 if (temp2)
5587 delete arg2;
5588 }
5589 return NULL;
5590}
5591
5592
093d3ff1 5593static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5594 PyObject *resultobj = NULL;
093d3ff1
RD
5595 bool result;
5596 char *kwnames[] = {
5597 NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (bool)wxColourDisplay();
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 {
5610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5611 }
5612 return resultobj;
5613 fail:
5614 return NULL;
5615}
5616
5617
5618static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5619 PyObject *resultobj = NULL;
093d3ff1
RD
5620 int result;
5621 char *kwnames[] = {
5622 NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5626 {
5627 if (!wxPyCheckForApp()) SWIG_fail;
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (int)wxDisplayDepth();
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
7449af73 5635 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5636 }
5637 return resultobj;
5638 fail:
5639 return NULL;
5640}
5641
5642
5643static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5644 PyObject *resultobj = NULL;
093d3ff1
RD
5645 int result;
5646 char *kwnames[] = {
5647 NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5651 {
5652 if (!wxPyCheckForApp()) SWIG_fail;
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (int)wxGetDisplayDepth();
5655
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
7449af73 5660 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc 5661 }
d55e5bfc
RD
5662 return resultobj;
5663 fail:
5664 return NULL;
5665}
5666
5667
c32bde28 5668static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5669 PyObject *resultobj = NULL;
d55e5bfc
RD
5670 int *arg1 = (int *) 0 ;
5671 int *arg2 = (int *) 0 ;
5672 int temp1 ;
c32bde28 5673 int res1 = 0 ;
d55e5bfc 5674 int temp2 ;
c32bde28 5675 int res2 = 0 ;
d55e5bfc
RD
5676 char *kwnames[] = {
5677 NULL
5678 };
5679
c32bde28
RD
5680 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5681 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5683 {
0439c23b 5684 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5685 PyThreadState* __tstate = wxPyBeginAllowThreads();
5686 wxDisplaySize(arg1,arg2);
5687
5688 wxPyEndAllowThreads(__tstate);
110da5b0 5689 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5690 }
5691 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5692 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5693 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5694 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5695 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5696 return resultobj;
5697 fail:
5698 return NULL;
5699}
5700
5701
c32bde28 5702static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5703 PyObject *resultobj = NULL;
d55e5bfc
RD
5704 wxSize result;
5705 char *kwnames[] = {
5706 NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5710 {
0439c23b 5711 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = wxGetDisplaySize();
5714
5715 wxPyEndAllowThreads(__tstate);
110da5b0 5716 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5717 }
5718 {
5719 wxSize * resultptr;
7449af73 5720 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5721 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5722 }
5723 return resultobj;
5724 fail:
5725 return NULL;
5726}
5727
5728
c32bde28 5729static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5730 PyObject *resultobj = NULL;
d55e5bfc
RD
5731 int *arg1 = (int *) 0 ;
5732 int *arg2 = (int *) 0 ;
5733 int temp1 ;
c32bde28 5734 int res1 = 0 ;
d55e5bfc 5735 int temp2 ;
c32bde28 5736 int res2 = 0 ;
d55e5bfc
RD
5737 char *kwnames[] = {
5738 NULL
5739 };
5740
c32bde28
RD
5741 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5742 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5744 {
0439c23b 5745 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 wxDisplaySizeMM(arg1,arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
110da5b0 5750 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5753 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5754 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5755 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5756 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5757 return resultobj;
5758 fail:
5759 return NULL;
5760}
5761
5762
c32bde28 5763static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5764 PyObject *resultobj = NULL;
d55e5bfc
RD
5765 wxSize result;
5766 char *kwnames[] = {
5767 NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5771 {
0439c23b 5772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = wxGetDisplaySizeMM();
5775
5776 wxPyEndAllowThreads(__tstate);
110da5b0 5777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5778 }
5779 {
5780 wxSize * resultptr;
7449af73 5781 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5782 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5783 }
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
c32bde28 5790static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5791 PyObject *resultobj = NULL;
d55e5bfc
RD
5792 int *arg1 = (int *) 0 ;
5793 int *arg2 = (int *) 0 ;
5794 int *arg3 = (int *) 0 ;
5795 int *arg4 = (int *) 0 ;
5796 int temp1 ;
c32bde28 5797 int res1 = 0 ;
d55e5bfc 5798 int temp2 ;
c32bde28 5799 int res2 = 0 ;
d55e5bfc 5800 int temp3 ;
c32bde28 5801 int res3 = 0 ;
d55e5bfc 5802 int temp4 ;
c32bde28 5803 int res4 = 0 ;
d55e5bfc
RD
5804 char *kwnames[] = {
5805 NULL
5806 };
5807
c32bde28
RD
5808 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5809 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5810 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5811 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5813 {
0439c23b 5814 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5817
5818 wxPyEndAllowThreads(__tstate);
110da5b0 5819 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5822 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5823 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5824 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5825 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5826 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5827 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5828 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5829 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5830 return resultobj;
5831 fail:
5832 return NULL;
5833}
5834
5835
c32bde28 5836static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5837 PyObject *resultobj = NULL;
d55e5bfc
RD
5838 wxRect result;
5839 char *kwnames[] = {
5840 NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5844 {
0439c23b 5845 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = wxGetClientDisplayRect();
5848
5849 wxPyEndAllowThreads(__tstate);
110da5b0 5850 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5851 }
5852 {
5853 wxRect * resultptr;
7449af73 5854 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
5855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5856 }
5857 return resultobj;
5858 fail:
5859 return NULL;
5860}
5861
5862
c32bde28 5863static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5864 PyObject *resultobj = NULL;
d55e5bfc
RD
5865 wxCursor *arg1 = 0 ;
5866 PyObject * obj0 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "cursor", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
093d3ff1 5872 {
7449af73
RD
5873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail;
5875 if (arg1 == NULL) {
5876 SWIG_null_ref("wxCursor");
5877 }
5878 if (SWIG_arg_fail(1)) SWIG_fail;
5879 }
5880 {
5881 if (!wxPyCheckForApp()) SWIG_fail;
5882 PyThreadState* __tstate = wxPyBeginAllowThreads();
5883 wxSetCursor(*arg1);
5884
5885 wxPyEndAllowThreads(__tstate);
5886 if (PyErr_Occurred()) SWIG_fail;
5887 }
5888 Py_INCREF(Py_None); resultobj = Py_None;
5889 return resultobj;
5890 fail:
5891 return NULL;
5892}
5893
5894
5895static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5896 PyObject *resultobj = NULL;
5897 void *result;
5898 char *kwnames[] = {
5899 NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
5903 {
5904 if (!wxPyCheckForApp()) SWIG_fail;
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (void *)wxGetXDisplay();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
5912 return resultobj;
5913 fail:
5914 return NULL;
5915}
5916
5917
5918static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj = NULL;
5920 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5921 PyObject * obj0 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "cursor", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5927 if (obj0) {
5928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5929 if (SWIG_arg_fail(1)) SWIG_fail;
5930 }
5931 {
5932 if (!wxPyCheckForApp()) SWIG_fail;
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 wxBeginBusyCursor(arg1);
5935
5936 wxPyEndAllowThreads(__tstate);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 Py_INCREF(Py_None); resultobj = Py_None;
5940 return resultobj;
5941 fail:
5942 return NULL;
5943}
5944
5945
5946static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj = NULL;
5948 wxPoint result;
5949 char *kwnames[] = {
5950 NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
5954 {
5955 if (!wxPyCheckForApp()) SWIG_fail;
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = wxGetMousePosition();
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
5963 wxPoint * resultptr;
5964 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5966 }
5967 return resultobj;
5968 fail:
5969 return NULL;
5970}
5971
5972
5973static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj = NULL;
5975 wxWindow *result;
5976 char *kwnames[] = {
5977 NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail;
5981 {
5982 if (!wxPyCheckForApp()) SWIG_fail;
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (wxWindow *)FindWindowAtPointer();
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 resultobj = wxPyMake_wxObject(result, 0);
5991 }
5992 return resultobj;
5993 fail:
5994 return NULL;
5995}
5996
5997
5998static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj = NULL;
6000 wxWindow *result;
6001 char *kwnames[] = {
6002 NULL
6003 };
6004
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
6006 {
6007 if (!wxPyCheckForApp()) SWIG_fail;
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 result = (wxWindow *)wxGetActiveWindow();
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 {
6015 resultobj = wxPyMake_wxObject(result, 0);
6016 }
6017 return resultobj;
6018 fail:
6019 return NULL;
6020}
6021
6022
6023static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6024 PyObject *resultobj = NULL;
6025 wxPoint *arg1 = 0 ;
6026 wxWindow *result;
6027 wxPoint temp1 ;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "pt", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
6034 {
6035 arg1 = &temp1;
6036 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6037 }
6038 {
6039 if (!wxPyCheckForApp()) SWIG_fail;
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 {
6047 resultobj = wxPyMake_wxObject(result, 0);
6048 }
6049 return resultobj;
6050 fail:
6051 return NULL;
6052}
6053
6054
6055static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj = NULL;
6057 wxPoint *arg1 = 0 ;
6058 wxWindow *result;
6059 wxPoint temp1 ;
6060 PyObject * obj0 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "pt", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
6066 {
6067 arg1 = &temp1;
6068 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6069 }
6070 {
6071 if (!wxPyCheckForApp()) SWIG_fail;
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 {
6079 resultobj = wxPyMake_wxObject(result, 0);
6080 }
6081 return resultobj;
6082 fail:
6083 return NULL;
6084}
6085
6086
6087static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj = NULL;
6089 wxWindow *arg1 = (wxWindow *) 0 ;
6090 wxWindow *result;
6091 PyObject * obj0 = 0 ;
6092 char *kwnames[] = {
6093 (char *) "win", NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
6097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6098 if (SWIG_arg_fail(1)) SWIG_fail;
6099 {
6100 if (!wxPyCheckForApp()) SWIG_fail;
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = (wxWindow *)wxGetTopLevelParent(arg1);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 resultobj = wxPyMake_wxObject(result, 0);
6109 }
6110 return resultobj;
6111 fail:
6112 return NULL;
6113}
6114
6115
6116static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj = NULL;
6118 wxString *arg1 = 0 ;
6119 bool result;
6120 bool temp1 = false ;
6121 PyObject * obj0 = 0 ;
6122 char *kwnames[] = {
6123 (char *) "url", NULL
6124 };
6125
6126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
6127 {
6128 arg1 = wxString_in_helper(obj0);
6129 if (arg1 == NULL) SWIG_fail;
6130 temp1 = true;
6131 }
6132 {
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
6135
6136 wxPyEndAllowThreads(__tstate);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6141 }
6142 {
6143 if (temp1)
6144 delete arg1;
6145 }
6146 return resultobj;
6147 fail:
6148 {
6149 if (temp1)
6150 delete arg1;
6151 }
6152 return NULL;
6153}
6154
6155
6156static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj = NULL;
6158 wxKeyCode arg1 ;
6159 bool result;
6160 PyObject * obj0 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "key", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
6166 {
6167 arg1 = static_cast<wxKeyCode >(SWIG_As_int(obj0));
6168 if (SWIG_arg_fail(1)) SWIG_fail;
6169 }
6170 {
6171 if (!wxPyCheckForApp()) SWIG_fail;
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (bool)wxGetKeyState(arg1);
6174
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 {
6179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6180 }
6181 return resultobj;
6182 fail:
6183 return NULL;
6184}
6185
6186
6187static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj = NULL;
6189 wxMouseState *result;
6190 char *kwnames[] = {
6191 NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail;
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (wxMouseState *)new wxMouseState();
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1);
6203 return resultobj;
6204 fail:
6205 return NULL;
6206}
6207
6208
6209static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = NULL;
6211 wxMouseState *arg1 = (wxMouseState *) 0 ;
6212 PyObject * obj0 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail;
6218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6219 if (SWIG_arg_fail(1)) SWIG_fail;
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 delete arg1;
6223
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 Py_INCREF(Py_None); resultobj = Py_None;
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
6234static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj = NULL;
6236 wxMouseState *arg1 = (wxMouseState *) 0 ;
6237 int result;
6238 PyObject * obj0 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail;
6244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (int)(arg1)->GetX();
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 {
6254 resultobj = SWIG_From_int(static_cast<int >(result));
6255 }
6256 return resultobj;
6257 fail:
6258 return NULL;
6259}
6260
6261
6262static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj = NULL;
6264 wxMouseState *arg1 = (wxMouseState *) 0 ;
6265 int result;
6266 PyObject * obj0 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self", NULL
6269 };
6270
6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail;
6272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail;
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 result = (int)(arg1)->GetY();
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = SWIG_From_int(static_cast<int >(result));
6283 }
6284 return resultobj;
6285 fail:
6286 return NULL;
6287}
6288
6289
6290static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6291 PyObject *resultobj = NULL;
6292 wxMouseState *arg1 = (wxMouseState *) 0 ;
6293 bool result;
6294 PyObject * obj0 = 0 ;
6295 char *kwnames[] = {
6296 (char *) "self", NULL
6297 };
6298
6299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail;
6300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6301 if (SWIG_arg_fail(1)) SWIG_fail;
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 result = (bool)(arg1)->LeftDown();
6305
6306 wxPyEndAllowThreads(__tstate);
6307 if (PyErr_Occurred()) SWIG_fail;
6308 }
6309 {
6310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6311 }
6312 return resultobj;
6313 fail:
6314 return NULL;
6315}
6316
6317
6318static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj = NULL;
6320 wxMouseState *arg1 = (wxMouseState *) 0 ;
6321 bool result;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail;
6328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6329 if (SWIG_arg_fail(1)) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)(arg1)->MiddleDown();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 {
6338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6339 }
6340 return resultobj;
6341 fail:
6342 return NULL;
6343}
6344
6345
6346static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6347 PyObject *resultobj = NULL;
6348 wxMouseState *arg1 = (wxMouseState *) 0 ;
6349 bool result;
6350 PyObject * obj0 = 0 ;
6351 char *kwnames[] = {
6352 (char *) "self", NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail;
6356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6357 if (SWIG_arg_fail(1)) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->RightDown();
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 {
6366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6367 }
6368 return resultobj;
6369 fail:
6370 return NULL;
6371}
6372
6373
6374static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj = NULL;
6376 wxMouseState *arg1 = (wxMouseState *) 0 ;
6377 bool result;
6378 PyObject * obj0 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail;
6384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6385 if (SWIG_arg_fail(1)) SWIG_fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (bool)(arg1)->ControlDown();
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 {
6394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6395 }
6396 return resultobj;
6397 fail:
6398 return NULL;
6399}
6400
6401
6402static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj = NULL;
6404 wxMouseState *arg1 = (wxMouseState *) 0 ;
6405 bool result;
6406 PyObject * obj0 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail;
6412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6413 if (SWIG_arg_fail(1)) SWIG_fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 result = (bool)(arg1)->ShiftDown();
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 {
6422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6423 }
6424 return resultobj;
6425 fail:
6426 return NULL;
6427}
6428
6429
6430static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6431 PyObject *resultobj = NULL;
6432 wxMouseState *arg1 = (wxMouseState *) 0 ;
6433 bool result;
6434 PyObject * obj0 = 0 ;
6435 char *kwnames[] = {
6436 (char *) "self", NULL
6437 };
6438
6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail;
6440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6441 if (SWIG_arg_fail(1)) SWIG_fail;
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 result = (bool)(arg1)->AltDown();
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6451 }
6452 return resultobj;
6453 fail:
6454 return NULL;
6455}
6456
6457
6458static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj = NULL;
6460 wxMouseState *arg1 = (wxMouseState *) 0 ;
6461 bool result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail;
6468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6469 if (SWIG_arg_fail(1)) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 result = (bool)(arg1)->MetaDown();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 {
6478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6479 }
6480 return resultobj;
6481 fail:
6482 return NULL;
6483}
6484
6485
6486static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj = NULL;
6488 wxMouseState *arg1 = (wxMouseState *) 0 ;
6489 bool result;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail;
6496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(1)) SWIG_fail;
6498 {
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (bool)(arg1)->CmdDown();
6501
6502 wxPyEndAllowThreads(__tstate);
6503 if (PyErr_Occurred()) SWIG_fail;
6504 }
6505 {
6506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6507 }
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
6514static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj = NULL;
6516 wxMouseState *arg1 = (wxMouseState *) 0 ;
6517 int arg2 ;
6518 PyObject * obj0 = 0 ;
6519 PyObject * obj1 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "self",(char *) "x", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail;
6525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6526 if (SWIG_arg_fail(1)) SWIG_fail;
6527 {
6528 arg2 = static_cast<int >(SWIG_As_int(obj1));
6529 if (SWIG_arg_fail(2)) SWIG_fail;
6530 }
6531 {
6532 PyThreadState* __tstate = wxPyBeginAllowThreads();
6533 (arg1)->SetX(arg2);
6534
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 Py_INCREF(Py_None); resultobj = Py_None;
6539 return resultobj;
6540 fail:
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj = NULL;
6547 wxMouseState *arg1 = (wxMouseState *) 0 ;
6548 int arg2 ;
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self",(char *) "y", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail;
6556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail;
6558 {
6559 arg2 = static_cast<int >(SWIG_As_int(obj1));
6560 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6561 }
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6564 (arg1)->SetY(arg2);
d55e5bfc
RD
6565
6566 wxPyEndAllowThreads(__tstate);
110da5b0 6567 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6568 }
6569 Py_INCREF(Py_None); resultobj = Py_None;
6570 return resultobj;
6571 fail:
6572 return NULL;
6573}
6574
6575
7449af73
RD
6576static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = NULL;
6578 wxMouseState *arg1 = (wxMouseState *) 0 ;
6579 bool arg2 ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
a97cefba 6582 char *kwnames[] = {
7449af73 6583 (char *) "self",(char *) "down", NULL
a97cefba
RD
6584 };
6585
7449af73
RD
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail;
6587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6588 if (SWIG_arg_fail(1)) SWIG_fail;
6589 {
6590 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6591 if (SWIG_arg_fail(2)) SWIG_fail;
6592 }
a97cefba 6593 {
a97cefba 6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6595 (arg1)->SetLeftDown(arg2);
a97cefba
RD
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
7449af73 6600 Py_INCREF(Py_None); resultobj = Py_None;
a97cefba
RD
6601 return resultobj;
6602 fail:
6603 return NULL;
6604}
6605
6606
7449af73
RD
6607static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj = NULL;
6609 wxMouseState *arg1 = (wxMouseState *) 0 ;
6610 bool arg2 ;
d55e5bfc 6611 PyObject * obj0 = 0 ;
7449af73 6612 PyObject * obj1 = 0 ;
d55e5bfc 6613 char *kwnames[] = {
7449af73 6614 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6615 };
6616
7449af73
RD
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail;
6618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail;
6620 {
6621 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6622 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6626 (arg1)->SetMiddleDown(arg2);
d55e5bfc
RD
6627
6628 wxPyEndAllowThreads(__tstate);
110da5b0 6629 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 return resultobj;
6633 fail:
6634 return NULL;
6635}
6636
6637
7449af73
RD
6638static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj = NULL;
6640 wxMouseState *arg1 = (wxMouseState *) 0 ;
6641 bool arg2 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
d55e5bfc 6644 char *kwnames[] = {
7449af73 6645 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6646 };
6647
7449af73
RD
6648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail;
6649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6650 if (SWIG_arg_fail(1)) SWIG_fail;
6651 {
6652 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6653 if (SWIG_arg_fail(2)) SWIG_fail;
6654 }
d55e5bfc
RD
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6657 (arg1)->SetRightDown(arg2);
d55e5bfc
RD
6658
6659 wxPyEndAllowThreads(__tstate);
110da5b0 6660 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6661 }
7449af73 6662 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6663 return resultobj;
6664 fail:
6665 return NULL;
6666}
6667
6668
7449af73
RD
6669static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj = NULL;
6671 wxMouseState *arg1 = (wxMouseState *) 0 ;
6672 bool arg2 ;
d55e5bfc 6673 PyObject * obj0 = 0 ;
7449af73 6674 PyObject * obj1 = 0 ;
d55e5bfc 6675 char *kwnames[] = {
7449af73 6676 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6677 };
6678
7449af73
RD
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail;
6680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6682 {
7449af73
RD
6683 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6684 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6685 }
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6688 (arg1)->SetControlDown(arg2);
d55e5bfc
RD
6689
6690 wxPyEndAllowThreads(__tstate);
110da5b0 6691 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6692 }
7449af73 6693 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
7449af73
RD
6700static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj = NULL;
6702 wxMouseState *arg1 = (wxMouseState *) 0 ;
6703 bool arg2 ;
d55e5bfc 6704 PyObject * obj0 = 0 ;
7449af73 6705 PyObject * obj1 = 0 ;
d55e5bfc 6706 char *kwnames[] = {
7449af73 6707 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6708 };
6709
7449af73
RD
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail;
6711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6713 {
7449af73
RD
6714 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6715 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6719 (arg1)->SetShiftDown(arg2);
d55e5bfc
RD
6720
6721 wxPyEndAllowThreads(__tstate);
110da5b0 6722 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6723 }
7449af73 6724 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6725 return resultobj;
6726 fail:
6727 return NULL;
6728}
6729
6730
7449af73
RD
6731static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj = NULL;
6733 wxMouseState *arg1 = (wxMouseState *) 0 ;
6734 bool arg2 ;
d55e5bfc 6735 PyObject * obj0 = 0 ;
7449af73 6736 PyObject * obj1 = 0 ;
d55e5bfc 6737 char *kwnames[] = {
7449af73 6738 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6739 };
6740
7449af73
RD
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail;
6742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 6743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6744 {
7449af73
RD
6745 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6746 if (SWIG_arg_fail(2)) SWIG_fail;
6747 }
6748 {
d55e5bfc 6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6750 (arg1)->SetAltDown(arg2);
d55e5bfc
RD
6751
6752 wxPyEndAllowThreads(__tstate);
110da5b0 6753 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6754 }
7449af73 6755 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6756 return resultobj;
6757 fail:
6758 return NULL;
6759}
6760
6761
7449af73
RD
6762static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj = NULL;
6764 wxMouseState *arg1 = (wxMouseState *) 0 ;
6765 bool arg2 ;
d04418a7 6766 PyObject * obj0 = 0 ;
7449af73 6767 PyObject * obj1 = 0 ;
d04418a7 6768 char *kwnames[] = {
7449af73 6769 (char *) "self",(char *) "down", NULL
d04418a7
RD
6770 };
6771
7449af73
RD
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail;
6773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail;
d04418a7 6775 {
7449af73
RD
6776 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6777 if (SWIG_arg_fail(2)) SWIG_fail;
d04418a7
RD
6778 }
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6781 (arg1)->SetMetaDown(arg2);
d04418a7
RD
6782
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
7449af73 6786 Py_INCREF(Py_None); resultobj = Py_None;
d04418a7
RD
6787 return resultobj;
6788 fail:
d04418a7
RD
6789 return NULL;
6790}
6791
6792
7449af73
RD
6793static PyObject * MouseState_swigregister(PyObject *, PyObject *args) {
6794 PyObject *obj;
6795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6796 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj);
6797 Py_INCREF(obj);
6798 return Py_BuildValue((char *)"");
6799}
6800static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6801 PyObject *resultobj = NULL;
6802 wxMouseState result;
d55e5bfc 6803 char *kwnames[] = {
7449af73 6804 NULL
d55e5bfc
RD
6805 };
6806
7449af73 6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail;
d55e5bfc
RD
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6810 result = wxGetMouseState();
d55e5bfc
RD
6811
6812 wxPyEndAllowThreads(__tstate);
110da5b0 6813 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6814 }
6815 {
7449af73
RD
6816 wxMouseState * resultptr;
6817 resultptr = new wxMouseState(static_cast<wxMouseState & >(result));
6818 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1);
d55e5bfc
RD
6819 }
6820 return resultobj;
6821 fail:
6822 return NULL;
6823}
6824
6825
c32bde28 6826static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6827 PyObject *resultobj = NULL;
d55e5bfc
RD
6828 char *kwnames[] = {
6829 NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6833 {
0439c23b 6834 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6836 wxWakeUpMainThread();
6837
6838 wxPyEndAllowThreads(__tstate);
110da5b0 6839 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6840 }
6841 Py_INCREF(Py_None); resultobj = Py_None;
6842 return resultobj;
6843 fail:
6844 return NULL;
6845}
6846
6847
c32bde28 6848static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6849 PyObject *resultobj = NULL;
d55e5bfc
RD
6850 char *kwnames[] = {
6851 NULL
6852 };
6853
6854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6855 {
0439c23b 6856 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6858 wxMutexGuiEnter();
6859
6860 wxPyEndAllowThreads(__tstate);
110da5b0 6861 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6862 }
6863 Py_INCREF(Py_None); resultobj = Py_None;
6864 return resultobj;
6865 fail:
6866 return NULL;
6867}
6868
6869
c32bde28 6870static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6871 PyObject *resultobj = NULL;
d55e5bfc
RD
6872 char *kwnames[] = {
6873 NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6877 {
0439c23b 6878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 wxMutexGuiLeave();
6881
6882 wxPyEndAllowThreads(__tstate);
110da5b0 6883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889}
6890
6891
c32bde28 6892static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6893 PyObject *resultobj = NULL;
d55e5bfc
RD
6894 wxMutexGuiLocker *result;
6895 char *kwnames[] = {
6896 NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6900 {
0439c23b 6901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6904
6905 wxPyEndAllowThreads(__tstate);
110da5b0 6906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6907 }
6908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6909 return resultobj;
6910 fail:
6911 return NULL;
6912}
6913
6914
c32bde28 6915static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6916 PyObject *resultobj = NULL;
d55e5bfc
RD
6917 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 delete arg1;
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 Py_INCREF(Py_None); resultobj = Py_None;
6934 return resultobj;
6935 fail:
6936 return NULL;
6937}
6938
6939
c32bde28 6940static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6941 PyObject *obj;
6942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6943 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6944 Py_INCREF(obj);
6945 return Py_BuildValue((char *)"");
6946}
c32bde28 6947static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6948 PyObject *resultobj = NULL;
d55e5bfc
RD
6949 bool result;
6950 char *kwnames[] = {
6951 NULL
6952 };
6953
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (bool)wxThread_IsMain();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 {
6963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6964 }
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
c32bde28 6971static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6972 PyObject *resultobj = NULL;
d55e5bfc
RD
6973 wxString *arg1 = 0 ;
6974 wxToolTip *result;
ae8162c8 6975 bool temp1 = false ;
d55e5bfc
RD
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "tip", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6982 {
6983 arg1 = wxString_in_helper(obj0);
6984 if (arg1 == NULL) SWIG_fail;
ae8162c8 6985 temp1 = true;
d55e5bfc
RD
6986 }
6987 {
0439c23b 6988 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6991
6992 wxPyEndAllowThreads(__tstate);
110da5b0 6993 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6994 }
7e08d4ef 6995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolTip, 1);
d55e5bfc
RD
6996 {
6997 if (temp1)
6998 delete arg1;
6999 }
7000 return resultobj;
7001 fail:
7002 {
7003 if (temp1)
7004 delete arg1;
7005 }
7006 return NULL;
7007}
7008
7009
7e08d4ef
RD
7010static PyObject *_wrap_delete_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj = NULL;
7012 wxToolTip *arg1 = (wxToolTip *) 0 ;
7013 PyObject * obj0 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ToolTip",kwnames,&obj0)) goto fail;
7019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7020 if (SWIG_arg_fail(1)) SWIG_fail;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 delete arg1;
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 Py_INCREF(Py_None); resultobj = Py_None;
7029 return resultobj;
7030 fail:
7031 return NULL;
7032}
7033
7034
c32bde28 7035static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7036 PyObject *resultobj = NULL;
d55e5bfc
RD
7037 wxToolTip *arg1 = (wxToolTip *) 0 ;
7038 wxString *arg2 = 0 ;
ae8162c8 7039 bool temp2 = false ;
d55e5bfc
RD
7040 PyObject * obj0 = 0 ;
7041 PyObject * obj1 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self",(char *) "tip", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7049 {
7050 arg2 = wxString_in_helper(obj1);
7051 if (arg2 == NULL) SWIG_fail;
ae8162c8 7052 temp2 = true;
d55e5bfc
RD
7053 }
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 (arg1)->SetTip((wxString const &)*arg2);
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
7061 Py_INCREF(Py_None); resultobj = Py_None;
7062 {
7063 if (temp2)
7064 delete arg2;
7065 }
7066 return resultobj;
7067 fail:
7068 {
7069 if (temp2)
7070 delete arg2;
7071 }
7072 return NULL;
7073}
7074
7075
c32bde28 7076static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7077 PyObject *resultobj = NULL;
d55e5bfc
RD
7078 wxToolTip *arg1 = (wxToolTip *) 0 ;
7079 wxString result;
7080 PyObject * obj0 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (arg1)->GetTip();
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 {
7096#if wxUSE_UNICODE
7097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7098#else
7099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7100#endif
7101 }
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
c32bde28 7108static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7109 PyObject *resultobj = NULL;
d55e5bfc
RD
7110 wxToolTip *arg1 = (wxToolTip *) 0 ;
7111 wxWindow *result;
7112 PyObject * obj0 = 0 ;
7113 char *kwnames[] = {
7114 (char *) "self", NULL
7115 };
7116
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
7118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 result = (wxWindow *)(arg1)->GetWindow();
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 {
412d302d 7128 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7129 }
7130 return resultobj;
7131 fail:
7132 return NULL;
7133}
7134
7135
c32bde28 7136static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7137 PyObject *resultobj = NULL;
d55e5bfc
RD
7138 bool arg1 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "flag", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1 7145 {
7449af73 7146 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
7147 if (SWIG_arg_fail(1)) SWIG_fail;
7148 }
d55e5bfc
RD
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 wxToolTip::Enable(arg1);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 Py_INCREF(Py_None); resultobj = Py_None;
7157 return resultobj;
7158 fail:
7159 return NULL;
7160}
7161
7162
c32bde28 7163static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7164 PyObject *resultobj = NULL;
d55e5bfc
RD
7165 long arg1 ;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "milliseconds", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1 7172 {
7449af73 7173 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
7174 if (SWIG_arg_fail(1)) SWIG_fail;
7175 }
d55e5bfc
RD
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 wxToolTip::SetDelay(arg1);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187}
7188
7189
c32bde28 7190static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7191 PyObject *obj;
7192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7193 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
7194 Py_INCREF(obj);
7195 return Py_BuildValue((char *)"");
7196}
c32bde28 7197static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7198 PyObject *resultobj = NULL;
d55e5bfc
RD
7199 wxWindow *arg1 = (wxWindow *) 0 ;
7200 wxSize *arg2 = 0 ;
7201 wxCaret *result;
7202 wxSize temp2 ;
7203 PyObject * obj0 = 0 ;
7204 PyObject * obj1 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "window",(char *) "size", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7212 {
7213 arg2 = &temp2;
7214 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7215 }
7216 {
0439c23b 7217 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
7220
7221 wxPyEndAllowThreads(__tstate);
110da5b0 7222 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7223 }
7224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
7225 return resultobj;
7226 fail:
7227 return NULL;
7228}
7229
7230
7e08d4ef
RD
7231static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj = NULL;
7233 wxCaret *arg1 = (wxCaret *) 0 ;
7234 PyObject * obj0 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "self", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
7240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7241 if (SWIG_arg_fail(1)) SWIG_fail;
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 delete arg1;
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 Py_INCREF(Py_None); resultobj = Py_None;
7250 return resultobj;
7251 fail:
7252 return NULL;
7253}
7254
7255
091fdbfa 7256static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7257 PyObject *resultobj = NULL;
d55e5bfc
RD
7258 wxCaret *arg1 = (wxCaret *) 0 ;
7259 PyObject * obj0 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self", NULL
7262 };
7263
091fdbfa 7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
7265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7269 wxCaret_Destroy(arg1);
d55e5bfc
RD
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 Py_INCREF(Py_None); resultobj = Py_None;
7275 return resultobj;
7276 fail:
7277 return NULL;
7278}
7279
7280
c32bde28 7281static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7282 PyObject *resultobj = NULL;
d55e5bfc
RD
7283 wxCaret *arg1 = (wxCaret *) 0 ;
7284 bool result;
7285 PyObject * obj0 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "self", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
7291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = (bool)(arg1)->IsOk();
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 {
7301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7302 }
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
c32bde28 7309static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7310 PyObject *resultobj = NULL;
d55e5bfc
RD
7311 wxCaret *arg1 = (wxCaret *) 0 ;
7312 bool result;
7313 PyObject * obj0 = 0 ;
7314 char *kwnames[] = {
7315 (char *) "self", NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
7319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7321 {
7322 PyThreadState* __tstate = wxPyBeginAllowThreads();
7323 result = (bool)(arg1)->IsVisible();
7324
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 {
7329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7330 }
7331 return resultobj;
7332 fail:
7333 return NULL;
7334}
7335
7336
c32bde28 7337static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7338 PyObject *resultobj = NULL;
d55e5bfc
RD
7339 wxCaret *arg1 = (wxCaret *) 0 ;
7340 wxPoint result;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
7347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 result = (arg1)->GetPosition();
7352
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 {
7357 wxPoint * resultptr;
7449af73 7358 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
7359 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
7360 }
7361 return resultobj;
7362 fail:
7363 return NULL;
7364}
7365
7366
c32bde28 7367static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7368 PyObject *resultobj = NULL;
d55e5bfc
RD
7369 wxCaret *arg1 = (wxCaret *) 0 ;
7370 int *arg2 = (int *) 0 ;
7371 int *arg3 = (int *) 0 ;
7372 int temp2 ;
c32bde28 7373 int res2 = 0 ;
d55e5bfc 7374 int temp3 ;
c32bde28 7375 int res3 = 0 ;
d55e5bfc
RD
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
c32bde28
RD
7381 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7382 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
7384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 (arg1)->GetPosition(arg2,arg3);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
7394 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7395 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7396 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7397 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7398 return resultobj;
7399 fail:
7400 return NULL;
7401}
7402
7403
c32bde28 7404static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7405 PyObject *resultobj = NULL;
d55e5bfc
RD
7406 wxCaret *arg1 = (wxCaret *) 0 ;
7407 wxSize result;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (arg1)->GetSize();
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 {
7424 wxSize * resultptr;
7449af73 7425 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
7426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7427 }
7428 return resultobj;
7429 fail:
7430 return NULL;
7431}
7432
7433
c32bde28 7434static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7435 PyObject *resultobj = NULL;
d55e5bfc
RD
7436 wxCaret *arg1 = (wxCaret *) 0 ;
7437 int *arg2 = (int *) 0 ;
7438 int *arg3 = (int *) 0 ;
7439 int temp2 ;
c32bde28 7440 int res2 = 0 ;
d55e5bfc 7441 int temp3 ;
c32bde28 7442 int res3 = 0 ;
d55e5bfc
RD
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
c32bde28
RD
7448 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7449 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
7451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7453 {
7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
7455 (arg1)->GetSize(arg2,arg3);
7456
7457 wxPyEndAllowThreads(__tstate);
7458 if (PyErr_Occurred()) SWIG_fail;
7459 }
7460 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
7461 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7462 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7463 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7464 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7465 return resultobj;
7466 fail:
7467 return NULL;
7468}
7469
7470
c32bde28 7471static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7472 PyObject *resultobj = NULL;
d55e5bfc
RD
7473 wxCaret *arg1 = (wxCaret *) 0 ;
7474 wxWindow *result;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
7481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (wxWindow *)(arg1)->GetWindow();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
412d302d 7491 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7492 }
7493 return resultobj;
7494 fail:
7495 return NULL;
7496}
7497
7498
c32bde28 7499static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7500 PyObject *resultobj = NULL;
d55e5bfc
RD
7501 wxCaret *arg1 = (wxCaret *) 0 ;
7502 int arg2 ;
7503 int arg3 ;
7504 PyObject * obj0 = 0 ;
7505 PyObject * obj1 = 0 ;
7506 PyObject * obj2 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "x",(char *) "y", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail;
7514 {
7449af73 7515 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7516 if (SWIG_arg_fail(2)) SWIG_fail;
7517 }
7518 {
7449af73 7519 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7520 if (SWIG_arg_fail(3)) SWIG_fail;
7521 }
d55e5bfc
RD
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 (arg1)->Move(arg2,arg3);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 Py_INCREF(Py_None); resultobj = Py_None;
7530 return resultobj;
7531 fail:
7532 return NULL;
7533}
7534
7535
c32bde28 7536static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7537 PyObject *resultobj = NULL;
d55e5bfc
RD
7538 wxCaret *arg1 = (wxCaret *) 0 ;
7539 wxPoint *arg2 = 0 ;
7540 wxPoint temp2 ;
7541 PyObject * obj0 = 0 ;
7542 PyObject * obj1 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self",(char *) "pt", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7550 {
7551 arg2 = &temp2;
7552 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7553 }
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 (arg1)->Move((wxPoint const &)*arg2);
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 return resultobj;
7563 fail:
7564 return NULL;
7565}
7566
7567
c32bde28 7568static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7569 PyObject *resultobj = NULL;
d55e5bfc
RD
7570 wxCaret *arg1 = (wxCaret *) 0 ;
7571 int arg2 ;
7572 int arg3 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 PyObject * obj2 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self",(char *) "width",(char *) "height", NULL
7578 };
7579
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7582 if (SWIG_arg_fail(1)) SWIG_fail;
7583 {
7449af73 7584 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7585 if (SWIG_arg_fail(2)) SWIG_fail;
7586 }
7587 {
7449af73 7588 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7589 if (SWIG_arg_fail(3)) SWIG_fail;
7590 }
d55e5bfc
RD
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetSize(arg2,arg3);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602}
7603
7604
c32bde28 7605static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7606 PyObject *resultobj = NULL;
d55e5bfc
RD
7607 wxCaret *arg1 = (wxCaret *) 0 ;
7608 wxSize *arg2 = 0 ;
7609 wxSize temp2 ;
7610 PyObject * obj0 = 0 ;
7611 PyObject * obj1 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self",(char *) "size", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7619 {
7620 arg2 = &temp2;
7621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7622 }
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 (arg1)->SetSize((wxSize const &)*arg2);
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 Py_INCREF(Py_None); resultobj = Py_None;
7631 return resultobj;
7632 fail:
7633 return NULL;
7634}
7635
7636
c32bde28 7637static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7638 PyObject *resultobj = NULL;
d55e5bfc 7639 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 7640 int arg2 = (int) true ;
d55e5bfc
RD
7641 PyObject * obj0 = 0 ;
7642 PyObject * obj1 = 0 ;
7643 char *kwnames[] = {
7644 (char *) "self",(char *) "show", NULL
7645 };
7646
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7650 if (obj1) {
093d3ff1 7651 {
7449af73 7652 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7653 if (SWIG_arg_fail(2)) SWIG_fail;
7654 }
d55e5bfc
RD
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 (arg1)->Show(arg2);
7659
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 }
7663 Py_INCREF(Py_None); resultobj = Py_None;
7664 return resultobj;
7665 fail:
7666 return NULL;
7667}
7668
7669
c32bde28 7670static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7671 PyObject *resultobj = NULL;
d55e5bfc
RD
7672 wxCaret *arg1 = (wxCaret *) 0 ;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
7679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 (arg1)->Hide();
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 Py_INCREF(Py_None); resultobj = Py_None;
7689 return resultobj;
7690 fail:
7691 return NULL;
7692}
7693
7694
c32bde28 7695static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7696 PyObject *resultobj = NULL;
d55e5bfc
RD
7697 int result;
7698 char *kwnames[] = {
7699 NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7705 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
093d3ff1 7710 {
7449af73 7711 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7712 }
d55e5bfc
RD
7713 return resultobj;
7714 fail:
7715 return NULL;
7716}
7717
7718
c32bde28 7719static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7720 PyObject *resultobj = NULL;
d55e5bfc
RD
7721 int arg1 ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "milliseconds", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1 7728 {
7449af73 7729 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
7730 if (SWIG_arg_fail(1)) SWIG_fail;
7731 }
d55e5bfc
RD
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7734 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 Py_INCREF(Py_None); resultobj = Py_None;
7740 return resultobj;
7741 fail:
7742 return NULL;
7743}
7744
7745
091fdbfa
RD
7746static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
7747 PyObject *obj;
7748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7749 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
7750 Py_INCREF(obj);
7751 return Py_BuildValue((char *)"");
7752}
c32bde28 7753static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7754 PyObject *resultobj = NULL;
d55e5bfc
RD
7755 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
7756 wxBusyCursor *result;
7757 PyObject * obj0 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "cursor", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
7763 if (obj0) {
093d3ff1
RD
7764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
7765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7766 }
7767 {
0439c23b 7768 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 result = (wxBusyCursor *)new wxBusyCursor(arg1);
7771
7772 wxPyEndAllowThreads(__tstate);
110da5b0 7773 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7774 }
7775 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
7776 return resultobj;
7777 fail:
7778 return NULL;
7779}
7780
7781
c32bde28 7782static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7783 PyObject *resultobj = NULL;
d55e5bfc
RD
7784 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 delete arg1;
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 Py_INCREF(Py_None); resultobj = Py_None;
7801 return resultobj;
7802 fail:
7803 return NULL;
7804}
7805
7806
c32bde28 7807static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7808 PyObject *obj;
7809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7810 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
7811 Py_INCREF(obj);
7812 return Py_BuildValue((char *)"");
7813}
c32bde28 7814static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7815 PyObject *resultobj = NULL;
d55e5bfc
RD
7816 wxWindow *arg1 = (wxWindow *) NULL ;
7817 wxWindowDisabler *result;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "winToSkip", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
7824 if (obj0) {
093d3ff1
RD
7825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7827 }
7828 {
0439c23b 7829 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
7832
7833 wxPyEndAllowThreads(__tstate);
110da5b0 7834 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7835 }
7836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
7837 return resultobj;
7838 fail:
7839 return NULL;
7840}
7841
7842
c32bde28 7843static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7844 PyObject *resultobj = NULL;
d55e5bfc
RD
7845 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
7846 PyObject * obj0 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "self", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
7852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
7853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 delete arg1;
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 Py_INCREF(Py_None); resultobj = Py_None;
7862 return resultobj;
7863 fail:
7864 return NULL;
7865}
7866
7867
c32bde28 7868static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7869 PyObject *obj;
7870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7872 Py_INCREF(obj);
7873 return Py_BuildValue((char *)"");
7874}
c32bde28 7875static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7876 PyObject *resultobj = NULL;
d55e5bfc
RD
7877 wxString *arg1 = 0 ;
7878 wxBusyInfo *result;
ae8162c8 7879 bool temp1 = false ;
d55e5bfc
RD
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "message", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7886 {
7887 arg1 = wxString_in_helper(obj0);
7888 if (arg1 == NULL) SWIG_fail;
ae8162c8 7889 temp1 = true;
d55e5bfc
RD
7890 }
7891 {
0439c23b 7892 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7895
7896 wxPyEndAllowThreads(__tstate);
110da5b0 7897 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7898 }
7899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7900 {
7901 if (temp1)
7902 delete arg1;
7903 }
7904 return resultobj;
7905 fail:
7906 {
7907 if (temp1)
7908 delete arg1;
7909 }
7910 return NULL;
7911}
7912
7913
c32bde28 7914static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7915 PyObject *resultobj = NULL;
d55e5bfc
RD
7916 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 delete arg1;
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 Py_INCREF(Py_None); resultobj = Py_None;
7933 return resultobj;
7934 fail:
7935 return NULL;
7936}
7937
7938
c32bde28 7939static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7940 PyObject *obj;
7941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7942 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7943 Py_INCREF(obj);
7944 return Py_BuildValue((char *)"");
7945}
c32bde28 7946static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7947 PyObject *resultobj = NULL;
d55e5bfc
RD
7948 wxStopWatch *result;
7949 char *kwnames[] = {
7950 NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (wxStopWatch *)new wxStopWatch();
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7962 return resultobj;
7963 fail:
7964 return NULL;
7965}
7966
7967
c32bde28 7968static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7969 PyObject *resultobj = NULL;
d55e5bfc
RD
7970 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7971 long arg2 = (long) 0 ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "t0", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7981 if (obj1) {
093d3ff1 7982 {
7449af73 7983 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
7984 if (SWIG_arg_fail(2)) SWIG_fail;
7985 }
d55e5bfc
RD
7986 }
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 (arg1)->Start(arg2);
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 Py_INCREF(Py_None); resultobj = Py_None;
7995 return resultobj;
7996 fail:
7997 return NULL;
7998}
7999
8000
c32bde28 8001static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8002 PyObject *resultobj = NULL;
d55e5bfc
RD
8003 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8004 PyObject * obj0 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
8010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 (arg1)->Pause();
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 Py_INCREF(Py_None); resultobj = Py_None;
8020 return resultobj;
8021 fail:
8022 return NULL;
8023}
8024
8025
c32bde28 8026static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8027 PyObject *resultobj = NULL;
d55e5bfc
RD
8028 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8029 PyObject * obj0 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
8035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 (arg1)->Resume();
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 Py_INCREF(Py_None); resultobj = Py_None;
8045 return resultobj;
8046 fail:
8047 return NULL;
8048}
8049
8050
c32bde28 8051static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8052 PyObject *resultobj = NULL;
d55e5bfc
RD
8053 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8054 long result;
8055 PyObject * obj0 = 0 ;
8056 char *kwnames[] = {
8057 (char *) "self", NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
8061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 result = (long)((wxStopWatch const *)arg1)->Time();
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
093d3ff1 8070 {
7449af73 8071 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 8072 }
d55e5bfc
RD
8073 return resultobj;
8074 fail:
8075 return NULL;
8076}
8077
8078
c32bde28 8079static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8080 PyObject *obj;
8081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8082 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
8083 Py_INCREF(obj);
8084 return Py_BuildValue((char *)"");
8085}
c32bde28 8086static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8087 PyObject *resultobj = NULL;
d55e5bfc 8088 int arg1 = (int) 9 ;
4cf4100f 8089 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
8090 wxFileHistory *result;
8091 PyObject * obj0 = 0 ;
4cf4100f 8092 PyObject * obj1 = 0 ;
d55e5bfc 8093 char *kwnames[] = {
4cf4100f 8094 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
8095 };
8096
4cf4100f 8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 8098 if (obj0) {
093d3ff1 8099 {
7449af73 8100 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
8101 if (SWIG_arg_fail(1)) SWIG_fail;
8102 }
d55e5bfc 8103 }
4cf4100f 8104 if (obj1) {
093d3ff1 8105 {
7449af73 8106 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8107 if (SWIG_arg_fail(2)) SWIG_fail;
8108 }
4cf4100f 8109 }
d55e5bfc
RD
8110 {
8111 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 8112 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
8113
8114 wxPyEndAllowThreads(__tstate);
8115 if (PyErr_Occurred()) SWIG_fail;
8116 }
8117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
c32bde28 8124static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8125 PyObject *resultobj = NULL;
d55e5bfc
RD
8126 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8127 PyObject * obj0 = 0 ;
8128 char *kwnames[] = {
8129 (char *) "self", NULL
8130 };
8131
8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
8133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 delete arg1;
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 return resultobj;
8144 fail:
8145 return NULL;
8146}
8147
8148
c32bde28 8149static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8150 PyObject *resultobj = NULL;
d55e5bfc
RD
8151 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8152 wxString *arg2 = 0 ;
ae8162c8 8153 bool temp2 = false ;
d55e5bfc
RD
8154 PyObject * obj0 = 0 ;
8155 PyObject * obj1 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "file", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8163 {
8164 arg2 = wxString_in_helper(obj1);
8165 if (arg2 == NULL) SWIG_fail;
ae8162c8 8166 temp2 = true;
d55e5bfc
RD
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->AddFileToHistory((wxString const &)*arg2);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 {
8177 if (temp2)
8178 delete arg2;
8179 }
8180 return resultobj;
8181 fail:
8182 {
8183 if (temp2)
8184 delete arg2;
8185 }
8186 return NULL;
8187}
8188
8189
c32bde28 8190static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8191 PyObject *resultobj = NULL;
d55e5bfc
RD
8192 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8193 int arg2 ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self",(char *) "i", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail;
8203 {
7449af73 8204 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8205 if (SWIG_arg_fail(2)) SWIG_fail;
8206 }
d55e5bfc
RD
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 (arg1)->RemoveFileFromHistory(arg2);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 Py_INCREF(Py_None); resultobj = Py_None;
8215 return resultobj;
8216 fail:
8217 return NULL;
8218}
8219
8220
c32bde28 8221static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8222 PyObject *resultobj = NULL;
d55e5bfc
RD
8223 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8224 int result;
8225 PyObject * obj0 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
8231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
8236
8237 wxPyEndAllowThreads(__tstate);
8238 if (PyErr_Occurred()) SWIG_fail;
8239 }
093d3ff1 8240 {
7449af73 8241 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8242 }
d55e5bfc
RD
8243 return resultobj;
8244 fail:
8245 return NULL;
8246}
8247
8248
c32bde28 8249static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8250 PyObject *resultobj = NULL;
d55e5bfc
RD
8251 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8252 wxMenu *arg2 = (wxMenu *) 0 ;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "menu", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8261 if (SWIG_arg_fail(1)) SWIG_fail;
8262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8263 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 (arg1)->UseMenu(arg2);
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 Py_INCREF(Py_None); resultobj = Py_None;
8272 return resultobj;
8273 fail:
8274 return NULL;
8275}
8276
8277
c32bde28 8278static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8279 PyObject *resultobj = NULL;
d55e5bfc
RD
8280 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8281 wxMenu *arg2 = (wxMenu *) 0 ;
8282 PyObject * obj0 = 0 ;
8283 PyObject * obj1 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self",(char *) "menu", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail;
8291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8292 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 (arg1)->RemoveMenu(arg2);
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 Py_INCREF(Py_None); resultobj = Py_None;
8301 return resultobj;
8302 fail:
8303 return NULL;
8304}
8305
8306
c32bde28 8307static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8308 PyObject *resultobj = NULL;
d55e5bfc
RD
8309 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8310 wxConfigBase *arg2 = 0 ;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self",(char *) "config", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8319 if (SWIG_arg_fail(1)) SWIG_fail;
8320 {
8321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8322 if (SWIG_arg_fail(2)) SWIG_fail;
8323 if (arg2 == NULL) {
8324 SWIG_null_ref("wxConfigBase");
8325 }
8326 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 (arg1)->Load(*arg2);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 Py_INCREF(Py_None); resultobj = Py_None;
8336 return resultobj;
8337 fail:
8338 return NULL;
8339}
8340
8341
c32bde28 8342static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8343 PyObject *resultobj = NULL;
d55e5bfc
RD
8344 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8345 wxConfigBase *arg2 = 0 ;
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "config", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8354 if (SWIG_arg_fail(1)) SWIG_fail;
8355 {
8356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8357 if (SWIG_arg_fail(2)) SWIG_fail;
8358 if (arg2 == NULL) {
8359 SWIG_null_ref("wxConfigBase");
8360 }
8361 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 (arg1)->Save(*arg2);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 Py_INCREF(Py_None); resultobj = Py_None;
8371 return resultobj;
8372 fail:
8373 return NULL;
8374}
8375
8376
c32bde28 8377static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8378 PyObject *resultobj = NULL;
d55e5bfc
RD
8379 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8380 PyObject * obj0 = 0 ;
8381 char *kwnames[] = {
8382 (char *) "self", NULL
8383 };
8384
8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
8386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 (arg1)->AddFilesToMenu();
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 Py_INCREF(Py_None); resultobj = Py_None;
8396 return resultobj;
8397 fail:
8398 return NULL;
8399}
8400
8401
c32bde28 8402static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8403 PyObject *resultobj = NULL;
d55e5bfc
RD
8404 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8405 wxMenu *arg2 = (wxMenu *) 0 ;
8406 PyObject * obj0 = 0 ;
8407 PyObject * obj1 = 0 ;
8408 char *kwnames[] = {
8409 (char *) "self",(char *) "menu", NULL
8410 };
8411
8412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8414 if (SWIG_arg_fail(1)) SWIG_fail;
8415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8416 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 (arg1)->AddFilesToMenu(arg2);
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 Py_INCREF(Py_None); resultobj = Py_None;
8425 return resultobj;
8426 fail:
8427 return NULL;
8428}
8429
8430
c32bde28 8431static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8432 PyObject *resultobj = NULL;
d55e5bfc
RD
8433 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8434 int arg2 ;
8435 wxString result;
8436 PyObject * obj0 = 0 ;
8437 PyObject * obj1 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self",(char *) "i", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail;
8445 {
7449af73 8446 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8447 if (SWIG_arg_fail(2)) SWIG_fail;
8448 }
d55e5bfc
RD
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 {
8457#if wxUSE_UNICODE
8458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8459#else
8460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8461#endif
8462 }
8463 return resultobj;
8464 fail:
8465 return NULL;
8466}
8467
8468
c32bde28 8469static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8470 PyObject *resultobj = NULL;
d55e5bfc
RD
8471 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8472 int result;
8473 PyObject * obj0 = 0 ;
8474 char *kwnames[] = {
8475 (char *) "self", NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
8479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (int)((wxFileHistory const *)arg1)->GetCount();
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
093d3ff1 8488 {
7449af73 8489 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8490 }
d55e5bfc
RD
8491 return resultobj;
8492 fail:
8493 return NULL;
8494}
8495
8496
c32bde28 8497static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8498 PyObject *obj;
8499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8500 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
8501 Py_INCREF(obj);
8502 return Py_BuildValue((char *)"");
8503}
c32bde28 8504static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8505 PyObject *resultobj = NULL;
d55e5bfc
RD
8506 wxString *arg1 = 0 ;
8507 wxString const &arg2_defvalue = wxPyEmptyString ;
8508 wxString *arg2 = (wxString *) &arg2_defvalue ;
8509 wxSingleInstanceChecker *result;
ae8162c8
RD
8510 bool temp1 = false ;
8511 bool temp2 = false ;
d55e5bfc
RD
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "name",(char *) "path", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
8519 {
8520 arg1 = wxString_in_helper(obj0);
8521 if (arg1 == NULL) SWIG_fail;
ae8162c8 8522 temp1 = true;
d55e5bfc
RD
8523 }
8524 if (obj1) {
8525 {
8526 arg2 = wxString_in_helper(obj1);
8527 if (arg2 == NULL) SWIG_fail;
ae8162c8 8528 temp2 = true;
d55e5bfc
RD
8529 }
8530 }
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8539 {
8540 if (temp1)
8541 delete arg1;
8542 }
8543 {
8544 if (temp2)
8545 delete arg2;
8546 }
8547 return resultobj;
8548 fail:
8549 {
8550 if (temp1)
8551 delete arg1;
8552 }
8553 {
8554 if (temp2)
8555 delete arg2;
8556 }
8557 return NULL;
8558}
8559
8560
c32bde28 8561static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8562 PyObject *resultobj = NULL;
d55e5bfc
RD
8563 wxSingleInstanceChecker *result;
8564 char *kwnames[] = {
8565 NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8577 return resultobj;
8578 fail:
8579 return NULL;
8580}
8581
8582
c32bde28 8583static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8584 PyObject *resultobj = NULL;
d55e5bfc
RD
8585 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8586 PyObject * obj0 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
8592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 delete arg1;
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 return resultobj;
8603 fail:
8604 return NULL;
8605}
8606
8607
c32bde28 8608static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8609 PyObject *resultobj = NULL;
d55e5bfc
RD
8610 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8611 wxString *arg2 = 0 ;
8612 wxString const &arg3_defvalue = wxPyEmptyString ;
8613 wxString *arg3 = (wxString *) &arg3_defvalue ;
8614 bool result;
ae8162c8
RD
8615 bool temp2 = false ;
8616 bool temp3 = false ;
d55e5bfc
RD
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "self",(char *) "name",(char *) "path", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8627 {
8628 arg2 = wxString_in_helper(obj1);
8629 if (arg2 == NULL) SWIG_fail;
ae8162c8 8630 temp2 = true;
d55e5bfc
RD
8631 }
8632 if (obj2) {
8633 {
8634 arg3 = wxString_in_helper(obj2);
8635 if (arg3 == NULL) SWIG_fail;
ae8162c8 8636 temp3 = true;
d55e5bfc
RD
8637 }
8638 }
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
8642
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 {
8647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8648 }
8649 {
8650 if (temp2)
8651 delete arg2;
8652 }
8653 {
8654 if (temp3)
8655 delete arg3;
8656 }
8657 return resultobj;
8658 fail:
8659 {
8660 if (temp2)
8661 delete arg2;
8662 }
8663 {
8664 if (temp3)
8665 delete arg3;
8666 }
8667 return NULL;
8668}
8669
8670
c32bde28 8671static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8672 PyObject *resultobj = NULL;
d55e5bfc
RD
8673 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8674 bool result;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 {
8691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8692 }
8693 return resultobj;
8694 fail:
8695 return NULL;
8696}
8697
8698
c32bde28 8699static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8700 PyObject *obj;
8701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
8703 Py_INCREF(obj);
8704 return Py_BuildValue((char *)"");
8705}
68350608 8706static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8707 PyObject *resultobj = NULL;
68350608
RD
8708 wxWindow *arg1 = (wxWindow *) 0 ;
8709 wxDC *arg2 = 0 ;
8710 bool result;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "window",(char *) "dc", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
8718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(1)) SWIG_fail;
8720 {
8721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8722 if (SWIG_arg_fail(2)) SWIG_fail;
8723 if (arg2 == NULL) {
8724 SWIG_null_ref("wxDC");
8725 }
8726 if (SWIG_arg_fail(2)) SWIG_fail;
8727 }
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 {
8736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8737 }
8738 return resultobj;
8739 fail:
8740 return NULL;
8741}
8742
8743
c32bde28 8744static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8745 PyObject *resultobj = NULL;
d55e5bfc
RD
8746 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8747 PyObject * obj0 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "self", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 delete arg1;
8758
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 Py_INCREF(Py_None); resultobj = Py_None;
8763 return resultobj;
8764 fail:
8765 return NULL;
8766}
8767
8768
c32bde28 8769static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8770 PyObject *resultobj = NULL;
d55e5bfc
RD
8771 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8772 wxString result;
8773 PyObject * obj0 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8780 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (arg1)->GetTip();
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 {
8789#if wxUSE_UNICODE
8790 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8791#else
8792 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8793#endif
8794 }
8795 return resultobj;
8796 fail:
8797 return NULL;
8798}
8799
8800
c32bde28 8801static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8802 PyObject *resultobj = NULL;
d55e5bfc
RD
8803 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8804 size_t result;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (size_t)(arg1)->GetCurrentTip();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
093d3ff1 8820 {
7449af73 8821 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 8822 }
d55e5bfc
RD
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
c32bde28 8829static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8830 PyObject *resultobj = NULL;
d55e5bfc
RD
8831 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8832 wxString *arg2 = 0 ;
8833 wxString result;
ae8162c8 8834 bool temp2 = false ;
d55e5bfc
RD
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "tip", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8844 {
8845 arg2 = wxString_in_helper(obj1);
8846 if (arg2 == NULL) SWIG_fail;
ae8162c8 8847 temp2 = true;
d55e5bfc
RD
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (arg1)->PreprocessTip((wxString const &)*arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 {
8857#if wxUSE_UNICODE
8858 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8859#else
8860 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8861#endif
8862 }
8863 {
8864 if (temp2)
8865 delete arg2;
8866 }
8867 return resultobj;
8868 fail:
8869 {
8870 if (temp2)
8871 delete arg2;
8872 }
8873 return NULL;
8874}
8875
8876
c32bde28 8877static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8878 PyObject *obj;
8879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8880 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8881 Py_INCREF(obj);
8882 return Py_BuildValue((char *)"");
8883}
c32bde28 8884static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8885 PyObject *resultobj = NULL;
d55e5bfc
RD
8886 size_t arg1 ;
8887 wxPyTipProvider *result;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "currentTip", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1 8894 {
7449af73 8895 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
8896 if (SWIG_arg_fail(1)) SWIG_fail;
8897 }
d55e5bfc
RD
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8906 return resultobj;
8907 fail:
8908 return NULL;
8909}
8910
8911
c32bde28 8912static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8913 PyObject *resultobj = NULL;
d55e5bfc
RD
8914 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8915 PyObject *arg2 = (PyObject *) 0 ;
8916 PyObject *arg3 = (PyObject *) 0 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 PyObject * obj2 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self",(char *) "self",(char *) "_class", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8927 arg2 = obj1;
8928 arg3 = obj2;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->_setCallbackInfo(arg2,arg3);
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 Py_INCREF(Py_None); resultobj = Py_None;
8937 return resultobj;
8938 fail:
8939 return NULL;
8940}
8941
8942
c32bde28 8943static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8944 PyObject *obj;
8945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8946 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8947 Py_INCREF(obj);
8948 return Py_BuildValue((char *)"");
8949}
c32bde28 8950static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8951 PyObject *resultobj = NULL;
d55e5bfc
RD
8952 wxWindow *arg1 = (wxWindow *) 0 ;
8953 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8954 bool arg3 = (bool) true ;
d55e5bfc
RD
8955 bool result;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 PyObject * obj2 = 0 ;
8959 char *kwnames[] = {
8960 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8961 };
8962
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail;
8966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8967 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8968 if (obj2) {
093d3ff1 8969 {
7449af73 8970 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8971 if (SWIG_arg_fail(3)) SWIG_fail;
8972 }
d55e5bfc
RD
8973 }
8974 {
0439c23b 8975 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (bool)wxShowTip(arg1,arg2,arg3);
8978
8979 wxPyEndAllowThreads(__tstate);
110da5b0 8980 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8981 }
8982 {
8983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8984 }
8985 return resultobj;
8986 fail:
8987 return NULL;
8988}
8989
8990
c32bde28 8991static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8992 PyObject *resultobj = NULL;
d55e5bfc
RD
8993 wxString *arg1 = 0 ;
8994 size_t arg2 ;
8995 wxTipProvider *result;
ae8162c8 8996 bool temp1 = false ;
d55e5bfc
RD
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "filename",(char *) "currentTip", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
9004 {
9005 arg1 = wxString_in_helper(obj0);
9006 if (arg1 == NULL) SWIG_fail;
ae8162c8 9007 temp1 = true;
d55e5bfc 9008 }
093d3ff1 9009 {
7449af73 9010 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
9011 if (SWIG_arg_fail(2)) SWIG_fail;
9012 }
d55e5bfc 9013 {
0439c23b 9014 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9015 PyThreadState* __tstate = wxPyBeginAllowThreads();
9016 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
9017
9018 wxPyEndAllowThreads(__tstate);
110da5b0 9019 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9020 }
9021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
9022 {
9023 if (temp1)
9024 delete arg1;
9025 }
9026 return resultobj;
9027 fail:
9028 {
9029 if (temp1)
9030 delete arg1;
9031 }
9032 return NULL;
9033}
9034
9035
c32bde28 9036static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9037 PyObject *resultobj = NULL;
d55e5bfc
RD
9038 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9039 int arg2 = (int) -1 ;
9040 wxPyTimer *result;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "owner",(char *) "id", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
9048 if (obj0) {
093d3ff1
RD
9049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9051 }
9052 if (obj1) {
093d3ff1 9053 {
7449af73 9054 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9055 if (SWIG_arg_fail(2)) SWIG_fail;
9056 }
d55e5bfc
RD
9057 }
9058 {
0439c23b 9059 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
9062
9063 wxPyEndAllowThreads(__tstate);
110da5b0 9064 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9065 }
9066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
c32bde28 9073static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9074 PyObject *resultobj = NULL;
d55e5bfc
RD
9075 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9076 PyObject * obj0 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
9082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9084 {
9085 PyThreadState* __tstate = wxPyBeginAllowThreads();
9086 delete arg1;
9087
9088 wxPyEndAllowThreads(__tstate);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 }
9091 Py_INCREF(Py_None); resultobj = Py_None;
9092 return resultobj;
9093 fail:
9094 return NULL;
9095}
9096
9097
c32bde28 9098static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9099 PyObject *resultobj = NULL;
d55e5bfc
RD
9100 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9101 PyObject *arg2 = (PyObject *) 0 ;
9102 PyObject *arg3 = (PyObject *) 0 ;
9103 int arg4 = (int) 1 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 PyObject * obj2 = 0 ;
9107 PyObject * obj3 = 0 ;
9108 char *kwnames[] = {
9109 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9110 };
9111
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9115 arg2 = obj1;
9116 arg3 = obj2;
9117 if (obj3) {
093d3ff1 9118 {
7449af73 9119 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9120 if (SWIG_arg_fail(4)) SWIG_fail;
9121 }
d55e5bfc
RD
9122 }
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 Py_INCREF(Py_None); resultobj = Py_None;
9131 return resultobj;
9132 fail:
9133 return NULL;
9134}
9135
9136
c32bde28 9137static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9138 PyObject *resultobj = NULL;
d55e5bfc
RD
9139 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9140 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
9141 int arg3 = (int) -1 ;
9142 PyObject * obj0 = 0 ;
9143 PyObject * obj1 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 char *kwnames[] = {
9146 (char *) "self",(char *) "owner",(char *) "id", NULL
9147 };
9148
9149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail;
9152 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9153 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9154 if (obj2) {
093d3ff1 9155 {
7449af73 9156 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9157 if (SWIG_arg_fail(3)) SWIG_fail;
9158 }
d55e5bfc
RD
9159 }
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 (arg1)->SetOwner(arg2,arg3);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 Py_INCREF(Py_None); resultobj = Py_None;
9168 return resultobj;
9169 fail:
9170 return NULL;
9171}
9172
9173
c32bde28 9174static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9175 PyObject *resultobj = NULL;
1a6bba1e
RD
9176 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9177 wxEvtHandler *result;
9178 PyObject * obj0 = 0 ;
9179 char *kwnames[] = {
9180 (char *) "self", NULL
9181 };
9182
9183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
9184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9185 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (wxEvtHandler *)(arg1)->GetOwner();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 {
412d302d 9194 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
9195 }
9196 return resultobj;
9197 fail:
9198 return NULL;
9199}
9200
9201
c32bde28 9202static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9203 PyObject *resultobj = NULL;
d55e5bfc
RD
9204 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9205 int arg2 = (int) -1 ;
ae8162c8 9206 bool arg3 = (bool) false ;
d55e5bfc
RD
9207 bool result;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 PyObject * obj2 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9218 if (obj1) {
093d3ff1 9219 {
7449af73 9220 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9221 if (SWIG_arg_fail(2)) SWIG_fail;
9222 }
d55e5bfc
RD
9223 }
9224 if (obj2) {
093d3ff1 9225 {
7449af73 9226 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9227 if (SWIG_arg_fail(3)) SWIG_fail;
9228 }
d55e5bfc
RD
9229 }
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (bool)(arg1)->Start(arg2,arg3);
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
9237 {
9238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9239 }
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
c32bde28 9246static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9247 PyObject *resultobj = NULL;
d55e5bfc
RD
9248 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
9255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 (arg1)->Stop();
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
b06b3e70
RD
9271static PyObject *_wrap_Timer_Notify(PyObject *, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj = NULL;
9273 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
9280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 (arg1)->Notify();
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 Py_INCREF(Py_None); resultobj = Py_None;
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
c32bde28 9296static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9297 PyObject *resultobj = NULL;
d55e5bfc
RD
9298 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9299 bool result;
9300 PyObject * obj0 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self", NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
9306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 {
9316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9317 }
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
c32bde28 9324static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9325 PyObject *resultobj = NULL;
d55e5bfc
RD
9326 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9327 int result;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
9334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (int)((wxPyTimer const *)arg1)->GetInterval();
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
093d3ff1 9343 {
7449af73 9344 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9345 }
d55e5bfc
RD
9346 return resultobj;
9347 fail:
9348 return NULL;
9349}
9350
9351
c32bde28 9352static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9353 PyObject *resultobj = NULL;
d55e5bfc
RD
9354 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9355 bool result;
9356 PyObject * obj0 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
9362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 {
9372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9373 }
9374 return resultobj;
9375 fail:
9376 return NULL;
9377}
9378
9379
c32bde28 9380static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9381 PyObject *resultobj = NULL;
d55e5bfc
RD
9382 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9383 int result;
9384 PyObject * obj0 = 0 ;
9385 char *kwnames[] = {
9386 (char *) "self", NULL
9387 };
9388
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
9390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (int)((wxPyTimer const *)arg1)->GetId();
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
093d3ff1 9399 {
7449af73 9400 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9401 }
d55e5bfc
RD
9402 return resultobj;
9403 fail:
9404 return NULL;
9405}
9406
9407
c32bde28 9408static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9409 PyObject *obj;
9410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9411 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
9412 Py_INCREF(obj);
9413 return Py_BuildValue((char *)"");
9414}
c32bde28 9415static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9416 PyObject *resultobj = NULL;
d55e5bfc
RD
9417 int arg1 = (int) 0 ;
9418 int arg2 = (int) 0 ;
9419 wxTimerEvent *result;
9420 PyObject * obj0 = 0 ;
9421 PyObject * obj1 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "timerid",(char *) "interval", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
9427 if (obj0) {
093d3ff1 9428 {
7449af73 9429 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9430 if (SWIG_arg_fail(1)) SWIG_fail;
9431 }
d55e5bfc
RD
9432 }
9433 if (obj1) {
093d3ff1 9434 {
7449af73 9435 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9436 if (SWIG_arg_fail(2)) SWIG_fail;
9437 }
d55e5bfc
RD
9438 }
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
9442
9443 wxPyEndAllowThreads(__tstate);
9444 if (PyErr_Occurred()) SWIG_fail;
9445 }
9446 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
9447 return resultobj;
9448 fail:
9449 return NULL;
9450}
9451
9452
c32bde28 9453static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9454 PyObject *resultobj = NULL;
d55e5bfc
RD
9455 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
9456 int result;
9457 PyObject * obj0 = 0 ;
9458 char *kwnames[] = {
9459 (char *) "self", NULL
9460 };
9461
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
9463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
9464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
093d3ff1 9472 {
7449af73 9473 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9474 }
d55e5bfc
RD
9475 return resultobj;
9476 fail:
9477 return NULL;
9478}
9479
9480
c32bde28 9481static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9482 PyObject *obj;
9483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9484 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
9485 Py_INCREF(obj);
9486 return Py_BuildValue((char *)"");
9487}
c32bde28 9488static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
7449af73 9489 PyObject *resultobj = NULL;
d55e5bfc
RD
9490 wxTimer *arg1 = 0 ;
9491 wxTimerRunner *result;
9492 PyObject * obj0 = 0 ;
9493
9494 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
9495 {
9496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9497 if (SWIG_arg_fail(1)) SWIG_fail;
9498 if (arg1 == NULL) {
9499 SWIG_null_ref("wxTimer");
9500 }
9501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9502 }
9503 {
0439c23b 9504 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
9507
9508 wxPyEndAllowThreads(__tstate);
110da5b0 9509 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9510 }
9511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9512 return resultobj;
9513 fail:
9514 return NULL;
9515}
9516
9517
c32bde28 9518static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
7449af73 9519 PyObject *resultobj = NULL;
d55e5bfc
RD
9520 wxTimer *arg1 = 0 ;
9521 int arg2 ;
ae8162c8 9522 bool arg3 = (bool) false ;
d55e5bfc
RD
9523 wxTimerRunner *result;
9524 PyObject * obj0 = 0 ;
9525 PyObject * obj1 = 0 ;
9526 PyObject * obj2 = 0 ;
9527
9528 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9529 {
9530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9531 if (SWIG_arg_fail(1)) SWIG_fail;
9532 if (arg1 == NULL) {
9533 SWIG_null_ref("wxTimer");
9534 }
9535 if (SWIG_arg_fail(1)) SWIG_fail;
9536 }
9537 {
7449af73 9538 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9539 if (SWIG_arg_fail(2)) SWIG_fail;
9540 }
d55e5bfc 9541 if (obj2) {
093d3ff1 9542 {
7449af73 9543 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9544 if (SWIG_arg_fail(3)) SWIG_fail;
9545 }
d55e5bfc
RD
9546 }
9547 {
0439c23b 9548 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
9551
9552 wxPyEndAllowThreads(__tstate);
110da5b0 9553 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9554 }
9555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9556 return resultobj;
9557 fail:
9558 return NULL;
9559}
9560
9561
9562static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
9563 int argc;
9564 PyObject *argv[4];
9565 int ii;
9566
9567 argc = PyObject_Length(args);
9568 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9569 argv[ii] = PyTuple_GetItem(args,ii);
9570 }
9571 if (argc == 1) {
9572 int _v;
9573 {
093d3ff1 9574 void *ptr = 0;
d55e5bfc
RD
9575 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9576 _v = 0;
9577 PyErr_Clear();
9578 } else {
093d3ff1 9579 _v = (ptr != 0);
d55e5bfc
RD
9580 }
9581 }
9582 if (_v) {
9583 return _wrap_new_TimerRunner__SWIG_0(self,args);
9584 }
9585 }
9586 if ((argc >= 2) && (argc <= 3)) {
9587 int _v;
9588 {
093d3ff1 9589 void *ptr = 0;
d55e5bfc
RD
9590 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9591 _v = 0;
9592 PyErr_Clear();
9593 } else {
093d3ff1 9594 _v = (ptr != 0);
d55e5bfc
RD
9595 }
9596 }
9597 if (_v) {
c32bde28 9598 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
9599 if (_v) {
9600 if (argc <= 2) {
9601 return _wrap_new_TimerRunner__SWIG_1(self,args);
9602 }
c32bde28 9603 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
9604 if (_v) {
9605 return _wrap_new_TimerRunner__SWIG_1(self,args);
9606 }
9607 }
9608 }
9609 }
9610
093d3ff1 9611 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
9612 return NULL;
9613}
9614
9615
c32bde28 9616static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9617 PyObject *resultobj = NULL;
d55e5bfc
RD
9618 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9619 PyObject * obj0 = 0 ;
9620 char *kwnames[] = {
9621 (char *) "self", NULL
9622 };
9623
9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
9625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 delete arg1;
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 Py_INCREF(Py_None); resultobj = Py_None;
9635 return resultobj;
9636 fail:
9637 return NULL;
9638}
9639
9640
c32bde28 9641static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9642 PyObject *resultobj = NULL;
d55e5bfc
RD
9643 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9644 int arg2 ;
ae8162c8 9645 bool arg3 = (bool) false ;
d55e5bfc
RD
9646 PyObject * obj0 = 0 ;
9647 PyObject * obj1 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail;
9656 {
7449af73 9657 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9658 if (SWIG_arg_fail(2)) SWIG_fail;
9659 }
d55e5bfc 9660 if (obj2) {
093d3ff1 9661 {
7449af73 9662 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9663 if (SWIG_arg_fail(3)) SWIG_fail;
9664 }
d55e5bfc
RD
9665 }
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 (arg1)->Start(arg2,arg3);
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 Py_INCREF(Py_None); resultobj = Py_None;
9674 return resultobj;
9675 fail:
9676 return NULL;
9677}
9678
9679
c32bde28 9680static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9681 PyObject *obj;
9682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9683 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
9684 Py_INCREF(obj);
9685 return Py_BuildValue((char *)"");
9686}
c32bde28 9687static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9688 PyObject *resultobj = NULL;
d55e5bfc
RD
9689 wxLog *result;
9690 char *kwnames[] = {
9691 NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
9695 {
9696 PyThreadState* __tstate = wxPyBeginAllowThreads();
9697 result = (wxLog *)new wxLog();
9698
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
9703 return resultobj;
9704 fail:
9705 return NULL;
9706}
9707
9708
7e08d4ef
RD
9709static PyObject *_wrap_delete_Log(PyObject *, PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj = NULL;
9711 wxLog *arg1 = (wxLog *) 0 ;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Log",kwnames,&obj0)) goto fail;
9718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 delete arg1;
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 Py_INCREF(Py_None); resultobj = Py_None;
9728 return resultobj;
9729 fail:
9730 return NULL;
9731}
9732
9733
c32bde28 9734static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9735 PyObject *resultobj = NULL;
d55e5bfc
RD
9736 bool result;
9737 char *kwnames[] = {
9738 NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)wxLog::IsEnabled();
9745
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 {
9750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9751 }
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
c32bde28 9758static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9759 PyObject *resultobj = NULL;
ae8162c8 9760 bool arg1 = (bool) true ;
d55e5bfc
RD
9761 bool result;
9762 PyObject * obj0 = 0 ;
9763 char *kwnames[] = {
9764 (char *) "doIt", NULL
9765 };
9766
9767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
9768 if (obj0) {
093d3ff1 9769 {
7449af73 9770 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
9771 if (SWIG_arg_fail(1)) SWIG_fail;
9772 }
d55e5bfc
RD
9773 }
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (bool)wxLog::EnableLogging(arg1);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 {
9782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9783 }
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
c32bde28 9790static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9791 PyObject *resultobj = NULL;
d55e5bfc
RD
9792 wxLogLevel arg1 ;
9793 wxChar *arg2 = (wxChar *) 0 ;
9794 time_t arg3 ;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 PyObject * obj2 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "level",(char *) "szString",(char *) "t", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 9803 {
7449af73 9804 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
9805 if (SWIG_arg_fail(1)) SWIG_fail;
9806 }
9807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9808 if (SWIG_arg_fail(2)) SWIG_fail;
9809 {
7449af73 9810 arg3 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2));
093d3ff1
RD
9811 if (SWIG_arg_fail(3)) SWIG_fail;
9812 }
d55e5bfc
RD
9813 {
9814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9815 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
9816
9817 wxPyEndAllowThreads(__tstate);
9818 if (PyErr_Occurred()) SWIG_fail;
9819 }
9820 Py_INCREF(Py_None); resultobj = Py_None;
9821 return resultobj;
9822 fail:
9823 return NULL;
9824}
9825
9826
c32bde28 9827static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9828 PyObject *resultobj = NULL;
d55e5bfc
RD
9829 wxLog *arg1 = (wxLog *) 0 ;
9830 PyObject * obj0 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
9836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 (arg1)->Flush();
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 Py_INCREF(Py_None); resultobj = Py_None;
9846 return resultobj;
9847 fail:
9848 return NULL;
9849}
9850
9851
c32bde28 9852static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9853 PyObject *resultobj = NULL;
d55e5bfc
RD
9854 char *kwnames[] = {
9855 NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 wxLog::FlushActive();
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 Py_INCREF(Py_None); resultobj = Py_None;
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
c32bde28 9873static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9874 PyObject *resultobj = NULL;
d55e5bfc
RD
9875 wxLog *result;
9876 char *kwnames[] = {
9877 NULL
9878 };
9879
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (wxLog *)wxLog::GetActiveTarget();
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9889 return resultobj;
9890 fail:
9891 return NULL;
9892}
9893
9894
c32bde28 9895static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9896 PyObject *resultobj = NULL;
d55e5bfc
RD
9897 wxLog *arg1 = (wxLog *) 0 ;
9898 wxLog *result;
9899 PyObject * obj0 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "pLogger", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7e08d4ef 9905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 9906 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (wxLog *)wxLog::SetActiveTarget(arg1);
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
7e08d4ef 9914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d55e5bfc
RD
9915 return resultobj;
9916 fail:
9917 return NULL;
9918}
9919
9920
c32bde28 9921static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9922 PyObject *resultobj = NULL;
d55e5bfc
RD
9923 char *kwnames[] = {
9924 NULL
9925 };
9926
9927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 wxLog::Suspend();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 Py_INCREF(Py_None); resultobj = Py_None;
9936 return resultobj;
9937 fail:
9938 return NULL;
9939}
9940
9941
c32bde28 9942static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9943 PyObject *resultobj = NULL;
d55e5bfc
RD
9944 char *kwnames[] = {
9945 NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 wxLog::Resume();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 Py_INCREF(Py_None); resultobj = Py_None;
9957 return resultobj;
9958 fail:
9959 return NULL;
9960}
9961
9962
c32bde28 9963static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9964 PyObject *resultobj = NULL;
ae8162c8 9965 bool arg1 = (bool) true ;
d55e5bfc
RD
9966 PyObject * obj0 = 0 ;
9967 char *kwnames[] = {
9968 (char *) "bVerbose", NULL
9969 };
9970
9971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9972 if (obj0) {
093d3ff1 9973 {
7449af73 9974 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
9975 if (SWIG_arg_fail(1)) SWIG_fail;
9976 }
d55e5bfc
RD
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 wxLog::SetVerbose(arg1);
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 Py_INCREF(Py_None); resultobj = Py_None;
9986 return resultobj;
9987 fail:
9988 return NULL;
9989}
9990
9991
c32bde28 9992static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9993 PyObject *resultobj = NULL;
d55e5bfc
RD
9994 wxLogLevel arg1 ;
9995 PyObject * obj0 = 0 ;
9996 char *kwnames[] = {
9997 (char *) "logLevel", NULL
9998 };
9999
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1 10001 {
7449af73 10002 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10003 if (SWIG_arg_fail(1)) SWIG_fail;
10004 }
d55e5bfc
RD
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 wxLog::SetLogLevel(arg1);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 Py_INCREF(Py_None); resultobj = Py_None;
10013 return resultobj;
10014 fail:
10015 return NULL;
10016}
10017
10018
c32bde28 10019static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10020 PyObject *resultobj = NULL;
d55e5bfc
RD
10021 char *kwnames[] = {
10022 NULL
10023 };
10024
10025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 wxLog::DontCreateOnDemand();
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 Py_INCREF(Py_None); resultobj = Py_None;
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
c32bde28 10040static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10041 PyObject *resultobj = NULL;
d55e5bfc
RD
10042 wxTraceMask arg1 ;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "ulMask", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1 10049 {
7449af73 10050 arg1 = static_cast<wxTraceMask >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10051 if (SWIG_arg_fail(1)) SWIG_fail;
10052 }
d55e5bfc
RD
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 wxLog::SetTraceMask(arg1);
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 Py_INCREF(Py_None); resultobj = Py_None;
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
c32bde28 10067static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10068 PyObject *resultobj = NULL;
d55e5bfc 10069 wxString *arg1 = 0 ;
ae8162c8 10070 bool temp1 = false ;
d55e5bfc
RD
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "str", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
10077 {
10078 arg1 = wxString_in_helper(obj0);
10079 if (arg1 == NULL) SWIG_fail;
ae8162c8 10080 temp1 = true;
d55e5bfc
RD
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 wxLog::AddTraceMask((wxString const &)*arg1);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 Py_INCREF(Py_None); resultobj = Py_None;
10090 {
10091 if (temp1)
10092 delete arg1;
10093 }
10094 return resultobj;
10095 fail:
10096 {
10097 if (temp1)
10098 delete arg1;
10099 }
10100 return NULL;
10101}
10102
10103
c32bde28 10104static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10105 PyObject *resultobj = NULL;
d55e5bfc 10106 wxString *arg1 = 0 ;
ae8162c8 10107 bool temp1 = false ;
d55e5bfc
RD
10108 PyObject * obj0 = 0 ;
10109 char *kwnames[] = {
10110 (char *) "str", NULL
10111 };
10112
10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
10114 {
10115 arg1 = wxString_in_helper(obj0);
10116 if (arg1 == NULL) SWIG_fail;
ae8162c8 10117 temp1 = true;
d55e5bfc
RD
10118 }
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 wxLog::RemoveTraceMask((wxString const &)*arg1);
10122
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 Py_INCREF(Py_None); resultobj = Py_None;
10127 {
10128 if (temp1)
10129 delete arg1;
10130 }
10131 return resultobj;
10132 fail:
10133 {
10134 if (temp1)
10135 delete arg1;
10136 }
10137 return NULL;
10138}
10139
10140
c32bde28 10141static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10142 PyObject *resultobj = NULL;
d55e5bfc
RD
10143 char *kwnames[] = {
10144 NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 wxLog::ClearTraceMasks();
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 Py_INCREF(Py_None); resultobj = Py_None;
10156 return resultobj;
10157 fail:
10158 return NULL;
10159}
10160
10161
c32bde28 10162static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10163 PyObject *resultobj = NULL;
d55e5bfc
RD
10164 wxArrayString *result;
10165 char *kwnames[] = {
10166 NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 {
10173 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
10174 result = (wxArrayString *) &_result_ref;
10175 }
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 {
10181 resultobj = wxArrayString2PyList_helper(*result);
10182 }
10183 return resultobj;
10184 fail:
10185 return NULL;
10186}
10187
10188
c32bde28 10189static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10190 PyObject *resultobj = NULL;
d55e5bfc
RD
10191 wxChar *arg1 = (wxChar *) 0 ;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "ts", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
10198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 wxLog::SetTimestamp((wxChar const *)arg1);
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 Py_INCREF(Py_None); resultobj = Py_None;
10208 return resultobj;
10209 fail:
10210 return NULL;
10211}
10212
10213
c32bde28 10214static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10215 PyObject *resultobj = NULL;
d55e5bfc
RD
10216 bool result;
10217 char *kwnames[] = {
10218 NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (bool)wxLog::GetVerbose();
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 {
10230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10231 }
10232 return resultobj;
10233 fail:
10234 return NULL;
10235}
10236
10237
c32bde28 10238static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10239 PyObject *resultobj = NULL;
d55e5bfc
RD
10240 wxTraceMask result;
10241 char *kwnames[] = {
10242 NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 result = (wxTraceMask)wxLog::GetTraceMask();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
093d3ff1 10253 {
7449af73 10254 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10255 }
d55e5bfc
RD
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
c32bde28 10262static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10263 PyObject *resultobj = NULL;
d55e5bfc
RD
10264 wxChar *arg1 = (wxChar *) 0 ;
10265 bool result;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "mask", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
10272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 {
10282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10283 }
10284 return resultobj;
10285 fail:
10286 return NULL;
10287}
10288
10289
c32bde28 10290static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10291 PyObject *resultobj = NULL;
d55e5bfc
RD
10292 wxLogLevel result;
10293 char *kwnames[] = {
10294 NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (wxLogLevel)wxLog::GetLogLevel();
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
093d3ff1 10305 {
7449af73 10306 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10307 }
d55e5bfc
RD
10308 return resultobj;
10309 fail:
10310 return NULL;
10311}
10312
10313
c32bde28 10314static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10315 PyObject *resultobj = NULL;
d55e5bfc
RD
10316 wxChar *result;
10317 char *kwnames[] = {
10318 NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (wxChar *)wxLog::GetTimestamp();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333}
10334
10335
c32bde28 10336static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10337 PyObject *resultobj = NULL;
d55e5bfc
RD
10338 wxString result;
10339 char *kwnames[] = {
10340 NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
10344 {
10345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10346 result = wxLog_TimeStamp();
d55e5bfc
RD
10347
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 {
10352#if wxUSE_UNICODE
10353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10354#else
10355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10356#endif
10357 }
10358 return resultobj;
10359 fail:
10360 return NULL;
10361}
10362
10363
c32bde28 10364static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10365 PyObject *resultobj = NULL;
d55e5bfc
RD
10366 wxLog *arg1 = (wxLog *) 0 ;
10367 PyObject * obj0 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
10373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 wxLog_Destroy(arg1);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 return resultobj;
10384 fail:
10385 return NULL;
10386}
10387
10388
c32bde28 10389static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10390 PyObject *obj;
10391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10392 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
10393 Py_INCREF(obj);
10394 return Py_BuildValue((char *)"");
10395}
c32bde28 10396static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10397 PyObject *resultobj = NULL;
d55e5bfc
RD
10398 wxLogStderr *result;
10399 char *kwnames[] = {
10400 NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (wxLogStderr *)new wxLogStderr();
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
c32bde28 10418static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10419 PyObject *obj;
10420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10421 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
10422 Py_INCREF(obj);
10423 return Py_BuildValue((char *)"");
10424}
c32bde28 10425static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10426 PyObject *resultobj = NULL;
d55e5bfc
RD
10427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10428 wxLogTextCtrl *result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "pTextCtrl", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
10435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10436 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448}
10449
10450
c32bde28 10451static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10452 PyObject *obj;
10453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10454 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
10455 Py_INCREF(obj);
10456 return Py_BuildValue((char *)"");
10457}
c32bde28 10458static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10459 PyObject *resultobj = NULL;
d55e5bfc
RD
10460 wxLogGui *result;
10461 char *kwnames[] = {
10462 NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
10466 {
10467 PyThreadState* __tstate = wxPyBeginAllowThreads();
10468 result = (wxLogGui *)new wxLogGui();
10469
10470 wxPyEndAllowThreads(__tstate);
10471 if (PyErr_Occurred()) SWIG_fail;
10472 }
10473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
10474 return resultobj;
10475 fail:
10476 return NULL;
10477}
10478
10479
c32bde28 10480static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10481 PyObject *obj;
10482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10483 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
10484 Py_INCREF(obj);
10485 return Py_BuildValue((char *)"");
10486}
c32bde28 10487static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10488 PyObject *resultobj = NULL;
d55e5bfc
RD
10489 wxFrame *arg1 = (wxFrame *) 0 ;
10490 wxString *arg2 = 0 ;
ae8162c8
RD
10491 bool arg3 = (bool) true ;
10492 bool arg4 = (bool) true ;
d55e5bfc 10493 wxLogWindow *result;
ae8162c8 10494 bool temp2 = false ;
d55e5bfc
RD
10495 PyObject * obj0 = 0 ;
10496 PyObject * obj1 = 0 ;
10497 PyObject * obj2 = 0 ;
10498 PyObject * obj3 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) 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;
d55e5bfc
RD
10506 {
10507 arg2 = wxString_in_helper(obj1);
10508 if (arg2 == NULL) SWIG_fail;
ae8162c8 10509 temp2 = true;
d55e5bfc
RD
10510 }
10511 if (obj2) {
093d3ff1 10512 {
7449af73 10513 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
10514 if (SWIG_arg_fail(3)) SWIG_fail;
10515 }
d55e5bfc
RD
10516 }
10517 if (obj3) {
093d3ff1 10518 {
7449af73 10519 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
10520 if (SWIG_arg_fail(4)) SWIG_fail;
10521 }
d55e5bfc
RD
10522 }
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
10531 {
10532 if (temp2)
10533 delete arg2;
10534 }
10535 return resultobj;
10536 fail:
10537 {
10538 if (temp2)
10539 delete arg2;
10540 }
10541 return NULL;
10542}
10543
10544
c32bde28 10545static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10546 PyObject *resultobj = NULL;
d55e5bfc 10547 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 10548 bool arg2 = (bool) true ;
d55e5bfc
RD
10549 PyObject * obj0 = 0 ;
10550 PyObject * obj1 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "bShow", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10558 if (obj1) {
093d3ff1 10559 {
7449af73 10560 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10561 if (SWIG_arg_fail(2)) SWIG_fail;
10562 }
d55e5bfc
RD
10563 }
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 (arg1)->Show(arg2);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 Py_INCREF(Py_None); resultobj = Py_None;
10572 return resultobj;
10573 fail:
10574 return NULL;
10575}
10576
10577
c32bde28 10578static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10579 PyObject *resultobj = NULL;
d55e5bfc
RD
10580 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10581 wxFrame *result;
10582 PyObject * obj0 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
10588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 {
7e08d4ef 10598 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
10599 }
10600 return resultobj;
10601 fail:
10602 return NULL;
10603}
10604
10605
c32bde28 10606static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10607 PyObject *resultobj = NULL;
d55e5bfc
RD
10608 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10609 wxLog *result;
10610 PyObject * obj0 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10626 return resultobj;
10627 fail:
10628 return NULL;
10629}
10630
10631
c32bde28 10632static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10633 PyObject *resultobj = NULL;
d55e5bfc
RD
10634 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10635 bool result;
10636 PyObject * obj0 = 0 ;
10637 char *kwnames[] = {
10638 (char *) "self", NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
10642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 {
10652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10653 }
10654 return resultobj;
10655 fail:
10656 return NULL;
10657}
10658
10659
c32bde28 10660static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10661 PyObject *resultobj = NULL;
d55e5bfc
RD
10662 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10663 bool arg2 ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "bDoPass", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
10673 {
7449af73 10674 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10675 if (SWIG_arg_fail(2)) SWIG_fail;
10676 }
d55e5bfc
RD
10677 {
10678 PyThreadState* __tstate = wxPyBeginAllowThreads();
10679 (arg1)->PassMessages(arg2);
10680
10681 wxPyEndAllowThreads(__tstate);
10682 if (PyErr_Occurred()) SWIG_fail;
10683 }
10684 Py_INCREF(Py_None); resultobj = Py_None;
10685 return resultobj;
10686 fail:
10687 return NULL;
10688}
10689
10690
c32bde28 10691static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10692 PyObject *obj;
10693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10694 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
10695 Py_INCREF(obj);
10696 return Py_BuildValue((char *)"");
10697}
c32bde28 10698static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10699 PyObject *resultobj = NULL;
d55e5bfc
RD
10700 wxLog *arg1 = (wxLog *) 0 ;
10701 wxLogChain *result;
10702 PyObject * obj0 = 0 ;
10703 char *kwnames[] = {
10704 (char *) "logger", NULL
10705 };
10706
10707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
10708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (wxLogChain *)new wxLogChain(arg1);
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
c32bde28 10724static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10725 PyObject *resultobj = NULL;
d55e5bfc
RD
10726 wxLogChain *arg1 = (wxLogChain *) 0 ;
10727 wxLog *arg2 = (wxLog *) 0 ;
10728 PyObject * obj0 = 0 ;
10729 PyObject * obj1 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self",(char *) "logger", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10736 if (SWIG_arg_fail(1)) SWIG_fail;
10737 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10739 {
10740 PyThreadState* __tstate = wxPyBeginAllowThreads();
10741 (arg1)->SetLog(arg2);
10742
10743 wxPyEndAllowThreads(__tstate);
10744 if (PyErr_Occurred()) SWIG_fail;
10745 }
10746 Py_INCREF(Py_None); resultobj = Py_None;
10747 return resultobj;
10748 fail:
10749 return NULL;
10750}
10751
10752
c32bde28 10753static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10754 PyObject *resultobj = NULL;
d55e5bfc
RD
10755 wxLogChain *arg1 = (wxLogChain *) 0 ;
10756 bool arg2 ;
10757 PyObject * obj0 = 0 ;
10758 PyObject * obj1 = 0 ;
10759 char *kwnames[] = {
10760 (char *) "self",(char *) "bDoPass", NULL
10761 };
10762
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10765 if (SWIG_arg_fail(1)) SWIG_fail;
10766 {
7449af73 10767 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10768 if (SWIG_arg_fail(2)) SWIG_fail;
10769 }
d55e5bfc
RD
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 (arg1)->PassMessages(arg2);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 Py_INCREF(Py_None); resultobj = Py_None;
10778 return resultobj;
10779 fail:
10780 return NULL;
10781}
10782
10783
c32bde28 10784static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10785 PyObject *resultobj = NULL;
d55e5bfc
RD
10786 wxLogChain *arg1 = (wxLogChain *) 0 ;
10787 bool result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
10794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 result = (bool)(arg1)->IsPassingMessages();
10799
10800 wxPyEndAllowThreads(__tstate);
10801 if (PyErr_Occurred()) SWIG_fail;
10802 }
10803 {
10804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10805 }
10806 return resultobj;
10807 fail:
10808 return NULL;
10809}
10810
10811
c32bde28 10812static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10813 PyObject *resultobj = NULL;
d55e5bfc
RD
10814 wxLogChain *arg1 = (wxLogChain *) 0 ;
10815 wxLog *result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
10822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 result = (wxLog *)(arg1)->GetOldLog();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10832 return resultobj;
10833 fail:
10834 return NULL;
10835}
10836
10837
c32bde28 10838static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10839 PyObject *obj;
10840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10841 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
10842 Py_INCREF(obj);
10843 return Py_BuildValue((char *)"");
10844}
be9b1dca 10845static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10846 PyObject *resultobj = NULL;
be9b1dca
RD
10847 wxLogBuffer *result;
10848 char *kwnames[] = {
10849 NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
10853 {
10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
10855 result = (wxLogBuffer *)new wxLogBuffer();
10856
10857 wxPyEndAllowThreads(__tstate);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
10861 return resultobj;
10862 fail:
10863 return NULL;
10864}
10865
10866
10867static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10868 PyObject *resultobj = NULL;
be9b1dca
RD
10869 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10870 wxString *result;
10871 PyObject * obj0 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
10877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 {
10882 wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
10883 result = (wxString *) &_result_ref;
10884 }
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 {
10890#if wxUSE_UNICODE
10891 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10892#else
10893 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10894#endif
10895 }
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10903 PyObject *resultobj = NULL;
be9b1dca
RD
10904 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
10911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail;
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->Flush();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
10927static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
10928 PyObject *obj;
10929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10930 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
10931 Py_INCREF(obj);
10932 return Py_BuildValue((char *)"");
10933}
c32bde28 10934static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10935 PyObject *resultobj = NULL;
d55e5bfc
RD
10936 unsigned long result;
10937 char *kwnames[] = {
10938 NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 result = (unsigned long)wxSysErrorCode();
10945
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
093d3ff1 10949 {
7449af73 10950 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10951 }
d55e5bfc
RD
10952 return resultobj;
10953 fail:
10954 return NULL;
10955}
10956
10957
c32bde28 10958static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10959 PyObject *resultobj = NULL;
d55e5bfc
RD
10960 unsigned long arg1 = (unsigned long) 0 ;
10961 wxString result;
10962 PyObject * obj0 = 0 ;
10963 char *kwnames[] = {
10964 (char *) "nErrCode", NULL
10965 };
10966
10967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10968 if (obj0) {
093d3ff1 10969 {
7449af73 10970 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10971 if (SWIG_arg_fail(1)) SWIG_fail;
10972 }
d55e5bfc
RD
10973 }
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = wxSysErrorMsg(arg1);
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 {
10982#if wxUSE_UNICODE
10983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10984#else
10985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10986#endif
10987 }
10988 return resultobj;
10989 fail:
10990 return NULL;
10991}
10992
10993
c32bde28 10994static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10995 PyObject *resultobj = NULL;
d55e5bfc 10996 wxString *arg1 = 0 ;
ae8162c8 10997 bool temp1 = false ;
d55e5bfc
RD
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "msg", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
11004 {
11005 arg1 = wxString_in_helper(obj0);
11006 if (arg1 == NULL) SWIG_fail;
ae8162c8 11007 temp1 = true;
d55e5bfc
RD
11008 }
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11011 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 Py_INCREF(Py_None); resultobj = Py_None;
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_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11032 PyObject *resultobj = NULL;
d55e5bfc 11033 wxString *arg1 = 0 ;
ae8162c8 11034 bool temp1 = false ;
d55e5bfc
RD
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "msg", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
11041 {
11042 arg1 = wxString_in_helper(obj0);
11043 if (arg1 == NULL) SWIG_fail;
ae8162c8 11044 temp1 = true;
d55e5bfc
RD
11045 }
11046 {
11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11048 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
11049
11050 wxPyEndAllowThreads(__tstate);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 Py_INCREF(Py_None); resultobj = Py_None;
11054 {
11055 if (temp1)
11056 delete arg1;
11057 }
11058 return resultobj;
11059 fail:
11060 {
11061 if (temp1)
11062 delete arg1;
11063 }
11064 return NULL;
11065}
11066
11067
c32bde28 11068static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11069 PyObject *resultobj = NULL;
d55e5bfc 11070 wxString *arg1 = 0 ;
ae8162c8 11071 bool temp1 = false ;
d55e5bfc
RD
11072 PyObject * obj0 = 0 ;
11073 char *kwnames[] = {
11074 (char *) "msg", NULL
11075 };
11076
11077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
11078 {
11079 arg1 = wxString_in_helper(obj0);
11080 if (arg1 == NULL) SWIG_fail;
ae8162c8 11081 temp1 = true;
d55e5bfc
RD
11082 }
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11085 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 Py_INCREF(Py_None); resultobj = Py_None;
11091 {
11092 if (temp1)
11093 delete arg1;
11094 }
11095 return resultobj;
11096 fail:
11097 {
11098 if (temp1)
11099 delete arg1;
11100 }
11101 return NULL;
11102}
11103
11104
c32bde28 11105static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11106 PyObject *resultobj = NULL;
d55e5bfc 11107 wxString *arg1 = 0 ;
ae8162c8 11108 bool temp1 = false ;
d55e5bfc
RD
11109 PyObject * obj0 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "msg", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
11115 {
11116 arg1 = wxString_in_helper(obj0);
11117 if (arg1 == NULL) SWIG_fail;
ae8162c8 11118 temp1 = true;
d55e5bfc
RD
11119 }
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11122 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
11123
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 Py_INCREF(Py_None); resultobj = Py_None;
11128 {
11129 if (temp1)
11130 delete arg1;
11131 }
11132 return resultobj;
11133 fail:
11134 {
11135 if (temp1)
11136 delete arg1;
11137 }
11138 return NULL;
11139}
11140
11141
c32bde28 11142static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11143 PyObject *resultobj = NULL;
d55e5bfc 11144 wxString *arg1 = 0 ;
ae8162c8 11145 bool temp1 = false ;
d55e5bfc
RD
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "msg", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
11152 {
11153 arg1 = wxString_in_helper(obj0);
11154 if (arg1 == NULL) SWIG_fail;
ae8162c8 11155 temp1 = true;
d55e5bfc
RD
11156 }
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11159 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 {
11166 if (temp1)
11167 delete arg1;
11168 }
11169 return resultobj;
11170 fail:
11171 {
11172 if (temp1)
11173 delete arg1;
11174 }
11175 return NULL;
11176}
11177
11178
c32bde28 11179static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11180 PyObject *resultobj = NULL;
d55e5bfc 11181 wxString *arg1 = 0 ;
ae8162c8 11182 bool temp1 = false ;
d55e5bfc
RD
11183 PyObject * obj0 = 0 ;
11184 char *kwnames[] = {
11185 (char *) "msg", NULL
11186 };
11187
11188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
11189 {
11190 arg1 = wxString_in_helper(obj0);
11191 if (arg1 == NULL) SWIG_fail;
ae8162c8 11192 temp1 = true;
d55e5bfc
RD
11193 }
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11196 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 Py_INCREF(Py_None); resultobj = Py_None;
11202 {
11203 if (temp1)
11204 delete arg1;
11205 }
11206 return resultobj;
11207 fail:
11208 {
11209 if (temp1)
11210 delete arg1;
11211 }
11212 return NULL;
11213}
11214
11215
c32bde28 11216static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11217 PyObject *resultobj = NULL;
d55e5bfc 11218 wxString *arg1 = 0 ;
ae8162c8 11219 bool temp1 = false ;
d55e5bfc
RD
11220 PyObject * obj0 = 0 ;
11221 char *kwnames[] = {
11222 (char *) "msg", NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
11226 {
11227 arg1 = wxString_in_helper(obj0);
11228 if (arg1 == NULL) SWIG_fail;
ae8162c8 11229 temp1 = true;
d55e5bfc
RD
11230 }
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11233 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 Py_INCREF(Py_None); resultobj = Py_None;
11239 {
11240 if (temp1)
11241 delete arg1;
11242 }
11243 return resultobj;
11244 fail:
11245 {
11246 if (temp1)
11247 delete arg1;
11248 }
11249 return NULL;
11250}
11251
11252
c32bde28 11253static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11254 PyObject *resultobj = NULL;
d55e5bfc 11255 wxString *arg1 = 0 ;
ae8162c8 11256 bool temp1 = false ;
d55e5bfc
RD
11257 PyObject * obj0 = 0 ;
11258 char *kwnames[] = {
11259 (char *) "msg", NULL
11260 };
11261
11262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
11263 {
11264 arg1 = wxString_in_helper(obj0);
11265 if (arg1 == NULL) SWIG_fail;
ae8162c8 11266 temp1 = true;
d55e5bfc
RD
11267 }
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11270 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 Py_INCREF(Py_None); resultobj = Py_None;
11276 {
11277 if (temp1)
11278 delete arg1;
11279 }
11280 return resultobj;
11281 fail:
11282 {
11283 if (temp1)
11284 delete arg1;
11285 }
11286 return NULL;
11287}
11288
11289
c32bde28 11290static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11291 PyObject *resultobj = NULL;
d55e5bfc
RD
11292 wxFrame *arg1 = (wxFrame *) 0 ;
11293 wxString *arg2 = 0 ;
ae8162c8 11294 bool temp2 = false ;
d55e5bfc
RD
11295 PyObject * obj0 = 0 ;
11296 PyObject * obj1 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "pFrame",(char *) "msg", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
11303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11304 {
11305 arg2 = wxString_in_helper(obj1);
11306 if (arg2 == NULL) SWIG_fail;
ae8162c8 11307 temp2 = true;
d55e5bfc
RD
11308 }
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11311 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
11316 Py_INCREF(Py_None); resultobj = Py_None;
11317 {
11318 if (temp2)
11319 delete arg2;
11320 }
11321 return resultobj;
11322 fail:
11323 {
11324 if (temp2)
11325 delete arg2;
11326 }
11327 return NULL;
11328}
11329
11330
c32bde28 11331static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11332 PyObject *resultobj = NULL;
d55e5bfc 11333 wxString *arg1 = 0 ;
ae8162c8 11334 bool temp1 = false ;
d55e5bfc
RD
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "msg", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
11341 {
11342 arg1 = wxString_in_helper(obj0);
11343 if (arg1 == NULL) SWIG_fail;
ae8162c8 11344 temp1 = true;
d55e5bfc
RD
11345 }
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11348 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 Py_INCREF(Py_None); resultobj = Py_None;
11354 {
11355 if (temp1)
11356 delete arg1;
11357 }
11358 return resultobj;
11359 fail:
11360 {
11361 if (temp1)
11362 delete arg1;
11363 }
11364 return NULL;
11365}
11366
11367
f78cc896 11368static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11369 PyObject *resultobj = NULL;
f78cc896
RD
11370 unsigned long arg1 ;
11371 wxString *arg2 = 0 ;
11372 bool temp2 = false ;
11373 PyObject * obj0 = 0 ;
11374 PyObject * obj1 = 0 ;
11375 char *kwnames[] = {
11376 (char *) "level",(char *) "msg", NULL
11377 };
11378
11379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 11380 {
7449af73 11381 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
11382 if (SWIG_arg_fail(1)) SWIG_fail;
11383 }
f78cc896
RD
11384 {
11385 arg2 = wxString_in_helper(obj1);
11386 if (arg2 == NULL) SWIG_fail;
11387 temp2 = true;
11388 }
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 wxPyLogGeneric(arg1,(wxString const &)*arg2);
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 Py_INCREF(Py_None); resultobj = Py_None;
11397 {
11398 if (temp2)
11399 delete arg2;
11400 }
11401 return resultobj;
11402 fail:
11403 {
11404 if (temp2)
11405 delete arg2;
11406 }
11407 return NULL;
11408}
11409
11410
c32bde28 11411static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
7449af73 11412 PyObject *resultobj = NULL;
d55e5bfc
RD
11413 unsigned long arg1 ;
11414 wxString *arg2 = 0 ;
ae8162c8 11415 bool temp2 = false ;
d55e5bfc
RD
11416 PyObject * obj0 = 0 ;
11417 PyObject * obj1 = 0 ;
11418
11419 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1 11420 {
7449af73 11421 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
11422 if (SWIG_arg_fail(1)) SWIG_fail;
11423 }
d55e5bfc
RD
11424 {
11425 arg2 = wxString_in_helper(obj1);
11426 if (arg2 == NULL) SWIG_fail;
ae8162c8 11427 temp2 = true;
d55e5bfc
RD
11428 }
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11431 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 Py_INCREF(Py_None); resultobj = Py_None;
11437 {
11438 if (temp2)
11439 delete arg2;
11440 }
11441 return resultobj;
11442 fail:
11443 {
11444 if (temp2)
11445 delete arg2;
11446 }
11447 return NULL;
11448}
11449
11450
c32bde28 11451static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
7449af73 11452 PyObject *resultobj = NULL;
d55e5bfc
RD
11453 wxString *arg1 = 0 ;
11454 wxString *arg2 = 0 ;
ae8162c8
RD
11455 bool temp1 = false ;
11456 bool temp2 = false ;
d55e5bfc
RD
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459
11460 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
11461 {
11462 arg1 = wxString_in_helper(obj0);
11463 if (arg1 == NULL) SWIG_fail;
ae8162c8 11464 temp1 = true;
d55e5bfc
RD
11465 }
11466 {
11467 arg2 = wxString_in_helper(obj1);
11468 if (arg2 == NULL) SWIG_fail;
ae8162c8 11469 temp2 = true;
d55e5bfc
RD
11470 }
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11473 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 Py_INCREF(Py_None); resultobj = Py_None;
11479 {
11480 if (temp1)
11481 delete arg1;
11482 }
11483 {
11484 if (temp2)
11485 delete arg2;
11486 }
11487 return resultobj;
11488 fail:
11489 {
11490 if (temp1)
11491 delete arg1;
11492 }
11493 {
11494 if (temp2)
11495 delete arg2;
11496 }
11497 return NULL;
11498}
11499
11500
11501static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
11502 int argc;
11503 PyObject *argv[3];
11504 int ii;
11505
11506 argc = PyObject_Length(args);
11507 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11508 argv[ii] = PyTuple_GetItem(args,ii);
11509 }
11510 if (argc == 2) {
11511 int _v;
11512 {
11513 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11514 }
11515 if (_v) {
11516 {
11517 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11518 }
11519 if (_v) {
11520 return _wrap_LogTrace__SWIG_1(self,args);
11521 }
11522 }
11523 }
11524 if (argc == 2) {
11525 int _v;
c32bde28 11526 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
11527 if (_v) {
11528 {
11529 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11530 }
11531 if (_v) {
11532 return _wrap_LogTrace__SWIG_0(self,args);
11533 }
11534 }
11535 }
11536
093d3ff1 11537 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
11538 return NULL;
11539}
11540
11541
c32bde28 11542static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11543 PyObject *resultobj = NULL;
d55e5bfc
RD
11544 wxString *arg1 = 0 ;
11545 wxString *arg2 = 0 ;
ae8162c8
RD
11546 bool temp1 = false ;
11547 bool temp2 = false ;
d55e5bfc
RD
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 char *kwnames[] = {
11551 (char *) "title",(char *) "text", NULL
11552 };
11553
11554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
11555 {
11556 arg1 = wxString_in_helper(obj0);
11557 if (arg1 == NULL) SWIG_fail;
ae8162c8 11558 temp1 = true;
d55e5bfc
RD
11559 }
11560 {
11561 arg2 = wxString_in_helper(obj1);
11562 if (arg2 == NULL) SWIG_fail;
ae8162c8 11563 temp2 = true;
d55e5bfc
RD
11564 }
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 Py_INCREF(Py_None); resultobj = Py_None;
11573 {
11574 if (temp1)
11575 delete arg1;
11576 }
11577 {
11578 if (temp2)
11579 delete arg2;
11580 }
11581 return resultobj;
11582 fail:
11583 {
11584 if (temp1)
11585 delete arg1;
11586 }
11587 {
11588 if (temp2)
11589 delete arg2;
11590 }
11591 return NULL;
11592}
11593
11594
c32bde28 11595static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11596 PyObject *resultobj = NULL;
d55e5bfc
RD
11597 wxLogNull *result;
11598 char *kwnames[] = {
11599 NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (wxLogNull *)new wxLogNull();
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
c32bde28 11617static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11618 PyObject *resultobj = NULL;
d55e5bfc
RD
11619 wxLogNull *arg1 = (wxLogNull *) 0 ;
11620 PyObject * obj0 = 0 ;
11621 char *kwnames[] = {
11622 (char *) "self", NULL
11623 };
11624
11625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
11626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
11627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11628 {
11629 PyThreadState* __tstate = wxPyBeginAllowThreads();
11630 delete arg1;
11631
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 Py_INCREF(Py_None); resultobj = Py_None;
11636 return resultobj;
11637 fail:
11638 return NULL;
11639}
11640
11641
c32bde28 11642static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11643 PyObject *obj;
11644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11645 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
11646 Py_INCREF(obj);
11647 return Py_BuildValue((char *)"");
11648}
c32bde28 11649static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11650 PyObject *resultobj = NULL;
d55e5bfc
RD
11651 wxPyLog *result;
11652 char *kwnames[] = {
11653 NULL
11654 };
11655
11656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (wxPyLog *)new wxPyLog();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
11665 return resultobj;
11666 fail:
11667 return NULL;
11668}
11669
11670
c32bde28 11671static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11672 PyObject *resultobj = NULL;
d55e5bfc
RD
11673 wxPyLog *arg1 = (wxPyLog *) 0 ;
11674 PyObject *arg2 = (PyObject *) 0 ;
11675 PyObject *arg3 = (PyObject *) 0 ;
11676 PyObject * obj0 = 0 ;
11677 PyObject * obj1 = 0 ;
11678 PyObject * obj2 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "self",(char *) "self",(char *) "_class", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
11685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11686 arg2 = obj1;
11687 arg3 = obj2;
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 (arg1)->_setCallbackInfo(arg2,arg3);
11691
11692 wxPyEndAllowThreads(__tstate);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 Py_INCREF(Py_None); resultobj = Py_None;
11696 return resultobj;
11697 fail:
11698 return NULL;
11699}
11700
11701
c32bde28 11702static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11703 PyObject *obj;
11704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11705 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
11706 Py_INCREF(obj);
11707 return Py_BuildValue((char *)"");
11708}
c32bde28 11709static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11710 PyObject *resultobj = NULL;
d55e5bfc 11711 int arg1 ;
093d3ff1 11712 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70 11713 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 11714 wxKillError result;
d55e5bfc
RD
11715 PyObject * obj0 = 0 ;
11716 PyObject * obj1 = 0 ;
c9c2cf70 11717 PyObject * obj2 = 0 ;
d55e5bfc 11718 char *kwnames[] = {
c9c2cf70 11719 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
11720 };
11721
c9c2cf70 11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 11723 {
7449af73 11724 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11725 if (SWIG_arg_fail(1)) SWIG_fail;
11726 }
d55e5bfc 11727 if (obj1) {
093d3ff1 11728 {
7449af73 11729 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
093d3ff1
RD
11730 if (SWIG_arg_fail(2)) SWIG_fail;
11731 }
d55e5bfc 11732 }
c9c2cf70 11733 if (obj2) {
093d3ff1 11734 {
7449af73 11735 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11736 if (SWIG_arg_fail(3)) SWIG_fail;
11737 }
c9c2cf70 11738 }
d55e5bfc
RD
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11741 result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3);
d55e5bfc
RD
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
093d3ff1 11746 resultobj = SWIG_From_int((result));
d55e5bfc
RD
11747 return resultobj;
11748 fail:
11749 return NULL;
11750}
11751
11752
c32bde28 11753static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11754 PyObject *resultobj = NULL;
d55e5bfc
RD
11755 int arg1 ;
11756 bool result;
11757 PyObject * obj0 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "pid", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1 11763 {
7449af73 11764 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11765 if (SWIG_arg_fail(1)) SWIG_fail;
11766 }
d55e5bfc
RD
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (bool)wxPyProcess::Exists(arg1);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 {
11775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11776 }
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
c32bde28 11783static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11784 PyObject *resultobj = NULL;
d55e5bfc
RD
11785 wxString *arg1 = 0 ;
11786 int arg2 = (int) wxEXEC_ASYNC ;
11787 wxPyProcess *result;
ae8162c8 11788 bool temp1 = false ;
d55e5bfc
RD
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "cmd",(char *) "flags", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
11796 {
11797 arg1 = wxString_in_helper(obj0);
11798 if (arg1 == NULL) SWIG_fail;
ae8162c8 11799 temp1 = true;
d55e5bfc
RD
11800 }
11801 if (obj1) {
093d3ff1 11802 {
7449af73 11803 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11804 if (SWIG_arg_fail(2)) SWIG_fail;
11805 }
d55e5bfc
RD
11806 }
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
11815 {
11816 if (temp1)
11817 delete arg1;
11818 }
11819 return resultobj;
11820 fail:
11821 {
11822 if (temp1)
11823 delete arg1;
11824 }
11825 return NULL;
11826}
11827
11828
c32bde28 11829static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11830 PyObject *resultobj = NULL;
d55e5bfc
RD
11831 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
11832 int arg2 = (int) -1 ;
11833 wxPyProcess *result;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char *kwnames[] = {
11837 (char *) "parent",(char *) "id", NULL
11838 };
11839
11840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
11841 if (obj0) {
093d3ff1
RD
11842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
11843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11844 }
11845 if (obj1) {
093d3ff1 11846 {
7449af73 11847 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11848 if (SWIG_arg_fail(2)) SWIG_fail;
11849 }
d55e5bfc
RD
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
11859 return resultobj;
11860 fail:
11861 return NULL;
11862}
11863
11864
c32bde28 11865static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11866 PyObject *resultobj = NULL;
d55e5bfc
RD
11867 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11868 PyObject *arg2 = (PyObject *) 0 ;
11869 PyObject *arg3 = (PyObject *) 0 ;
11870 PyObject * obj0 = 0 ;
11871 PyObject * obj1 = 0 ;
11872 PyObject * obj2 = 0 ;
11873 char *kwnames[] = {
11874 (char *) "self",(char *) "self",(char *) "_class", NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11880 arg2 = obj1;
11881 arg3 = obj2;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->_setCallbackInfo(arg2,arg3);
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 Py_INCREF(Py_None); resultobj = Py_None;
11890 return resultobj;
11891 fail:
11892 return NULL;
11893}
11894
11895
b06b3e70 11896static PyObject *_wrap_Process_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11897 PyObject *resultobj = NULL;
d55e5bfc
RD
11898 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11899 int arg2 ;
11900 int arg3 ;
11901 PyObject * obj0 = 0 ;
11902 PyObject * obj1 = 0 ;
11903 PyObject * obj2 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self",(char *) "pid",(char *) "status", NULL
11906 };
11907
b06b3e70 11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11910 if (SWIG_arg_fail(1)) SWIG_fail;
11911 {
7449af73 11912 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11913 if (SWIG_arg_fail(2)) SWIG_fail;
11914 }
11915 {
7449af73 11916 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11917 if (SWIG_arg_fail(3)) SWIG_fail;
11918 }
d55e5bfc
RD
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 11921 (arg1)->OnTerminate(arg2,arg3);
d55e5bfc
RD
11922
11923 wxPyEndAllowThreads(__tstate);
11924 if (PyErr_Occurred()) SWIG_fail;
11925 }
11926 Py_INCREF(Py_None); resultobj = Py_None;
11927 return resultobj;
11928 fail:
11929 return NULL;
11930}
11931
11932
c32bde28 11933static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11934 PyObject *resultobj = NULL;
d55e5bfc
RD
11935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
11942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11943 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->Redirect();
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 Py_INCREF(Py_None); resultobj = Py_None;
11952 return resultobj;
11953 fail:
11954 return NULL;
11955}
11956
11957
c32bde28 11958static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11959 PyObject *resultobj = NULL;
d55e5bfc
RD
11960 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11961 bool result;
11962 PyObject * obj0 = 0 ;
11963 char *kwnames[] = {
11964 (char *) "self", NULL
11965 };
11966
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
11968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 result = (bool)(arg1)->IsRedirected();
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 {
11978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11979 }
11980 return resultobj;
11981 fail:
11982 return NULL;
11983}
11984
11985
c32bde28 11986static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11987 PyObject *resultobj = NULL;
d55e5bfc
RD
11988 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11989 PyObject * obj0 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
11995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 (arg1)->Detach();
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 Py_INCREF(Py_None); resultobj = Py_None;
12005 return resultobj;
12006 fail:
12007 return NULL;
12008}
12009
12010
c32bde28 12011static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12012 PyObject *resultobj = NULL;
d55e5bfc
RD
12013 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12014 wxInputStream *result;
12015 PyObject * obj0 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 result = (wxInputStream *)(arg1)->GetInputStream();
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 {
12031 wxPyInputStream * _ptr = NULL;
12032
12033 if (result) {
12034 _ptr = new wxPyInputStream(result);
12035 }
fc71d09b 12036 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12037 }
12038 return resultobj;
12039 fail:
12040 return NULL;
12041}
12042
12043
c32bde28 12044static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12045 PyObject *resultobj = NULL;
d55e5bfc
RD
12046 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12047 wxInputStream *result;
12048 PyObject * obj0 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12056 {
12057 PyThreadState* __tstate = wxPyBeginAllowThreads();
12058 result = (wxInputStream *)(arg1)->GetErrorStream();
12059
12060 wxPyEndAllowThreads(__tstate);
12061 if (PyErr_Occurred()) SWIG_fail;
12062 }
12063 {
12064 wxPyInputStream * _ptr = NULL;
12065
12066 if (result) {
12067 _ptr = new wxPyInputStream(result);
12068 }
fc71d09b 12069 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12070 }
12071 return resultobj;
12072 fail:
12073 return NULL;
12074}
12075
12076
c32bde28 12077static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12078 PyObject *resultobj = NULL;
d55e5bfc
RD
12079 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12080 wxOutputStream *result;
12081 PyObject * obj0 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 result = (wxOutputStream *)(arg1)->GetOutputStream();
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
12097 return resultobj;
12098 fail:
12099 return NULL;
12100}
12101
12102
c32bde28 12103static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12104 PyObject *resultobj = NULL;
d55e5bfc
RD
12105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
12112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 (arg1)->CloseOutput();
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 Py_INCREF(Py_None); resultobj = Py_None;
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
c32bde28 12128static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12129 PyObject *resultobj = NULL;
d55e5bfc
RD
12130 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12131 bool result;
12132 PyObject * obj0 = 0 ;
12133 char *kwnames[] = {
12134 (char *) "self", NULL
12135 };
12136
12137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
12138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12140 {
12141 PyThreadState* __tstate = wxPyBeginAllowThreads();
12142 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
12143
12144 wxPyEndAllowThreads(__tstate);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 {
12148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12149 }
12150 return resultobj;
12151 fail:
12152 return NULL;
12153}
12154
12155
c32bde28 12156static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12157 PyObject *resultobj = NULL;
d55e5bfc
RD
12158 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12159 bool result;
12160 PyObject * obj0 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self", NULL
12163 };
12164
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
12166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12168 {
12169 PyThreadState* __tstate = wxPyBeginAllowThreads();
12170 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
12171
12172 wxPyEndAllowThreads(__tstate);
12173 if (PyErr_Occurred()) SWIG_fail;
12174 }
12175 {
12176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12177 }
12178 return resultobj;
12179 fail:
12180 return NULL;
12181}
12182
12183
c32bde28 12184static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12185 PyObject *resultobj = NULL;
d55e5bfc
RD
12186 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12187 bool result;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
12194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12205 }
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
c32bde28 12212static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12213 PyObject *obj;
12214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12215 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
12216 Py_INCREF(obj);
12217 return Py_BuildValue((char *)"");
12218}
c32bde28 12219static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12220 PyObject *resultobj = NULL;
d55e5bfc
RD
12221 int arg1 = (int) 0 ;
12222 int arg2 = (int) 0 ;
12223 int arg3 = (int) 0 ;
12224 wxProcessEvent *result;
12225 PyObject * obj0 = 0 ;
12226 PyObject * obj1 = 0 ;
12227 PyObject * obj2 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
12233 if (obj0) {
093d3ff1 12234 {
7449af73 12235 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12236 if (SWIG_arg_fail(1)) SWIG_fail;
12237 }
d55e5bfc
RD
12238 }
12239 if (obj1) {
093d3ff1 12240 {
7449af73 12241 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12242 if (SWIG_arg_fail(2)) SWIG_fail;
12243 }
d55e5bfc
RD
12244 }
12245 if (obj2) {
093d3ff1 12246 {
7449af73 12247 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12248 if (SWIG_arg_fail(3)) SWIG_fail;
12249 }
d55e5bfc
RD
12250 }
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
12259 return resultobj;
12260 fail:
12261 return NULL;
12262}
12263
12264
c32bde28 12265static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12266 PyObject *resultobj = NULL;
d55e5bfc
RD
12267 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12268 int result;
12269 PyObject * obj0 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
12275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = (int)(arg1)->GetPid();
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
093d3ff1 12284 {
7449af73 12285 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12286 }
d55e5bfc
RD
12287 return resultobj;
12288 fail:
12289 return NULL;
12290}
12291
12292
c32bde28 12293static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12294 PyObject *resultobj = NULL;
d55e5bfc
RD
12295 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12296 int result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
12303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
12307 result = (int)(arg1)->GetExitCode();
12308
12309 wxPyEndAllowThreads(__tstate);
12310 if (PyErr_Occurred()) SWIG_fail;
12311 }
093d3ff1 12312 {
7449af73 12313 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12314 }
d55e5bfc
RD
12315 return resultobj;
12316 fail:
12317 return NULL;
12318}
12319
12320
c32bde28 12321static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12322 PyObject *resultobj = NULL;
d55e5bfc
RD
12323 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12324 int arg2 ;
12325 PyObject * obj0 = 0 ;
12326 PyObject * obj1 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "m_pid", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail;
12334 {
7449af73 12335 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12336 if (SWIG_arg_fail(2)) SWIG_fail;
12337 }
d55e5bfc
RD
12338 if (arg1) (arg1)->m_pid = arg2;
12339
12340 Py_INCREF(Py_None); resultobj = Py_None;
12341 return resultobj;
12342 fail:
12343 return NULL;
12344}
12345
12346
c32bde28 12347static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12348 PyObject *resultobj = NULL;
d55e5bfc
RD
12349 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12350 int result;
12351 PyObject * obj0 = 0 ;
12352 char *kwnames[] = {
12353 (char *) "self", NULL
12354 };
12355
12356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
12357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12359 result = (int) ((arg1)->m_pid);
12360
093d3ff1 12361 {
7449af73 12362 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12363 }
d55e5bfc
RD
12364 return resultobj;
12365 fail:
12366 return NULL;
12367}
12368
12369
c32bde28 12370static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12371 PyObject *resultobj = NULL;
d55e5bfc
RD
12372 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12373 int arg2 ;
12374 PyObject * obj0 = 0 ;
12375 PyObject * obj1 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self",(char *) "m_exitcode", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail;
12383 {
7449af73 12384 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12385 if (SWIG_arg_fail(2)) SWIG_fail;
12386 }
d55e5bfc
RD
12387 if (arg1) (arg1)->m_exitcode = arg2;
12388
12389 Py_INCREF(Py_None); resultobj = Py_None;
12390 return resultobj;
12391 fail:
12392 return NULL;
12393}
12394
12395
c32bde28 12396static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12397 PyObject *resultobj = NULL;
d55e5bfc
RD
12398 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12399 int result;
12400 PyObject * obj0 = 0 ;
12401 char *kwnames[] = {
12402 (char *) "self", NULL
12403 };
12404
12405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
12406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12408 result = (int) ((arg1)->m_exitcode);
12409
093d3ff1 12410 {
7449af73 12411 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12412 }
d55e5bfc
RD
12413 return resultobj;
12414 fail:
12415 return NULL;
12416}
12417
12418
c32bde28 12419static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12420 PyObject *obj;
12421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12422 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
12423 Py_INCREF(obj);
12424 return Py_BuildValue((char *)"");
12425}
c32bde28 12426static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12427 PyObject *resultobj = NULL;
d55e5bfc
RD
12428 wxString *arg1 = 0 ;
12429 int arg2 = (int) wxEXEC_ASYNC ;
12430 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
12431 long result;
ae8162c8 12432 bool temp1 = false ;
d55e5bfc
RD
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 PyObject * obj2 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "command",(char *) "flags",(char *) "process", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
12441 {
12442 arg1 = wxString_in_helper(obj0);
12443 if (arg1 == NULL) SWIG_fail;
ae8162c8 12444 temp1 = true;
d55e5bfc
RD
12445 }
12446 if (obj1) {
093d3ff1 12447 {
7449af73 12448 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12449 if (SWIG_arg_fail(2)) SWIG_fail;
12450 }
d55e5bfc
RD
12451 }
12452 if (obj2) {
093d3ff1
RD
12453 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12454 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
12455 }
12456 {
0439c23b 12457 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
12460
12461 wxPyEndAllowThreads(__tstate);
110da5b0 12462 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12463 }
093d3ff1 12464 {
7449af73 12465 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12466 }
d55e5bfc
RD
12467 {
12468 if (temp1)
12469 delete arg1;
12470 }
12471 return resultobj;
12472 fail:
12473 {
12474 if (temp1)
12475 delete arg1;
12476 }
12477 return NULL;
12478}
12479
12480
c9c2cf70 12481static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12482 PyObject *resultobj = NULL;
c9c2cf70 12483 long arg1 ;
093d3ff1 12484 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70
RD
12485 wxKillError *arg3 = (wxKillError *) 0 ;
12486 int arg4 = (int) wxKILL_NOCHILDREN ;
12487 int result;
12488 wxKillError temp3 ;
12489 PyObject * obj0 = 0 ;
12490 PyObject * obj1 = 0 ;
12491 PyObject * obj2 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12494 };
12495
12496 {
12497 arg3 = &temp3;
12498 }
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 12500 {
7449af73 12501 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
12502 if (SWIG_arg_fail(1)) SWIG_fail;
12503 }
c9c2cf70 12504 if (obj1) {
093d3ff1 12505 {
7449af73 12506 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
093d3ff1
RD
12507 if (SWIG_arg_fail(2)) SWIG_fail;
12508 }
c9c2cf70
RD
12509 }
12510 if (obj2) {
093d3ff1 12511 {
7449af73 12512 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12513 if (SWIG_arg_fail(4)) SWIG_fail;
12514 }
c9c2cf70
RD
12515 }
12516 {
12517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12518 result = (int)wxKill(arg1,arg2,arg3,arg4);
c9c2cf70
RD
12519
12520 wxPyEndAllowThreads(__tstate);
12521 if (PyErr_Occurred()) SWIG_fail;
12522 }
093d3ff1 12523 {
7449af73 12524 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12525 }
c9c2cf70
RD
12526 {
12527 PyObject* o;
12528 o = PyInt_FromLong((long) (*arg3));
7e08d4ef 12529
c9c2cf70 12530 resultobj = t_output_helper(resultobj, o);
7e08d4ef
RD
12531
12532
12533
c9c2cf70
RD
12534 }
12535 return resultobj;
12536 fail:
12537 return NULL;
12538}
12539
12540
c32bde28 12541static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12542 PyObject *resultobj = NULL;
d55e5bfc
RD
12543 int arg1 = (int) wxJOYSTICK1 ;
12544 wxJoystick *result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "joystick", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
12551 if (obj0) {
093d3ff1 12552 {
7449af73 12553 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12554 if (SWIG_arg_fail(1)) SWIG_fail;
12555 }
d55e5bfc
RD
12556 }
12557 {
0439c23b 12558 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxJoystick *)new wxJoystick(arg1);
12561
12562 wxPyEndAllowThreads(__tstate);
110da5b0 12563 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12564 }
12565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
12566 return resultobj;
12567 fail:
12568 return NULL;
12569}
12570
12571
c32bde28 12572static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12573 PyObject *resultobj = NULL;
d55e5bfc
RD
12574 wxJoystick *arg1 = (wxJoystick *) 0 ;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
12581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 delete arg1;
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 Py_INCREF(Py_None); resultobj = Py_None;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594}
12595
12596
c32bde28 12597static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12598 PyObject *resultobj = NULL;
d55e5bfc
RD
12599 wxJoystick *arg1 = (wxJoystick *) 0 ;
12600 wxPoint result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (arg1)->GetPosition();
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 wxPoint * resultptr;
7449af73 12618 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12620 }
12621 return resultobj;
12622 fail:
12623 return NULL;
12624}
12625
12626
c32bde28 12627static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12628 PyObject *resultobj = NULL;
d55e5bfc
RD
12629 wxJoystick *arg1 = (wxJoystick *) 0 ;
12630 int result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12639 {
12640 PyThreadState* __tstate = wxPyBeginAllowThreads();
12641 result = (int)(arg1)->GetZPosition();
12642
12643 wxPyEndAllowThreads(__tstate);
12644 if (PyErr_Occurred()) SWIG_fail;
12645 }
093d3ff1 12646 {
7449af73 12647 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12648 }
d55e5bfc
RD
12649 return resultobj;
12650 fail:
12651 return NULL;
12652}
12653
12654
c32bde28 12655static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12656 PyObject *resultobj = NULL;
d55e5bfc
RD
12657 wxJoystick *arg1 = (wxJoystick *) 0 ;
12658 int result;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
12665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (int)(arg1)->GetButtonState();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
093d3ff1 12674 {
7449af73 12675 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12676 }
d55e5bfc
RD
12677 return resultobj;
12678 fail:
12679 return NULL;
12680}
12681
12682
c32bde28 12683static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12684 PyObject *resultobj = NULL;
d55e5bfc
RD
12685 wxJoystick *arg1 = (wxJoystick *) 0 ;
12686 int result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (int)(arg1)->GetPOVPosition();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
093d3ff1 12702 {
7449af73 12703 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12704 }
d55e5bfc
RD
12705 return resultobj;
12706 fail:
12707 return NULL;
12708}
12709
12710
c32bde28 12711static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12712 PyObject *resultobj = NULL;
d55e5bfc
RD
12713 wxJoystick *arg1 = (wxJoystick *) 0 ;
12714 int result;
12715 PyObject * obj0 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 result = (int)(arg1)->GetPOVCTSPosition();
12726
12727 wxPyEndAllowThreads(__tstate);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 }
093d3ff1 12730 {
7449af73 12731 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12732 }
d55e5bfc
RD
12733 return resultobj;
12734 fail:
12735 return NULL;
12736}
12737
12738
c32bde28 12739static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12740 PyObject *resultobj = NULL;
d55e5bfc
RD
12741 wxJoystick *arg1 = (wxJoystick *) 0 ;
12742 int result;
12743 PyObject * obj0 = 0 ;
12744 char *kwnames[] = {
12745 (char *) "self", NULL
12746 };
12747
12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (int)(arg1)->GetRudderPosition();
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
093d3ff1 12758 {
7449af73 12759 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12760 }
d55e5bfc
RD
12761 return resultobj;
12762 fail:
12763 return NULL;
12764}
12765
12766
c32bde28 12767static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12768 PyObject *resultobj = NULL;
d55e5bfc
RD
12769 wxJoystick *arg1 = (wxJoystick *) 0 ;
12770 int result;
12771 PyObject * obj0 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "self", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (int)(arg1)->GetUPosition();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
093d3ff1 12786 {
7449af73 12787 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12788 }
d55e5bfc
RD
12789 return resultobj;
12790 fail:
12791 return NULL;
12792}
12793
12794
c32bde28 12795static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12796 PyObject *resultobj = NULL;
d55e5bfc
RD
12797 wxJoystick *arg1 = (wxJoystick *) 0 ;
12798 int result;
12799 PyObject * obj0 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (int)(arg1)->GetVPosition();
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
093d3ff1 12814 {
7449af73 12815 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12816 }
d55e5bfc
RD
12817 return resultobj;
12818 fail:
12819 return NULL;
12820}
12821
12822
c32bde28 12823static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12824 PyObject *resultobj = NULL;
d55e5bfc
RD
12825 wxJoystick *arg1 = (wxJoystick *) 0 ;
12826 int result;
12827 PyObject * obj0 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "self", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
12833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 result = (int)(arg1)->GetMovementThreshold();
12838
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
093d3ff1 12842 {
7449af73 12843 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12844 }
d55e5bfc
RD
12845 return resultobj;
12846 fail:
12847 return NULL;
12848}
12849
12850
c32bde28 12851static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12852 PyObject *resultobj = NULL;
d55e5bfc
RD
12853 wxJoystick *arg1 = (wxJoystick *) 0 ;
12854 int arg2 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 char *kwnames[] = {
12858 (char *) "self",(char *) "threshold", NULL
12859 };
12860
12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail;
12864 {
7449af73 12865 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12866 if (SWIG_arg_fail(2)) SWIG_fail;
12867 }
d55e5bfc
RD
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 (arg1)->SetMovementThreshold(arg2);
12871
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 Py_INCREF(Py_None); resultobj = Py_None;
12876 return resultobj;
12877 fail:
12878 return NULL;
12879}
12880
12881
c32bde28 12882static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12883 PyObject *resultobj = NULL;
d55e5bfc
RD
12884 wxJoystick *arg1 = (wxJoystick *) 0 ;
12885 bool result;
12886 PyObject * obj0 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "self", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (bool)(arg1)->IsOk();
12897
12898 wxPyEndAllowThreads(__tstate);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12903 }
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
c32bde28 12910static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12911 PyObject *resultobj = NULL;
d55e5bfc
RD
12912 wxJoystick *arg1 = (wxJoystick *) 0 ;
12913 int result;
12914 PyObject * obj0 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "self", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
12920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (int)(arg1)->GetNumberJoysticks();
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
093d3ff1 12929 {
7449af73 12930 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12931 }
d55e5bfc
RD
12932 return resultobj;
12933 fail:
12934 return NULL;
12935}
12936
12937
c32bde28 12938static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12939 PyObject *resultobj = NULL;
d55e5bfc
RD
12940 wxJoystick *arg1 = (wxJoystick *) 0 ;
12941 int result;
12942 PyObject * obj0 = 0 ;
12943 char *kwnames[] = {
12944 (char *) "self", NULL
12945 };
12946
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12950 {
12951 PyThreadState* __tstate = wxPyBeginAllowThreads();
12952 result = (int)(arg1)->GetManufacturerId();
12953
12954 wxPyEndAllowThreads(__tstate);
12955 if (PyErr_Occurred()) SWIG_fail;
12956 }
093d3ff1 12957 {
7449af73 12958 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12959 }
d55e5bfc
RD
12960 return resultobj;
12961 fail:
12962 return NULL;
12963}
12964
12965
c32bde28 12966static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12967 PyObject *resultobj = NULL;
d55e5bfc
RD
12968 wxJoystick *arg1 = (wxJoystick *) 0 ;
12969 int result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (int)(arg1)->GetProductId();
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
093d3ff1 12985 {
7449af73 12986 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12987 }
d55e5bfc
RD
12988 return resultobj;
12989 fail:
12990 return NULL;
12991}
12992
12993
c32bde28 12994static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12995 PyObject *resultobj = NULL;
d55e5bfc
RD
12996 wxJoystick *arg1 = (wxJoystick *) 0 ;
12997 wxString result;
12998 PyObject * obj0 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
13004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (arg1)->GetProductName();
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 {
13014#if wxUSE_UNICODE
13015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13016#else
13017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13018#endif
13019 }
13020 return resultobj;
13021 fail:
13022 return NULL;
13023}
13024
13025
c32bde28 13026static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13027 PyObject *resultobj = NULL;
d55e5bfc
RD
13028 wxJoystick *arg1 = (wxJoystick *) 0 ;
13029 int result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (int)(arg1)->GetXMin();
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
093d3ff1 13045 {
7449af73 13046 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13047 }
d55e5bfc
RD
13048 return resultobj;
13049 fail:
13050 return NULL;
13051}
13052
13053
c32bde28 13054static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13055 PyObject *resultobj = NULL;
d55e5bfc
RD
13056 wxJoystick *arg1 = (wxJoystick *) 0 ;
13057 int result;
13058 PyObject * obj0 = 0 ;
13059 char *kwnames[] = {
13060 (char *) "self", NULL
13061 };
13062
13063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13066 {
13067 PyThreadState* __tstate = wxPyBeginAllowThreads();
13068 result = (int)(arg1)->GetYMin();
13069
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
093d3ff1 13073 {
7449af73 13074 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13075 }
d55e5bfc
RD
13076 return resultobj;
13077 fail:
13078 return NULL;
13079}
13080
13081
c32bde28 13082static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13083 PyObject *resultobj = NULL;
d55e5bfc
RD
13084 wxJoystick *arg1 = (wxJoystick *) 0 ;
13085 int result;
13086 PyObject * obj0 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (int)(arg1)->GetZMin();
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
093d3ff1 13101 {
7449af73 13102 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13103 }
d55e5bfc
RD
13104 return resultobj;
13105 fail:
13106 return NULL;
13107}
13108
13109
c32bde28 13110static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13111 PyObject *resultobj = NULL;
d55e5bfc
RD
13112 wxJoystick *arg1 = (wxJoystick *) 0 ;
13113 int result;
13114 PyObject * obj0 = 0 ;
13115 char *kwnames[] = {
13116 (char *) "self", NULL
13117 };
13118
13119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (int)(arg1)->GetXMax();
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
093d3ff1 13129 {
7449af73 13130 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13131 }
d55e5bfc
RD
13132 return resultobj;
13133 fail:
13134 return NULL;
13135}
13136
13137
c32bde28 13138static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13139 PyObject *resultobj = NULL;
d55e5bfc
RD
13140 wxJoystick *arg1 = (wxJoystick *) 0 ;
13141 int result;
13142 PyObject * obj0 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "self", NULL
13145 };
13146
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 result = (int)(arg1)->GetYMax();
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
093d3ff1 13157 {
7449af73 13158 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13159 }
d55e5bfc
RD
13160 return resultobj;
13161 fail:
13162 return NULL;
13163}
13164
13165
c32bde28 13166static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13167 PyObject *resultobj = NULL;
d55e5bfc
RD
13168 wxJoystick *arg1 = (wxJoystick *) 0 ;
13169 int result;
13170 PyObject * obj0 = 0 ;
13171 char *kwnames[] = {
13172 (char *) "self", NULL
13173 };
13174
13175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13178 {
13179 PyThreadState* __tstate = wxPyBeginAllowThreads();
13180 result = (int)(arg1)->GetZMax();
13181
13182 wxPyEndAllowThreads(__tstate);
13183 if (PyErr_Occurred()) SWIG_fail;
13184 }
093d3ff1 13185 {
7449af73 13186 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13187 }
d55e5bfc
RD
13188 return resultobj;
13189 fail:
13190 return NULL;
13191}
13192
13193
c32bde28 13194static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13195 PyObject *resultobj = NULL;
d55e5bfc
RD
13196 wxJoystick *arg1 = (wxJoystick *) 0 ;
13197 int result;
13198 PyObject * obj0 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "self", NULL
13201 };
13202
13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
13204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (int)(arg1)->GetNumberButtons();
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
093d3ff1 13213 {
7449af73 13214 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13215 }
d55e5bfc
RD
13216 return resultobj;
13217 fail:
13218 return NULL;
13219}
13220
13221
c32bde28 13222static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13223 PyObject *resultobj = NULL;
d55e5bfc
RD
13224 wxJoystick *arg1 = (wxJoystick *) 0 ;
13225 int result;
13226 PyObject * obj0 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (int)(arg1)->GetNumberAxes();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
093d3ff1 13241 {
7449af73 13242 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13243 }
d55e5bfc
RD
13244 return resultobj;
13245 fail:
13246 return NULL;
13247}
13248
13249
c32bde28 13250static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13251 PyObject *resultobj = NULL;
d55e5bfc
RD
13252 wxJoystick *arg1 = (wxJoystick *) 0 ;
13253 int result;
13254 PyObject * obj0 = 0 ;
13255 char *kwnames[] = {
13256 (char *) "self", NULL
13257 };
13258
13259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
13260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (int)(arg1)->GetMaxButtons();
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
093d3ff1 13269 {
7449af73 13270 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13271 }
d55e5bfc
RD
13272 return resultobj;
13273 fail:
13274 return NULL;
13275}
13276
13277
c32bde28 13278static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13279 PyObject *resultobj = NULL;
d55e5bfc
RD
13280 wxJoystick *arg1 = (wxJoystick *) 0 ;
13281 int result;
13282 PyObject * obj0 = 0 ;
13283 char *kwnames[] = {
13284 (char *) "self", NULL
13285 };
13286
13287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
13288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13290 {
13291 PyThreadState* __tstate = wxPyBeginAllowThreads();
13292 result = (int)(arg1)->GetMaxAxes();
13293
13294 wxPyEndAllowThreads(__tstate);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
093d3ff1 13297 {
7449af73 13298 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13299 }
d55e5bfc
RD
13300 return resultobj;
13301 fail:
13302 return NULL;
13303}
13304
13305
c32bde28 13306static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13307 PyObject *resultobj = NULL;
d55e5bfc
RD
13308 wxJoystick *arg1 = (wxJoystick *) 0 ;
13309 int result;
13310 PyObject * obj0 = 0 ;
13311 char *kwnames[] = {
13312 (char *) "self", NULL
13313 };
13314
13315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 result = (int)(arg1)->GetPollingMin();
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
093d3ff1 13325 {
7449af73 13326 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13327 }
d55e5bfc
RD
13328 return resultobj;
13329 fail:
13330 return NULL;
13331}
13332
13333
c32bde28 13334static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13335 PyObject *resultobj = NULL;
d55e5bfc
RD
13336 wxJoystick *arg1 = (wxJoystick *) 0 ;
13337 int result;
13338 PyObject * obj0 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 result = (int)(arg1)->GetPollingMax();
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
093d3ff1 13353 {
7449af73 13354 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13355 }
d55e5bfc
RD
13356 return resultobj;
13357 fail:
13358 return NULL;
13359}
13360
13361
c32bde28 13362static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13363 PyObject *resultobj = NULL;
d55e5bfc
RD
13364 wxJoystick *arg1 = (wxJoystick *) 0 ;
13365 int result;
13366 PyObject * obj0 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 result = (int)(arg1)->GetRudderMin();
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
093d3ff1 13381 {
7449af73 13382 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13383 }
d55e5bfc
RD
13384 return resultobj;
13385 fail:
13386 return NULL;
13387}
13388
13389
c32bde28 13390static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13391 PyObject *resultobj = NULL;
d55e5bfc
RD
13392 wxJoystick *arg1 = (wxJoystick *) 0 ;
13393 int result;
13394 PyObject * obj0 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (int)(arg1)->GetRudderMax();
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
093d3ff1 13409 {
7449af73 13410 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13411 }
d55e5bfc
RD
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
c32bde28 13418static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13419 PyObject *resultobj = NULL;
d55e5bfc
RD
13420 wxJoystick *arg1 = (wxJoystick *) 0 ;
13421 int result;
13422 PyObject * obj0 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 result = (int)(arg1)->GetUMin();
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
093d3ff1 13437 {
7449af73 13438 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13439 }
d55e5bfc
RD
13440 return resultobj;
13441 fail:
13442 return NULL;
13443}
13444
13445
c32bde28 13446static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13447 PyObject *resultobj = NULL;
d55e5bfc
RD
13448 wxJoystick *arg1 = (wxJoystick *) 0 ;
13449 int result;
13450 PyObject * obj0 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 result = (int)(arg1)->GetUMax();
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
093d3ff1 13465 {
7449af73 13466 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13467 }
d55e5bfc
RD
13468 return resultobj;
13469 fail:
13470 return NULL;
13471}
13472
13473
c32bde28 13474static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13475 PyObject *resultobj = NULL;
d55e5bfc
RD
13476 wxJoystick *arg1 = (wxJoystick *) 0 ;
13477 int result;
13478 PyObject * obj0 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13486 {
13487 PyThreadState* __tstate = wxPyBeginAllowThreads();
13488 result = (int)(arg1)->GetVMin();
13489
13490 wxPyEndAllowThreads(__tstate);
13491 if (PyErr_Occurred()) SWIG_fail;
13492 }
093d3ff1 13493 {
7449af73 13494 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13495 }
d55e5bfc
RD
13496 return resultobj;
13497 fail:
13498 return NULL;
13499}
13500
13501
c32bde28 13502static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13503 PyObject *resultobj = NULL;
d55e5bfc
RD
13504 wxJoystick *arg1 = (wxJoystick *) 0 ;
13505 int result;
13506 PyObject * obj0 = 0 ;
13507 char *kwnames[] = {
13508 (char *) "self", NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13514 {
13515 PyThreadState* __tstate = wxPyBeginAllowThreads();
13516 result = (int)(arg1)->GetVMax();
13517
13518 wxPyEndAllowThreads(__tstate);
13519 if (PyErr_Occurred()) SWIG_fail;
13520 }
093d3ff1 13521 {
7449af73 13522 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13523 }
d55e5bfc
RD
13524 return resultobj;
13525 fail:
13526 return NULL;
13527}
13528
13529
c32bde28 13530static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13531 PyObject *resultobj = NULL;
d55e5bfc
RD
13532 wxJoystick *arg1 = (wxJoystick *) 0 ;
13533 bool result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
13540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (bool)(arg1)->HasRudder();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 {
13550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13551 }
13552 return resultobj;
13553 fail:
13554 return NULL;
13555}
13556
13557
c32bde28 13558static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13559 PyObject *resultobj = NULL;
d55e5bfc
RD
13560 wxJoystick *arg1 = (wxJoystick *) 0 ;
13561 bool result;
13562 PyObject * obj0 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
13568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (bool)(arg1)->HasZ();
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 {
13578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13579 }
13580 return resultobj;
13581 fail:
13582 return NULL;
13583}
13584
13585
c32bde28 13586static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13587 PyObject *resultobj = NULL;
d55e5bfc
RD
13588 wxJoystick *arg1 = (wxJoystick *) 0 ;
13589 bool result;
13590 PyObject * obj0 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
13596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 result = (bool)(arg1)->HasU();
13601
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 {
13606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13607 }
13608 return resultobj;
13609 fail:
13610 return NULL;
13611}
13612
13613
c32bde28 13614static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13615 PyObject *resultobj = NULL;
d55e5bfc
RD
13616 wxJoystick *arg1 = (wxJoystick *) 0 ;
13617 bool result;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
13624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (bool)(arg1)->HasV();
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 {
13634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13635 }
13636 return resultobj;
13637 fail:
13638 return NULL;
13639}
13640
13641
c32bde28 13642static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13643 PyObject *resultobj = NULL;
d55e5bfc
RD
13644 wxJoystick *arg1 = (wxJoystick *) 0 ;
13645 bool result;
13646 PyObject * obj0 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
13652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 result = (bool)(arg1)->HasPOV();
13657
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 {
13662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13663 }
13664 return resultobj;
13665 fail:
13666 return NULL;
13667}
13668
13669
c32bde28 13670static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13671 PyObject *resultobj = NULL;
d55e5bfc
RD
13672 wxJoystick *arg1 = (wxJoystick *) 0 ;
13673 bool result;
13674 PyObject * obj0 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "self", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
13680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (bool)(arg1)->HasPOV4Dir();
13685
13686 wxPyEndAllowThreads(__tstate);
13687 if (PyErr_Occurred()) SWIG_fail;
13688 }
13689 {
13690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13691 }
13692 return resultobj;
13693 fail:
13694 return NULL;
13695}
13696
13697
c32bde28 13698static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13699 PyObject *resultobj = NULL;
d55e5bfc
RD
13700 wxJoystick *arg1 = (wxJoystick *) 0 ;
13701 bool result;
13702 PyObject * obj0 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
13708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = (bool)(arg1)->HasPOVCTS();
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13719 }
13720 return resultobj;
13721 fail:
13722 return NULL;
13723}
13724
13725
c32bde28 13726static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13727 PyObject *resultobj = NULL;
d55e5bfc
RD
13728 wxJoystick *arg1 = (wxJoystick *) 0 ;
13729 wxWindow *arg2 = (wxWindow *) 0 ;
13730 int arg3 = (int) 0 ;
13731 bool result;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 PyObject * obj2 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13741 if (SWIG_arg_fail(1)) SWIG_fail;
13742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13743 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13744 if (obj2) {
093d3ff1 13745 {
7449af73 13746 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13747 if (SWIG_arg_fail(3)) SWIG_fail;
13748 }
d55e5bfc
RD
13749 }
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 result = (bool)(arg1)->SetCapture(arg2,arg3);
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 {
13758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13759 }
13760 return resultobj;
13761 fail:
13762 return NULL;
13763}
13764
13765
c32bde28 13766static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13767 PyObject *resultobj = NULL;
d55e5bfc
RD
13768 wxJoystick *arg1 = (wxJoystick *) 0 ;
13769 bool result;
13770 PyObject * obj0 = 0 ;
13771 char *kwnames[] = {
13772 (char *) "self", NULL
13773 };
13774
13775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
13776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = (bool)(arg1)->ReleaseCapture();
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
13785 {
13786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13787 }
13788 return resultobj;
13789 fail:
13790 return NULL;
13791}
13792
13793
c32bde28 13794static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13795 PyObject *obj;
13796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
13798 Py_INCREF(obj);
13799 return Py_BuildValue((char *)"");
13800}
c32bde28 13801static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13802 PyObject *resultobj = NULL;
d55e5bfc
RD
13803 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13804 int arg2 = (int) 0 ;
13805 int arg3 = (int) wxJOYSTICK1 ;
13806 int arg4 = (int) 0 ;
13807 wxJoystickEvent *result;
13808 PyObject * obj0 = 0 ;
13809 PyObject * obj1 = 0 ;
13810 PyObject * obj2 = 0 ;
13811 PyObject * obj3 = 0 ;
13812 char *kwnames[] = {
13813 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13814 };
13815
13816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13817 if (obj0) {
093d3ff1 13818 {
7449af73 13819 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13820 if (SWIG_arg_fail(1)) SWIG_fail;
13821 }
d55e5bfc
RD
13822 }
13823 if (obj1) {
093d3ff1 13824 {
7449af73 13825 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13826 if (SWIG_arg_fail(2)) SWIG_fail;
13827 }
d55e5bfc
RD
13828 }
13829 if (obj2) {
093d3ff1 13830 {
7449af73 13831 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13832 if (SWIG_arg_fail(3)) SWIG_fail;
13833 }
d55e5bfc
RD
13834 }
13835 if (obj3) {
093d3ff1 13836 {
7449af73 13837 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13838 if (SWIG_arg_fail(4)) SWIG_fail;
13839 }
d55e5bfc
RD
13840 }
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
13849 return resultobj;
13850 fail:
13851 return NULL;
13852}
13853
13854
c32bde28 13855static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13856 PyObject *resultobj = NULL;
d55e5bfc
RD
13857 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13858 wxPoint result;
13859 PyObject * obj0 = 0 ;
13860 char *kwnames[] = {
13861 (char *) "self", NULL
13862 };
13863
13864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13867 {
13868 PyThreadState* __tstate = wxPyBeginAllowThreads();
13869 result = ((wxJoystickEvent const *)arg1)->GetPosition();
13870
13871 wxPyEndAllowThreads(__tstate);
13872 if (PyErr_Occurred()) SWIG_fail;
13873 }
13874 {
13875 wxPoint * resultptr;
7449af73 13876 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
13877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
13878 }
13879 return resultobj;
13880 fail:
13881 return NULL;
13882}
13883
13884
c32bde28 13885static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13886 PyObject *resultobj = NULL;
d55e5bfc
RD
13887 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13888 int result;
13889 PyObject * obj0 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
093d3ff1 13904 {
7449af73 13905 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13906 }
d55e5bfc
RD
13907 return resultobj;
13908 fail:
13909 return NULL;
13910}
13911
13912
c32bde28 13913static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13914 PyObject *resultobj = NULL;
d55e5bfc
RD
13915 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13916 int result;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
13923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
093d3ff1 13932 {
7449af73 13933 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13934 }
d55e5bfc
RD
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
c32bde28 13941static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13942 PyObject *resultobj = NULL;
d55e5bfc
RD
13943 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13944 int result;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
13951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
093d3ff1 13960 {
7449af73 13961 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13962 }
d55e5bfc
RD
13963 return resultobj;
13964 fail:
13965 return NULL;
13966}
13967
13968
c32bde28 13969static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13970 PyObject *resultobj = NULL;
d55e5bfc
RD
13971 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13972 int result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
13979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
093d3ff1 13988 {
7449af73 13989 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13990 }
d55e5bfc
RD
13991 return resultobj;
13992 fail:
13993 return NULL;
13994}
13995
13996
c32bde28 13997static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13998 PyObject *resultobj = NULL;
d55e5bfc
RD
13999 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14000 int arg2 ;
14001 PyObject * obj0 = 0 ;
14002 PyObject * obj1 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self",(char *) "stick", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail;
14010 {
7449af73 14011 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14012 if (SWIG_arg_fail(2)) SWIG_fail;
14013 }
d55e5bfc
RD
14014 {
14015 PyThreadState* __tstate = wxPyBeginAllowThreads();
14016 (arg1)->SetJoystick(arg2);
14017
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 Py_INCREF(Py_None); resultobj = Py_None;
14022 return resultobj;
14023 fail:
14024 return NULL;
14025}
14026
14027
c32bde28 14028static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14029 PyObject *resultobj = NULL;
d55e5bfc
RD
14030 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14031 int arg2 ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self",(char *) "state", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail;
14041 {
7449af73 14042 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14043 if (SWIG_arg_fail(2)) SWIG_fail;
14044 }
d55e5bfc
RD
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetButtonState(arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 return resultobj;
14054 fail:
14055 return NULL;
14056}
14057
14058
c32bde28 14059static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14060 PyObject *resultobj = NULL;
d55e5bfc
RD
14061 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14062 int arg2 ;
14063 PyObject * obj0 = 0 ;
14064 PyObject * obj1 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "change", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14071 if (SWIG_arg_fail(1)) SWIG_fail;
14072 {
7449af73 14073 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14074 if (SWIG_arg_fail(2)) SWIG_fail;
14075 }
d55e5bfc
RD
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 (arg1)->SetButtonChange(arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 Py_INCREF(Py_None); resultobj = Py_None;
14084 return resultobj;
14085 fail:
14086 return NULL;
14087}
14088
14089
c32bde28 14090static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14091 PyObject *resultobj = NULL;
d55e5bfc
RD
14092 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14093 wxPoint *arg2 = 0 ;
14094 wxPoint temp2 ;
14095 PyObject * obj0 = 0 ;
14096 PyObject * obj1 = 0 ;
14097 char *kwnames[] = {
14098 (char *) "self",(char *) "pos", NULL
14099 };
14100
14101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14104 {
14105 arg2 = &temp2;
14106 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14107 }
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 (arg1)->SetPosition((wxPoint const &)*arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 Py_INCREF(Py_None); resultobj = Py_None;
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
c32bde28 14122static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14123 PyObject *resultobj = NULL;
d55e5bfc
RD
14124 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14125 int arg2 ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "zPos", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail;
14135 {
7449af73 14136 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14137 if (SWIG_arg_fail(2)) SWIG_fail;
14138 }
d55e5bfc
RD
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 (arg1)->SetZPosition(arg2);
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 Py_INCREF(Py_None); resultobj = Py_None;
14147 return resultobj;
14148 fail:
14149 return NULL;
14150}
14151
14152
c32bde28 14153static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14154 PyObject *resultobj = NULL;
d55e5bfc
RD
14155 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14156 bool result;
14157 PyObject * obj0 = 0 ;
14158 char *kwnames[] = {
14159 (char *) "self", NULL
14160 };
14161
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
14163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 {
14173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14174 }
14175 return resultobj;
14176 fail:
14177 return NULL;
14178}
14179
14180
c32bde28 14181static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14182 PyObject *resultobj = NULL;
d55e5bfc
RD
14183 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14184 bool result;
14185 PyObject * obj0 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
14191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 {
14201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14202 }
14203 return resultobj;
14204 fail:
14205 return NULL;
14206}
14207
14208
c32bde28 14209static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14210 PyObject *resultobj = NULL;
d55e5bfc
RD
14211 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14212 bool result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
14219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14221 {
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
14224
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 {
14229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14230 }
14231 return resultobj;
14232 fail:
14233 return NULL;
14234}
14235
14236
c32bde28 14237static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14238 PyObject *resultobj = NULL;
d55e5bfc
RD
14239 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14240 int arg2 = (int) wxJOY_BUTTON_ANY ;
14241 bool result;
14242 PyObject * obj0 = 0 ;
14243 PyObject * obj1 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self",(char *) "but", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14251 if (obj1) {
093d3ff1 14252 {
7449af73 14253 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14254 if (SWIG_arg_fail(2)) SWIG_fail;
14255 }
d55e5bfc
RD
14256 }
14257 {
14258 PyThreadState* __tstate = wxPyBeginAllowThreads();
14259 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
14260
14261 wxPyEndAllowThreads(__tstate);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 {
14265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14266 }
14267 return resultobj;
14268 fail:
14269 return NULL;
14270}
14271
14272
c32bde28 14273static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14274 PyObject *resultobj = NULL;
d55e5bfc
RD
14275 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14276 int arg2 = (int) wxJOY_BUTTON_ANY ;
14277 bool result;
14278 PyObject * obj0 = 0 ;
14279 PyObject * obj1 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self",(char *) "but", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14287 if (obj1) {
093d3ff1 14288 {
7449af73 14289 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14290 if (SWIG_arg_fail(2)) SWIG_fail;
14291 }
d55e5bfc
RD
14292 }
14293 {
14294 PyThreadState* __tstate = wxPyBeginAllowThreads();
14295 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
14296
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 {
14301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14302 }
14303 return resultobj;
14304 fail:
14305 return NULL;
14306}
14307
14308
c32bde28 14309static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14310 PyObject *resultobj = NULL;
d55e5bfc
RD
14311 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14312 int arg2 = (int) wxJOY_BUTTON_ANY ;
14313 bool result;
14314 PyObject * obj0 = 0 ;
14315 PyObject * obj1 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "but", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14323 if (obj1) {
093d3ff1 14324 {
7449af73 14325 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14326 if (SWIG_arg_fail(2)) SWIG_fail;
14327 }
d55e5bfc
RD
14328 }
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 {
14337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14338 }
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
c32bde28 14345static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14346 PyObject *obj;
14347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
14349 Py_INCREF(obj);
14350 return Py_BuildValue((char *)"");
14351}
c32bde28 14352static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14353 PyObject *resultobj = NULL;
b1f29bf7
RD
14354 wxString const &arg1_defvalue = wxPyEmptyString ;
14355 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 14356 wxSound *result;
ae8162c8 14357 bool temp1 = false ;
d55e5bfc 14358 PyObject * obj0 = 0 ;
b1f29bf7
RD
14359 char *kwnames[] = {
14360 (char *) "fileName", NULL
14361 };
d55e5bfc 14362
b1f29bf7
RD
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
14364 if (obj0) {
14365 {
14366 arg1 = wxString_in_helper(obj0);
14367 if (arg1 == NULL) SWIG_fail;
ae8162c8 14368 temp1 = true;
b1f29bf7 14369 }
d55e5bfc
RD
14370 }
14371 {
0439c23b 14372 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14373 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14374 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
14375
14376 wxPyEndAllowThreads(__tstate);
110da5b0 14377 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14378 }
14379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14380 {
14381 if (temp1)
14382 delete arg1;
14383 }
14384 return resultobj;
14385 fail:
14386 {
14387 if (temp1)
14388 delete arg1;
14389 }
14390 return NULL;
14391}
14392
14393
c32bde28 14394static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14395 PyObject *resultobj = NULL;
b1f29bf7 14396 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
14397 wxSound *result;
14398 PyObject * obj0 = 0 ;
b1f29bf7
RD
14399 char *kwnames[] = {
14400 (char *) "data", NULL
14401 };
d55e5bfc 14402
b1f29bf7
RD
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
14404 arg1 = obj0;
d55e5bfc 14405 {
0439c23b 14406 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14408 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
14409
14410 wxPyEndAllowThreads(__tstate);
110da5b0 14411 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14412 }
14413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14414 return resultobj;
14415 fail:
14416 return NULL;
14417}
14418
14419
c32bde28 14420static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14421 PyObject *resultobj = NULL;
d55e5bfc
RD
14422 wxSound *arg1 = (wxSound *) 0 ;
14423 PyObject * obj0 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
14429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 delete arg1;
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 Py_INCREF(Py_None); resultobj = Py_None;
14439 return resultobj;
14440 fail:
14441 return NULL;
14442}
14443
14444
c32bde28 14445static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14446 PyObject *resultobj = NULL;
d55e5bfc
RD
14447 wxSound *arg1 = (wxSound *) 0 ;
14448 wxString *arg2 = 0 ;
d55e5bfc 14449 bool result;
ae8162c8 14450 bool temp2 = false ;
d55e5bfc
RD
14451 PyObject * obj0 = 0 ;
14452 PyObject * obj1 = 0 ;
b1f29bf7
RD
14453 char *kwnames[] = {
14454 (char *) "self",(char *) "fileName", NULL
14455 };
d55e5bfc 14456
b1f29bf7 14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14460 {
14461 arg2 = wxString_in_helper(obj1);
14462 if (arg2 == NULL) SWIG_fail;
ae8162c8 14463 temp2 = true;
d55e5bfc 14464 }
d55e5bfc
RD
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14467 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14474 }
14475 {
14476 if (temp2)
14477 delete arg2;
14478 }
14479 return resultobj;
14480 fail:
14481 {
14482 if (temp2)
14483 delete arg2;
14484 }
14485 return NULL;
14486}
14487
14488
c32bde28 14489static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14490 PyObject *resultobj = NULL;
d55e5bfc 14491 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 14492 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
14493 bool result;
14494 PyObject * obj0 = 0 ;
14495 PyObject * obj1 = 0 ;
b1f29bf7
RD
14496 char *kwnames[] = {
14497 (char *) "self",(char *) "data", NULL
14498 };
d55e5bfc 14499
b1f29bf7 14500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14502 if (SWIG_arg_fail(1)) SWIG_fail;
b1f29bf7 14503 arg2 = obj1;
d55e5bfc
RD
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14506 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 {
14512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14513 }
14514 return resultobj;
14515 fail:
14516 return NULL;
14517}
14518
14519
c32bde28 14520static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14521 PyObject *resultobj = NULL;
d55e5bfc
RD
14522 wxSound *arg1 = (wxSound *) 0 ;
14523 bool result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
14530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (bool)(arg1)->IsOk();
14535
14536 wxPyEndAllowThreads(__tstate);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 {
14540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14541 }
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
c32bde28 14548static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14549 PyObject *resultobj = NULL;
d55e5bfc
RD
14550 wxSound *arg1 = (wxSound *) 0 ;
14551 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14552 bool result;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
b1f29bf7
RD
14555 char *kwnames[] = {
14556 (char *) "self",(char *) "flags", NULL
14557 };
d55e5bfc 14558
b1f29bf7 14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14562 if (obj1) {
093d3ff1 14563 {
7449af73 14564 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
14565 if (SWIG_arg_fail(2)) SWIG_fail;
14566 }
d55e5bfc
RD
14567 }
14568 {
0439c23b 14569 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 result = (bool)((wxSound const *)arg1)->Play(arg2);
14572
14573 wxPyEndAllowThreads(__tstate);
110da5b0 14574 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14575 }
14576 {
14577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14578 }
14579 return resultobj;
14580 fail:
14581 return NULL;
14582}
14583
14584
c32bde28 14585static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14586 PyObject *resultobj = NULL;
d55e5bfc
RD
14587 wxString *arg1 = 0 ;
14588 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14589 bool result;
ae8162c8 14590 bool temp1 = false ;
d55e5bfc
RD
14591 PyObject * obj0 = 0 ;
14592 PyObject * obj1 = 0 ;
b1f29bf7
RD
14593 char *kwnames[] = {
14594 (char *) "filename",(char *) "flags", NULL
14595 };
d55e5bfc 14596
b1f29bf7 14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
14598 {
14599 arg1 = wxString_in_helper(obj0);
14600 if (arg1 == NULL) SWIG_fail;
ae8162c8 14601 temp1 = true;
d55e5bfc
RD
14602 }
14603 if (obj1) {
093d3ff1 14604 {
7449af73 14605 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
14606 if (SWIG_arg_fail(2)) SWIG_fail;
14607 }
d55e5bfc
RD
14608 }
14609 {
0439c23b 14610 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14611 PyThreadState* __tstate = wxPyBeginAllowThreads();
14612 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
14613
14614 wxPyEndAllowThreads(__tstate);
110da5b0 14615 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14616 }
14617 {
14618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14619 }
14620 {
14621 if (temp1)
14622 delete arg1;
14623 }
14624 return resultobj;
14625 fail:
14626 {
14627 if (temp1)
14628 delete arg1;
14629 }
14630 return NULL;
14631}
14632
14633
c32bde28 14634static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14635 PyObject *resultobj = NULL;
d55e5bfc
RD
14636 char *kwnames[] = {
14637 NULL
14638 };
14639
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
14641 {
0439c23b 14642 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 wxSound::Stop();
14645
14646 wxPyEndAllowThreads(__tstate);
110da5b0 14647 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 return resultobj;
14651 fail:
14652 return NULL;
14653}
14654
14655
c32bde28 14656static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14657 PyObject *obj;
14658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14659 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
14660 Py_INCREF(obj);
14661 return Py_BuildValue((char *)"");
14662}
c32bde28 14663static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14664 PyObject *resultobj = NULL;
d55e5bfc
RD
14665 wxString *arg1 = 0 ;
14666 wxString *arg2 = 0 ;
14667 wxString *arg3 = 0 ;
14668 wxString *arg4 = 0 ;
14669 wxFileTypeInfo *result;
ae8162c8
RD
14670 bool temp1 = false ;
14671 bool temp2 = false ;
14672 bool temp3 = false ;
14673 bool temp4 = false ;
d55e5bfc
RD
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 PyObject * obj2 = 0 ;
14677 PyObject * obj3 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14683 {
14684 arg1 = wxString_in_helper(obj0);
14685 if (arg1 == NULL) SWIG_fail;
ae8162c8 14686 temp1 = true;
d55e5bfc
RD
14687 }
14688 {
14689 arg2 = wxString_in_helper(obj1);
14690 if (arg2 == NULL) SWIG_fail;
ae8162c8 14691 temp2 = true;
d55e5bfc
RD
14692 }
14693 {
14694 arg3 = wxString_in_helper(obj2);
14695 if (arg3 == NULL) SWIG_fail;
ae8162c8 14696 temp3 = true;
d55e5bfc
RD
14697 }
14698 {
14699 arg4 = wxString_in_helper(obj3);
14700 if (arg4 == NULL) SWIG_fail;
ae8162c8 14701 temp4 = true;
d55e5bfc
RD
14702 }
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14711 {
14712 if (temp1)
14713 delete arg1;
14714 }
14715 {
14716 if (temp2)
14717 delete arg2;
14718 }
14719 {
14720 if (temp3)
14721 delete arg3;
14722 }
14723 {
14724 if (temp4)
14725 delete arg4;
14726 }
14727 return resultobj;
14728 fail:
14729 {
14730 if (temp1)
14731 delete arg1;
14732 }
14733 {
14734 if (temp2)
14735 delete arg2;
14736 }
14737 {
14738 if (temp3)
14739 delete arg3;
14740 }
14741 {
14742 if (temp4)
14743 delete arg4;
14744 }
14745 return NULL;
14746}
14747
14748
c32bde28 14749static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14750 PyObject *resultobj = NULL;
d55e5bfc
RD
14751 wxArrayString *arg1 = 0 ;
14752 wxFileTypeInfo *result;
ae8162c8 14753 bool temp1 = false ;
d55e5bfc
RD
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "sArray", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
14760 {
14761 if (! PySequence_Check(obj0)) {
14762 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14763 SWIG_fail;
14764 }
14765 arg1 = new wxArrayString;
ae8162c8 14766 temp1 = true;
d55e5bfc
RD
14767 int i, len=PySequence_Length(obj0);
14768 for (i=0; i<len; i++) {
14769 PyObject* item = PySequence_GetItem(obj0, i);
71237536 14770 wxString* s = wxString_in_helper(item);
d55e5bfc 14771 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14772 arg1->Add(*s);
14773 delete s;
d55e5bfc 14774 Py_DECREF(item);
d55e5bfc
RD
14775 }
14776 }
14777 {
14778 PyThreadState* __tstate = wxPyBeginAllowThreads();
14779 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
14780
14781 wxPyEndAllowThreads(__tstate);
14782 if (PyErr_Occurred()) SWIG_fail;
14783 }
14784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14785 {
14786 if (temp1) delete arg1;
14787 }
14788 return resultobj;
14789 fail:
14790 {
14791 if (temp1) delete arg1;
14792 }
14793 return NULL;
14794}
14795
14796
c32bde28 14797static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14798 PyObject *resultobj = NULL;
d55e5bfc
RD
14799 wxFileTypeInfo *result;
14800 char *kwnames[] = {
14801 NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (wxFileTypeInfo *)new wxFileTypeInfo();
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14813 return resultobj;
14814 fail:
14815 return NULL;
14816}
14817
14818
c32bde28 14819static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14820 PyObject *resultobj = NULL;
d55e5bfc
RD
14821 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14822 bool result;
14823 PyObject * obj0 = 0 ;
14824 char *kwnames[] = {
14825 (char *) "self", NULL
14826 };
14827
14828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
14829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14831 {
14832 PyThreadState* __tstate = wxPyBeginAllowThreads();
14833 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
14834
14835 wxPyEndAllowThreads(__tstate);
14836 if (PyErr_Occurred()) SWIG_fail;
14837 }
14838 {
14839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14840 }
14841 return resultobj;
14842 fail:
14843 return NULL;
14844}
14845
14846
c32bde28 14847static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14848 PyObject *resultobj = NULL;
d55e5bfc
RD
14849 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14850 wxString *arg2 = 0 ;
14851 int arg3 = (int) 0 ;
ae8162c8 14852 bool temp2 = false ;
d55e5bfc
RD
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 PyObject * obj2 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14863 {
14864 arg2 = wxString_in_helper(obj1);
14865 if (arg2 == NULL) SWIG_fail;
ae8162c8 14866 temp2 = true;
d55e5bfc
RD
14867 }
14868 if (obj2) {
093d3ff1 14869 {
7449af73 14870 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14871 if (SWIG_arg_fail(3)) SWIG_fail;
14872 }
d55e5bfc
RD
14873 }
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 (arg1)->SetIcon((wxString const &)*arg2,arg3);
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 {
14883 if (temp2)
14884 delete arg2;
14885 }
14886 return resultobj;
14887 fail:
14888 {
14889 if (temp2)
14890 delete arg2;
14891 }
14892 return NULL;
14893}
14894
14895
c32bde28 14896static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14897 PyObject *resultobj = NULL;
d55e5bfc
RD
14898 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14899 wxString *arg2 = 0 ;
ae8162c8 14900 bool temp2 = false ;
d55e5bfc
RD
14901 PyObject * obj0 = 0 ;
14902 PyObject * obj1 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self",(char *) "shortDesc", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14910 {
14911 arg2 = wxString_in_helper(obj1);
14912 if (arg2 == NULL) SWIG_fail;
ae8162c8 14913 temp2 = true;
d55e5bfc
RD
14914 }
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 (arg1)->SetShortDesc((wxString const &)*arg2);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 Py_INCREF(Py_None); resultobj = Py_None;
14923 {
14924 if (temp2)
14925 delete arg2;
14926 }
14927 return resultobj;
14928 fail:
14929 {
14930 if (temp2)
14931 delete arg2;
14932 }
14933 return NULL;
14934}
14935
14936
c32bde28 14937static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14938 PyObject *resultobj = NULL;
d55e5bfc
RD
14939 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14940 wxString *result;
14941 PyObject * obj0 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14949 {
14950 PyThreadState* __tstate = wxPyBeginAllowThreads();
14951 {
14952 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14953 result = (wxString *) &_result_ref;
14954 }
14955
14956 wxPyEndAllowThreads(__tstate);
14957 if (PyErr_Occurred()) SWIG_fail;
14958 }
14959 {
14960#if wxUSE_UNICODE
14961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14962#else
14963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14964#endif
14965 }
14966 return resultobj;
14967 fail:
14968 return NULL;
14969}
14970
14971
c32bde28 14972static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14973 PyObject *resultobj = NULL;
d55e5bfc
RD
14974 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14975 wxString *result;
14976 PyObject * obj0 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14984 {
14985 PyThreadState* __tstate = wxPyBeginAllowThreads();
14986 {
14987 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14988 result = (wxString *) &_result_ref;
14989 }
14990
14991 wxPyEndAllowThreads(__tstate);
14992 if (PyErr_Occurred()) SWIG_fail;
14993 }
14994 {
14995#if wxUSE_UNICODE
14996 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14997#else
14998 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14999#endif
15000 }
15001 return resultobj;
15002 fail:
15003 return NULL;
15004}
15005
15006
c32bde28 15007static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15008 PyObject *resultobj = NULL;
d55e5bfc
RD
15009 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15010 wxString *result;
15011 PyObject * obj0 = 0 ;
15012 char *kwnames[] = {
15013 (char *) "self", NULL
15014 };
15015
15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
15017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15019 {
15020 PyThreadState* __tstate = wxPyBeginAllowThreads();
15021 {
15022 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
15023 result = (wxString *) &_result_ref;
15024 }
15025
15026 wxPyEndAllowThreads(__tstate);
15027 if (PyErr_Occurred()) SWIG_fail;
15028 }
15029 {
15030#if wxUSE_UNICODE
15031 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15032#else
15033 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15034#endif
15035 }
15036 return resultobj;
15037 fail:
15038 return NULL;
15039}
15040
15041
c32bde28 15042static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15043 PyObject *resultobj = NULL;
d55e5bfc
RD
15044 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15045 wxString *result;
15046 PyObject * obj0 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
15052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 {
15057 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
15058 result = (wxString *) &_result_ref;
15059 }
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 {
15065#if wxUSE_UNICODE
15066 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15067#else
15068 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15069#endif
15070 }
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
c32bde28 15077static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15078 PyObject *resultobj = NULL;
d55e5bfc
RD
15079 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15080 wxString *result;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
15087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 {
15092 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
15093 result = (wxString *) &_result_ref;
15094 }
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 {
15100#if wxUSE_UNICODE
15101 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15102#else
15103 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15104#endif
15105 }
15106 return resultobj;
15107 fail:
15108 return NULL;
15109}
15110
15111
c32bde28 15112static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15113 PyObject *resultobj = NULL;
d55e5bfc
RD
15114 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15115 wxArrayString *result;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
15122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 {
15127 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
15128 result = (wxArrayString *) &_result_ref;
15129 }
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 {
15135 resultobj = wxArrayString2PyList_helper(*result);
15136 }
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
c32bde28 15143static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15144 PyObject *resultobj = NULL;
d55e5bfc
RD
15145 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15146 int result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
15153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15155 {
15156 PyThreadState* __tstate = wxPyBeginAllowThreads();
15157 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
15158
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
093d3ff1 15162 {
7449af73 15163 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15164 }
d55e5bfc
RD
15165 return resultobj;
15166 fail:
15167 return NULL;
15168}
15169
15170
c32bde28 15171static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15172 PyObject *resultobj = NULL;
d55e5bfc
RD
15173 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15174 wxString *result;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
15181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 {
15186 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
15187 result = (wxString *) &_result_ref;
15188 }
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194#if wxUSE_UNICODE
15195 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15196#else
15197 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15198#endif
15199 }
15200 return resultobj;
15201 fail:
15202 return NULL;
15203}
15204
15205
c32bde28 15206static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15207 PyObject *resultobj = NULL;
d55e5bfc
RD
15208 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15209 int result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
15216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
093d3ff1 15225 {
7449af73 15226 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15227 }
d55e5bfc
RD
15228 return resultobj;
15229 fail:
15230 return NULL;
15231}
15232
15233
c32bde28 15234static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15235 PyObject *obj;
15236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15237 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
15238 Py_INCREF(obj);
15239 return Py_BuildValue((char *)"");
15240}
c32bde28 15241static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15242 PyObject *resultobj = NULL;
d55e5bfc
RD
15243 wxFileTypeInfo *arg1 = 0 ;
15244 wxFileType *result;
15245 PyObject * obj0 = 0 ;
15246 char *kwnames[] = {
15247 (char *) "ftInfo", NULL
15248 };
15249
15250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15251 {
15252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail;
15254 if (arg1 == NULL) {
15255 SWIG_null_ref("wxFileTypeInfo");
15256 }
15257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15258 }
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15267 return resultobj;
15268 fail:
15269 return NULL;
15270}
15271
15272
c32bde28 15273static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15274 PyObject *resultobj = NULL;
d55e5bfc
RD
15275 wxFileType *arg1 = (wxFileType *) 0 ;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 delete arg1;
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 Py_INCREF(Py_None); resultobj = Py_None;
15292 return resultobj;
15293 fail:
15294 return NULL;
15295}
15296
15297
c32bde28 15298static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15299 PyObject *resultobj = NULL;
d55e5bfc
RD
15300 wxFileType *arg1 = (wxFileType *) 0 ;
15301 PyObject *result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (PyObject *)wxFileType_GetMimeType(arg1);
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 resultobj = result;
15318 return resultobj;
15319 fail:
15320 return NULL;
15321}
15322
15323
c32bde28 15324static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15325 PyObject *resultobj = NULL;
d55e5bfc
RD
15326 wxFileType *arg1 = (wxFileType *) 0 ;
15327 PyObject *result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 resultobj = result;
15344 return resultobj;
15345 fail:
15346 return NULL;
15347}
15348
15349
c32bde28 15350static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15351 PyObject *resultobj = NULL;
d55e5bfc
RD
15352 wxFileType *arg1 = (wxFileType *) 0 ;
15353 PyObject *result;
15354 PyObject * obj0 = 0 ;
15355 char *kwnames[] = {
15356 (char *) "self", NULL
15357 };
15358
15359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
15360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 result = (PyObject *)wxFileType_GetExtensions(arg1);
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 resultobj = result;
15370 return resultobj;
15371 fail:
15372 return NULL;
15373}
15374
15375
c32bde28 15376static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15377 PyObject *resultobj = NULL;
d55e5bfc
RD
15378 wxFileType *arg1 = (wxFileType *) 0 ;
15379 wxIcon *result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
15386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15388 {
15389 PyThreadState* __tstate = wxPyBeginAllowThreads();
15390 result = (wxIcon *)wxFileType_GetIcon(arg1);
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
15395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
15396 return resultobj;
15397 fail:
15398 return NULL;
15399}
15400
15401
c32bde28 15402static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15403 PyObject *resultobj = NULL;
d55e5bfc
RD
15404 wxFileType *arg1 = (wxFileType *) 0 ;
15405 PyObject *result;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
15412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = (PyObject *)wxFileType_GetIconInfo(arg1);
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 resultobj = result;
15422 return resultobj;
15423 fail:
15424 return NULL;
15425}
15426
15427
c32bde28 15428static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15429 PyObject *resultobj = NULL;
d55e5bfc
RD
15430 wxFileType *arg1 = (wxFileType *) 0 ;
15431 PyObject *result;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
15438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (PyObject *)wxFileType_GetDescription(arg1);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 resultobj = result;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451}
15452
15453
c32bde28 15454static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15455 PyObject *resultobj = NULL;
d55e5bfc
RD
15456 wxFileType *arg1 = (wxFileType *) 0 ;
15457 wxString *arg2 = 0 ;
15458 wxString const &arg3_defvalue = wxPyEmptyString ;
15459 wxString *arg3 = (wxString *) &arg3_defvalue ;
15460 PyObject *result;
ae8162c8
RD
15461 bool temp2 = false ;
15462 bool temp3 = false ;
d55e5bfc
RD
15463 PyObject * obj0 = 0 ;
15464 PyObject * obj1 = 0 ;
15465 PyObject * obj2 = 0 ;
15466 char *kwnames[] = {
15467 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15468 };
15469
15470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15473 {
15474 arg2 = wxString_in_helper(obj1);
15475 if (arg2 == NULL) SWIG_fail;
ae8162c8 15476 temp2 = true;
d55e5bfc
RD
15477 }
15478 if (obj2) {
15479 {
15480 arg3 = wxString_in_helper(obj2);
15481 if (arg3 == NULL) SWIG_fail;
ae8162c8 15482 temp3 = true;
d55e5bfc
RD
15483 }
15484 }
15485 {
15486 PyThreadState* __tstate = wxPyBeginAllowThreads();
15487 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15488
15489 wxPyEndAllowThreads(__tstate);
15490 if (PyErr_Occurred()) SWIG_fail;
15491 }
15492 resultobj = result;
15493 {
15494 if (temp2)
15495 delete arg2;
15496 }
15497 {
15498 if (temp3)
15499 delete arg3;
15500 }
15501 return resultobj;
15502 fail:
15503 {
15504 if (temp2)
15505 delete arg2;
15506 }
15507 {
15508 if (temp3)
15509 delete arg3;
15510 }
15511 return NULL;
15512}
15513
15514
c32bde28 15515static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15516 PyObject *resultobj = NULL;
d55e5bfc
RD
15517 wxFileType *arg1 = (wxFileType *) 0 ;
15518 wxString *arg2 = 0 ;
15519 wxString const &arg3_defvalue = wxPyEmptyString ;
15520 wxString *arg3 = (wxString *) &arg3_defvalue ;
15521 PyObject *result;
ae8162c8
RD
15522 bool temp2 = false ;
15523 bool temp3 = false ;
d55e5bfc
RD
15524 PyObject * obj0 = 0 ;
15525 PyObject * obj1 = 0 ;
15526 PyObject * obj2 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15534 {
15535 arg2 = wxString_in_helper(obj1);
15536 if (arg2 == NULL) SWIG_fail;
ae8162c8 15537 temp2 = true;
d55e5bfc
RD
15538 }
15539 if (obj2) {
15540 {
15541 arg3 = wxString_in_helper(obj2);
15542 if (arg3 == NULL) SWIG_fail;
ae8162c8 15543 temp3 = true;
d55e5bfc
RD
15544 }
15545 }
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 resultobj = result;
15554 {
15555 if (temp2)
15556 delete arg2;
15557 }
15558 {
15559 if (temp3)
15560 delete arg3;
15561 }
15562 return resultobj;
15563 fail:
15564 {
15565 if (temp2)
15566 delete arg2;
15567 }
15568 {
15569 if (temp3)
15570 delete arg3;
15571 }
15572 return NULL;
15573}
15574
15575
c32bde28 15576static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15577 PyObject *resultobj = NULL;
d55e5bfc
RD
15578 wxFileType *arg1 = (wxFileType *) 0 ;
15579 wxString *arg2 = 0 ;
15580 wxString const &arg3_defvalue = wxPyEmptyString ;
15581 wxString *arg3 = (wxString *) &arg3_defvalue ;
15582 PyObject *result;
ae8162c8
RD
15583 bool temp2 = false ;
15584 bool temp3 = false ;
d55e5bfc
RD
15585 PyObject * obj0 = 0 ;
15586 PyObject * obj1 = 0 ;
15587 PyObject * obj2 = 0 ;
15588 char *kwnames[] = {
15589 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15590 };
15591
15592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15595 {
15596 arg2 = wxString_in_helper(obj1);
15597 if (arg2 == NULL) SWIG_fail;
ae8162c8 15598 temp2 = true;
d55e5bfc
RD
15599 }
15600 if (obj2) {
15601 {
15602 arg3 = wxString_in_helper(obj2);
15603 if (arg3 == NULL) SWIG_fail;
ae8162c8 15604 temp3 = true;
d55e5bfc
RD
15605 }
15606 }
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 resultobj = result;
15615 {
15616 if (temp2)
15617 delete arg2;
15618 }
15619 {
15620 if (temp3)
15621 delete arg3;
15622 }
15623 return resultobj;
15624 fail:
15625 {
15626 if (temp2)
15627 delete arg2;
15628 }
15629 {
15630 if (temp3)
15631 delete arg3;
15632 }
15633 return NULL;
15634}
15635
15636
c32bde28 15637static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15638 PyObject *resultobj = NULL;
d55e5bfc
RD
15639 wxFileType *arg1 = (wxFileType *) 0 ;
15640 wxString *arg2 = 0 ;
15641 wxString *arg3 = 0 ;
ae8162c8 15642 bool arg4 = (bool) true ;
d55e5bfc 15643 bool result;
ae8162c8
RD
15644 bool temp2 = false ;
15645 bool temp3 = false ;
d55e5bfc
RD
15646 PyObject * obj0 = 0 ;
15647 PyObject * obj1 = 0 ;
15648 PyObject * obj2 = 0 ;
15649 PyObject * obj3 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
15655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15657 {
15658 arg2 = wxString_in_helper(obj1);
15659 if (arg2 == NULL) SWIG_fail;
ae8162c8 15660 temp2 = true;
d55e5bfc
RD
15661 }
15662 {
15663 arg3 = wxString_in_helper(obj2);
15664 if (arg3 == NULL) SWIG_fail;
ae8162c8 15665 temp3 = true;
d55e5bfc
RD
15666 }
15667 if (obj3) {
093d3ff1 15668 {
7449af73 15669 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
15670 if (SWIG_arg_fail(4)) SWIG_fail;
15671 }
d55e5bfc
RD
15672 }
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 {
15681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15682 }
15683 {
15684 if (temp2)
15685 delete arg2;
15686 }
15687 {
15688 if (temp3)
15689 delete arg3;
15690 }
15691 return resultobj;
15692 fail:
15693 {
15694 if (temp2)
15695 delete arg2;
15696 }
15697 {
15698 if (temp3)
15699 delete arg3;
15700 }
15701 return NULL;
15702}
15703
15704
c32bde28 15705static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15706 PyObject *resultobj = NULL;
d55e5bfc
RD
15707 wxFileType *arg1 = (wxFileType *) 0 ;
15708 wxString const &arg2_defvalue = wxPyEmptyString ;
15709 wxString *arg2 = (wxString *) &arg2_defvalue ;
15710 int arg3 = (int) 0 ;
15711 bool result;
ae8162c8 15712 bool temp2 = false ;
d55e5bfc
RD
15713 PyObject * obj0 = 0 ;
15714 PyObject * obj1 = 0 ;
15715 PyObject * obj2 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self",(char *) "cmd",(char *) "index", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15722 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15723 if (obj1) {
15724 {
15725 arg2 = wxString_in_helper(obj1);
15726 if (arg2 == NULL) SWIG_fail;
ae8162c8 15727 temp2 = true;
d55e5bfc
RD
15728 }
15729 }
15730 if (obj2) {
093d3ff1 15731 {
7449af73 15732 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15733 if (SWIG_arg_fail(3)) SWIG_fail;
15734 }
d55e5bfc
RD
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 {
15744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15745 }
15746 {
15747 if (temp2)
15748 delete arg2;
15749 }
15750 return resultobj;
15751 fail:
15752 {
15753 if (temp2)
15754 delete arg2;
15755 }
15756 return NULL;
15757}
15758
15759
c32bde28 15760static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15761 PyObject *resultobj = NULL;
d55e5bfc
RD
15762 wxFileType *arg1 = (wxFileType *) 0 ;
15763 bool result;
15764 PyObject * obj0 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
15770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (bool)(arg1)->Unassociate();
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15781 }
15782 return resultobj;
15783 fail:
15784 return NULL;
15785}
15786
15787
c32bde28 15788static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15789 PyObject *resultobj = NULL;
d55e5bfc
RD
15790 wxString *arg1 = 0 ;
15791 wxString *arg2 = 0 ;
15792 wxString const &arg3_defvalue = wxPyEmptyString ;
15793 wxString *arg3 = (wxString *) &arg3_defvalue ;
15794 wxString result;
ae8162c8
RD
15795 bool temp1 = false ;
15796 bool temp2 = false ;
15797 bool temp3 = false ;
d55e5bfc
RD
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 PyObject * obj2 = 0 ;
15801 char *kwnames[] = {
15802 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15803 };
15804
15805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15806 {
15807 arg1 = wxString_in_helper(obj0);
15808 if (arg1 == NULL) SWIG_fail;
ae8162c8 15809 temp1 = true;
d55e5bfc
RD
15810 }
15811 {
15812 arg2 = wxString_in_helper(obj1);
15813 if (arg2 == NULL) SWIG_fail;
ae8162c8 15814 temp2 = true;
d55e5bfc
RD
15815 }
15816 if (obj2) {
15817 {
15818 arg3 = wxString_in_helper(obj2);
15819 if (arg3 == NULL) SWIG_fail;
ae8162c8 15820 temp3 = true;
d55e5bfc
RD
15821 }
15822 }
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 15825 result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
15826
15827 wxPyEndAllowThreads(__tstate);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 {
15831#if wxUSE_UNICODE
15832 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15833#else
15834 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15835#endif
15836 }
15837 {
15838 if (temp1)
15839 delete arg1;
15840 }
15841 {
15842 if (temp2)
15843 delete arg2;
15844 }
15845 {
15846 if (temp3)
15847 delete arg3;
15848 }
15849 return resultobj;
15850 fail:
15851 {
15852 if (temp1)
15853 delete arg1;
15854 }
15855 {
15856 if (temp2)
15857 delete arg2;
15858 }
15859 {
15860 if (temp3)
15861 delete arg3;
15862 }
15863 return NULL;
15864}
15865
15866
c32bde28 15867static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15868 PyObject *obj;
15869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15870 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
15871 Py_INCREF(obj);
15872 return Py_BuildValue((char *)"");
15873}
c32bde28 15874static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
15875 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
15876 return 1;
15877}
15878
15879
093d3ff1 15880static PyObject *_wrap_TheMimeTypesManager_get(void) {
7449af73 15881 PyObject *pyobj = NULL;
d55e5bfc
RD
15882
15883 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
15884 return pyobj;
15885}
15886
15887
c32bde28 15888static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15889 PyObject *resultobj = NULL;
d55e5bfc
RD
15890 wxString *arg1 = 0 ;
15891 wxString *arg2 = 0 ;
15892 bool result;
ae8162c8
RD
15893 bool temp1 = false ;
15894 bool temp2 = false ;
d55e5bfc
RD
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "mimeType",(char *) "wildcard", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
15902 {
15903 arg1 = wxString_in_helper(obj0);
15904 if (arg1 == NULL) SWIG_fail;
ae8162c8 15905 temp1 = true;
d55e5bfc
RD
15906 }
15907 {
15908 arg2 = wxString_in_helper(obj1);
15909 if (arg2 == NULL) SWIG_fail;
ae8162c8 15910 temp2 = true;
d55e5bfc
RD
15911 }
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 {
15920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15921 }
15922 {
15923 if (temp1)
15924 delete arg1;
15925 }
15926 {
15927 if (temp2)
15928 delete arg2;
15929 }
15930 return resultobj;
15931 fail:
15932 {
15933 if (temp1)
15934 delete arg1;
15935 }
15936 {
15937 if (temp2)
15938 delete arg2;
15939 }
15940 return NULL;
15941}
15942
15943
c32bde28 15944static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15945 PyObject *resultobj = NULL;
d55e5bfc
RD
15946 wxMimeTypesManager *result;
15947 char *kwnames[] = {
15948 NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
15960 return resultobj;
15961 fail:
15962 return NULL;
15963}
15964
15965
c32bde28 15966static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15967 PyObject *resultobj = NULL;
d55e5bfc
RD
15968 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15969 int arg2 = (int) wxMAILCAP_ALL ;
15970 wxString const &arg3_defvalue = wxPyEmptyString ;
15971 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 15972 bool temp3 = false ;
d55e5bfc
RD
15973 PyObject * obj0 = 0 ;
15974 PyObject * obj1 = 0 ;
15975 PyObject * obj2 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15983 if (obj1) {
093d3ff1 15984 {
7449af73 15985 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15986 if (SWIG_arg_fail(2)) SWIG_fail;
15987 }
d55e5bfc
RD
15988 }
15989 if (obj2) {
15990 {
15991 arg3 = wxString_in_helper(obj2);
15992 if (arg3 == NULL) SWIG_fail;
ae8162c8 15993 temp3 = true;
d55e5bfc
RD
15994 }
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->Initialize(arg2,(wxString const &)*arg3);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 {
16005 if (temp3)
16006 delete arg3;
16007 }
16008 return resultobj;
16009 fail:
16010 {
16011 if (temp3)
16012 delete arg3;
16013 }
16014 return NULL;
16015}
16016
16017
c32bde28 16018static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16019 PyObject *resultobj = NULL;
d55e5bfc
RD
16020 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16021 PyObject * obj0 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 (arg1)->ClearData();
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 Py_INCREF(Py_None); resultobj = Py_None;
16037 return resultobj;
16038 fail:
16039 return NULL;
16040}
16041
16042
c32bde28 16043static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16044 PyObject *resultobj = NULL;
d55e5bfc
RD
16045 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16046 wxString *arg2 = 0 ;
16047 wxFileType *result;
ae8162c8 16048 bool temp2 = false ;
d55e5bfc
RD
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "ext", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16058 {
16059 arg2 = wxString_in_helper(obj1);
16060 if (arg2 == NULL) SWIG_fail;
ae8162c8 16061 temp2 = true;
d55e5bfc
RD
16062 }
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16071 {
16072 if (temp2)
16073 delete arg2;
16074 }
16075 return resultobj;
16076 fail:
16077 {
16078 if (temp2)
16079 delete arg2;
16080 }
16081 return NULL;
16082}
16083
16084
c32bde28 16085static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16086 PyObject *resultobj = NULL;
d55e5bfc
RD
16087 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16088 wxString *arg2 = 0 ;
16089 wxFileType *result;
ae8162c8 16090 bool temp2 = false ;
d55e5bfc
RD
16091 PyObject * obj0 = 0 ;
16092 PyObject * obj1 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self",(char *) "mimeType", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16100 {
16101 arg2 = wxString_in_helper(obj1);
16102 if (arg2 == NULL) SWIG_fail;
ae8162c8 16103 temp2 = true;
d55e5bfc
RD
16104 }
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16113 {
16114 if (temp2)
16115 delete arg2;
16116 }
16117 return resultobj;
16118 fail:
16119 {
16120 if (temp2)
16121 delete arg2;
16122 }
16123 return NULL;
16124}
16125
16126
c32bde28 16127static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16128 PyObject *resultobj = NULL;
d55e5bfc
RD
16129 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16130 wxString *arg2 = 0 ;
ae8162c8 16131 bool arg3 = (bool) false ;
d55e5bfc 16132 bool result;
ae8162c8 16133 bool temp2 = false ;
d55e5bfc
RD
16134 PyObject * obj0 = 0 ;
16135 PyObject * obj1 = 0 ;
16136 PyObject * obj2 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16144 {
16145 arg2 = wxString_in_helper(obj1);
16146 if (arg2 == NULL) SWIG_fail;
ae8162c8 16147 temp2 = true;
d55e5bfc
RD
16148 }
16149 if (obj2) {
093d3ff1 16150 {
7449af73 16151 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
16152 if (SWIG_arg_fail(3)) SWIG_fail;
16153 }
d55e5bfc
RD
16154 }
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 {
16163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16164 }
16165 {
16166 if (temp2)
16167 delete arg2;
16168 }
16169 return resultobj;
16170 fail:
16171 {
16172 if (temp2)
16173 delete arg2;
16174 }
16175 return NULL;
16176}
16177
16178
c32bde28 16179static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16180 PyObject *resultobj = NULL;
d55e5bfc
RD
16181 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16182 wxString *arg2 = 0 ;
16183 bool result;
ae8162c8 16184 bool temp2 = false ;
d55e5bfc
RD
16185 PyObject * obj0 = 0 ;
16186 PyObject * obj1 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self",(char *) "filename", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16194 {
16195 arg2 = wxString_in_helper(obj1);
16196 if (arg2 == NULL) SWIG_fail;
ae8162c8 16197 temp2 = true;
d55e5bfc
RD
16198 }
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16208 }
16209 {
16210 if (temp2)
16211 delete arg2;
16212 }
16213 return resultobj;
16214 fail:
16215 {
16216 if (temp2)
16217 delete arg2;
16218 }
16219 return NULL;
16220}
16221
16222
c32bde28 16223static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16224 PyObject *resultobj = NULL;
d55e5bfc
RD
16225 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16226 PyObject *result;
16227 PyObject * obj0 = 0 ;
16228 char *kwnames[] = {
16229 (char *) "self", NULL
16230 };
16231
16232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
16233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 resultobj = result;
16243 return resultobj;
16244 fail:
16245 return NULL;
16246}
16247
16248
c32bde28 16249static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16250 PyObject *resultobj = NULL;
d55e5bfc
RD
16251 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16252 wxFileTypeInfo *arg2 = 0 ;
16253 PyObject * obj0 = 0 ;
16254 PyObject * obj1 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self",(char *) "ft", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16261 if (SWIG_arg_fail(1)) SWIG_fail;
16262 {
16263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16264 if (SWIG_arg_fail(2)) SWIG_fail;
16265 if (arg2 == NULL) {
16266 SWIG_null_ref("wxFileTypeInfo");
16267 }
16268 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16269 }
16270 {
16271 PyThreadState* __tstate = wxPyBeginAllowThreads();
16272 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
16273
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 Py_INCREF(Py_None); resultobj = Py_None;
16278 return resultobj;
16279 fail:
16280 return NULL;
16281}
16282
16283
c32bde28 16284static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16285 PyObject *resultobj = NULL;
d55e5bfc
RD
16286 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16287 wxFileTypeInfo *arg2 = 0 ;
16288 wxFileType *result;
16289 PyObject * obj0 = 0 ;
16290 PyObject * obj1 = 0 ;
16291 char *kwnames[] = {
16292 (char *) "self",(char *) "ftInfo", NULL
16293 };
16294
16295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16297 if (SWIG_arg_fail(1)) SWIG_fail;
16298 {
16299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16300 if (SWIG_arg_fail(2)) SWIG_fail;
16301 if (arg2 == NULL) {
16302 SWIG_null_ref("wxFileTypeInfo");
16303 }
16304 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16305 }
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16314 return resultobj;
16315 fail:
16316 return NULL;
16317}
16318
16319
c32bde28 16320static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16321 PyObject *resultobj = NULL;
d55e5bfc
RD
16322 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16323 wxFileType *arg2 = (wxFileType *) 0 ;
16324 bool result;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "self",(char *) "ft", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16333 if (SWIG_arg_fail(1)) SWIG_fail;
16334 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
16335 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 result = (bool)(arg1)->Unassociate(arg2);
16339
16340 wxPyEndAllowThreads(__tstate);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 }
16343 {
16344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16345 }
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
c32bde28 16352static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16353 PyObject *resultobj = NULL;
d55e5bfc
RD
16354 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
16361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 delete arg1;
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
c32bde28 16377static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16378 PyObject *obj;
16379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16380 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
16381 Py_INCREF(obj);
16382 return Py_BuildValue((char *)"");
16383}
c32bde28 16384static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
16385 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
16386 return 1;
16387}
16388
16389
093d3ff1 16390static PyObject *_wrap_ART_TOOLBAR_get(void) {
7449af73 16391 PyObject *pyobj = NULL;
d55e5bfc
RD
16392
16393 {
16394#if wxUSE_UNICODE
16395 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16396#else
16397 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16398#endif
16399 }
16400 return pyobj;
16401}
16402
16403
c32bde28 16404static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
16405 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
16406 return 1;
16407}
16408
16409
093d3ff1 16410static PyObject *_wrap_ART_MENU_get(void) {
7449af73 16411 PyObject *pyobj = NULL;
d55e5bfc
RD
16412
16413 {
16414#if wxUSE_UNICODE
16415 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16416#else
16417 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16418#endif
16419 }
16420 return pyobj;
16421}
16422
16423
c32bde28 16424static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
16425 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
16426 return 1;
16427}
16428
16429
093d3ff1 16430static PyObject *_wrap_ART_FRAME_ICON_get(void) {
7449af73 16431 PyObject *pyobj = NULL;
d55e5bfc
RD
16432
16433 {
16434#if wxUSE_UNICODE
16435 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16436#else
16437 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16438#endif
16439 }
16440 return pyobj;
16441}
16442
16443
c32bde28 16444static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
16445 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
16446 return 1;
16447}
16448
16449
093d3ff1 16450static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
7449af73 16451 PyObject *pyobj = NULL;
d55e5bfc
RD
16452
16453 {
16454#if wxUSE_UNICODE
16455 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16456#else
16457 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16458#endif
16459 }
16460 return pyobj;
16461}
16462
16463
c32bde28 16464static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
16465 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
16466 return 1;
16467}
16468
16469
093d3ff1 16470static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
7449af73 16471 PyObject *pyobj = NULL;
d55e5bfc
RD
16472
16473 {
16474#if wxUSE_UNICODE
16475 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16476#else
16477 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16478#endif
16479 }
16480 return pyobj;
16481}
16482
16483
c32bde28 16484static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
16485 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
16486 return 1;
16487}
16488
16489
093d3ff1 16490static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
7449af73 16491 PyObject *pyobj = NULL;
d55e5bfc
RD
16492
16493 {
16494#if wxUSE_UNICODE
16495 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16496#else
16497 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16498#endif
16499 }
16500 return pyobj;
16501}
16502
16503
c32bde28 16504static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
16505 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
16506 return 1;
16507}
16508
16509
093d3ff1 16510static PyObject *_wrap_ART_BUTTON_get(void) {
7449af73 16511 PyObject *pyobj = NULL;
4cf4100f
RD
16512
16513 {
16514#if wxUSE_UNICODE
16515 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16516#else
16517 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16518#endif
16519 }
16520 return pyobj;
16521}
16522
16523
c32bde28 16524static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
16525 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
16526 return 1;
16527}
16528
16529
093d3ff1 16530static PyObject *_wrap_ART_OTHER_get(void) {
7449af73 16531 PyObject *pyobj = NULL;
d55e5bfc
RD
16532
16533 {
16534#if wxUSE_UNICODE
16535 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16536#else
16537 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16538#endif
16539 }
16540 return pyobj;
16541}
16542
16543
c32bde28 16544static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16545 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
16546 return 1;
16547}
16548
16549
093d3ff1 16550static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
7449af73 16551 PyObject *pyobj = NULL;
d55e5bfc
RD
16552
16553 {
16554#if wxUSE_UNICODE
16555 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16556#else
16557 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16558#endif
16559 }
16560 return pyobj;
16561}
16562
16563
c32bde28 16564static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16565 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
16566 return 1;
16567}
16568
16569
093d3ff1 16570static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
7449af73 16571 PyObject *pyobj = NULL;
d55e5bfc
RD
16572
16573 {
16574#if wxUSE_UNICODE
16575 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16576#else
16577 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16578#endif
16579 }
16580 return pyobj;
16581}
16582
16583
c32bde28 16584static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
16585 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
16586 return 1;
16587}
16588
16589
093d3ff1 16590static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
7449af73 16591 PyObject *pyobj = NULL;
d55e5bfc
RD
16592
16593 {
16594#if wxUSE_UNICODE
16595 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16596#else
16597 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16598#endif
16599 }
16600 return pyobj;
16601}
16602
16603
c32bde28 16604static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
16605 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
16606 return 1;
16607}
16608
16609
093d3ff1 16610static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
7449af73 16611 PyObject *pyobj = NULL;
d55e5bfc
RD
16612
16613 {
16614#if wxUSE_UNICODE
16615 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16616#else
16617 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16618#endif
16619 }
16620 return pyobj;
16621}
16622
16623
c32bde28 16624static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
16625 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
16626 return 1;
16627}
16628
16629
093d3ff1 16630static PyObject *_wrap_ART_HELP_BOOK_get(void) {
7449af73 16631 PyObject *pyobj = NULL;
d55e5bfc
RD
16632
16633 {
16634#if wxUSE_UNICODE
16635 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16636#else
16637 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16638#endif
16639 }
16640 return pyobj;
16641}
16642
16643
c32bde28 16644static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
16645 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
16646 return 1;
16647}
16648
16649
093d3ff1 16650static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
7449af73 16651 PyObject *pyobj = NULL;
d55e5bfc
RD
16652
16653 {
16654#if wxUSE_UNICODE
16655 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16656#else
16657 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16658#endif
16659 }
16660 return pyobj;
16661}
16662
16663
c32bde28 16664static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
16665 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
16666 return 1;
16667}
16668
16669
093d3ff1 16670static PyObject *_wrap_ART_HELP_PAGE_get(void) {
7449af73 16671 PyObject *pyobj = NULL;
d55e5bfc
RD
16672
16673 {
16674#if wxUSE_UNICODE
16675 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16676#else
16677 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16678#endif
16679 }
16680 return pyobj;
16681}
16682
16683
c32bde28 16684static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
16685 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
16686 return 1;
16687}
16688
16689
093d3ff1 16690static PyObject *_wrap_ART_GO_BACK_get(void) {
7449af73 16691 PyObject *pyobj = NULL;
d55e5bfc
RD
16692
16693 {
16694#if wxUSE_UNICODE
16695 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16696#else
16697 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16698#endif
16699 }
16700 return pyobj;
16701}
16702
16703
c32bde28 16704static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
16705 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
16706 return 1;
16707}
16708
16709
093d3ff1 16710static PyObject *_wrap_ART_GO_FORWARD_get(void) {
7449af73 16711 PyObject *pyobj = NULL;
d55e5bfc
RD
16712
16713 {
16714#if wxUSE_UNICODE
16715 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16716#else
16717 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16718#endif
16719 }
16720 return pyobj;
16721}
16722
16723
c32bde28 16724static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
16725 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
16726 return 1;
16727}
16728
16729
093d3ff1 16730static PyObject *_wrap_ART_GO_UP_get(void) {
7449af73 16731 PyObject *pyobj = NULL;
d55e5bfc
RD
16732
16733 {
16734#if wxUSE_UNICODE
16735 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16736#else
16737 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16738#endif
16739 }
16740 return pyobj;
16741}
16742
16743
c32bde28 16744static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
16745 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
16746 return 1;
16747}
16748
16749
093d3ff1 16750static PyObject *_wrap_ART_GO_DOWN_get(void) {
7449af73 16751 PyObject *pyobj = NULL;
d55e5bfc
RD
16752
16753 {
16754#if wxUSE_UNICODE
16755 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16756#else
16757 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16758#endif
16759 }
16760 return pyobj;
16761}
16762
16763
c32bde28 16764static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
16765 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
16766 return 1;
16767}
16768
16769
093d3ff1 16770static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
7449af73 16771 PyObject *pyobj = NULL;
d55e5bfc
RD
16772
16773 {
16774#if wxUSE_UNICODE
16775 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16776#else
16777 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16778#endif
16779 }
16780 return pyobj;
16781}
16782
16783
c32bde28 16784static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
16785 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
16786 return 1;
16787}
16788
16789
093d3ff1 16790static PyObject *_wrap_ART_GO_HOME_get(void) {
7449af73 16791 PyObject *pyobj = NULL;
d55e5bfc
RD
16792
16793 {
16794#if wxUSE_UNICODE
16795 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16796#else
16797 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16798#endif
16799 }
16800 return pyobj;
16801}
16802
16803
c32bde28 16804static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
16805 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
16806 return 1;
16807}
16808
16809
093d3ff1 16810static PyObject *_wrap_ART_FILE_OPEN_get(void) {
7449af73 16811 PyObject *pyobj = NULL;
d55e5bfc
RD
16812
16813 {
16814#if wxUSE_UNICODE
16815 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16816#else
16817 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16818#endif
16819 }
16820 return pyobj;
16821}
16822
16823
68350608
RD
16824static int _wrap_ART_FILE_SAVE_set(PyObject *) {
16825 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
16826 return 1;
16827}
16828
16829
16830static PyObject *_wrap_ART_FILE_SAVE_get(void) {
7449af73 16831 PyObject *pyobj = NULL;
68350608
RD
16832
16833 {
16834#if wxUSE_UNICODE
16835 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16836#else
16837 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16838#endif
16839 }
16840 return pyobj;
16841}
16842
16843
16844static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
16845 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
16846 return 1;
16847}
16848
16849
16850static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
7449af73 16851 PyObject *pyobj = NULL;
68350608
RD
16852
16853 {
16854#if wxUSE_UNICODE
16855 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16856#else
16857 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16858#endif
16859 }
16860 return pyobj;
16861}
16862
16863
c32bde28 16864static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
16865 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
16866 return 1;
16867}
16868
16869
093d3ff1 16870static PyObject *_wrap_ART_PRINT_get(void) {
7449af73 16871 PyObject *pyobj = NULL;
d55e5bfc
RD
16872
16873 {
16874#if wxUSE_UNICODE
16875 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16876#else
16877 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16878#endif
16879 }
16880 return pyobj;
16881}
16882
16883
c32bde28 16884static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
16885 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
16886 return 1;
16887}
16888
16889
093d3ff1 16890static PyObject *_wrap_ART_HELP_get(void) {
7449af73 16891 PyObject *pyobj = NULL;
d55e5bfc
RD
16892
16893 {
16894#if wxUSE_UNICODE
16895 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16896#else
16897 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16898#endif
16899 }
16900 return pyobj;
16901}
16902
16903
c32bde28 16904static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
16905 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
16906 return 1;
16907}
16908
16909
093d3ff1 16910static PyObject *_wrap_ART_TIP_get(void) {
7449af73 16911 PyObject *pyobj = NULL;
d55e5bfc
RD
16912
16913 {
16914#if wxUSE_UNICODE
16915 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16916#else
16917 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16918#endif
16919 }
16920 return pyobj;
16921}
16922
16923
c32bde28 16924static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
16925 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
16926 return 1;
16927}
16928
16929
093d3ff1 16930static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
7449af73 16931 PyObject *pyobj = NULL;
d55e5bfc
RD
16932
16933 {
16934#if wxUSE_UNICODE
16935 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16936#else
16937 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16938#endif
16939 }
16940 return pyobj;
16941}
16942
16943
c32bde28 16944static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
16945 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16946 return 1;
16947}
16948
16949
093d3ff1 16950static PyObject *_wrap_ART_LIST_VIEW_get(void) {
7449af73 16951 PyObject *pyobj = NULL;
d55e5bfc
RD
16952
16953 {
16954#if wxUSE_UNICODE
16955 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16956#else
16957 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16958#endif
16959 }
16960 return pyobj;
16961}
16962
16963
c32bde28 16964static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
16965 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16966 return 1;
16967}
16968
16969
093d3ff1 16970static PyObject *_wrap_ART_NEW_DIR_get(void) {
7449af73 16971 PyObject *pyobj = NULL;
d55e5bfc
RD
16972
16973 {
16974#if wxUSE_UNICODE
16975 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16976#else
16977 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16978#endif
16979 }
16980 return pyobj;
16981}
16982
16983
f78cc896
RD
16984static int _wrap_ART_HARDDISK_set(PyObject *) {
16985 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16986 return 1;
16987}
16988
16989
093d3ff1 16990static PyObject *_wrap_ART_HARDDISK_get(void) {
7449af73 16991 PyObject *pyobj = NULL;
f78cc896
RD
16992
16993 {
16994#if wxUSE_UNICODE
16995 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16996#else
16997 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16998#endif
16999 }
17000 return pyobj;
17001}
17002
17003
17004static int _wrap_ART_FLOPPY_set(PyObject *) {
17005 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
17006 return 1;
17007}
17008
17009
093d3ff1 17010static PyObject *_wrap_ART_FLOPPY_get(void) {
7449af73 17011 PyObject *pyobj = NULL;
f78cc896
RD
17012
17013 {
17014#if wxUSE_UNICODE
17015 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17016#else
17017 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17018#endif
17019 }
17020 return pyobj;
17021}
17022
17023
17024static int _wrap_ART_CDROM_set(PyObject *) {
17025 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
17026 return 1;
17027}
17028
17029
093d3ff1 17030static PyObject *_wrap_ART_CDROM_get(void) {
7449af73 17031 PyObject *pyobj = NULL;
f78cc896
RD
17032
17033 {
17034#if wxUSE_UNICODE
17035 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17036#else
17037 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17038#endif
17039 }
17040 return pyobj;
17041}
17042
17043
17044static int _wrap_ART_REMOVABLE_set(PyObject *) {
17045 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
17046 return 1;
17047}
17048
17049
093d3ff1 17050static PyObject *_wrap_ART_REMOVABLE_get(void) {
7449af73 17051 PyObject *pyobj = NULL;
f78cc896
RD
17052
17053 {
17054#if wxUSE_UNICODE
17055 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17056#else
17057 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17058#endif
17059 }
17060 return pyobj;
17061}
17062
17063
c32bde28 17064static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
17065 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
17066 return 1;
17067}
17068
17069
093d3ff1 17070static PyObject *_wrap_ART_FOLDER_get(void) {
7449af73 17071 PyObject *pyobj = NULL;
d55e5bfc
RD
17072
17073 {
17074#if wxUSE_UNICODE
17075 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17076#else
17077 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17078#endif
17079 }
17080 return pyobj;
17081}
17082
17083
f78cc896
RD
17084static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
17085 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
17086 return 1;
17087}
17088
17089
093d3ff1 17090static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
7449af73 17091 PyObject *pyobj = NULL;
f78cc896
RD
17092
17093 {
17094#if wxUSE_UNICODE
17095 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17096#else
17097 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17098#endif
17099 }
17100 return pyobj;
17101}
17102
17103
c32bde28 17104static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
17105 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
17106 return 1;
17107}
17108
17109
093d3ff1 17110static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
7449af73 17111 PyObject *pyobj = NULL;
d55e5bfc
RD
17112
17113 {
17114#if wxUSE_UNICODE
17115 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17116#else
17117 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17118#endif
17119 }
17120 return pyobj;
17121}
17122
17123
c32bde28 17124static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
17125 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
17126 return 1;
17127}
17128
17129
093d3ff1 17130static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
7449af73 17131 PyObject *pyobj = NULL;
d55e5bfc
RD
17132
17133 {
17134#if wxUSE_UNICODE
17135 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17136#else
17137 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17138#endif
17139 }
17140 return pyobj;
17141}
17142
17143
c32bde28 17144static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
17145 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
17146 return 1;
17147}
17148
17149
093d3ff1 17150static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
7449af73 17151 PyObject *pyobj = NULL;
d55e5bfc
RD
17152
17153 {
17154#if wxUSE_UNICODE
17155 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17156#else
17157 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17158#endif
17159 }
17160 return pyobj;
17161}
17162
17163
c32bde28 17164static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
17165 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
17166 return 1;
17167}
17168
17169
093d3ff1 17170static PyObject *_wrap_ART_TICK_MARK_get(void) {
7449af73 17171 PyObject *pyobj = NULL;
d55e5bfc
RD
17172
17173 {
17174#if wxUSE_UNICODE
17175 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17176#else
17177 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17178#endif
17179 }
17180 return pyobj;
17181}
17182
17183
c32bde28 17184static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
17185 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
17186 return 1;
17187}
17188
17189
093d3ff1 17190static PyObject *_wrap_ART_CROSS_MARK_get(void) {
7449af73 17191 PyObject *pyobj = NULL;
d55e5bfc
RD
17192
17193 {
17194#if wxUSE_UNICODE
17195 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17196#else
17197 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17198#endif
17199 }
17200 return pyobj;
17201}
17202
17203
c32bde28 17204static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
17205 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
17206 return 1;
17207}
17208
17209
093d3ff1 17210static PyObject *_wrap_ART_ERROR_get(void) {
7449af73 17211 PyObject *pyobj = NULL;
d55e5bfc
RD
17212
17213 {
17214#if wxUSE_UNICODE
17215 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17216#else
17217 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17218#endif
17219 }
17220 return pyobj;
17221}
17222
17223
c32bde28 17224static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
17225 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
17226 return 1;
17227}
17228
17229
093d3ff1 17230static PyObject *_wrap_ART_QUESTION_get(void) {
7449af73 17231 PyObject *pyobj = NULL;
d55e5bfc
RD
17232
17233 {
17234#if wxUSE_UNICODE
17235 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17236#else
17237 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17238#endif
17239 }
17240 return pyobj;
17241}
17242
17243
c32bde28 17244static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
17245 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
17246 return 1;
17247}
17248
17249
093d3ff1 17250static PyObject *_wrap_ART_WARNING_get(void) {
7449af73 17251 PyObject *pyobj = NULL;
d55e5bfc
RD
17252
17253 {
17254#if wxUSE_UNICODE
17255 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17256#else
17257 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17258#endif
17259 }
17260 return pyobj;
17261}
17262
17263
c32bde28 17264static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
17265 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
17266 return 1;
17267}
17268
17269
093d3ff1 17270static PyObject *_wrap_ART_INFORMATION_get(void) {
7449af73 17271 PyObject *pyobj = NULL;
d55e5bfc
RD
17272
17273 {
17274#if wxUSE_UNICODE
17275 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17276#else
17277 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17278#endif
17279 }
17280 return pyobj;
17281}
17282
17283
c32bde28 17284static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
17285 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
17286 return 1;
17287}
17288
17289
093d3ff1 17290static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
7449af73 17291 PyObject *pyobj = NULL;
d55e5bfc
RD
17292
17293 {
17294#if wxUSE_UNICODE
17295 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17296#else
17297 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17298#endif
17299 }
17300 return pyobj;
17301}
17302
17303
68350608
RD
17304static int _wrap_ART_COPY_set(PyObject *) {
17305 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
17306 return 1;
17307}
17308
17309
17310static PyObject *_wrap_ART_COPY_get(void) {
7449af73 17311 PyObject *pyobj = NULL;
68350608
RD
17312
17313 {
17314#if wxUSE_UNICODE
17315 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17316#else
17317 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17318#endif
17319 }
17320 return pyobj;
17321}
17322
17323
17324static int _wrap_ART_CUT_set(PyObject *) {
17325 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
17326 return 1;
17327}
17328
17329
17330static PyObject *_wrap_ART_CUT_get(void) {
7449af73 17331 PyObject *pyobj = NULL;
68350608
RD
17332
17333 {
17334#if wxUSE_UNICODE
17335 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17336#else
17337 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17338#endif
17339 }
17340 return pyobj;
17341}
17342
17343
17344static int _wrap_ART_PASTE_set(PyObject *) {
17345 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
17346 return 1;
17347}
17348
17349
17350static PyObject *_wrap_ART_PASTE_get(void) {
7449af73 17351 PyObject *pyobj = NULL;
68350608
RD
17352
17353 {
17354#if wxUSE_UNICODE
17355 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17356#else
17357 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17358#endif
17359 }
17360 return pyobj;
17361}
17362
17363
17364static int _wrap_ART_DELETE_set(PyObject *) {
17365 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
17366 return 1;
17367}
17368
17369
17370static PyObject *_wrap_ART_DELETE_get(void) {
7449af73 17371 PyObject *pyobj = NULL;
68350608
RD
17372
17373 {
17374#if wxUSE_UNICODE
17375 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17376#else
17377 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17378#endif
17379 }
17380 return pyobj;
17381}
17382
17383
a187dc0b
RD
17384static int _wrap_ART_NEW_set(PyObject *) {
17385 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
17386 return 1;
17387}
17388
17389
17390static PyObject *_wrap_ART_NEW_get(void) {
7449af73 17391 PyObject *pyobj = NULL;
a187dc0b
RD
17392
17393 {
17394#if wxUSE_UNICODE
17395 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17396#else
17397 pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17398#endif
17399 }
17400 return pyobj;
17401}
17402
17403
68350608
RD
17404static int _wrap_ART_UNDO_set(PyObject *) {
17405 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
17406 return 1;
17407}
17408
17409
17410static PyObject *_wrap_ART_UNDO_get(void) {
7449af73 17411 PyObject *pyobj = NULL;
68350608
RD
17412
17413 {
17414#if wxUSE_UNICODE
17415 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17416#else
17417 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17418#endif
17419 }
17420 return pyobj;
17421}
17422
17423
17424static int _wrap_ART_REDO_set(PyObject *) {
17425 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
17426 return 1;
17427}
17428
17429
17430static PyObject *_wrap_ART_REDO_get(void) {
7449af73 17431 PyObject *pyobj = NULL;
68350608
RD
17432
17433 {
17434#if wxUSE_UNICODE
17435 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17436#else
17437 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17438#endif
17439 }
17440 return pyobj;
17441}
17442
17443
17444static int _wrap_ART_QUIT_set(PyObject *) {
17445 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
17446 return 1;
17447}
17448
17449
17450static PyObject *_wrap_ART_QUIT_get(void) {
7449af73 17451 PyObject *pyobj = NULL;
68350608
RD
17452
17453 {
17454#if wxUSE_UNICODE
17455 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17456#else
17457 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17458#endif
17459 }
17460 return pyobj;
17461}
17462
17463
17464static int _wrap_ART_FIND_set(PyObject *) {
17465 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
17466 return 1;
17467}
17468
17469
17470static PyObject *_wrap_ART_FIND_get(void) {
7449af73 17471 PyObject *pyobj = NULL;
68350608
RD
17472
17473 {
17474#if wxUSE_UNICODE
17475 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17476#else
17477 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17478#endif
17479 }
17480 return pyobj;
17481}
17482
17483
17484static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
17485 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
17486 return 1;
17487}
17488
17489
17490static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
7449af73 17491 PyObject *pyobj = NULL;
68350608
RD
17492
17493 {
17494#if wxUSE_UNICODE
17495 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17496#else
17497 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17498#endif
17499 }
17500 return pyobj;
17501}
17502
17503
c32bde28 17504static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17505 PyObject *resultobj = NULL;
d55e5bfc
RD
17506 wxPyArtProvider *result;
17507 char *kwnames[] = {
17508 NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
17512 {
0439c23b 17513 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (wxPyArtProvider *)new wxPyArtProvider();
17516
17517 wxPyEndAllowThreads(__tstate);
110da5b0 17518 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17519 }
17520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
17521 return resultobj;
17522 fail:
17523 return NULL;
17524}
17525
17526
7e08d4ef
RD
17527static PyObject *_wrap_delete_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj = NULL;
17529 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17530 PyObject * obj0 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
17536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17537 if (SWIG_arg_fail(1)) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 delete arg1;
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 Py_INCREF(Py_None); resultobj = Py_None;
17546 return resultobj;
17547 fail:
17548 return NULL;
17549}
17550
17551
c32bde28 17552static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17553 PyObject *resultobj = NULL;
d55e5bfc
RD
17554 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17555 PyObject *arg2 = (PyObject *) 0 ;
17556 PyObject *arg3 = (PyObject *) 0 ;
17557 PyObject * obj0 = 0 ;
17558 PyObject * obj1 = 0 ;
17559 PyObject * obj2 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self",(char *) "self",(char *) "_class", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17567 arg2 = obj1;
17568 arg3 = obj2;
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 (arg1)->_setCallbackInfo(arg2,arg3);
17572
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 Py_INCREF(Py_None); resultobj = Py_None;
17577 return resultobj;
17578 fail:
17579 return NULL;
17580}
17581
17582
c32bde28 17583static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17584 PyObject *resultobj = NULL;
d55e5bfc
RD
17585 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17586 PyObject * obj0 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "provider", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
7e08d4ef 17592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 17593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 wxPyArtProvider::PushProvider(arg1);
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 Py_INCREF(Py_None); resultobj = Py_None;
17602 return resultobj;
17603 fail:
17604 return NULL;
17605}
17606
17607
c32bde28 17608static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17609 PyObject *resultobj = NULL;
d55e5bfc
RD
17610 bool result;
17611 char *kwnames[] = {
17612 NULL
17613 };
17614
17615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
17616 {
17617 PyThreadState* __tstate = wxPyBeginAllowThreads();
17618 result = (bool)wxPyArtProvider::PopProvider();
17619
17620 wxPyEndAllowThreads(__tstate);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 {
17624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17625 }
17626 return resultobj;
17627 fail:
17628 return NULL;
17629}
17630
17631
c32bde28 17632static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17633 PyObject *resultobj = NULL;
d55e5bfc
RD
17634 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17635 bool result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "provider", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
17642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 {
17652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17653 }
17654 return resultobj;
17655 fail:
17656 return NULL;
17657}
17658
17659
c32bde28 17660static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17661 PyObject *resultobj = NULL;
d55e5bfc
RD
17662 wxString *arg1 = 0 ;
17663 wxString const &arg2_defvalue = wxPyART_OTHER ;
17664 wxString *arg2 = (wxString *) &arg2_defvalue ;
17665 wxSize const &arg3_defvalue = wxDefaultSize ;
17666 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17667 wxBitmap result;
ae8162c8
RD
17668 bool temp1 = false ;
17669 bool temp2 = false ;
d55e5bfc
RD
17670 wxSize temp3 ;
17671 PyObject * obj0 = 0 ;
17672 PyObject * obj1 = 0 ;
17673 PyObject * obj2 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "id",(char *) "client",(char *) "size", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
17679 {
17680 arg1 = wxString_in_helper(obj0);
17681 if (arg1 == NULL) SWIG_fail;
ae8162c8 17682 temp1 = true;
d55e5bfc
RD
17683 }
17684 if (obj1) {
17685 {
17686 arg2 = wxString_in_helper(obj1);
17687 if (arg2 == NULL) SWIG_fail;
ae8162c8 17688 temp2 = true;
d55e5bfc
RD
17689 }
17690 }
17691 if (obj2) {
17692 {
17693 arg3 = &temp3;
17694 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17695 }
17696 }
17697 {
0439c23b 17698 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17701
17702 wxPyEndAllowThreads(__tstate);
110da5b0 17703 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17704 }
17705 {
17706 wxBitmap * resultptr;
7449af73 17707 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
17708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
17709 }
17710 {
17711 if (temp1)
17712 delete arg1;
17713 }
17714 {
17715 if (temp2)
17716 delete arg2;
17717 }
17718 return resultobj;
17719 fail:
17720 {
17721 if (temp1)
17722 delete arg1;
17723 }
17724 {
17725 if (temp2)
17726 delete arg2;
17727 }
17728 return NULL;
17729}
17730
17731
c32bde28 17732static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17733 PyObject *resultobj = NULL;
d55e5bfc
RD
17734 wxString *arg1 = 0 ;
17735 wxString const &arg2_defvalue = wxPyART_OTHER ;
17736 wxString *arg2 = (wxString *) &arg2_defvalue ;
17737 wxSize const &arg3_defvalue = wxDefaultSize ;
17738 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17739 wxIcon result;
ae8162c8
RD
17740 bool temp1 = false ;
17741 bool temp2 = false ;
d55e5bfc
RD
17742 wxSize temp3 ;
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 PyObject * obj2 = 0 ;
17746 char *kwnames[] = {
17747 (char *) "id",(char *) "client",(char *) "size", NULL
17748 };
17749
17750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
17751 {
17752 arg1 = wxString_in_helper(obj0);
17753 if (arg1 == NULL) SWIG_fail;
ae8162c8 17754 temp1 = true;
d55e5bfc
RD
17755 }
17756 if (obj1) {
17757 {
17758 arg2 = wxString_in_helper(obj1);
17759 if (arg2 == NULL) SWIG_fail;
ae8162c8 17760 temp2 = true;
d55e5bfc
RD
17761 }
17762 }
17763 if (obj2) {
17764 {
17765 arg3 = &temp3;
17766 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17767 }
17768 }
17769 {
0439c23b 17770 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17773
17774 wxPyEndAllowThreads(__tstate);
110da5b0 17775 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17776 }
17777 {
17778 wxIcon * resultptr;
7449af73 17779 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
17780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
17781 }
17782 {
17783 if (temp1)
17784 delete arg1;
17785 }
17786 {
17787 if (temp2)
17788 delete arg2;
17789 }
17790 return resultobj;
17791 fail:
17792 {
17793 if (temp1)
17794 delete arg1;
17795 }
17796 {
17797 if (temp2)
17798 delete arg2;
17799 }
17800 return NULL;
17801}
17802
17803
0c549c5f 17804static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17805 PyObject *resultobj = NULL;
9c874b48
RD
17806 wxString *arg1 = 0 ;
17807 bool arg2 = (bool) false ;
17808 wxSize result;
17809 bool temp1 = false ;
17810 PyObject * obj0 = 0 ;
17811 PyObject * obj1 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "client",(char *) "platform_dependent", NULL
17814 };
17815
0c549c5f 17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
17817 {
17818 arg1 = wxString_in_helper(obj0);
17819 if (arg1 == NULL) SWIG_fail;
17820 temp1 = true;
17821 }
17822 if (obj1) {
17823 {
7449af73 17824 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9c874b48
RD
17825 if (SWIG_arg_fail(2)) SWIG_fail;
17826 }
17827 }
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
0c549c5f 17830 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 {
17836 wxSize * resultptr;
7449af73 17837 resultptr = new wxSize(static_cast<wxSize & >(result));
9c874b48
RD
17838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17839 }
17840 {
17841 if (temp1)
17842 delete arg1;
17843 }
17844 return resultobj;
17845 fail:
17846 {
17847 if (temp1)
17848 delete arg1;
17849 }
17850 return NULL;
17851}
17852
17853
c32bde28 17854static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17855 PyObject *resultobj = NULL;
d55e5bfc
RD
17856 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17857 PyObject * obj0 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
17863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17865 {
17866 PyThreadState* __tstate = wxPyBeginAllowThreads();
17867 wxPyArtProvider_Destroy(arg1);
17868
17869 wxPyEndAllowThreads(__tstate);
17870 if (PyErr_Occurred()) SWIG_fail;
17871 }
17872 Py_INCREF(Py_None); resultobj = Py_None;
17873 return resultobj;
17874 fail:
17875 return NULL;
17876}
17877
17878
c32bde28 17879static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17880 PyObject *obj;
17881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17882 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
17883 Py_INCREF(obj);
17884 return Py_BuildValue((char *)"");
17885}
c32bde28 17886static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17887 PyObject *resultobj = NULL;
d55e5bfc
RD
17888 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17889 PyObject * obj0 = 0 ;
17890 char *kwnames[] = {
17891 (char *) "self", NULL
17892 };
17893
17894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
17895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 delete arg1;
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 Py_INCREF(Py_None); resultobj = Py_None;
17905 return resultobj;
17906 fail:
17907 return NULL;
17908}
17909
17910
c32bde28 17911static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17912 PyObject *resultobj = NULL;
d55e5bfc
RD
17913 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17914 wxConfigBase *result;
17915 PyObject * obj0 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "config", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 17921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 17922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 result = (wxConfigBase *)wxConfigBase::Set(arg1);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17931 return resultobj;
17932 fail:
17933 return NULL;
17934}
17935
17936
c32bde28 17937static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17938 PyObject *resultobj = NULL;
ae8162c8 17939 bool arg1 = (bool) true ;
d55e5bfc
RD
17940 wxConfigBase *result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "createOnDemand", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
17947 if (obj0) {
093d3ff1 17948 {
7449af73 17949 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
17950 if (SWIG_arg_fail(1)) SWIG_fail;
17951 }
d55e5bfc
RD
17952 }
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 result = (wxConfigBase *)wxConfigBase::Get(arg1);
17956
17957 wxPyEndAllowThreads(__tstate);
17958 if (PyErr_Occurred()) SWIG_fail;
17959 }
17960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17961 return resultobj;
17962 fail:
17963 return NULL;
17964}
17965
17966
c32bde28 17967static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17968 PyObject *resultobj = NULL;
d55e5bfc
RD
17969 wxConfigBase *result;
17970 char *kwnames[] = {
17971 NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (wxConfigBase *)wxConfigBase::Create();
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17983 return resultobj;
17984 fail:
17985 return NULL;
17986}
17987
17988
c32bde28 17989static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17990 PyObject *resultobj = NULL;
d55e5bfc
RD
17991 char *kwnames[] = {
17992 NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17996 {
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 wxConfigBase::DontCreateOnDemand();
17999
18000 wxPyEndAllowThreads(__tstate);
18001 if (PyErr_Occurred()) SWIG_fail;
18002 }
18003 Py_INCREF(Py_None); resultobj = Py_None;
18004 return resultobj;
18005 fail:
18006 return NULL;
18007}
18008
18009
c32bde28 18010static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18011 PyObject *resultobj = NULL;
d55e5bfc
RD
18012 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18013 wxString *arg2 = 0 ;
ae8162c8 18014 bool temp2 = false ;
d55e5bfc
RD
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj1 = 0 ;
18017 char *kwnames[] = {
18018 (char *) "self",(char *) "path", NULL
18019 };
18020
18021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18024 {
18025 arg2 = wxString_in_helper(obj1);
18026 if (arg2 == NULL) SWIG_fail;
ae8162c8 18027 temp2 = true;
d55e5bfc
RD
18028 }
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 (arg1)->SetPath((wxString const &)*arg2);
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 Py_INCREF(Py_None); resultobj = Py_None;
18037 {
18038 if (temp2)
18039 delete arg2;
18040 }
18041 return resultobj;
18042 fail:
18043 {
18044 if (temp2)
18045 delete arg2;
18046 }
18047 return NULL;
18048}
18049
18050
c32bde28 18051static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18052 PyObject *resultobj = NULL;
d55e5bfc
RD
18053 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18054 wxString *result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
18061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 {
18066 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
18067 result = (wxString *) &_result_ref;
18068 }
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 {
18074#if wxUSE_UNICODE
18075 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18076#else
18077 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18078#endif
18079 }
18080 return resultobj;
18081 fail:
18082 return NULL;
18083}
18084
18085
c32bde28 18086static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18087 PyObject *resultobj = NULL;
d55e5bfc
RD
18088 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18089 PyObject *result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
18096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = result;
18106 return resultobj;
18107 fail:
18108 return NULL;
18109}
18110
18111
c32bde28 18112static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18113 PyObject *resultobj = NULL;
d55e5bfc
RD
18114 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18115 long arg2 ;
18116 PyObject *result;
18117 PyObject * obj0 = 0 ;
18118 PyObject * obj1 = 0 ;
18119 char *kwnames[] = {
18120 (char *) "self",(char *) "index", NULL
18121 };
18122
18123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail;
18126 {
7449af73 18127 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
18128 if (SWIG_arg_fail(2)) SWIG_fail;
18129 }
d55e5bfc
RD
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 resultobj = result;
18138 return resultobj;
18139 fail:
18140 return NULL;
18141}
18142
18143
c32bde28 18144static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18145 PyObject *resultobj = NULL;
d55e5bfc
RD
18146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18147 PyObject *result;
18148 PyObject * obj0 = 0 ;
18149 char *kwnames[] = {
18150 (char *) "self", NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 resultobj = result;
18164 return resultobj;
18165 fail:
18166 return NULL;
18167}
18168
18169
c32bde28 18170static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18171 PyObject *resultobj = NULL;
d55e5bfc
RD
18172 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18173 long arg2 ;
18174 PyObject *result;
18175 PyObject * obj0 = 0 ;
18176 PyObject * obj1 = 0 ;
18177 char *kwnames[] = {
18178 (char *) "self",(char *) "index", NULL
18179 };
18180
18181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18183 if (SWIG_arg_fail(1)) SWIG_fail;
18184 {
7449af73 18185 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
18186 if (SWIG_arg_fail(2)) SWIG_fail;
18187 }
d55e5bfc
RD
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 resultobj = result;
18196 return resultobj;
18197 fail:
18198 return NULL;
18199}
18200
18201
c32bde28 18202static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18203 PyObject *resultobj = NULL;
d55e5bfc 18204 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18205 bool arg2 = (bool) false ;
d55e5bfc
RD
18206 size_t result;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "recursive", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18216 if (obj1) {
093d3ff1 18217 {
7449af73 18218 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18219 if (SWIG_arg_fail(2)) SWIG_fail;
18220 }
d55e5bfc
RD
18221 }
18222 {
18223 PyThreadState* __tstate = wxPyBeginAllowThreads();
18224 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
18225
18226 wxPyEndAllowThreads(__tstate);
18227 if (PyErr_Occurred()) SWIG_fail;
18228 }
093d3ff1 18229 {
7449af73 18230 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 18231 }
d55e5bfc
RD
18232 return resultobj;
18233 fail:
18234 return NULL;
18235}
18236
18237
c32bde28 18238static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18239 PyObject *resultobj = NULL;
d55e5bfc 18240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18241 bool arg2 = (bool) false ;
d55e5bfc
RD
18242 size_t result;
18243 PyObject * obj0 = 0 ;
18244 PyObject * obj1 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self",(char *) "recursive", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18252 if (obj1) {
093d3ff1 18253 {
7449af73 18254 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18255 if (SWIG_arg_fail(2)) SWIG_fail;
18256 }
d55e5bfc
RD
18257 }
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
093d3ff1 18265 {
7449af73 18266 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 18267 }
d55e5bfc
RD
18268 return resultobj;
18269 fail:
18270 return NULL;
18271}
18272
18273
c32bde28 18274static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18275 PyObject *resultobj = NULL;
d55e5bfc
RD
18276 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18277 wxString *arg2 = 0 ;
18278 bool result;
ae8162c8 18279 bool temp2 = false ;
d55e5bfc
RD
18280 PyObject * obj0 = 0 ;
18281 PyObject * obj1 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "name", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18289 {
18290 arg2 = wxString_in_helper(obj1);
18291 if (arg2 == NULL) SWIG_fail;
ae8162c8 18292 temp2 = true;
d55e5bfc
RD
18293 }
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 {
18302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18303 }
18304 {
18305 if (temp2)
18306 delete arg2;
18307 }
18308 return resultobj;
18309 fail:
18310 {
18311 if (temp2)
18312 delete arg2;
18313 }
18314 return NULL;
18315}
18316
18317
c32bde28 18318static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18319 PyObject *resultobj = NULL;
d55e5bfc
RD
18320 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18321 wxString *arg2 = 0 ;
18322 bool result;
ae8162c8 18323 bool temp2 = false ;
d55e5bfc
RD
18324 PyObject * obj0 = 0 ;
18325 PyObject * obj1 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self",(char *) "name", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18333 {
18334 arg2 = wxString_in_helper(obj1);
18335 if (arg2 == NULL) SWIG_fail;
ae8162c8 18336 temp2 = true;
d55e5bfc
RD
18337 }
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 {
18346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18347 }
18348 {
18349 if (temp2)
18350 delete arg2;
18351 }
18352 return resultobj;
18353 fail:
18354 {
18355 if (temp2)
18356 delete arg2;
18357 }
18358 return NULL;
18359}
18360
18361
c32bde28 18362static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18363 PyObject *resultobj = NULL;
d55e5bfc
RD
18364 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18365 wxString *arg2 = 0 ;
18366 bool result;
ae8162c8 18367 bool temp2 = false ;
d55e5bfc
RD
18368 PyObject * obj0 = 0 ;
18369 PyObject * obj1 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self",(char *) "name", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18377 {
18378 arg2 = wxString_in_helper(obj1);
18379 if (arg2 == NULL) SWIG_fail;
ae8162c8 18380 temp2 = true;
d55e5bfc
RD
18381 }
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 {
18390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18391 }
18392 {
18393 if (temp2)
18394 delete arg2;
18395 }
18396 return resultobj;
18397 fail:
18398 {
18399 if (temp2)
18400 delete arg2;
18401 }
18402 return NULL;
18403}
18404
18405
c32bde28 18406static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18407 PyObject *resultobj = NULL;
d55e5bfc
RD
18408 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18409 wxString *arg2 = 0 ;
093d3ff1 18410 wxConfigBase::EntryType result;
ae8162c8 18411 bool temp2 = false ;
d55e5bfc
RD
18412 PyObject * obj0 = 0 ;
18413 PyObject * obj1 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self",(char *) "name", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18421 {
18422 arg2 = wxString_in_helper(obj1);
18423 if (arg2 == NULL) SWIG_fail;
ae8162c8 18424 temp2 = true;
d55e5bfc
RD
18425 }
18426 {
18427 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18428 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
18429
18430 wxPyEndAllowThreads(__tstate);
18431 if (PyErr_Occurred()) SWIG_fail;
18432 }
093d3ff1 18433 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18434 {
18435 if (temp2)
18436 delete arg2;
18437 }
18438 return resultobj;
18439 fail:
18440 {
18441 if (temp2)
18442 delete arg2;
18443 }
18444 return NULL;
18445}
18446
18447
c32bde28 18448static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18449 PyObject *resultobj = NULL;
d55e5bfc
RD
18450 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18451 wxString *arg2 = 0 ;
18452 wxString const &arg3_defvalue = wxPyEmptyString ;
18453 wxString *arg3 = (wxString *) &arg3_defvalue ;
18454 wxString result;
ae8162c8
RD
18455 bool temp2 = false ;
18456 bool temp3 = false ;
d55e5bfc
RD
18457 PyObject * obj0 = 0 ;
18458 PyObject * obj1 = 0 ;
18459 PyObject * obj2 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18467 {
18468 arg2 = wxString_in_helper(obj1);
18469 if (arg2 == NULL) SWIG_fail;
ae8162c8 18470 temp2 = true;
d55e5bfc
RD
18471 }
18472 if (obj2) {
18473 {
18474 arg3 = wxString_in_helper(obj2);
18475 if (arg3 == NULL) SWIG_fail;
ae8162c8 18476 temp3 = true;
d55e5bfc
RD
18477 }
18478 }
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
18482
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 {
18487#if wxUSE_UNICODE
18488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18489#else
18490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18491#endif
18492 }
18493 {
18494 if (temp2)
18495 delete arg2;
18496 }
18497 {
18498 if (temp3)
18499 delete arg3;
18500 }
18501 return resultobj;
18502 fail:
18503 {
18504 if (temp2)
18505 delete arg2;
18506 }
18507 {
18508 if (temp3)
18509 delete arg3;
18510 }
18511 return NULL;
18512}
18513
18514
c32bde28 18515static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18516 PyObject *resultobj = NULL;
d55e5bfc
RD
18517 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18518 wxString *arg2 = 0 ;
18519 long arg3 = (long) 0 ;
18520 long result;
ae8162c8 18521 bool temp2 = false ;
d55e5bfc
RD
18522 PyObject * obj0 = 0 ;
18523 PyObject * obj1 = 0 ;
18524 PyObject * obj2 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18532 {
18533 arg2 = wxString_in_helper(obj1);
18534 if (arg2 == NULL) SWIG_fail;
ae8162c8 18535 temp2 = true;
d55e5bfc
RD
18536 }
18537 if (obj2) {
093d3ff1 18538 {
7449af73 18539 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
18540 if (SWIG_arg_fail(3)) SWIG_fail;
18541 }
d55e5bfc
RD
18542 }
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
093d3ff1 18550 {
7449af73 18551 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 18552 }
d55e5bfc
RD
18553 {
18554 if (temp2)
18555 delete arg2;
18556 }
18557 return resultobj;
18558 fail:
18559 {
18560 if (temp2)
18561 delete arg2;
18562 }
18563 return NULL;
18564}
18565
18566
c32bde28 18567static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18568 PyObject *resultobj = NULL;
d55e5bfc
RD
18569 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18570 wxString *arg2 = 0 ;
18571 double arg3 = (double) 0.0 ;
18572 double result;
ae8162c8 18573 bool temp2 = false ;
d55e5bfc
RD
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 PyObject * obj2 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18584 {
18585 arg2 = wxString_in_helper(obj1);
18586 if (arg2 == NULL) SWIG_fail;
ae8162c8 18587 temp2 = true;
d55e5bfc
RD
18588 }
18589 if (obj2) {
093d3ff1 18590 {
7449af73 18591 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
18592 if (SWIG_arg_fail(3)) SWIG_fail;
18593 }
d55e5bfc
RD
18594 }
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
093d3ff1 18602 {
7449af73 18603 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 18604 }
d55e5bfc
RD
18605 {
18606 if (temp2)
18607 delete arg2;
18608 }
18609 return resultobj;
18610 fail:
18611 {
18612 if (temp2)
18613 delete arg2;
18614 }
18615 return NULL;
18616}
18617
18618
c32bde28 18619static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18620 PyObject *resultobj = NULL;
d55e5bfc
RD
18621 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18622 wxString *arg2 = 0 ;
ae8162c8 18623 bool arg3 = (bool) false ;
d55e5bfc 18624 bool result;
ae8162c8 18625 bool temp2 = false ;
d55e5bfc
RD
18626 PyObject * obj0 = 0 ;
18627 PyObject * obj1 = 0 ;
18628 PyObject * obj2 = 0 ;
18629 char *kwnames[] = {
18630 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18635 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18636 {
18637 arg2 = wxString_in_helper(obj1);
18638 if (arg2 == NULL) SWIG_fail;
ae8162c8 18639 temp2 = true;
d55e5bfc
RD
18640 }
18641 if (obj2) {
093d3ff1 18642 {
7449af73 18643 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
18644 if (SWIG_arg_fail(3)) SWIG_fail;
18645 }
d55e5bfc
RD
18646 }
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 {
18655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18656 }
18657 {
18658 if (temp2)
18659 delete arg2;
18660 }
18661 return resultobj;
18662 fail:
18663 {
18664 if (temp2)
18665 delete arg2;
18666 }
18667 return NULL;
18668}
18669
18670
c32bde28 18671static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18672 PyObject *resultobj = NULL;
d55e5bfc
RD
18673 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18674 wxString *arg2 = 0 ;
18675 wxString *arg3 = 0 ;
18676 bool result;
ae8162c8
RD
18677 bool temp2 = false ;
18678 bool temp3 = false ;
d55e5bfc
RD
18679 PyObject * obj0 = 0 ;
18680 PyObject * obj1 = 0 ;
18681 PyObject * obj2 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self",(char *) "key",(char *) "value", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18689 {
18690 arg2 = wxString_in_helper(obj1);
18691 if (arg2 == NULL) SWIG_fail;
ae8162c8 18692 temp2 = true;
d55e5bfc
RD
18693 }
18694 {
18695 arg3 = wxString_in_helper(obj2);
18696 if (arg3 == NULL) SWIG_fail;
ae8162c8 18697 temp3 = true;
d55e5bfc
RD
18698 }
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 {
18707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18708 }
18709 {
18710 if (temp2)
18711 delete arg2;
18712 }
18713 {
18714 if (temp3)
18715 delete arg3;
18716 }
18717 return resultobj;
18718 fail:
18719 {
18720 if (temp2)
18721 delete arg2;
18722 }
18723 {
18724 if (temp3)
18725 delete arg3;
18726 }
18727 return NULL;
18728}
18729
18730
c32bde28 18731static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18732 PyObject *resultobj = NULL;
d55e5bfc
RD
18733 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18734 wxString *arg2 = 0 ;
18735 long arg3 ;
18736 bool result;
ae8162c8 18737 bool temp2 = false ;
d55e5bfc
RD
18738 PyObject * obj0 = 0 ;
18739 PyObject * obj1 = 0 ;
18740 PyObject * obj2 = 0 ;
18741 char *kwnames[] = {
18742 (char *) "self",(char *) "key",(char *) "value", NULL
18743 };
18744
18745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18748 {
18749 arg2 = wxString_in_helper(obj1);
18750 if (arg2 == NULL) SWIG_fail;
ae8162c8 18751 temp2 = true;
d55e5bfc 18752 }
093d3ff1 18753 {
7449af73 18754 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
18755 if (SWIG_arg_fail(3)) SWIG_fail;
18756 }
d55e5bfc
RD
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 {
18765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18766 }
18767 {
18768 if (temp2)
18769 delete arg2;
18770 }
18771 return resultobj;
18772 fail:
18773 {
18774 if (temp2)
18775 delete arg2;
18776 }
18777 return NULL;
18778}
18779
18780
c32bde28 18781static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18782 PyObject *resultobj = NULL;
d55e5bfc
RD
18783 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18784 wxString *arg2 = 0 ;
18785 double arg3 ;
18786 bool result;
ae8162c8 18787 bool temp2 = false ;
d55e5bfc
RD
18788 PyObject * obj0 = 0 ;
18789 PyObject * obj1 = 0 ;
18790 PyObject * obj2 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "key",(char *) "value", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18798 {
18799 arg2 = wxString_in_helper(obj1);
18800 if (arg2 == NULL) SWIG_fail;
ae8162c8 18801 temp2 = true;
d55e5bfc 18802 }
093d3ff1 18803 {
7449af73 18804 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
18805 if (SWIG_arg_fail(3)) SWIG_fail;
18806 }
d55e5bfc
RD
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 {
18815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18816 }
18817 {
18818 if (temp2)
18819 delete arg2;
18820 }
18821 return resultobj;
18822 fail:
18823 {
18824 if (temp2)
18825 delete arg2;
18826 }
18827 return NULL;
18828}
18829
18830
c32bde28 18831static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18832 PyObject *resultobj = NULL;
d55e5bfc
RD
18833 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18834 wxString *arg2 = 0 ;
18835 bool arg3 ;
18836 bool result;
ae8162c8 18837 bool temp2 = false ;
d55e5bfc
RD
18838 PyObject * obj0 = 0 ;
18839 PyObject * obj1 = 0 ;
18840 PyObject * obj2 = 0 ;
18841 char *kwnames[] = {
18842 (char *) "self",(char *) "key",(char *) "value", NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18847 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18848 {
18849 arg2 = wxString_in_helper(obj1);
18850 if (arg2 == NULL) SWIG_fail;
ae8162c8 18851 temp2 = true;
d55e5bfc 18852 }
093d3ff1 18853 {
7449af73 18854 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
18855 if (SWIG_arg_fail(3)) SWIG_fail;
18856 }
d55e5bfc
RD
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 {
18865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18866 }
18867 {
18868 if (temp2)
18869 delete arg2;
18870 }
18871 return resultobj;
18872 fail:
18873 {
18874 if (temp2)
18875 delete arg2;
18876 }
18877 return NULL;
18878}
18879
18880
c32bde28 18881static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18882 PyObject *resultobj = NULL;
d55e5bfc 18883 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18884 bool arg2 = (bool) false ;
d55e5bfc
RD
18885 bool result;
18886 PyObject * obj0 = 0 ;
18887 PyObject * obj1 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self",(char *) "currentOnly", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18895 if (obj1) {
093d3ff1 18896 {
7449af73 18897 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18898 if (SWIG_arg_fail(2)) SWIG_fail;
18899 }
d55e5bfc
RD
18900 }
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = (bool)(arg1)->Flush(arg2);
18904
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 {
18909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18910 }
18911 return resultobj;
18912 fail:
18913 return NULL;
18914}
18915
18916
c32bde28 18917static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18918 PyObject *resultobj = NULL;
d55e5bfc
RD
18919 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18920 wxString *arg2 = 0 ;
18921 wxString *arg3 = 0 ;
18922 bool result;
ae8162c8
RD
18923 bool temp2 = false ;
18924 bool temp3 = false ;
d55e5bfc
RD
18925 PyObject * obj0 = 0 ;
18926 PyObject * obj1 = 0 ;
18927 PyObject * obj2 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18935 {
18936 arg2 = wxString_in_helper(obj1);
18937 if (arg2 == NULL) SWIG_fail;
ae8162c8 18938 temp2 = true;
d55e5bfc
RD
18939 }
18940 {
18941 arg3 = wxString_in_helper(obj2);
18942 if (arg3 == NULL) SWIG_fail;
ae8162c8 18943 temp3 = true;
d55e5bfc
RD
18944 }
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 {
18953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18954 }
18955 {
18956 if (temp2)
18957 delete arg2;
18958 }
18959 {
18960 if (temp3)
18961 delete arg3;
18962 }
18963 return resultobj;
18964 fail:
18965 {
18966 if (temp2)
18967 delete arg2;
18968 }
18969 {
18970 if (temp3)
18971 delete arg3;
18972 }
18973 return NULL;
18974}
18975
18976
c32bde28 18977static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18978 PyObject *resultobj = NULL;
d55e5bfc
RD
18979 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18980 wxString *arg2 = 0 ;
18981 wxString *arg3 = 0 ;
18982 bool result;
ae8162c8
RD
18983 bool temp2 = false ;
18984 bool temp3 = false ;
d55e5bfc
RD
18985 PyObject * obj0 = 0 ;
18986 PyObject * obj1 = 0 ;
18987 PyObject * obj2 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18995 {
18996 arg2 = wxString_in_helper(obj1);
18997 if (arg2 == NULL) SWIG_fail;
ae8162c8 18998 temp2 = true;
d55e5bfc
RD
18999 }
19000 {
19001 arg3 = wxString_in_helper(obj2);
19002 if (arg3 == NULL) SWIG_fail;
ae8162c8 19003 temp3 = true;
d55e5bfc
RD
19004 }
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 {
19013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19014 }
19015 {
19016 if (temp2)
19017 delete arg2;
19018 }
19019 {
19020 if (temp3)
19021 delete arg3;
19022 }
19023 return resultobj;
19024 fail:
19025 {
19026 if (temp2)
19027 delete arg2;
19028 }
19029 {
19030 if (temp3)
19031 delete arg3;
19032 }
19033 return NULL;
19034}
19035
19036
c32bde28 19037static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19038 PyObject *resultobj = NULL;
d55e5bfc
RD
19039 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19040 wxString *arg2 = 0 ;
ae8162c8 19041 bool arg3 = (bool) true ;
d55e5bfc 19042 bool result;
ae8162c8 19043 bool temp2 = false ;
d55e5bfc
RD
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 PyObject * obj2 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19054 {
19055 arg2 = wxString_in_helper(obj1);
19056 if (arg2 == NULL) SWIG_fail;
ae8162c8 19057 temp2 = true;
d55e5bfc
RD
19058 }
19059 if (obj2) {
093d3ff1 19060 {
7449af73 19061 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
19062 if (SWIG_arg_fail(3)) SWIG_fail;
19063 }
d55e5bfc
RD
19064 }
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 {
19073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19074 }
19075 {
19076 if (temp2)
19077 delete arg2;
19078 }
19079 return resultobj;
19080 fail:
19081 {
19082 if (temp2)
19083 delete arg2;
19084 }
19085 return NULL;
19086}
19087
19088
c32bde28 19089static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19090 PyObject *resultobj = NULL;
d55e5bfc
RD
19091 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19092 wxString *arg2 = 0 ;
19093 bool result;
ae8162c8 19094 bool temp2 = false ;
d55e5bfc
RD
19095 PyObject * obj0 = 0 ;
19096 PyObject * obj1 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self",(char *) "key", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19104 {
19105 arg2 = wxString_in_helper(obj1);
19106 if (arg2 == NULL) SWIG_fail;
ae8162c8 19107 temp2 = true;
d55e5bfc
RD
19108 }
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 {
19117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19118 }
19119 {
19120 if (temp2)
19121 delete arg2;
19122 }
19123 return resultobj;
19124 fail:
19125 {
19126 if (temp2)
19127 delete arg2;
19128 }
19129 return NULL;
19130}
19131
19132
c32bde28 19133static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19134 PyObject *resultobj = NULL;
d55e5bfc
RD
19135 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19136 bool result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
19143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (bool)(arg1)->DeleteAll();
19148
19149 wxPyEndAllowThreads(__tstate);
19150 if (PyErr_Occurred()) SWIG_fail;
19151 }
19152 {
19153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19154 }
19155 return resultobj;
19156 fail:
19157 return NULL;
19158}
19159
19160
c32bde28 19161static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19162 PyObject *resultobj = NULL;
d55e5bfc 19163 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 19164 bool arg2 = (bool) true ;
d55e5bfc
RD
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self",(char *) "doIt", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19174 if (obj1) {
093d3ff1 19175 {
7449af73 19176 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19177 if (SWIG_arg_fail(2)) SWIG_fail;
19178 }
d55e5bfc
RD
19179 }
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 (arg1)->SetExpandEnvVars(arg2);
19183
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 Py_INCREF(Py_None); resultobj = Py_None;
19188 return resultobj;
19189 fail:
19190 return NULL;
19191}
19192
19193
c32bde28 19194static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19195 PyObject *resultobj = NULL;
d55e5bfc
RD
19196 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19197 bool result;
19198 PyObject * obj0 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
19204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 {
19214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19215 }
19216 return resultobj;
19217 fail:
19218 return NULL;
19219}
19220
19221
c32bde28 19222static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19223 PyObject *resultobj = NULL;
d55e5bfc 19224 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 19225 bool arg2 = (bool) true ;
d55e5bfc
RD
19226 PyObject * obj0 = 0 ;
19227 PyObject * obj1 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self",(char *) "doIt", NULL
19230 };
19231
19232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19235 if (obj1) {
093d3ff1 19236 {
7449af73 19237 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19238 if (SWIG_arg_fail(2)) SWIG_fail;
19239 }
d55e5bfc
RD
19240 }
19241 {
19242 PyThreadState* __tstate = wxPyBeginAllowThreads();
19243 (arg1)->SetRecordDefaults(arg2);
19244
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 Py_INCREF(Py_None); resultobj = Py_None;
19249 return resultobj;
19250 fail:
19251 return NULL;
19252}
19253
19254
c32bde28 19255static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19256 PyObject *resultobj = NULL;
d55e5bfc
RD
19257 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19258 bool result;
19259 PyObject * obj0 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
19265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19266 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19276 }
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
c32bde28 19283static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19284 PyObject *resultobj = NULL;
d55e5bfc
RD
19285 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19286 wxString *arg2 = 0 ;
19287 wxString result;
ae8162c8 19288 bool temp2 = false ;
d55e5bfc
RD
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj1 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "str", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19298 {
19299 arg2 = wxString_in_helper(obj1);
19300 if (arg2 == NULL) SWIG_fail;
ae8162c8 19301 temp2 = true;
d55e5bfc
RD
19302 }
19303 {
19304 PyThreadState* __tstate = wxPyBeginAllowThreads();
19305 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
19306
19307 wxPyEndAllowThreads(__tstate);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 }
19310 {
19311#if wxUSE_UNICODE
19312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19313#else
19314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19315#endif
19316 }
19317 {
19318 if (temp2)
19319 delete arg2;
19320 }
19321 return resultobj;
19322 fail:
19323 {
19324 if (temp2)
19325 delete arg2;
19326 }
19327 return NULL;
19328}
19329
19330
c32bde28 19331static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19332 PyObject *resultobj = NULL;
d55e5bfc
RD
19333 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19334 wxString result;
19335 PyObject * obj0 = 0 ;
19336 char *kwnames[] = {
19337 (char *) "self", NULL
19338 };
19339
19340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
19341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = ((wxConfigBase const *)arg1)->GetAppName();
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 {
19351#if wxUSE_UNICODE
19352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19353#else
19354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19355#endif
19356 }
19357 return resultobj;
19358 fail:
19359 return NULL;
19360}
19361
19362
c32bde28 19363static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19364 PyObject *resultobj = NULL;
d55e5bfc
RD
19365 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19366 wxString result;
19367 PyObject * obj0 = 0 ;
19368 char *kwnames[] = {
19369 (char *) "self", NULL
19370 };
19371
19372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
19373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = ((wxConfigBase const *)arg1)->GetVendorName();
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 {
19383#if wxUSE_UNICODE
19384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19385#else
19386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19387#endif
19388 }
19389 return resultobj;
19390 fail:
19391 return NULL;
19392}
19393
19394
c32bde28 19395static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19396 PyObject *resultobj = NULL;
d55e5bfc
RD
19397 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19398 wxString *arg2 = 0 ;
ae8162c8 19399 bool temp2 = false ;
d55e5bfc
RD
19400 PyObject * obj0 = 0 ;
19401 PyObject * obj1 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self",(char *) "appName", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19409 {
19410 arg2 = wxString_in_helper(obj1);
19411 if (arg2 == NULL) SWIG_fail;
ae8162c8 19412 temp2 = true;
d55e5bfc
RD
19413 }
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 (arg1)->SetAppName((wxString const &)*arg2);
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 Py_INCREF(Py_None); resultobj = Py_None;
19422 {
19423 if (temp2)
19424 delete arg2;
19425 }
19426 return resultobj;
19427 fail:
19428 {
19429 if (temp2)
19430 delete arg2;
19431 }
19432 return NULL;
19433}
19434
19435
c32bde28 19436static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19437 PyObject *resultobj = NULL;
d55e5bfc
RD
19438 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19439 wxString *arg2 = 0 ;
ae8162c8 19440 bool temp2 = false ;
d55e5bfc
RD
19441 PyObject * obj0 = 0 ;
19442 PyObject * obj1 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "self",(char *) "vendorName", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19449 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19450 {
19451 arg2 = wxString_in_helper(obj1);
19452 if (arg2 == NULL) SWIG_fail;
ae8162c8 19453 temp2 = true;
d55e5bfc
RD
19454 }
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 (arg1)->SetVendorName((wxString const &)*arg2);
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 Py_INCREF(Py_None); resultobj = Py_None;
19463 {
19464 if (temp2)
19465 delete arg2;
19466 }
19467 return resultobj;
19468 fail:
19469 {
19470 if (temp2)
19471 delete arg2;
19472 }
19473 return NULL;
19474}
19475
19476
c32bde28 19477static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19478 PyObject *resultobj = NULL;
d55e5bfc
RD
19479 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19480 long arg2 ;
19481 PyObject * obj0 = 0 ;
19482 PyObject * obj1 = 0 ;
19483 char *kwnames[] = {
19484 (char *) "self",(char *) "style", NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19489 if (SWIG_arg_fail(1)) SWIG_fail;
19490 {
7449af73 19491 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
19492 if (SWIG_arg_fail(2)) SWIG_fail;
19493 }
d55e5bfc
RD
19494 {
19495 PyThreadState* __tstate = wxPyBeginAllowThreads();
19496 (arg1)->SetStyle(arg2);
19497
19498 wxPyEndAllowThreads(__tstate);
19499 if (PyErr_Occurred()) SWIG_fail;
19500 }
19501 Py_INCREF(Py_None); resultobj = Py_None;
19502 return resultobj;
19503 fail:
19504 return NULL;
19505}
19506
19507
c32bde28 19508static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19509 PyObject *resultobj = NULL;
d55e5bfc
RD
19510 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19511 long result;
19512 PyObject * obj0 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 result = (long)((wxConfigBase const *)arg1)->GetStyle();
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
093d3ff1 19527 {
7449af73 19528 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 19529 }
d55e5bfc
RD
19530 return resultobj;
19531 fail:
19532 return NULL;
19533}
19534
19535
c32bde28 19536static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19537 PyObject *obj;
19538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19539 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
19540 Py_INCREF(obj);
19541 return Py_BuildValue((char *)"");
19542}
c32bde28 19543static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19544 PyObject *resultobj = NULL;
d55e5bfc
RD
19545 wxString const &arg1_defvalue = wxPyEmptyString ;
19546 wxString *arg1 = (wxString *) &arg1_defvalue ;
19547 wxString const &arg2_defvalue = wxPyEmptyString ;
19548 wxString *arg2 = (wxString *) &arg2_defvalue ;
19549 wxString const &arg3_defvalue = wxPyEmptyString ;
19550 wxString *arg3 = (wxString *) &arg3_defvalue ;
19551 wxString const &arg4_defvalue = wxPyEmptyString ;
19552 wxString *arg4 = (wxString *) &arg4_defvalue ;
19553 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19554 wxConfig *result;
ae8162c8
RD
19555 bool temp1 = false ;
19556 bool temp2 = false ;
19557 bool temp3 = false ;
19558 bool temp4 = false ;
d55e5bfc
RD
19559 PyObject * obj0 = 0 ;
19560 PyObject * obj1 = 0 ;
19561 PyObject * obj2 = 0 ;
19562 PyObject * obj3 = 0 ;
19563 PyObject * obj4 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19569 if (obj0) {
19570 {
19571 arg1 = wxString_in_helper(obj0);
19572 if (arg1 == NULL) SWIG_fail;
ae8162c8 19573 temp1 = true;
d55e5bfc
RD
19574 }
19575 }
19576 if (obj1) {
19577 {
19578 arg2 = wxString_in_helper(obj1);
19579 if (arg2 == NULL) SWIG_fail;
ae8162c8 19580 temp2 = true;
d55e5bfc
RD
19581 }
19582 }
19583 if (obj2) {
19584 {
19585 arg3 = wxString_in_helper(obj2);
19586 if (arg3 == NULL) SWIG_fail;
ae8162c8 19587 temp3 = true;
d55e5bfc
RD
19588 }
19589 }
19590 if (obj3) {
19591 {
19592 arg4 = wxString_in_helper(obj3);
19593 if (arg4 == NULL) SWIG_fail;
ae8162c8 19594 temp4 = true;
d55e5bfc
RD
19595 }
19596 }
19597 if (obj4) {
093d3ff1 19598 {
7449af73 19599 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19600 if (SWIG_arg_fail(5)) SWIG_fail;
19601 }
d55e5bfc
RD
19602 }
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19606
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
19611 {
19612 if (temp1)
19613 delete arg1;
19614 }
19615 {
19616 if (temp2)
19617 delete arg2;
19618 }
19619 {
19620 if (temp3)
19621 delete arg3;
19622 }
19623 {
19624 if (temp4)
19625 delete arg4;
19626 }
19627 return resultobj;
19628 fail:
19629 {
19630 if (temp1)
19631 delete arg1;
19632 }
19633 {
19634 if (temp2)
19635 delete arg2;
19636 }
19637 {
19638 if (temp3)
19639 delete arg3;
19640 }
19641 {
19642 if (temp4)
19643 delete arg4;
19644 }
19645 return NULL;
19646}
19647
19648
c32bde28 19649static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19650 PyObject *resultobj = NULL;
d55e5bfc
RD
19651 wxConfig *arg1 = (wxConfig *) 0 ;
19652 PyObject * obj0 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
19658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 delete arg1;
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 Py_INCREF(Py_None); resultobj = Py_None;
19668 return resultobj;
19669 fail:
19670 return NULL;
19671}
19672
19673
c32bde28 19674static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19675 PyObject *obj;
19676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
19678 Py_INCREF(obj);
19679 return Py_BuildValue((char *)"");
19680}
c32bde28 19681static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19682 PyObject *resultobj = NULL;
d55e5bfc
RD
19683 wxString const &arg1_defvalue = wxPyEmptyString ;
19684 wxString *arg1 = (wxString *) &arg1_defvalue ;
19685 wxString const &arg2_defvalue = wxPyEmptyString ;
19686 wxString *arg2 = (wxString *) &arg2_defvalue ;
19687 wxString const &arg3_defvalue = wxPyEmptyString ;
19688 wxString *arg3 = (wxString *) &arg3_defvalue ;
19689 wxString const &arg4_defvalue = wxPyEmptyString ;
19690 wxString *arg4 = (wxString *) &arg4_defvalue ;
19691 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19692 wxFileConfig *result;
ae8162c8
RD
19693 bool temp1 = false ;
19694 bool temp2 = false ;
19695 bool temp3 = false ;
19696 bool temp4 = false ;
d55e5bfc
RD
19697 PyObject * obj0 = 0 ;
19698 PyObject * obj1 = 0 ;
19699 PyObject * obj2 = 0 ;
19700 PyObject * obj3 = 0 ;
19701 PyObject * obj4 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19707 if (obj0) {
19708 {
19709 arg1 = wxString_in_helper(obj0);
19710 if (arg1 == NULL) SWIG_fail;
ae8162c8 19711 temp1 = true;
d55e5bfc
RD
19712 }
19713 }
19714 if (obj1) {
19715 {
19716 arg2 = wxString_in_helper(obj1);
19717 if (arg2 == NULL) SWIG_fail;
ae8162c8 19718 temp2 = true;
d55e5bfc
RD
19719 }
19720 }
19721 if (obj2) {
19722 {
19723 arg3 = wxString_in_helper(obj2);
19724 if (arg3 == NULL) SWIG_fail;
ae8162c8 19725 temp3 = true;
d55e5bfc
RD
19726 }
19727 }
19728 if (obj3) {
19729 {
19730 arg4 = wxString_in_helper(obj3);
19731 if (arg4 == NULL) SWIG_fail;
ae8162c8 19732 temp4 = true;
d55e5bfc
RD
19733 }
19734 }
19735 if (obj4) {
093d3ff1 19736 {
7449af73 19737 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19738 if (SWIG_arg_fail(5)) SWIG_fail;
19739 }
d55e5bfc
RD
19740 }
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
19748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
19749 {
19750 if (temp1)
19751 delete arg1;
19752 }
19753 {
19754 if (temp2)
19755 delete arg2;
19756 }
19757 {
19758 if (temp3)
19759 delete arg3;
19760 }
19761 {
19762 if (temp4)
19763 delete arg4;
19764 }
19765 return resultobj;
19766 fail:
19767 {
19768 if (temp1)
19769 delete arg1;
19770 }
19771 {
19772 if (temp2)
19773 delete arg2;
19774 }
19775 {
19776 if (temp3)
19777 delete arg3;
19778 }
19779 {
19780 if (temp4)
19781 delete arg4;
19782 }
19783 return NULL;
19784}
19785
19786
c32bde28 19787static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19788 PyObject *resultobj = NULL;
d55e5bfc
RD
19789 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
19790 PyObject * obj0 = 0 ;
19791 char *kwnames[] = {
19792 (char *) "self", NULL
19793 };
19794
19795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
19796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
19797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 delete arg1;
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 Py_INCREF(Py_None); resultobj = Py_None;
19806 return resultobj;
19807 fail:
19808 return NULL;
19809}
19810
19811
c32bde28 19812static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19813 PyObject *obj;
19814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19815 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
19816 Py_INCREF(obj);
19817 return Py_BuildValue((char *)"");
19818}
c32bde28 19819static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19820 PyObject *resultobj = NULL;
d55e5bfc
RD
19821 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19822 wxString *arg2 = 0 ;
19823 wxConfigPathChanger *result;
ae8162c8 19824 bool temp2 = false ;
d55e5bfc
RD
19825 PyObject * obj0 = 0 ;
19826 PyObject * obj1 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "config",(char *) "entry", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19834 {
19835 arg2 = wxString_in_helper(obj1);
19836 if (arg2 == NULL) SWIG_fail;
ae8162c8 19837 temp2 = true;
d55e5bfc
RD
19838 }
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
19847 {
19848 if (temp2)
19849 delete arg2;
19850 }
19851 return resultobj;
19852 fail:
19853 {
19854 if (temp2)
19855 delete arg2;
19856 }
19857 return NULL;
19858}
19859
19860
c32bde28 19861static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19862 PyObject *resultobj = NULL;
d55e5bfc
RD
19863 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
19870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 delete arg1;
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 Py_INCREF(Py_None); resultobj = Py_None;
19880 return resultobj;
19881 fail:
19882 return NULL;
19883}
19884
19885
c32bde28 19886static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19887 PyObject *resultobj = NULL;
d55e5bfc
RD
19888 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19889 wxString *result;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 {
19901 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
19902 result = (wxString *) &_result_ref;
19903 }
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 {
19909#if wxUSE_UNICODE
19910 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19911#else
19912 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19913#endif
19914 }
19915 return resultobj;
19916 fail:
19917 return NULL;
19918}
19919
19920
c32bde28 19921static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19922 PyObject *obj;
19923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19924 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
19925 Py_INCREF(obj);
19926 return Py_BuildValue((char *)"");
19927}
c32bde28 19928static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19929 PyObject *resultobj = NULL;
d55e5bfc
RD
19930 wxString *arg1 = 0 ;
19931 wxString result;
ae8162c8 19932 bool temp1 = false ;
d55e5bfc
RD
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "sz", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
19939 {
19940 arg1 = wxString_in_helper(obj0);
19941 if (arg1 == NULL) SWIG_fail;
ae8162c8 19942 temp1 = true;
d55e5bfc
RD
19943 }
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = wxExpandEnvVars((wxString const &)*arg1);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 {
19952#if wxUSE_UNICODE
19953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19954#else
19955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19956#endif
19957 }
19958 {
19959 if (temp1)
19960 delete arg1;
19961 }
19962 return resultobj;
19963 fail:
19964 {
19965 if (temp1)
19966 delete arg1;
19967 }
19968 return NULL;
19969}
19970
19971
fef4c27a
RD
19972static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
19973 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
19974 return 1;
19975}
19976
19977
fef4c27a 19978static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
7449af73 19979 PyObject *pyobj = NULL;
d55e5bfc
RD
19980
19981 {
19982#if wxUSE_UNICODE
fef4c27a 19983 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 19984#else
fef4c27a 19985 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
19986#endif
19987 }
19988 return pyobj;
19989}
19990
19991
fef4c27a
RD
19992static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19993 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
19994 return 1;
19995}
19996
19997
fef4c27a 19998static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
7449af73 19999 PyObject *pyobj = NULL;
d55e5bfc
RD
20000
20001 {
20002#if wxUSE_UNICODE
fef4c27a 20003 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 20004#else
fef4c27a 20005 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
20006#endif
20007 }
20008 return pyobj;
20009}
20010
20011
c32bde28 20012static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20013 PyObject *resultobj = NULL;
093d3ff1 20014 wxDateTime::Country arg1 ;
d55e5bfc
RD
20015 PyObject * obj0 = 0 ;
20016 char *kwnames[] = {
20017 (char *) "country", NULL
20018 };
20019
20020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1 20021 {
7449af73 20022 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
093d3ff1
RD
20023 if (SWIG_arg_fail(1)) SWIG_fail;
20024 }
d55e5bfc
RD
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20027 wxDateTime::SetCountry(arg1);
d55e5bfc
RD
20028
20029 wxPyEndAllowThreads(__tstate);
20030 if (PyErr_Occurred()) SWIG_fail;
20031 }
20032 Py_INCREF(Py_None); resultobj = Py_None;
20033 return resultobj;
20034 fail:
20035 return NULL;
20036}
20037
20038
c32bde28 20039static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20040 PyObject *resultobj = NULL;
093d3ff1 20041 wxDateTime::Country result;
d55e5bfc
RD
20042 char *kwnames[] = {
20043 NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20049 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
093d3ff1 20054 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20055 return resultobj;
20056 fail:
20057 return NULL;
20058}
20059
20060
c32bde28 20061static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20062 PyObject *resultobj = NULL;
093d3ff1 20063 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20064 bool result;
20065 PyObject * obj0 = 0 ;
20066 char *kwnames[] = {
20067 (char *) "country", NULL
20068 };
20069
20070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
20071 if (obj0) {
093d3ff1 20072 {
7449af73 20073 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
093d3ff1
RD
20074 if (SWIG_arg_fail(1)) SWIG_fail;
20075 }
d55e5bfc
RD
20076 }
20077 {
20078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20079 result = (bool)wxDateTime::IsWestEuropeanCountry(arg1);
d55e5bfc
RD
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 {
20085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20086 }
20087 return resultobj;
20088 fail:
20089 return NULL;
20090}
20091
20092
c32bde28 20093static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20094 PyObject *resultobj = NULL;
093d3ff1 20095 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20096 int result;
20097 PyObject * obj0 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "cal", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
20103 if (obj0) {
093d3ff1 20104 {
7449af73 20105 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
093d3ff1
RD
20106 if (SWIG_arg_fail(1)) SWIG_fail;
20107 }
d55e5bfc
RD
20108 }
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20111 result = (int)wxDateTime::GetCurrentYear(arg1);
d55e5bfc
RD
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
093d3ff1 20116 {
7449af73 20117 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20118 }
d55e5bfc
RD
20119 return resultobj;
20120 fail:
20121 return NULL;
20122}
20123
20124
c32bde28 20125static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20126 PyObject *resultobj = NULL;
d55e5bfc
RD
20127 int arg1 ;
20128 int result;
20129 PyObject * obj0 = 0 ;
20130 char *kwnames[] = {
20131 (char *) "year", NULL
20132 };
20133
20134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1 20135 {
7449af73 20136 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20137 if (SWIG_arg_fail(1)) SWIG_fail;
20138 }
d55e5bfc
RD
20139 {
20140 PyThreadState* __tstate = wxPyBeginAllowThreads();
20141 result = (int)wxDateTime::ConvertYearToBC(arg1);
20142
20143 wxPyEndAllowThreads(__tstate);
20144 if (PyErr_Occurred()) SWIG_fail;
20145 }
093d3ff1 20146 {
7449af73 20147 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20148 }
d55e5bfc
RD
20149 return resultobj;
20150 fail:
20151 return NULL;
20152}
20153
20154
c32bde28 20155static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20156 PyObject *resultobj = NULL;
093d3ff1
RD
20157 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
20158 wxDateTime::Month result;
d55e5bfc
RD
20159 PyObject * obj0 = 0 ;
20160 char *kwnames[] = {
20161 (char *) "cal", NULL
20162 };
20163
20164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
20165 if (obj0) {
093d3ff1 20166 {
7449af73 20167 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
093d3ff1
RD
20168 if (SWIG_arg_fail(1)) SWIG_fail;
20169 }
d55e5bfc
RD
20170 }
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20173 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1);
d55e5bfc
RD
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
093d3ff1 20178 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
c32bde28 20185static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20186 PyObject *resultobj = NULL;
d55e5bfc 20187 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20188 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20189 bool result;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "year",(char *) "cal", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
20197 if (obj0) {
093d3ff1 20198 {
7449af73 20199 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20200 if (SWIG_arg_fail(1)) SWIG_fail;
20201 }
d55e5bfc
RD
20202 }
20203 if (obj1) {
093d3ff1 20204 {
7449af73 20205 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
093d3ff1
RD
20206 if (SWIG_arg_fail(2)) SWIG_fail;
20207 }
d55e5bfc
RD
20208 }
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20211 result = (bool)wxDateTime::IsLeapYear(arg1,arg2);
d55e5bfc
RD
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 {
20217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20218 }
20219 return resultobj;
20220 fail:
20221 return NULL;
20222}
20223
20224
c32bde28 20225static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20226 PyObject *resultobj = NULL;
d55e5bfc
RD
20227 int arg1 = (int) wxDateTime::Inv_Year ;
20228 int result;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "year", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
20235 if (obj0) {
093d3ff1 20236 {
7449af73 20237 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20238 if (SWIG_arg_fail(1)) SWIG_fail;
20239 }
d55e5bfc
RD
20240 }
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 result = (int)wxDateTime::GetCentury(arg1);
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
093d3ff1 20248 {
7449af73 20249 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20250 }
d55e5bfc
RD
20251 return resultobj;
20252 fail:
20253 return NULL;
20254}
20255
20256
c32bde28 20257static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20258 PyObject *resultobj = NULL;
d55e5bfc 20259 int arg1 ;
093d3ff1 20260 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20261 int result;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "year",(char *) "cal", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20269 {
7449af73 20270 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20271 if (SWIG_arg_fail(1)) SWIG_fail;
20272 }
d55e5bfc 20273 if (obj1) {
093d3ff1 20274 {
7449af73 20275 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
093d3ff1
RD
20276 if (SWIG_arg_fail(2)) SWIG_fail;
20277 }
d55e5bfc
RD
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20281 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2);
d55e5bfc
RD
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
093d3ff1 20286 {
7449af73 20287 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20288 }
d55e5bfc
RD
20289 return resultobj;
20290 fail:
20291 return NULL;
20292}
20293
20294
c32bde28 20295static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20296 PyObject *resultobj = NULL;
093d3ff1 20297 wxDateTime::Month arg1 ;
d55e5bfc 20298 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 20299 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20300 int result;
20301 PyObject * obj0 = 0 ;
20302 PyObject * obj1 = 0 ;
20303 PyObject * obj2 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "month",(char *) "year",(char *) "cal", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 20309 {
7449af73 20310 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
093d3ff1
RD
20311 if (SWIG_arg_fail(1)) SWIG_fail;
20312 }
d55e5bfc 20313 if (obj1) {
093d3ff1 20314 {
7449af73 20315 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20316 if (SWIG_arg_fail(2)) SWIG_fail;
20317 }
d55e5bfc
RD
20318 }
20319 if (obj2) {
093d3ff1 20320 {
7449af73 20321 arg3 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj2));
093d3ff1
RD
20322 if (SWIG_arg_fail(3)) SWIG_fail;
20323 }
d55e5bfc
RD
20324 }
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20327 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3);
d55e5bfc
RD
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
093d3ff1 20332 {
7449af73 20333 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20334 }
d55e5bfc
RD
20335 return resultobj;
20336 fail:
20337 return NULL;
20338}
20339
20340
c32bde28 20341static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20342 PyObject *resultobj = NULL;
093d3ff1
RD
20343 wxDateTime::Month arg1 ;
20344 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20345 wxString result;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "month",(char *) "flags", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20353 {
7449af73 20354 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
093d3ff1
RD
20355 if (SWIG_arg_fail(1)) SWIG_fail;
20356 }
d55e5bfc 20357 if (obj1) {
093d3ff1 20358 {
7449af73 20359 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
093d3ff1
RD
20360 if (SWIG_arg_fail(2)) SWIG_fail;
20361 }
d55e5bfc
RD
20362 }
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20365 result = wxDateTime::GetMonthName(arg1,arg2);
d55e5bfc
RD
20366
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 {
20371#if wxUSE_UNICODE
20372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20373#else
20374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20375#endif
20376 }
20377 return resultobj;
20378 fail:
20379 return NULL;
20380}
20381
20382
c32bde28 20383static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20384 PyObject *resultobj = NULL;
093d3ff1
RD
20385 wxDateTime::WeekDay arg1 ;
20386 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20387 wxString result;
20388 PyObject * obj0 = 0 ;
20389 PyObject * obj1 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "weekday",(char *) "flags", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20395 {
7449af73 20396 arg1 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj0));
093d3ff1
RD
20397 if (SWIG_arg_fail(1)) SWIG_fail;
20398 }
d55e5bfc 20399 if (obj1) {
093d3ff1 20400 {
7449af73 20401 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
093d3ff1
RD
20402 if (SWIG_arg_fail(2)) SWIG_fail;
20403 }
d55e5bfc
RD
20404 }
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20407 result = wxDateTime::GetWeekDayName(arg1,arg2);
d55e5bfc
RD
20408
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 {
20413#if wxUSE_UNICODE
20414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20415#else
20416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20417#endif
20418 }
20419 return resultobj;
20420 fail:
20421 return NULL;
20422}
20423
20424
c32bde28 20425static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20426 PyObject *resultobj = NULL;
b9d6a5f3 20427 PyObject *result;
d55e5bfc 20428 char *kwnames[] = {
b9d6a5f3 20429 NULL
d55e5bfc
RD
20430 };
20431
b9d6a5f3 20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20435 result = (PyObject *)wxDateTime_GetAmPmStrings();
d55e5bfc
RD
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
b9d6a5f3 20440 resultobj = result;
d55e5bfc
RD
20441 return resultobj;
20442 fail:
d55e5bfc
RD
20443 return NULL;
20444}
20445
20446
c32bde28 20447static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20448 PyObject *resultobj = NULL;
d55e5bfc 20449 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20450 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20451 bool result;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "year",(char *) "country", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
20459 if (obj0) {
093d3ff1 20460 {
7449af73 20461 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20462 if (SWIG_arg_fail(1)) SWIG_fail;
20463 }
d55e5bfc
RD
20464 }
20465 if (obj1) {
093d3ff1 20466 {
7449af73 20467 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20468 if (SWIG_arg_fail(2)) SWIG_fail;
20469 }
d55e5bfc
RD
20470 }
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20473 result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2);
d55e5bfc
RD
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20480 }
20481 return resultobj;
20482 fail:
20483 return NULL;
20484}
20485
20486
c32bde28 20487static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20488 PyObject *resultobj = NULL;
d55e5bfc 20489 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20490 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20491 wxDateTime result;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "year",(char *) "country", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
20499 if (obj0) {
093d3ff1 20500 {
7449af73 20501 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20502 if (SWIG_arg_fail(1)) SWIG_fail;
20503 }
d55e5bfc
RD
20504 }
20505 if (obj1) {
093d3ff1 20506 {
7449af73 20507 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20508 if (SWIG_arg_fail(2)) SWIG_fail;
20509 }
d55e5bfc
RD
20510 }
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20513 result = wxDateTime::GetBeginDST(arg1,arg2);
d55e5bfc
RD
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 {
20519 wxDateTime * resultptr;
7449af73 20520 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20522 }
20523 return resultobj;
20524 fail:
20525 return NULL;
20526}
20527
20528
c32bde28 20529static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20530 PyObject *resultobj = NULL;
d55e5bfc 20531 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20532 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20533 wxDateTime result;
20534 PyObject * obj0 = 0 ;
20535 PyObject * obj1 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "year",(char *) "country", NULL
20538 };
20539
20540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
20541 if (obj0) {
093d3ff1 20542 {
7449af73 20543 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20544 if (SWIG_arg_fail(1)) SWIG_fail;
20545 }
d55e5bfc
RD
20546 }
20547 if (obj1) {
093d3ff1 20548 {
7449af73 20549 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20550 if (SWIG_arg_fail(2)) SWIG_fail;
20551 }
d55e5bfc
RD
20552 }
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20555 result = wxDateTime::GetEndDST(arg1,arg2);
d55e5bfc
RD
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561 wxDateTime * resultptr;
7449af73 20562 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20564 }
20565 return resultobj;
20566 fail:
20567 return NULL;
20568}
20569
20570
c32bde28 20571static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20572 PyObject *resultobj = NULL;
d55e5bfc
RD
20573 wxDateTime result;
20574 char *kwnames[] = {
20575 NULL
20576 };
20577
20578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = wxDateTime::Now();
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 {
20587 wxDateTime * resultptr;
7449af73 20588 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20590 }
20591 return resultobj;
20592 fail:
20593 return NULL;
20594}
20595
20596
c32bde28 20597static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20598 PyObject *resultobj = NULL;
d55e5bfc
RD
20599 wxDateTime result;
20600 char *kwnames[] = {
20601 NULL
20602 };
20603
20604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
20605 {
20606 PyThreadState* __tstate = wxPyBeginAllowThreads();
20607 result = wxDateTime::UNow();
20608
20609 wxPyEndAllowThreads(__tstate);
20610 if (PyErr_Occurred()) SWIG_fail;
20611 }
20612 {
20613 wxDateTime * resultptr;
7449af73 20614 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20616 }
20617 return resultobj;
20618 fail:
20619 return NULL;
20620}
20621
20622
c32bde28 20623static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20624 PyObject *resultobj = NULL;
d55e5bfc
RD
20625 wxDateTime result;
20626 char *kwnames[] = {
20627 NULL
20628 };
20629
20630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
20631 {
20632 PyThreadState* __tstate = wxPyBeginAllowThreads();
20633 result = wxDateTime::Today();
20634
20635 wxPyEndAllowThreads(__tstate);
20636 if (PyErr_Occurred()) SWIG_fail;
20637 }
20638 {
20639 wxDateTime * resultptr;
7449af73 20640 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20641 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20642 }
20643 return resultobj;
20644 fail:
20645 return NULL;
20646}
20647
20648
c32bde28 20649static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20650 PyObject *resultobj = NULL;
d55e5bfc
RD
20651 wxDateTime *result;
20652 char *kwnames[] = {
20653 NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
20657 {
20658 PyThreadState* __tstate = wxPyBeginAllowThreads();
20659 result = (wxDateTime *)new wxDateTime();
20660
20661 wxPyEndAllowThreads(__tstate);
20662 if (PyErr_Occurred()) SWIG_fail;
20663 }
20664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20665 return resultobj;
20666 fail:
20667 return NULL;
20668}
20669
20670
c32bde28 20671static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20672 PyObject *resultobj = NULL;
d55e5bfc
RD
20673 time_t arg1 ;
20674 wxDateTime *result;
20675 PyObject * obj0 = 0 ;
20676 char *kwnames[] = {
20677 (char *) "timet", NULL
20678 };
20679
20680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1 20681 {
7449af73 20682 arg1 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0));
093d3ff1
RD
20683 if (SWIG_arg_fail(1)) SWIG_fail;
20684 }
d55e5bfc
RD
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 result = (wxDateTime *)new wxDateTime(arg1);
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20693 return resultobj;
20694 fail:
20695 return NULL;
20696}
20697
20698
c32bde28 20699static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20700 PyObject *resultobj = NULL;
d55e5bfc
RD
20701 double arg1 ;
20702 wxDateTime *result;
20703 PyObject * obj0 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "jdn", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1 20709 {
7449af73 20710 arg1 = static_cast<double >(SWIG_As_double(obj0));
093d3ff1
RD
20711 if (SWIG_arg_fail(1)) SWIG_fail;
20712 }
d55e5bfc
RD
20713 {
20714 PyThreadState* __tstate = wxPyBeginAllowThreads();
20715 result = (wxDateTime *)new wxDateTime(arg1);
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20721 return resultobj;
20722 fail:
20723 return NULL;
20724}
20725
20726
c32bde28 20727static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20728 PyObject *resultobj = NULL;
d55e5bfc
RD
20729 int arg1 ;
20730 int arg2 = (int) 0 ;
20731 int arg3 = (int) 0 ;
20732 int arg4 = (int) 0 ;
20733 wxDateTime *result;
20734 PyObject * obj0 = 0 ;
20735 PyObject * obj1 = 0 ;
20736 PyObject * obj2 = 0 ;
20737 PyObject * obj3 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 20743 {
7449af73 20744 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20745 if (SWIG_arg_fail(1)) SWIG_fail;
20746 }
d55e5bfc 20747 if (obj1) {
093d3ff1 20748 {
7449af73 20749 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20750 if (SWIG_arg_fail(2)) SWIG_fail;
20751 }
d55e5bfc
RD
20752 }
20753 if (obj2) {
093d3ff1 20754 {
7449af73 20755 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20756 if (SWIG_arg_fail(3)) SWIG_fail;
20757 }
d55e5bfc
RD
20758 }
20759 if (obj3) {
093d3ff1 20760 {
7449af73 20761 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20762 if (SWIG_arg_fail(4)) SWIG_fail;
20763 }
d55e5bfc
RD
20764 }
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20773 return resultobj;
20774 fail:
20775 return NULL;
20776}
20777
20778
c32bde28 20779static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20780 PyObject *resultobj = NULL;
d55e5bfc 20781 int arg1 ;
093d3ff1 20782 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20783 int arg3 = (int) wxDateTime::Inv_Year ;
20784 int arg4 = (int) 0 ;
20785 int arg5 = (int) 0 ;
20786 int arg6 = (int) 0 ;
20787 int arg7 = (int) 0 ;
20788 wxDateTime *result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 PyObject * obj2 = 0 ;
20792 PyObject * obj3 = 0 ;
20793 PyObject * obj4 = 0 ;
20794 PyObject * obj5 = 0 ;
20795 PyObject * obj6 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1 20801 {
7449af73 20802 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20803 if (SWIG_arg_fail(1)) SWIG_fail;
20804 }
d55e5bfc 20805 if (obj1) {
093d3ff1 20806 {
7449af73 20807 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
20808 if (SWIG_arg_fail(2)) SWIG_fail;
20809 }
d55e5bfc
RD
20810 }
20811 if (obj2) {
093d3ff1 20812 {
7449af73 20813 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20814 if (SWIG_arg_fail(3)) SWIG_fail;
20815 }
d55e5bfc
RD
20816 }
20817 if (obj3) {
093d3ff1 20818 {
7449af73 20819 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20820 if (SWIG_arg_fail(4)) SWIG_fail;
20821 }
d55e5bfc
RD
20822 }
20823 if (obj4) {
093d3ff1 20824 {
7449af73 20825 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20826 if (SWIG_arg_fail(5)) SWIG_fail;
20827 }
d55e5bfc
RD
20828 }
20829 if (obj5) {
093d3ff1 20830 {
7449af73 20831 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
20832 if (SWIG_arg_fail(6)) SWIG_fail;
20833 }
d55e5bfc
RD
20834 }
20835 if (obj6) {
093d3ff1 20836 {
7449af73 20837 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
20838 if (SWIG_arg_fail(7)) SWIG_fail;
20839 }
d55e5bfc
RD
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20843 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852}
20853
20854
c32bde28 20855static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20856 PyObject *resultobj = NULL;
d55e5bfc
RD
20857 wxDateTime *arg1 = (wxDateTime *) 0 ;
20858 PyObject * obj0 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "self", NULL
20861 };
20862
20863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 delete arg1;
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 Py_INCREF(Py_None); resultobj = Py_None;
20874 return resultobj;
20875 fail:
20876 return NULL;
20877}
20878
20879
c32bde28 20880static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20881 PyObject *resultobj = NULL;
d55e5bfc
RD
20882 wxDateTime *arg1 = (wxDateTime *) 0 ;
20883 wxDateTime *result;
20884 PyObject * obj0 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
20890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 {
20895 wxDateTime &_result_ref = (arg1)->SetToCurrent();
20896 result = (wxDateTime *) &_result_ref;
20897 }
20898
20899 wxPyEndAllowThreads(__tstate);
20900 if (PyErr_Occurred()) SWIG_fail;
20901 }
20902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20903 return resultobj;
20904 fail:
20905 return NULL;
20906}
20907
20908
c32bde28 20909static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20910 PyObject *resultobj = NULL;
d55e5bfc
RD
20911 wxDateTime *arg1 = (wxDateTime *) 0 ;
20912 time_t arg2 ;
20913 wxDateTime *result;
20914 PyObject * obj0 = 0 ;
20915 PyObject * obj1 = 0 ;
20916 char *kwnames[] = {
20917 (char *) "self",(char *) "timet", NULL
20918 };
20919
20920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) 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 {
7449af73 20924 arg2 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
20925 if (SWIG_arg_fail(2)) SWIG_fail;
20926 }
d55e5bfc
RD
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 {
20930 wxDateTime &_result_ref = (arg1)->Set(arg2);
20931 result = (wxDateTime *) &_result_ref;
20932 }
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20938 return resultobj;
20939 fail:
20940 return NULL;
20941}
20942
20943
c32bde28 20944static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20945 PyObject *resultobj = NULL;
d55e5bfc
RD
20946 wxDateTime *arg1 = (wxDateTime *) 0 ;
20947 double arg2 ;
20948 wxDateTime *result;
20949 PyObject * obj0 = 0 ;
20950 PyObject * obj1 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self",(char *) "jdn", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail;
20958 {
7449af73 20959 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
20960 if (SWIG_arg_fail(2)) SWIG_fail;
20961 }
d55e5bfc
RD
20962 {
20963 PyThreadState* __tstate = wxPyBeginAllowThreads();
20964 {
20965 wxDateTime &_result_ref = (arg1)->Set(arg2);
20966 result = (wxDateTime *) &_result_ref;
20967 }
20968
20969 wxPyEndAllowThreads(__tstate);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20973 return resultobj;
20974 fail:
20975 return NULL;
20976}
20977
20978
c32bde28 20979static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20980 PyObject *resultobj = NULL;
d55e5bfc
RD
20981 wxDateTime *arg1 = (wxDateTime *) 0 ;
20982 int arg2 ;
20983 int arg3 = (int) 0 ;
20984 int arg4 = (int) 0 ;
20985 int arg5 = (int) 0 ;
20986 wxDateTime *result;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 PyObject * obj2 = 0 ;
20990 PyObject * obj3 = 0 ;
20991 PyObject * obj4 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20998 if (SWIG_arg_fail(1)) SWIG_fail;
20999 {
7449af73 21000 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 21001 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 21002 }
093d3ff1
RD
21003 if (obj2) {
21004 {
7449af73 21005 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21006 if (SWIG_arg_fail(3)) SWIG_fail;
21007 }
21008 }
21009 if (obj3) {
21010 {
7449af73 21011 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21012 if (SWIG_arg_fail(4)) SWIG_fail;
21013 }
d55e5bfc
RD
21014 }
21015 if (obj4) {
093d3ff1 21016 {
7449af73 21017 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21018 if (SWIG_arg_fail(5)) SWIG_fail;
21019 }
d55e5bfc
RD
21020 }
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 {
21024 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
21025 result = (wxDateTime *) &_result_ref;
21026 }
21027
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
21031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21032 return resultobj;
21033 fail:
21034 return NULL;
21035}
21036
21037
c32bde28 21038static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21039 PyObject *resultobj = NULL;
d55e5bfc
RD
21040 wxDateTime *arg1 = (wxDateTime *) 0 ;
21041 int arg2 ;
093d3ff1 21042 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21043 int arg4 = (int) wxDateTime::Inv_Year ;
21044 int arg5 = (int) 0 ;
21045 int arg6 = (int) 0 ;
21046 int arg7 = (int) 0 ;
21047 int arg8 = (int) 0 ;
21048 wxDateTime *result;
21049 PyObject * obj0 = 0 ;
21050 PyObject * obj1 = 0 ;
21051 PyObject * obj2 = 0 ;
21052 PyObject * obj3 = 0 ;
21053 PyObject * obj4 = 0 ;
21054 PyObject * obj5 = 0 ;
21055 PyObject * obj6 = 0 ;
21056 PyObject * obj7 = 0 ;
21057 char *kwnames[] = {
21058 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21059 };
21060
21061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
21062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail;
21064 {
7449af73 21065 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21066 if (SWIG_arg_fail(2)) SWIG_fail;
21067 }
d55e5bfc 21068 if (obj2) {
093d3ff1 21069 {
7449af73 21070 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21071 if (SWIG_arg_fail(3)) SWIG_fail;
21072 }
d55e5bfc
RD
21073 }
21074 if (obj3) {
093d3ff1 21075 {
7449af73 21076 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21077 if (SWIG_arg_fail(4)) SWIG_fail;
21078 }
d55e5bfc
RD
21079 }
21080 if (obj4) {
093d3ff1 21081 {
7449af73 21082 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21083 if (SWIG_arg_fail(5)) SWIG_fail;
21084 }
d55e5bfc
RD
21085 }
21086 if (obj5) {
093d3ff1 21087 {
7449af73 21088 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
21089 if (SWIG_arg_fail(6)) SWIG_fail;
21090 }
d55e5bfc
RD
21091 }
21092 if (obj6) {
093d3ff1 21093 {
7449af73 21094 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
21095 if (SWIG_arg_fail(7)) SWIG_fail;
21096 }
d55e5bfc
RD
21097 }
21098 if (obj7) {
093d3ff1 21099 {
7449af73 21100 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
21101 if (SWIG_arg_fail(8)) SWIG_fail;
21102 }
d55e5bfc
RD
21103 }
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 {
7449af73 21107 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
d55e5bfc
RD
21108 result = (wxDateTime *) &_result_ref;
21109 }
21110
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21115 return resultobj;
21116 fail:
21117 return NULL;
21118}
21119
21120
c32bde28 21121static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21122 PyObject *resultobj = NULL;
d55e5bfc
RD
21123 wxDateTime *arg1 = (wxDateTime *) 0 ;
21124 wxDateTime *result;
21125 PyObject * obj0 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
21131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 {
21136 wxDateTime &_result_ref = (arg1)->ResetTime();
21137 result = (wxDateTime *) &_result_ref;
21138 }
21139
21140 wxPyEndAllowThreads(__tstate);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21144 return resultobj;
21145 fail:
21146 return NULL;
21147}
21148
21149
c32bde28 21150static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21151 PyObject *resultobj = NULL;
d55e5bfc
RD
21152 wxDateTime *arg1 = (wxDateTime *) 0 ;
21153 int arg2 ;
21154 wxDateTime *result;
21155 PyObject * obj0 = 0 ;
21156 PyObject * obj1 = 0 ;
21157 char *kwnames[] = {
21158 (char *) "self",(char *) "year", NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21163 if (SWIG_arg_fail(1)) SWIG_fail;
21164 {
7449af73 21165 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21166 if (SWIG_arg_fail(2)) SWIG_fail;
21167 }
d55e5bfc
RD
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 {
21171 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
21172 result = (wxDateTime *) &_result_ref;
21173 }
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21179 return resultobj;
21180 fail:
21181 return NULL;
21182}
21183
21184
c32bde28 21185static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21186 PyObject *resultobj = NULL;
d55e5bfc 21187 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21188 wxDateTime::Month arg2 ;
d55e5bfc
RD
21189 wxDateTime *result;
21190 PyObject * obj0 = 0 ;
21191 PyObject * obj1 = 0 ;
21192 char *kwnames[] = {
21193 (char *) "self",(char *) "month", NULL
21194 };
21195
21196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21198 if (SWIG_arg_fail(1)) SWIG_fail;
21199 {
7449af73 21200 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21201 if (SWIG_arg_fail(2)) SWIG_fail;
21202 }
d55e5bfc
RD
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 {
7449af73 21206 wxDateTime &_result_ref = (arg1)->SetMonth(arg2);
d55e5bfc
RD
21207 result = (wxDateTime *) &_result_ref;
21208 }
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21214 return resultobj;
21215 fail:
21216 return NULL;
21217}
21218
21219
c32bde28 21220static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21221 PyObject *resultobj = NULL;
d55e5bfc
RD
21222 wxDateTime *arg1 = (wxDateTime *) 0 ;
21223 int arg2 ;
21224 wxDateTime *result;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 char *kwnames[] = {
21228 (char *) "self",(char *) "day", NULL
21229 };
21230
21231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21233 if (SWIG_arg_fail(1)) SWIG_fail;
21234 {
7449af73 21235 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21236 if (SWIG_arg_fail(2)) SWIG_fail;
21237 }
d55e5bfc
RD
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 {
21241 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
21242 result = (wxDateTime *) &_result_ref;
21243 }
21244
21245 wxPyEndAllowThreads(__tstate);
21246 if (PyErr_Occurred()) SWIG_fail;
21247 }
21248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21249 return resultobj;
21250 fail:
21251 return NULL;
21252}
21253
21254
c32bde28 21255static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21256 PyObject *resultobj = NULL;
d55e5bfc
RD
21257 wxDateTime *arg1 = (wxDateTime *) 0 ;
21258 int arg2 ;
21259 wxDateTime *result;
21260 PyObject * obj0 = 0 ;
21261 PyObject * obj1 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self",(char *) "hour", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail;
21269 {
7449af73 21270 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21271 if (SWIG_arg_fail(2)) SWIG_fail;
21272 }
d55e5bfc
RD
21273 {
21274 PyThreadState* __tstate = wxPyBeginAllowThreads();
21275 {
21276 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
21277 result = (wxDateTime *) &_result_ref;
21278 }
21279
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21284 return resultobj;
21285 fail:
21286 return NULL;
21287}
21288
21289
c32bde28 21290static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21291 PyObject *resultobj = NULL;
d55e5bfc
RD
21292 wxDateTime *arg1 = (wxDateTime *) 0 ;
21293 int arg2 ;
21294 wxDateTime *result;
21295 PyObject * obj0 = 0 ;
21296 PyObject * obj1 = 0 ;
21297 char *kwnames[] = {
21298 (char *) "self",(char *) "minute", NULL
21299 };
21300
21301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21303 if (SWIG_arg_fail(1)) SWIG_fail;
21304 {
7449af73 21305 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21306 if (SWIG_arg_fail(2)) SWIG_fail;
21307 }
d55e5bfc
RD
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 {
21311 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
21312 result = (wxDateTime *) &_result_ref;
21313 }
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21319 return resultobj;
21320 fail:
21321 return NULL;
21322}
21323
21324
c32bde28 21325static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21326 PyObject *resultobj = NULL;
d55e5bfc
RD
21327 wxDateTime *arg1 = (wxDateTime *) 0 ;
21328 int arg2 ;
21329 wxDateTime *result;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "second", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail;
21339 {
7449af73 21340 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21341 if (SWIG_arg_fail(2)) SWIG_fail;
21342 }
d55e5bfc
RD
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 {
21346 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
21347 result = (wxDateTime *) &_result_ref;
21348 }
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21354 return resultobj;
21355 fail:
21356 return NULL;
21357}
21358
21359
c32bde28 21360static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21361 PyObject *resultobj = NULL;
d55e5bfc
RD
21362 wxDateTime *arg1 = (wxDateTime *) 0 ;
21363 int arg2 ;
21364 wxDateTime *result;
21365 PyObject * obj0 = 0 ;
21366 PyObject * obj1 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "millisecond", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21373 if (SWIG_arg_fail(1)) SWIG_fail;
21374 {
7449af73 21375 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21376 if (SWIG_arg_fail(2)) SWIG_fail;
21377 }
d55e5bfc
RD
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 {
21381 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
21382 result = (wxDateTime *) &_result_ref;
21383 }
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21389 return resultobj;
21390 fail:
21391 return NULL;
21392}
21393
21394
c32bde28 21395static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21396 PyObject *resultobj = NULL;
d55e5bfc 21397 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21398 wxDateTime::WeekDay arg2 ;
21399 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21400 wxDateTime *result;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 PyObject * obj2 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail;
21411 {
7449af73 21412 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21413 if (SWIG_arg_fail(2)) SWIG_fail;
21414 }
d55e5bfc 21415 if (obj2) {
093d3ff1 21416 {
7449af73 21417 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
093d3ff1
RD
21418 if (SWIG_arg_fail(3)) SWIG_fail;
21419 }
d55e5bfc
RD
21420 }
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 {
7449af73 21424 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21425 result = (wxDateTime *) &_result_ref;
21426 }
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
c32bde28 21438static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21439 PyObject *resultobj = NULL;
d55e5bfc 21440 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21441 wxDateTime::WeekDay arg2 ;
21442 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21443 wxDateTime result;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
21454 {
7449af73 21455 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21456 if (SWIG_arg_fail(2)) SWIG_fail;
21457 }
d55e5bfc 21458 if (obj2) {
093d3ff1 21459 {
7449af73 21460 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
093d3ff1
RD
21461 if (SWIG_arg_fail(3)) SWIG_fail;
21462 }
d55e5bfc
RD
21463 }
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21466 result = (arg1)->GetWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 {
21472 wxDateTime * resultptr;
7449af73 21473 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21475 }
21476 return resultobj;
21477 fail:
21478 return NULL;
21479}
21480
21481
c32bde28 21482static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21483 PyObject *resultobj = NULL;
d55e5bfc 21484 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21485 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21486 wxDateTime *result;
21487 PyObject * obj0 = 0 ;
21488 PyObject * obj1 = 0 ;
21489 char *kwnames[] = {
21490 (char *) "self",(char *) "weekday", NULL
21491 };
21492
21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail;
21496 {
7449af73 21497 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21498 if (SWIG_arg_fail(2)) SWIG_fail;
21499 }
d55e5bfc
RD
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 {
7449af73 21503 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2);
d55e5bfc
RD
21504 result = (wxDateTime *) &_result_ref;
21505 }
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21511 return resultobj;
21512 fail:
21513 return NULL;
21514}
21515
21516
c32bde28 21517static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21518 PyObject *resultobj = NULL;
d55e5bfc 21519 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21520 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21521 wxDateTime result;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "weekday", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail;
21531 {
7449af73 21532 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21533 if (SWIG_arg_fail(2)) SWIG_fail;
21534 }
d55e5bfc
RD
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21537 result = (arg1)->GetNextWeekDay(arg2);
d55e5bfc
RD
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 wxDateTime * resultptr;
7449af73 21544 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21546 }
21547 return resultobj;
21548 fail:
21549 return NULL;
21550}
21551
21552
c32bde28 21553static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21554 PyObject *resultobj = NULL;
d55e5bfc 21555 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21556 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21557 wxDateTime *result;
21558 PyObject * obj0 = 0 ;
21559 PyObject * obj1 = 0 ;
21560 char *kwnames[] = {
21561 (char *) "self",(char *) "weekday", NULL
21562 };
21563
21564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail;
21567 {
7449af73 21568 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21569 if (SWIG_arg_fail(2)) SWIG_fail;
21570 }
d55e5bfc
RD
21571 {
21572 PyThreadState* __tstate = wxPyBeginAllowThreads();
21573 {
7449af73 21574 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2);
d55e5bfc
RD
21575 result = (wxDateTime *) &_result_ref;
21576 }
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21582 return resultobj;
21583 fail:
21584 return NULL;
21585}
21586
21587
c32bde28 21588static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21589 PyObject *resultobj = NULL;
d55e5bfc 21590 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21591 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21592 wxDateTime result;
21593 PyObject * obj0 = 0 ;
21594 PyObject * obj1 = 0 ;
21595 char *kwnames[] = {
21596 (char *) "self",(char *) "weekday", NULL
21597 };
21598
21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail;
21602 {
7449af73 21603 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21604 if (SWIG_arg_fail(2)) SWIG_fail;
21605 }
d55e5bfc
RD
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21608 result = (arg1)->GetPrevWeekDay(arg2);
d55e5bfc
RD
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 {
21614 wxDateTime * resultptr;
7449af73 21615 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21617 }
21618 return resultobj;
21619 fail:
21620 return NULL;
21621}
21622
21623
c32bde28 21624static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21625 PyObject *resultobj = NULL;
d55e5bfc 21626 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21627 wxDateTime::WeekDay arg2 ;
d55e5bfc 21628 int arg3 = (int) 1 ;
093d3ff1 21629 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21630 int arg5 = (int) wxDateTime::Inv_Year ;
21631 bool result;
21632 PyObject * obj0 = 0 ;
21633 PyObject * obj1 = 0 ;
21634 PyObject * obj2 = 0 ;
21635 PyObject * obj3 = 0 ;
21636 PyObject * obj4 = 0 ;
21637 char *kwnames[] = {
21638 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
21642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21643 if (SWIG_arg_fail(1)) SWIG_fail;
21644 {
7449af73 21645 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21646 if (SWIG_arg_fail(2)) SWIG_fail;
21647 }
d55e5bfc 21648 if (obj2) {
093d3ff1 21649 {
7449af73 21650 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21651 if (SWIG_arg_fail(3)) SWIG_fail;
21652 }
d55e5bfc
RD
21653 }
21654 if (obj3) {
093d3ff1 21655 {
7449af73 21656 arg4 = static_cast<wxDateTime::Month >(SWIG_As_int(obj3));
093d3ff1
RD
21657 if (SWIG_arg_fail(4)) SWIG_fail;
21658 }
d55e5bfc
RD
21659 }
21660 if (obj4) {
093d3ff1 21661 {
7449af73 21662 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21663 if (SWIG_arg_fail(5)) SWIG_fail;
21664 }
d55e5bfc
RD
21665 }
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21668 result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5);
d55e5bfc
RD
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21675 }
21676 return resultobj;
21677 fail:
21678 return NULL;
21679}
21680
21681
c32bde28 21682static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21683 PyObject *resultobj = NULL;
d55e5bfc 21684 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21685 wxDateTime::WeekDay arg2 ;
21686 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21687 int arg4 = (int) wxDateTime::Inv_Year ;
21688 bool result;
21689 PyObject * obj0 = 0 ;
21690 PyObject * obj1 = 0 ;
21691 PyObject * obj2 = 0 ;
21692 PyObject * obj3 = 0 ;
21693 char *kwnames[] = {
21694 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21695 };
21696
21697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail;
21700 {
7449af73 21701 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21702 if (SWIG_arg_fail(2)) SWIG_fail;
21703 }
d55e5bfc 21704 if (obj2) {
093d3ff1 21705 {
7449af73 21706 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21707 if (SWIG_arg_fail(3)) SWIG_fail;
21708 }
d55e5bfc
RD
21709 }
21710 if (obj3) {
093d3ff1 21711 {
7449af73 21712 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21713 if (SWIG_arg_fail(4)) SWIG_fail;
21714 }
d55e5bfc
RD
21715 }
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21718 result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21719
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 {
21724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21725 }
21726 return resultobj;
21727 fail:
21728 return NULL;
21729}
21730
21731
c32bde28 21732static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21733 PyObject *resultobj = NULL;
d55e5bfc 21734 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21735 wxDateTime::WeekDay arg2 ;
21736 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21737 int arg4 = (int) wxDateTime::Inv_Year ;
21738 wxDateTime result;
21739 PyObject * obj0 = 0 ;
21740 PyObject * obj1 = 0 ;
21741 PyObject * obj2 = 0 ;
21742 PyObject * obj3 = 0 ;
21743 char *kwnames[] = {
21744 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21745 };
21746
21747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail;
21750 {
7449af73 21751 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21752 if (SWIG_arg_fail(2)) SWIG_fail;
21753 }
d55e5bfc 21754 if (obj2) {
093d3ff1 21755 {
7449af73 21756 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21757 if (SWIG_arg_fail(3)) SWIG_fail;
21758 }
d55e5bfc
RD
21759 }
21760 if (obj3) {
093d3ff1 21761 {
7449af73 21762 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21763 if (SWIG_arg_fail(4)) SWIG_fail;
21764 }
d55e5bfc
RD
21765 }
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21768 result = (arg1)->GetLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 wxDateTime * resultptr;
7449af73 21775 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21777 }
21778 return resultobj;
21779 fail:
21780 return NULL;
21781}
21782
21783
c32bde28 21784static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21785 PyObject *resultobj = NULL;
d55e5bfc
RD
21786 wxDateTime *arg1 = (wxDateTime *) 0 ;
21787 int arg2 ;
093d3ff1
RD
21788 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21789 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21790 bool result;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 PyObject * obj2 = 0 ;
21794 PyObject * obj3 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail;
21802 {
7449af73 21803 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21804 if (SWIG_arg_fail(2)) SWIG_fail;
21805 }
d55e5bfc 21806 if (obj2) {
093d3ff1 21807 {
7449af73 21808 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21809 if (SWIG_arg_fail(3)) SWIG_fail;
21810 }
d55e5bfc
RD
21811 }
21812 if (obj3) {
093d3ff1 21813 {
7449af73 21814 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
093d3ff1
RD
21815 if (SWIG_arg_fail(4)) SWIG_fail;
21816 }
d55e5bfc
RD
21817 }
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21820 result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4);
d55e5bfc
RD
21821
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 {
21826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21827 }
21828 return resultobj;
21829 fail:
21830 return NULL;
21831}
21832
21833
c32bde28 21834static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21835 PyObject *resultobj = NULL;
d55e5bfc
RD
21836 wxDateTime *arg1 = (wxDateTime *) 0 ;
21837 int arg2 ;
093d3ff1
RD
21838 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21839 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21840 wxDateTime result;
21841 PyObject * obj0 = 0 ;
21842 PyObject * obj1 = 0 ;
21843 PyObject * obj2 = 0 ;
21844 PyObject * obj3 = 0 ;
21845 char *kwnames[] = {
21846 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21847 };
21848
21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21851 if (SWIG_arg_fail(1)) SWIG_fail;
21852 {
7449af73 21853 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21854 if (SWIG_arg_fail(2)) SWIG_fail;
21855 }
d55e5bfc 21856 if (obj2) {
093d3ff1 21857 {
7449af73 21858 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21859 if (SWIG_arg_fail(3)) SWIG_fail;
21860 }
d55e5bfc
RD
21861 }
21862 if (obj3) {
093d3ff1 21863 {
7449af73 21864 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
093d3ff1
RD
21865 if (SWIG_arg_fail(4)) SWIG_fail;
21866 }
d55e5bfc
RD
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21870 result = (arg1)->GetWeek(arg2,arg3,arg4);
d55e5bfc
RD
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 {
21876 wxDateTime * resultptr;
7449af73 21877 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21879 }
21880 return resultobj;
21881 fail:
21882 return NULL;
21883}
21884
21885
7e63a440 21886static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21887 PyObject *resultobj = NULL;
7e63a440
RD
21888 int arg1 ;
21889 int arg2 ;
093d3ff1 21890 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
21891 wxDateTime result;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 PyObject * obj2 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 21900 {
7449af73 21901 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21902 if (SWIG_arg_fail(1)) SWIG_fail;
21903 }
21904 {
7449af73 21905 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21906 if (SWIG_arg_fail(2)) SWIG_fail;
21907 }
7e63a440 21908 if (obj2) {
093d3ff1 21909 {
7449af73 21910 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21911 if (SWIG_arg_fail(3)) SWIG_fail;
21912 }
7e63a440
RD
21913 }
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21916 result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3);
7e63a440
RD
21917
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 {
21922 wxDateTime * resultptr;
7449af73 21923 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
7e63a440
RD
21924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21925 }
21926 return resultobj;
21927 fail:
21928 return NULL;
21929}
21930
21931
c32bde28 21932static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21933 PyObject *resultobj = NULL;
d55e5bfc 21934 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21935 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21936 int arg3 = (int) wxDateTime::Inv_Year ;
21937 wxDateTime *result;
21938 PyObject * obj0 = 0 ;
21939 PyObject * obj1 = 0 ;
21940 PyObject * obj2 = 0 ;
21941 char *kwnames[] = {
21942 (char *) "self",(char *) "month",(char *) "year", NULL
21943 };
21944
21945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21948 if (obj1) {
093d3ff1 21949 {
7449af73 21950 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21951 if (SWIG_arg_fail(2)) SWIG_fail;
21952 }
d55e5bfc
RD
21953 }
21954 if (obj2) {
093d3ff1 21955 {
7449af73 21956 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21957 if (SWIG_arg_fail(3)) SWIG_fail;
21958 }
d55e5bfc
RD
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 {
7449af73 21963 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3);
d55e5bfc
RD
21964 result = (wxDateTime *) &_result_ref;
21965 }
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21971 return resultobj;
21972 fail:
21973 return NULL;
21974}
21975
21976
c32bde28 21977static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21978 PyObject *resultobj = NULL;
d55e5bfc 21979 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21980 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21981 int arg3 = (int) wxDateTime::Inv_Year ;
21982 wxDateTime result;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "month",(char *) "year", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21993 if (obj1) {
093d3ff1 21994 {
7449af73 21995 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21996 if (SWIG_arg_fail(2)) SWIG_fail;
21997 }
d55e5bfc
RD
21998 }
21999 if (obj2) {
093d3ff1 22000 {
7449af73 22001 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22002 if (SWIG_arg_fail(3)) SWIG_fail;
22003 }
d55e5bfc
RD
22004 }
22005 {
22006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22007 result = (arg1)->GetLastMonthDay(arg2,arg3);
d55e5bfc
RD
22008
22009 wxPyEndAllowThreads(__tstate);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 }
22012 {
22013 wxDateTime * resultptr;
7449af73 22014 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22016 }
22017 return resultobj;
22018 fail:
22019 return NULL;
22020}
22021
22022
c32bde28 22023static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22024 PyObject *resultobj = NULL;
d55e5bfc
RD
22025 wxDateTime *arg1 = (wxDateTime *) 0 ;
22026 int arg2 ;
22027 wxDateTime *result;
22028 PyObject * obj0 = 0 ;
22029 PyObject * obj1 = 0 ;
22030 char *kwnames[] = {
22031 (char *) "self",(char *) "yday", NULL
22032 };
22033
22034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail;
22037 {
7449af73 22038 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22039 if (SWIG_arg_fail(2)) SWIG_fail;
22040 }
d55e5bfc
RD
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 {
22044 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
22045 result = (wxDateTime *) &_result_ref;
22046 }
22047
22048 wxPyEndAllowThreads(__tstate);
22049 if (PyErr_Occurred()) SWIG_fail;
22050 }
22051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22052 return resultobj;
22053 fail:
22054 return NULL;
22055}
22056
22057
c32bde28 22058static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22059 PyObject *resultobj = NULL;
d55e5bfc
RD
22060 wxDateTime *arg1 = (wxDateTime *) 0 ;
22061 int arg2 ;
22062 wxDateTime result;
22063 PyObject * obj0 = 0 ;
22064 PyObject * obj1 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "yday", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail;
22072 {
7449af73 22073 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22074 if (SWIG_arg_fail(2)) SWIG_fail;
22075 }
d55e5bfc
RD
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (arg1)->GetYearDay(arg2);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 wxDateTime * resultptr;
7449af73 22085 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22086 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22087 }
22088 return resultobj;
22089 fail:
22090 return NULL;
22091}
22092
22093
c32bde28 22094static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22095 PyObject *resultobj = NULL;
d55e5bfc
RD
22096 wxDateTime *arg1 = (wxDateTime *) 0 ;
22097 double result;
22098 PyObject * obj0 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 result = (double)(arg1)->GetJulianDayNumber();
22109
22110 wxPyEndAllowThreads(__tstate);
22111 if (PyErr_Occurred()) SWIG_fail;
22112 }
093d3ff1 22113 {
7449af73 22114 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22115 }
d55e5bfc
RD
22116 return resultobj;
22117 fail:
22118 return NULL;
22119}
22120
22121
c32bde28 22122static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22123 PyObject *resultobj = NULL;
d55e5bfc
RD
22124 wxDateTime *arg1 = (wxDateTime *) 0 ;
22125 double result;
22126 PyObject * obj0 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
22132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (double)(arg1)->GetJDN();
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
093d3ff1 22141 {
7449af73 22142 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22143 }
d55e5bfc
RD
22144 return resultobj;
22145 fail:
22146 return NULL;
22147}
22148
22149
c32bde28 22150static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22151 PyObject *resultobj = NULL;
d55e5bfc
RD
22152 wxDateTime *arg1 = (wxDateTime *) 0 ;
22153 double result;
22154 PyObject * obj0 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
22160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22162 {
22163 PyThreadState* __tstate = wxPyBeginAllowThreads();
22164 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
22165
22166 wxPyEndAllowThreads(__tstate);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 }
093d3ff1 22169 {
7449af73 22170 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22171 }
d55e5bfc
RD
22172 return resultobj;
22173 fail:
22174 return NULL;
22175}
22176
22177
c32bde28 22178static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22179 PyObject *resultobj = NULL;
d55e5bfc
RD
22180 wxDateTime *arg1 = (wxDateTime *) 0 ;
22181 double result;
22182 PyObject * obj0 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
22188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = (double)(arg1)->GetMJD();
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
093d3ff1 22197 {
7449af73 22198 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22199 }
d55e5bfc
RD
22200 return resultobj;
22201 fail:
22202 return NULL;
22203}
22204
22205
c32bde28 22206static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22207 PyObject *resultobj = NULL;
d55e5bfc
RD
22208 wxDateTime *arg1 = (wxDateTime *) 0 ;
22209 double result;
22210 PyObject * obj0 = 0 ;
22211 char *kwnames[] = {
22212 (char *) "self", NULL
22213 };
22214
22215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
22216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (double)(arg1)->GetRataDie();
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
093d3ff1 22225 {
7449af73 22226 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22227 }
d55e5bfc
RD
22228 return resultobj;
22229 fail:
22230 return NULL;
22231}
22232
22233
c32bde28 22234static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22235 PyObject *resultobj = NULL;
d55e5bfc
RD
22236 wxDateTime *arg1 = (wxDateTime *) 0 ;
22237 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 22238 bool arg3 = (bool) false ;
d55e5bfc 22239 wxDateTime result;
ae8162c8 22240 bool temp2 = false ;
d55e5bfc
RD
22241 PyObject * obj0 = 0 ;
22242 PyObject * obj1 = 0 ;
22243 PyObject * obj2 = 0 ;
22244 char *kwnames[] = {
22245 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22246 };
22247
22248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22251 {
22252 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22253 temp2 = true;
d55e5bfc
RD
22254 }
22255 if (obj2) {
093d3ff1 22256 {
7449af73 22257 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
22258 if (SWIG_arg_fail(3)) SWIG_fail;
22259 }
d55e5bfc
RD
22260 }
22261 {
22262 PyThreadState* __tstate = wxPyBeginAllowThreads();
22263 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22264
22265 wxPyEndAllowThreads(__tstate);
22266 if (PyErr_Occurred()) SWIG_fail;
22267 }
22268 {
22269 wxDateTime * resultptr;
7449af73 22270 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22272 }
22273 {
22274 if (temp2) delete arg2;
22275 }
22276 return resultobj;
22277 fail:
22278 {
22279 if (temp2) delete arg2;
22280 }
22281 return NULL;
22282}
22283
22284
c32bde28 22285static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22286 PyObject *resultobj = NULL;
d55e5bfc
RD
22287 wxDateTime *arg1 = (wxDateTime *) 0 ;
22288 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 22289 bool arg3 = (bool) false ;
d55e5bfc 22290 wxDateTime *result;
ae8162c8 22291 bool temp2 = false ;
d55e5bfc
RD
22292 PyObject * obj0 = 0 ;
22293 PyObject * obj1 = 0 ;
22294 PyObject * obj2 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22302 {
22303 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22304 temp2 = true;
d55e5bfc
RD
22305 }
22306 if (obj2) {
093d3ff1 22307 {
7449af73 22308 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
22309 if (SWIG_arg_fail(3)) SWIG_fail;
22310 }
d55e5bfc
RD
22311 }
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 {
22315 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22316 result = (wxDateTime *) &_result_ref;
22317 }
22318
22319 wxPyEndAllowThreads(__tstate);
22320 if (PyErr_Occurred()) SWIG_fail;
22321 }
22322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22323 {
22324 if (temp2) delete arg2;
22325 }
22326 return resultobj;
22327 fail:
22328 {
22329 if (temp2) delete arg2;
22330 }
22331 return NULL;
22332}
22333
22334
9d7dfdff 22335static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22336 PyObject *resultobj = NULL;
9d7dfdff
RD
22337 wxDateTime *arg1 = (wxDateTime *) 0 ;
22338 wxDateTime::TimeZone *arg2 = 0 ;
22339 bool arg3 = (bool) false ;
22340 wxDateTime result;
22341 bool temp2 = false ;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 PyObject * obj2 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail;
22352 {
22353 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22354 temp2 = true;
22355 }
22356 if (obj2) {
22357 {
7449af73 22358 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9d7dfdff
RD
22359 if (SWIG_arg_fail(3)) SWIG_fail;
22360 }
22361 }
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22365
22366 wxPyEndAllowThreads(__tstate);
22367 if (PyErr_Occurred()) SWIG_fail;
22368 }
22369 {
22370 wxDateTime * resultptr;
7449af73 22371 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22372 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22373 }
22374 {
22375 if (temp2) delete arg2;
22376 }
22377 return resultobj;
22378 fail:
22379 {
22380 if (temp2) delete arg2;
22381 }
22382 return NULL;
22383}
22384
22385
22386static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22387 PyObject *resultobj = NULL;
9d7dfdff
RD
22388 wxDateTime *arg1 = (wxDateTime *) 0 ;
22389 wxDateTime::TimeZone *arg2 = 0 ;
22390 bool arg3 = (bool) false ;
22391 wxDateTime *result;
22392 bool temp2 = false ;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 PyObject * obj2 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22402 if (SWIG_arg_fail(1)) SWIG_fail;
22403 {
22404 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22405 temp2 = true;
22406 }
22407 if (obj2) {
22408 {
7449af73 22409 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9d7dfdff
RD
22410 if (SWIG_arg_fail(3)) SWIG_fail;
22411 }
22412 }
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 {
22416 wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22417 result = (wxDateTime *) &_result_ref;
22418 }
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22424 {
22425 if (temp2) delete arg2;
22426 }
22427 return resultobj;
22428 fail:
22429 {
22430 if (temp2) delete arg2;
22431 }
22432 return NULL;
22433}
22434
22435
22436static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22437 PyObject *resultobj = NULL;
9d7dfdff
RD
22438 wxDateTime *arg1 = (wxDateTime *) 0 ;
22439 bool arg2 = (bool) false ;
22440 wxDateTime result;
22441 PyObject * obj0 = 0 ;
22442 PyObject * obj1 = 0 ;
22443 char *kwnames[] = {
22444 (char *) "self",(char *) "noDST", NULL
22445 };
22446
22447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail;
22448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22449 if (SWIG_arg_fail(1)) SWIG_fail;
22450 if (obj1) {
22451 {
7449af73 22452 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22453 if (SWIG_arg_fail(2)) SWIG_fail;
22454 }
22455 }
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
22458 result = ((wxDateTime const *)arg1)->ToUTC(arg2);
22459
22460 wxPyEndAllowThreads(__tstate);
22461 if (PyErr_Occurred()) SWIG_fail;
22462 }
22463 {
22464 wxDateTime * resultptr;
7449af73 22465 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22467 }
22468 return resultobj;
22469 fail:
22470 return NULL;
22471}
22472
22473
22474static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22475 PyObject *resultobj = NULL;
9d7dfdff
RD
22476 wxDateTime *arg1 = (wxDateTime *) 0 ;
22477 bool arg2 = (bool) false ;
22478 wxDateTime *result;
22479 PyObject * obj0 = 0 ;
22480 PyObject * obj1 = 0 ;
22481 char *kwnames[] = {
22482 (char *) "self",(char *) "noDST", NULL
22483 };
22484
22485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail;
22486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22487 if (SWIG_arg_fail(1)) SWIG_fail;
22488 if (obj1) {
22489 {
7449af73 22490 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22491 if (SWIG_arg_fail(2)) SWIG_fail;
22492 }
22493 }
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 {
22497 wxDateTime &_result_ref = (arg1)->MakeUTC(arg2);
22498 result = (wxDateTime *) &_result_ref;
22499 }
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
c32bde28 22511static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22512 PyObject *resultobj = NULL;
d55e5bfc 22513 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 22514 bool arg2 = (bool) false ;
d55e5bfc
RD
22515 wxDateTime result;
22516 PyObject * obj0 = 0 ;
22517 PyObject * obj1 = 0 ;
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "noDST", NULL
22520 };
22521
22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22524 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22525 if (obj1) {
093d3ff1 22526 {
7449af73 22527 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22528 if (SWIG_arg_fail(2)) SWIG_fail;
22529 }
d55e5bfc
RD
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9d7dfdff 22533 result = ((wxDateTime const *)arg1)->ToGMT(arg2);
d55e5bfc
RD
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 {
22539 wxDateTime * resultptr;
7449af73 22540 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22541 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22542 }
22543 return resultobj;
22544 fail:
22545 return NULL;
22546}
22547
22548
c32bde28 22549static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22550 PyObject *resultobj = NULL;
d55e5bfc 22551 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 22552 bool arg2 = (bool) false ;
d55e5bfc
RD
22553 wxDateTime *result;
22554 PyObject * obj0 = 0 ;
22555 PyObject * obj1 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self",(char *) "noDST", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22563 if (obj1) {
093d3ff1 22564 {
7449af73 22565 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22566 if (SWIG_arg_fail(2)) SWIG_fail;
22567 }
d55e5bfc
RD
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 {
22572 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
22573 result = (wxDateTime *) &_result_ref;
22574 }
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22580 return resultobj;
22581 fail:
22582 return NULL;
22583}
22584
22585
9d7dfdff 22586static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22587 PyObject *resultobj = NULL;
9d7dfdff
RD
22588 wxDateTime *arg1 = (wxDateTime *) 0 ;
22589 bool arg2 = (bool) false ;
22590 wxDateTime result;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "noDST", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail;
22598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail;
22600 if (obj1) {
22601 {
7449af73 22602 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22603 if (SWIG_arg_fail(2)) SWIG_fail;
22604 }
22605 }
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = ((wxDateTime const *)arg1)->FromUTC(arg2);
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 wxDateTime * resultptr;
7449af73 22615 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22617 }
22618 return resultobj;
22619 fail:
22620 return NULL;
22621}
22622
22623
22624static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22625 PyObject *resultobj = NULL;
9d7dfdff
RD
22626 wxDateTime *arg1 = (wxDateTime *) 0 ;
22627 bool arg2 = (bool) false ;
22628 wxDateTime *result;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self",(char *) "noDST", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail;
22636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22637 if (SWIG_arg_fail(1)) SWIG_fail;
22638 if (obj1) {
22639 {
7449af73 22640 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22641 if (SWIG_arg_fail(2)) SWIG_fail;
22642 }
22643 }
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 {
22647 wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2);
22648 result = (wxDateTime *) &_result_ref;
22649 }
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658}
22659
22660
c32bde28 22661static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22662 PyObject *resultobj = NULL;
d55e5bfc 22663 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22664 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
22665 int result;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "country", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22675 if (obj1) {
093d3ff1 22676 {
7449af73 22677 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
22678 if (SWIG_arg_fail(2)) SWIG_fail;
22679 }
d55e5bfc
RD
22680 }
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22683 result = (int)(arg1)->IsDST(arg2);
d55e5bfc
RD
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
093d3ff1 22688 {
7449af73 22689 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22690 }
d55e5bfc
RD
22691 return resultobj;
22692 fail:
22693 return NULL;
22694}
22695
22696
c32bde28 22697static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22698 PyObject *resultobj = NULL;
d55e5bfc
RD
22699 wxDateTime *arg1 = (wxDateTime *) 0 ;
22700 bool result;
22701 PyObject * obj0 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
22707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 result = (bool)((wxDateTime const *)arg1)->IsValid();
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 {
22717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22718 }
22719 return resultobj;
22720 fail:
22721 return NULL;
22722}
22723
22724
c32bde28 22725static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22726 PyObject *resultobj = NULL;
d55e5bfc
RD
22727 wxDateTime *arg1 = (wxDateTime *) 0 ;
22728 time_t result;
22729 PyObject * obj0 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
22735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
093d3ff1 22744 {
7449af73 22745 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 22746 }
d55e5bfc
RD
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
c32bde28 22753static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22754 PyObject *resultobj = NULL;
d55e5bfc
RD
22755 wxDateTime *arg1 = (wxDateTime *) 0 ;
22756 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22757 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22758 int result;
ae8162c8 22759 bool temp2 = false ;
d55e5bfc
RD
22760 PyObject * obj0 = 0 ;
22761 PyObject * obj1 = 0 ;
22762 char *kwnames[] = {
22763 (char *) "self",(char *) "tz", NULL
22764 };
22765
22766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22769 if (obj1) {
22770 {
22771 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22772 temp2 = true;
d55e5bfc
RD
22773 }
22774 }
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
22778
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
093d3ff1 22782 {
7449af73 22783 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22784 }
d55e5bfc
RD
22785 {
22786 if (temp2) delete arg2;
22787 }
22788 return resultobj;
22789 fail:
22790 {
22791 if (temp2) delete arg2;
22792 }
22793 return NULL;
22794}
22795
22796
c32bde28 22797static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22798 PyObject *resultobj = NULL;
d55e5bfc
RD
22799 wxDateTime *arg1 = (wxDateTime *) 0 ;
22800 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22801 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 22802 wxDateTime::Month result;
ae8162c8 22803 bool temp2 = false ;
d55e5bfc
RD
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "tz", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22813 if (obj1) {
22814 {
22815 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22816 temp2 = true;
d55e5bfc
RD
22817 }
22818 }
22819 {
22820 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22821 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22822
22823 wxPyEndAllowThreads(__tstate);
22824 if (PyErr_Occurred()) SWIG_fail;
22825 }
093d3ff1 22826 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22827 {
22828 if (temp2) delete arg2;
22829 }
22830 return resultobj;
22831 fail:
22832 {
22833 if (temp2) delete arg2;
22834 }
22835 return NULL;
22836}
22837
22838
c32bde28 22839static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22840 PyObject *resultobj = NULL;
d55e5bfc
RD
22841 wxDateTime *arg1 = (wxDateTime *) 0 ;
22842 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22843 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22844 int result;
ae8162c8 22845 bool temp2 = false ;
d55e5bfc
RD
22846 PyObject * obj0 = 0 ;
22847 PyObject * obj1 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self",(char *) "tz", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22855 if (obj1) {
22856 {
22857 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22858 temp2 = true;
d55e5bfc
RD
22859 }
22860 }
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
093d3ff1 22868 {
7449af73 22869 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22870 }
d55e5bfc
RD
22871 {
22872 if (temp2) delete arg2;
22873 }
22874 return resultobj;
22875 fail:
22876 {
22877 if (temp2) delete arg2;
22878 }
22879 return NULL;
22880}
22881
22882
c32bde28 22883static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22884 PyObject *resultobj = NULL;
d55e5bfc
RD
22885 wxDateTime *arg1 = (wxDateTime *) 0 ;
22886 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22887 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 22888 wxDateTime::WeekDay result;
ae8162c8 22889 bool temp2 = false ;
d55e5bfc
RD
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "tz", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22899 if (obj1) {
22900 {
22901 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22902 temp2 = true;
d55e5bfc
RD
22903 }
22904 }
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22907 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22908
22909 wxPyEndAllowThreads(__tstate);
22910 if (PyErr_Occurred()) SWIG_fail;
22911 }
093d3ff1 22912 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22913 {
22914 if (temp2) delete arg2;
22915 }
22916 return resultobj;
22917 fail:
22918 {
22919 if (temp2) delete arg2;
22920 }
22921 return NULL;
22922}
22923
22924
c32bde28 22925static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22926 PyObject *resultobj = NULL;
d55e5bfc
RD
22927 wxDateTime *arg1 = (wxDateTime *) 0 ;
22928 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22929 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22930 int result;
ae8162c8 22931 bool temp2 = false ;
d55e5bfc
RD
22932 PyObject * obj0 = 0 ;
22933 PyObject * obj1 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "self",(char *) "tz", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22941 if (obj1) {
22942 {
22943 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22944 temp2 = true;
d55e5bfc
RD
22945 }
22946 }
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
093d3ff1 22954 {
7449af73 22955 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22956 }
d55e5bfc
RD
22957 {
22958 if (temp2) delete arg2;
22959 }
22960 return resultobj;
22961 fail:
22962 {
22963 if (temp2) delete arg2;
22964 }
22965 return NULL;
22966}
22967
22968
c32bde28 22969static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22970 PyObject *resultobj = NULL;
d55e5bfc
RD
22971 wxDateTime *arg1 = (wxDateTime *) 0 ;
22972 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22973 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22974 int result;
ae8162c8 22975 bool temp2 = false ;
d55e5bfc
RD
22976 PyObject * obj0 = 0 ;
22977 PyObject * obj1 = 0 ;
22978 char *kwnames[] = {
22979 (char *) "self",(char *) "tz", NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22985 if (obj1) {
22986 {
22987 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22988 temp2 = true;
d55e5bfc
RD
22989 }
22990 }
22991 {
22992 PyThreadState* __tstate = wxPyBeginAllowThreads();
22993 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
22994
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
093d3ff1 22998 {
7449af73 22999 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23000 }
d55e5bfc
RD
23001 {
23002 if (temp2) delete arg2;
23003 }
23004 return resultobj;
23005 fail:
23006 {
23007 if (temp2) delete arg2;
23008 }
23009 return NULL;
23010}
23011
23012
c32bde28 23013static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23014 PyObject *resultobj = NULL;
d55e5bfc
RD
23015 wxDateTime *arg1 = (wxDateTime *) 0 ;
23016 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23017 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23018 int result;
ae8162c8 23019 bool temp2 = false ;
d55e5bfc
RD
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "tz", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23028 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23029 if (obj1) {
23030 {
23031 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23032 temp2 = true;
d55e5bfc
RD
23033 }
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
093d3ff1 23042 {
7449af73 23043 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23044 }
d55e5bfc
RD
23045 {
23046 if (temp2) delete arg2;
23047 }
23048 return resultobj;
23049 fail:
23050 {
23051 if (temp2) delete arg2;
23052 }
23053 return NULL;
23054}
23055
23056
c32bde28 23057static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23058 PyObject *resultobj = NULL;
d55e5bfc
RD
23059 wxDateTime *arg1 = (wxDateTime *) 0 ;
23060 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23061 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23062 int result;
ae8162c8 23063 bool temp2 = false ;
d55e5bfc
RD
23064 PyObject * obj0 = 0 ;
23065 PyObject * obj1 = 0 ;
23066 char *kwnames[] = {
23067 (char *) "self",(char *) "tz", NULL
23068 };
23069
23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23073 if (obj1) {
23074 {
23075 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23076 temp2 = true;
d55e5bfc
RD
23077 }
23078 }
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
093d3ff1 23086 {
7449af73 23087 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23088 }
d55e5bfc
RD
23089 {
23090 if (temp2) delete arg2;
23091 }
23092 return resultobj;
23093 fail:
23094 {
23095 if (temp2) delete arg2;
23096 }
23097 return NULL;
23098}
23099
23100
c32bde28 23101static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23102 PyObject *resultobj = NULL;
d55e5bfc
RD
23103 wxDateTime *arg1 = (wxDateTime *) 0 ;
23104 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23105 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23106 int result;
ae8162c8 23107 bool temp2 = false ;
d55e5bfc
RD
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self",(char *) "tz", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23117 if (obj1) {
23118 {
23119 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23120 temp2 = true;
d55e5bfc
RD
23121 }
23122 }
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
093d3ff1 23130 {
7449af73 23131 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23132 }
d55e5bfc
RD
23133 {
23134 if (temp2) delete arg2;
23135 }
23136 return resultobj;
23137 fail:
23138 {
23139 if (temp2) delete arg2;
23140 }
23141 return NULL;
23142}
23143
23144
c32bde28 23145static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23146 PyObject *resultobj = NULL;
d55e5bfc 23147 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23148 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23149 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23150 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23151 int result;
ae8162c8 23152 bool temp3 = false ;
d55e5bfc
RD
23153 PyObject * obj0 = 0 ;
23154 PyObject * obj1 = 0 ;
23155 PyObject * obj2 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self",(char *) "flags",(char *) "tz", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23163 if (obj1) {
093d3ff1 23164 {
7449af73 23165 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
093d3ff1
RD
23166 if (SWIG_arg_fail(2)) SWIG_fail;
23167 }
d55e5bfc
RD
23168 }
23169 if (obj2) {
23170 {
23171 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23172 temp3 = true;
d55e5bfc
RD
23173 }
23174 }
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23177 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
093d3ff1 23182 {
7449af73 23183 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23184 }
d55e5bfc
RD
23185 {
23186 if (temp3) delete arg3;
23187 }
23188 return resultobj;
23189 fail:
23190 {
23191 if (temp3) delete arg3;
23192 }
23193 return NULL;
23194}
23195
23196
c32bde28 23197static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23198 PyObject *resultobj = NULL;
d55e5bfc 23199 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23200 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23201 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23202 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23203 int result;
ae8162c8 23204 bool temp3 = false ;
d55e5bfc
RD
23205 PyObject * obj0 = 0 ;
23206 PyObject * obj1 = 0 ;
23207 PyObject * obj2 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self",(char *) "flags",(char *) "tz", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23215 if (obj1) {
093d3ff1 23216 {
7449af73 23217 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
093d3ff1
RD
23218 if (SWIG_arg_fail(2)) SWIG_fail;
23219 }
d55e5bfc
RD
23220 }
23221 if (obj2) {
23222 {
23223 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23224 temp3 = true;
d55e5bfc
RD
23225 }
23226 }
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23229 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
093d3ff1 23234 {
7449af73 23235 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23236 }
d55e5bfc
RD
23237 {
23238 if (temp3) delete arg3;
23239 }
23240 return resultobj;
23241 fail:
23242 {
23243 if (temp3) delete arg3;
23244 }
23245 return NULL;
23246}
23247
23248
c32bde28 23249static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23250 PyObject *resultobj = NULL;
d55e5bfc 23251 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23252 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
23253 bool result;
23254 PyObject * obj0 = 0 ;
23255 PyObject * obj1 = 0 ;
23256 char *kwnames[] = {
23257 (char *) "self",(char *) "country", NULL
23258 };
23259
23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23263 if (obj1) {
093d3ff1 23264 {
7449af73 23265 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
23266 if (SWIG_arg_fail(2)) SWIG_fail;
23267 }
d55e5bfc
RD
23268 }
23269 {
23270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23271 result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2);
d55e5bfc
RD
23272
23273 wxPyEndAllowThreads(__tstate);
23274 if (PyErr_Occurred()) SWIG_fail;
23275 }
23276 {
23277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23278 }
23279 return resultobj;
23280 fail:
23281 return NULL;
23282}
23283
23284
c32bde28 23285static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23286 PyObject *resultobj = NULL;
d55e5bfc
RD
23287 wxDateTime *arg1 = (wxDateTime *) 0 ;
23288 wxDateTime *arg2 = 0 ;
23289 bool result;
23290 PyObject * obj0 = 0 ;
23291 PyObject * obj1 = 0 ;
23292 char *kwnames[] = {
23293 (char *) "self",(char *) "datetime", NULL
23294 };
23295
23296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23298 if (SWIG_arg_fail(1)) SWIG_fail;
23299 {
23300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23301 if (SWIG_arg_fail(2)) SWIG_fail;
23302 if (arg2 == NULL) {
23303 SWIG_null_ref("wxDateTime");
23304 }
23305 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23306 }
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 {
23315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23316 }
23317 return resultobj;
23318 fail:
23319 return NULL;
23320}
23321
23322
c32bde28 23323static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23324 PyObject *resultobj = NULL;
d55e5bfc
RD
23325 wxDateTime *arg1 = (wxDateTime *) 0 ;
23326 wxDateTime *arg2 = 0 ;
23327 bool result;
23328 PyObject * obj0 = 0 ;
23329 PyObject * obj1 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self",(char *) "datetime", NULL
23332 };
23333
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23336 if (SWIG_arg_fail(1)) SWIG_fail;
23337 {
23338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23339 if (SWIG_arg_fail(2)) SWIG_fail;
23340 if (arg2 == NULL) {
23341 SWIG_null_ref("wxDateTime");
23342 }
23343 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23344 }
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
23348
23349 wxPyEndAllowThreads(__tstate);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 {
23353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23354 }
23355 return resultobj;
23356 fail:
23357 return NULL;
23358}
23359
23360
c32bde28 23361static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23362 PyObject *resultobj = NULL;
d55e5bfc
RD
23363 wxDateTime *arg1 = (wxDateTime *) 0 ;
23364 wxDateTime *arg2 = 0 ;
23365 bool result;
23366 PyObject * obj0 = 0 ;
23367 PyObject * obj1 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "datetime", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail;
23375 {
23376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23377 if (SWIG_arg_fail(2)) SWIG_fail;
23378 if (arg2 == NULL) {
23379 SWIG_null_ref("wxDateTime");
23380 }
23381 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23382 }
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 {
23391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23392 }
23393 return resultobj;
23394 fail:
23395 return NULL;
23396}
23397
23398
c32bde28 23399static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23400 PyObject *resultobj = NULL;
d55e5bfc
RD
23401 wxDateTime *arg1 = (wxDateTime *) 0 ;
23402 wxDateTime *arg2 = 0 ;
23403 wxDateTime *arg3 = 0 ;
23404 bool result;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 PyObject * obj2 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self",(char *) "t1",(char *) "t2", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23414 if (SWIG_arg_fail(1)) SWIG_fail;
23415 {
23416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(2)) SWIG_fail;
23418 if (arg2 == NULL) {
23419 SWIG_null_ref("wxDateTime");
23420 }
23421 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23422 }
093d3ff1
RD
23423 {
23424 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23425 if (SWIG_arg_fail(3)) SWIG_fail;
23426 if (arg3 == NULL) {
23427 SWIG_null_ref("wxDateTime");
23428 }
23429 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23430 }
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 {
23439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23440 }
23441 return resultobj;
23442 fail:
23443 return NULL;
23444}
23445
23446
c32bde28 23447static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23448 PyObject *resultobj = NULL;
d55e5bfc
RD
23449 wxDateTime *arg1 = (wxDateTime *) 0 ;
23450 wxDateTime *arg2 = 0 ;
23451 wxDateTime *arg3 = 0 ;
23452 bool result;
23453 PyObject * obj0 = 0 ;
23454 PyObject * obj1 = 0 ;
23455 PyObject * obj2 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self",(char *) "t1",(char *) "t2", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail;
23463 {
23464 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23465 if (SWIG_arg_fail(2)) SWIG_fail;
23466 if (arg2 == NULL) {
23467 SWIG_null_ref("wxDateTime");
23468 }
23469 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23470 }
093d3ff1
RD
23471 {
23472 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23473 if (SWIG_arg_fail(3)) SWIG_fail;
23474 if (arg3 == NULL) {
23475 SWIG_null_ref("wxDateTime");
23476 }
23477 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23478 }
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 {
23487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23488 }
23489 return resultobj;
23490 fail:
23491 return NULL;
23492}
23493
23494
c32bde28 23495static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23496 PyObject *resultobj = NULL;
d55e5bfc
RD
23497 wxDateTime *arg1 = (wxDateTime *) 0 ;
23498 wxDateTime *arg2 = 0 ;
23499 bool result;
23500 PyObject * obj0 = 0 ;
23501 PyObject * obj1 = 0 ;
23502 char *kwnames[] = {
23503 (char *) "self",(char *) "dt", NULL
23504 };
23505
23506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23508 if (SWIG_arg_fail(1)) SWIG_fail;
23509 {
23510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23511 if (SWIG_arg_fail(2)) SWIG_fail;
23512 if (arg2 == NULL) {
23513 SWIG_null_ref("wxDateTime");
23514 }
23515 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23516 }
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 {
23525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23526 }
23527 return resultobj;
23528 fail:
23529 return NULL;
23530}
23531
23532
c32bde28 23533static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23534 PyObject *resultobj = NULL;
d55e5bfc
RD
23535 wxDateTime *arg1 = (wxDateTime *) 0 ;
23536 wxDateTime *arg2 = 0 ;
23537 bool result;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "dt", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail;
23547 {
23548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23549 if (SWIG_arg_fail(2)) SWIG_fail;
23550 if (arg2 == NULL) {
23551 SWIG_null_ref("wxDateTime");
23552 }
23553 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
23558
23559 wxPyEndAllowThreads(__tstate);
23560 if (PyErr_Occurred()) SWIG_fail;
23561 }
23562 {
23563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23564 }
23565 return resultobj;
23566 fail:
23567 return NULL;
23568}
23569
23570
c32bde28 23571static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23572 PyObject *resultobj = NULL;
d55e5bfc
RD
23573 wxDateTime *arg1 = (wxDateTime *) 0 ;
23574 wxDateTime *arg2 = 0 ;
23575 wxTimeSpan *arg3 = 0 ;
23576 bool result;
23577 PyObject * obj0 = 0 ;
23578 PyObject * obj1 = 0 ;
23579 PyObject * obj2 = 0 ;
23580 char *kwnames[] = {
23581 (char *) "self",(char *) "dt",(char *) "ts", NULL
23582 };
23583
23584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail;
23587 {
23588 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23589 if (SWIG_arg_fail(2)) SWIG_fail;
23590 if (arg2 == NULL) {
23591 SWIG_null_ref("wxDateTime");
23592 }
23593 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23594 }
093d3ff1
RD
23595 {
23596 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23597 if (SWIG_arg_fail(3)) SWIG_fail;
23598 if (arg3 == NULL) {
23599 SWIG_null_ref("wxTimeSpan");
23600 }
23601 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23602 }
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 {
23611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23612 }
23613 return resultobj;
23614 fail:
23615 return NULL;
23616}
23617
23618
c32bde28 23619static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23620 PyObject *resultobj = NULL;
d55e5bfc
RD
23621 wxDateTime *arg1 = (wxDateTime *) 0 ;
23622 wxTimeSpan *arg2 = 0 ;
23623 wxDateTime *result;
23624 PyObject * obj0 = 0 ;
23625 PyObject * obj1 = 0 ;
23626 char *kwnames[] = {
23627 (char *) "self",(char *) "diff", NULL
23628 };
23629
23630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23632 if (SWIG_arg_fail(1)) SWIG_fail;
23633 {
23634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23635 if (SWIG_arg_fail(2)) SWIG_fail;
23636 if (arg2 == NULL) {
23637 SWIG_null_ref("wxTimeSpan");
23638 }
23639 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23640 }
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 {
23644 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
23645 result = (wxDateTime *) &_result_ref;
23646 }
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23652 return resultobj;
23653 fail:
23654 return NULL;
23655}
23656
23657
c32bde28 23658static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23659 PyObject *resultobj = NULL;
d55e5bfc
RD
23660 wxDateTime *arg1 = (wxDateTime *) 0 ;
23661 wxDateSpan *arg2 = 0 ;
23662 wxDateTime *result;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "diff", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23671 if (SWIG_arg_fail(1)) SWIG_fail;
23672 {
23673 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23674 if (SWIG_arg_fail(2)) SWIG_fail;
23675 if (arg2 == NULL) {
23676 SWIG_null_ref("wxDateSpan");
23677 }
23678 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23679 }
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 {
23683 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23684 result = (wxDateTime *) &_result_ref;
23685 }
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23691 return resultobj;
23692 fail:
23693 return NULL;
23694}
23695
23696
c32bde28 23697static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23698 PyObject *resultobj = NULL;
d55e5bfc
RD
23699 wxDateTime *arg1 = (wxDateTime *) 0 ;
23700 wxTimeSpan *arg2 = 0 ;
23701 wxDateTime *result;
23702 PyObject * obj0 = 0 ;
23703 PyObject * obj1 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self",(char *) "diff", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail;
23711 {
23712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23713 if (SWIG_arg_fail(2)) SWIG_fail;
23714 if (arg2 == NULL) {
23715 SWIG_null_ref("wxTimeSpan");
23716 }
23717 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23718 }
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
23721 {
23722 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
23723 result = (wxDateTime *) &_result_ref;
23724 }
23725
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23730 return resultobj;
23731 fail:
23732 return NULL;
23733}
23734
23735
c32bde28 23736static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23737 PyObject *resultobj = NULL;
d55e5bfc
RD
23738 wxDateTime *arg1 = (wxDateTime *) 0 ;
23739 wxDateSpan *arg2 = 0 ;
23740 wxDateTime *result;
23741 PyObject * obj0 = 0 ;
23742 PyObject * obj1 = 0 ;
23743 char *kwnames[] = {
23744 (char *) "self",(char *) "diff", NULL
23745 };
23746
23747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23749 if (SWIG_arg_fail(1)) SWIG_fail;
23750 {
23751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23752 if (SWIG_arg_fail(2)) SWIG_fail;
23753 if (arg2 == NULL) {
23754 SWIG_null_ref("wxDateSpan");
23755 }
23756 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23757 }
23758 {
23759 PyThreadState* __tstate = wxPyBeginAllowThreads();
23760 {
23761 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23762 result = (wxDateTime *) &_result_ref;
23763 }
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
c32bde28 23775static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23776 PyObject *resultobj = NULL;
d55e5bfc
RD
23777 wxDateTime *arg1 = (wxDateTime *) 0 ;
23778 wxDateTime *arg2 = 0 ;
23779 wxTimeSpan result;
23780 PyObject * obj0 = 0 ;
23781 PyObject * obj1 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self",(char *) "dt", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23788 if (SWIG_arg_fail(1)) SWIG_fail;
23789 {
23790 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23791 if (SWIG_arg_fail(2)) SWIG_fail;
23792 if (arg2 == NULL) {
23793 SWIG_null_ref("wxDateTime");
23794 }
23795 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23796 }
23797 {
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
23800
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 {
23805 wxTimeSpan * resultptr;
7449af73 23806 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
23807 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23808 }
23809 return resultobj;
23810 fail:
23811 return NULL;
23812}
23813
23814
c32bde28 23815static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
7449af73 23816 PyObject *resultobj = NULL;
d55e5bfc
RD
23817 wxDateTime *arg1 = (wxDateTime *) 0 ;
23818 wxTimeSpan *arg2 = 0 ;
23819 wxDateTime *result;
23820 PyObject * obj0 = 0 ;
23821 PyObject * obj1 = 0 ;
23822
23823 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23825 if (SWIG_arg_fail(1)) SWIG_fail;
23826 {
23827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23828 if (SWIG_arg_fail(2)) SWIG_fail;
23829 if (arg2 == NULL) {
23830 SWIG_null_ref("wxTimeSpan");
23831 }
23832 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23833 }
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 {
23837 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
23838 result = (wxDateTime *) &_result_ref;
23839 }
23840
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
c32bde28 23844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23845 return resultobj;
23846 fail:
23847 return NULL;
23848}
23849
23850
c32bde28 23851static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
7449af73 23852 PyObject *resultobj = NULL;
d55e5bfc
RD
23853 wxDateTime *arg1 = (wxDateTime *) 0 ;
23854 wxDateSpan *arg2 = 0 ;
23855 wxDateTime *result;
23856 PyObject * obj0 = 0 ;
23857 PyObject * obj1 = 0 ;
23858
23859 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23861 if (SWIG_arg_fail(1)) SWIG_fail;
23862 {
23863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23864 if (SWIG_arg_fail(2)) SWIG_fail;
23865 if (arg2 == NULL) {
23866 SWIG_null_ref("wxDateSpan");
23867 }
23868 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23869 }
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 {
23873 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23874 result = (wxDateTime *) &_result_ref;
23875 }
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
c32bde28 23880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23881 return resultobj;
23882 fail:
23883 return NULL;
23884}
23885
23886
23887static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
23888 int argc;
23889 PyObject *argv[3];
23890 int ii;
23891
23892 argc = PyObject_Length(args);
23893 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23894 argv[ii] = PyTuple_GetItem(args,ii);
23895 }
23896 if (argc == 2) {
23897 int _v;
23898 {
23899 void *ptr;
23900 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23901 _v = 0;
23902 PyErr_Clear();
23903 } else {
23904 _v = 1;
23905 }
23906 }
23907 if (_v) {
23908 {
093d3ff1 23909 void *ptr = 0;
d55e5bfc
RD
23910 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23911 _v = 0;
23912 PyErr_Clear();
23913 } else {
093d3ff1 23914 _v = (ptr != 0);
d55e5bfc
RD
23915 }
23916 }
23917 if (_v) {
23918 return _wrap_DateTime___iadd____SWIG_0(self,args);
23919 }
23920 }
23921 }
23922 if (argc == 2) {
23923 int _v;
23924 {
23925 void *ptr;
23926 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23927 _v = 0;
23928 PyErr_Clear();
23929 } else {
23930 _v = 1;
23931 }
23932 }
23933 if (_v) {
23934 {
093d3ff1 23935 void *ptr = 0;
d55e5bfc
RD
23936 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23937 _v = 0;
23938 PyErr_Clear();
23939 } else {
093d3ff1 23940 _v = (ptr != 0);
d55e5bfc
RD
23941 }
23942 }
23943 if (_v) {
23944 return _wrap_DateTime___iadd____SWIG_1(self,args);
23945 }
23946 }
23947 }
23948
093d3ff1 23949 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
23950 return NULL;
23951}
23952
23953
c32bde28 23954static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
7449af73 23955 PyObject *resultobj = NULL;
d55e5bfc
RD
23956 wxDateTime *arg1 = (wxDateTime *) 0 ;
23957 wxTimeSpan *arg2 = 0 ;
23958 wxDateTime *result;
23959 PyObject * obj0 = 0 ;
23960 PyObject * obj1 = 0 ;
23961
23962 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23964 if (SWIG_arg_fail(1)) SWIG_fail;
23965 {
23966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23967 if (SWIG_arg_fail(2)) SWIG_fail;
23968 if (arg2 == NULL) {
23969 SWIG_null_ref("wxTimeSpan");
23970 }
23971 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23972 }
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 {
23976 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
23977 result = (wxDateTime *) &_result_ref;
23978 }
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
c32bde28 23983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23984 return resultobj;
23985 fail:
23986 return NULL;
23987}
23988
23989
c32bde28 23990static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
7449af73 23991 PyObject *resultobj = NULL;
d55e5bfc
RD
23992 wxDateTime *arg1 = (wxDateTime *) 0 ;
23993 wxDateSpan *arg2 = 0 ;
23994 wxDateTime *result;
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997
23998 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24000 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24001 {
093d3ff1
RD
24002 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(2)) SWIG_fail;
24004 if (arg2 == NULL) {
24005 SWIG_null_ref("wxDateSpan");
24006 }
24007 if (SWIG_arg_fail(2)) SWIG_fail;
24008 }
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
24011 {
24012 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
24013 result = (wxDateTime *) &_result_ref;
24014 }
24015
24016 wxPyEndAllowThreads(__tstate);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
c32bde28 24019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
24020 return resultobj;
24021 fail:
24022 return NULL;
24023}
24024
24025
24026static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
24027 int argc;
24028 PyObject *argv[3];
24029 int ii;
24030
24031 argc = PyObject_Length(args);
24032 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24033 argv[ii] = PyTuple_GetItem(args,ii);
24034 }
24035 if (argc == 2) {
24036 int _v;
24037 {
24038 void *ptr;
24039 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24040 _v = 0;
24041 PyErr_Clear();
24042 } else {
24043 _v = 1;
24044 }
24045 }
24046 if (_v) {
24047 {
093d3ff1 24048 void *ptr = 0;
d55e5bfc
RD
24049 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24050 _v = 0;
24051 PyErr_Clear();
24052 } else {
093d3ff1 24053 _v = (ptr != 0);
d55e5bfc
RD
24054 }
24055 }
24056 if (_v) {
24057 return _wrap_DateTime___isub____SWIG_0(self,args);
24058 }
24059 }
24060 }
24061 if (argc == 2) {
24062 int _v;
24063 {
24064 void *ptr;
24065 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24066 _v = 0;
24067 PyErr_Clear();
24068 } else {
24069 _v = 1;
24070 }
24071 }
24072 if (_v) {
24073 {
093d3ff1 24074 void *ptr = 0;
d55e5bfc
RD
24075 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24076 _v = 0;
24077 PyErr_Clear();
24078 } else {
093d3ff1 24079 _v = (ptr != 0);
d55e5bfc
RD
24080 }
24081 }
24082 if (_v) {
24083 return _wrap_DateTime___isub____SWIG_1(self,args);
24084 }
24085 }
24086 }
24087
093d3ff1 24088 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
24089 return NULL;
24090}
24091
24092
c32bde28 24093static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
7449af73 24094 PyObject *resultobj = NULL;
d55e5bfc
RD
24095 wxDateTime *arg1 = (wxDateTime *) 0 ;
24096 wxTimeSpan *arg2 = 0 ;
24097 wxDateTime result;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100
24101 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24103 if (SWIG_arg_fail(1)) SWIG_fail;
24104 {
24105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24106 if (SWIG_arg_fail(2)) SWIG_fail;
24107 if (arg2 == NULL) {
24108 SWIG_null_ref("wxTimeSpan");
24109 }
24110 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24111 }
24112 {
24113 PyThreadState* __tstate = wxPyBeginAllowThreads();
24114 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
24115
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 {
24120 wxDateTime * resultptr;
7449af73 24121 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24123 }
24124 return resultobj;
24125 fail:
24126 return NULL;
24127}
24128
24129
c32bde28 24130static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
7449af73 24131 PyObject *resultobj = NULL;
d55e5bfc
RD
24132 wxDateTime *arg1 = (wxDateTime *) 0 ;
24133 wxDateSpan *arg2 = 0 ;
24134 wxDateTime result;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137
24138 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24140 if (SWIG_arg_fail(1)) SWIG_fail;
24141 {
24142 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24143 if (SWIG_arg_fail(2)) SWIG_fail;
24144 if (arg2 == NULL) {
24145 SWIG_null_ref("wxDateSpan");
24146 }
24147 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24148 }
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 {
24157 wxDateTime * resultptr;
7449af73 24158 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24160 }
24161 return resultobj;
24162 fail:
24163 return NULL;
24164}
24165
24166
24167static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
24168 int argc;
24169 PyObject *argv[3];
24170 int ii;
24171
24172 argc = PyObject_Length(args);
24173 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24174 argv[ii] = PyTuple_GetItem(args,ii);
24175 }
24176 if (argc == 2) {
24177 int _v;
24178 {
24179 void *ptr;
24180 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24181 _v = 0;
24182 PyErr_Clear();
24183 } else {
24184 _v = 1;
24185 }
24186 }
24187 if (_v) {
24188 {
093d3ff1 24189 void *ptr = 0;
d55e5bfc
RD
24190 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24191 _v = 0;
24192 PyErr_Clear();
24193 } else {
093d3ff1 24194 _v = (ptr != 0);
d55e5bfc
RD
24195 }
24196 }
24197 if (_v) {
24198 return _wrap_DateTime___add____SWIG_0(self,args);
24199 }
24200 }
24201 }
24202 if (argc == 2) {
24203 int _v;
24204 {
24205 void *ptr;
24206 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24207 _v = 0;
24208 PyErr_Clear();
24209 } else {
24210 _v = 1;
24211 }
24212 }
24213 if (_v) {
24214 {
093d3ff1 24215 void *ptr = 0;
d55e5bfc
RD
24216 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24217 _v = 0;
24218 PyErr_Clear();
24219 } else {
093d3ff1 24220 _v = (ptr != 0);
d55e5bfc
RD
24221 }
24222 }
24223 if (_v) {
24224 return _wrap_DateTime___add____SWIG_1(self,args);
24225 }
24226 }
24227 }
24228
093d3ff1
RD
24229 Py_INCREF(Py_NotImplemented);
24230 return Py_NotImplemented;
d55e5bfc
RD
24231}
24232
24233
c32bde28 24234static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
7449af73 24235 PyObject *resultobj = NULL;
d55e5bfc
RD
24236 wxDateTime *arg1 = (wxDateTime *) 0 ;
24237 wxDateTime *arg2 = 0 ;
24238 wxTimeSpan result;
24239 PyObject * obj0 = 0 ;
24240 PyObject * obj1 = 0 ;
24241
24242 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24244 if (SWIG_arg_fail(1)) SWIG_fail;
24245 {
24246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24247 if (SWIG_arg_fail(2)) SWIG_fail;
24248 if (arg2 == NULL) {
24249 SWIG_null_ref("wxDateTime");
24250 }
24251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24252 }
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 {
24261 wxTimeSpan * resultptr;
7449af73 24262 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
24263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24264 }
24265 return resultobj;
24266 fail:
24267 return NULL;
24268}
24269
24270
c32bde28 24271static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
7449af73 24272 PyObject *resultobj = NULL;
d55e5bfc
RD
24273 wxDateTime *arg1 = (wxDateTime *) 0 ;
24274 wxTimeSpan *arg2 = 0 ;
24275 wxDateTime result;
24276 PyObject * obj0 = 0 ;
24277 PyObject * obj1 = 0 ;
24278
24279 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24281 if (SWIG_arg_fail(1)) SWIG_fail;
24282 {
24283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24284 if (SWIG_arg_fail(2)) SWIG_fail;
24285 if (arg2 == NULL) {
24286 SWIG_null_ref("wxTimeSpan");
24287 }
24288 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24289 }
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 {
24298 wxDateTime * resultptr;
7449af73 24299 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24301 }
24302 return resultobj;
24303 fail:
24304 return NULL;
24305}
24306
24307
c32bde28 24308static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
7449af73 24309 PyObject *resultobj = NULL;
d55e5bfc
RD
24310 wxDateTime *arg1 = (wxDateTime *) 0 ;
24311 wxDateSpan *arg2 = 0 ;
24312 wxDateTime result;
24313 PyObject * obj0 = 0 ;
24314 PyObject * obj1 = 0 ;
24315
24316 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24318 if (SWIG_arg_fail(1)) SWIG_fail;
24319 {
24320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24321 if (SWIG_arg_fail(2)) SWIG_fail;
24322 if (arg2 == NULL) {
24323 SWIG_null_ref("wxDateSpan");
24324 }
24325 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 wxDateTime * resultptr;
7449af73 24336 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24338 }
24339 return resultobj;
24340 fail:
24341 return NULL;
24342}
24343
24344
24345static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
24346 int argc;
24347 PyObject *argv[3];
24348 int ii;
24349
24350 argc = PyObject_Length(args);
24351 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24352 argv[ii] = PyTuple_GetItem(args,ii);
24353 }
24354 if (argc == 2) {
24355 int _v;
24356 {
24357 void *ptr;
24358 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24359 _v = 0;
24360 PyErr_Clear();
24361 } else {
24362 _v = 1;
24363 }
24364 }
24365 if (_v) {
24366 {
093d3ff1 24367 void *ptr = 0;
d55e5bfc
RD
24368 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24369 _v = 0;
24370 PyErr_Clear();
24371 } else {
093d3ff1 24372 _v = (ptr != 0);
d55e5bfc
RD
24373 }
24374 }
24375 if (_v) {
24376 return _wrap_DateTime___sub____SWIG_0(self,args);
24377 }
24378 }
24379 }
24380 if (argc == 2) {
24381 int _v;
24382 {
24383 void *ptr;
24384 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24385 _v = 0;
24386 PyErr_Clear();
24387 } else {
24388 _v = 1;
24389 }
24390 }
24391 if (_v) {
24392 {
093d3ff1 24393 void *ptr = 0;
d55e5bfc
RD
24394 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24395 _v = 0;
24396 PyErr_Clear();
24397 } else {
093d3ff1 24398 _v = (ptr != 0);
d55e5bfc
RD
24399 }
24400 }
24401 if (_v) {
24402 return _wrap_DateTime___sub____SWIG_1(self,args);
24403 }
24404 }
24405 }
24406 if (argc == 2) {
24407 int _v;
24408 {
24409 void *ptr;
24410 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24411 _v = 0;
24412 PyErr_Clear();
24413 } else {
24414 _v = 1;
24415 }
24416 }
24417 if (_v) {
24418 {
093d3ff1 24419 void *ptr = 0;
d55e5bfc
RD
24420 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24421 _v = 0;
24422 PyErr_Clear();
24423 } else {
093d3ff1 24424 _v = (ptr != 0);
d55e5bfc
RD
24425 }
24426 }
24427 if (_v) {
24428 return _wrap_DateTime___sub____SWIG_2(self,args);
24429 }
24430 }
24431 }
24432
093d3ff1
RD
24433 Py_INCREF(Py_NotImplemented);
24434 return Py_NotImplemented;
d55e5bfc
RD
24435}
24436
24437
fef4c27a 24438static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24439 PyObject *resultobj = NULL;
d55e5bfc
RD
24440 wxDateTime *arg1 = (wxDateTime *) 0 ;
24441 wxDateTime *arg2 = (wxDateTime *) 0 ;
24442 bool result;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
fef4c27a
RD
24445 char *kwnames[] = {
24446 (char *) "self",(char *) "other", NULL
24447 };
d55e5bfc 24448
fef4c27a 24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24451 if (SWIG_arg_fail(1)) SWIG_fail;
24452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24453 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24454 {
24455 PyThreadState* __tstate = wxPyBeginAllowThreads();
24456 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
24457
24458 wxPyEndAllowThreads(__tstate);
24459 if (PyErr_Occurred()) SWIG_fail;
24460 }
24461 {
24462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24463 }
24464 return resultobj;
24465 fail:
24466 return NULL;
24467}
24468
24469
fef4c27a 24470static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24471 PyObject *resultobj = NULL;
d55e5bfc
RD
24472 wxDateTime *arg1 = (wxDateTime *) 0 ;
24473 wxDateTime *arg2 = (wxDateTime *) 0 ;
24474 bool result;
24475 PyObject * obj0 = 0 ;
24476 PyObject * obj1 = 0 ;
fef4c27a
RD
24477 char *kwnames[] = {
24478 (char *) "self",(char *) "other", NULL
24479 };
d55e5bfc 24480
fef4c27a 24481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24483 if (SWIG_arg_fail(1)) SWIG_fail;
24484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 {
24494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24495 }
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
fef4c27a 24502static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24503 PyObject *resultobj = NULL;
d55e5bfc
RD
24504 wxDateTime *arg1 = (wxDateTime *) 0 ;
24505 wxDateTime *arg2 = (wxDateTime *) 0 ;
24506 bool result;
24507 PyObject * obj0 = 0 ;
24508 PyObject * obj1 = 0 ;
fef4c27a
RD
24509 char *kwnames[] = {
24510 (char *) "self",(char *) "other", NULL
24511 };
d55e5bfc 24512
fef4c27a 24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24515 if (SWIG_arg_fail(1)) SWIG_fail;
24516 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24517 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24518 {
24519 PyThreadState* __tstate = wxPyBeginAllowThreads();
24520 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
24521
24522 wxPyEndAllowThreads(__tstate);
24523 if (PyErr_Occurred()) SWIG_fail;
24524 }
24525 {
24526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24527 }
24528 return resultobj;
24529 fail:
24530 return NULL;
24531}
24532
24533
fef4c27a 24534static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24535 PyObject *resultobj = NULL;
d55e5bfc
RD
24536 wxDateTime *arg1 = (wxDateTime *) 0 ;
24537 wxDateTime *arg2 = (wxDateTime *) 0 ;
24538 bool result;
24539 PyObject * obj0 = 0 ;
24540 PyObject * obj1 = 0 ;
fef4c27a
RD
24541 char *kwnames[] = {
24542 (char *) "self",(char *) "other", NULL
24543 };
d55e5bfc 24544
fef4c27a 24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail;
24548 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24549 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
24557 {
24558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24559 }
24560 return resultobj;
24561 fail:
24562 return NULL;
24563}
24564
24565
fef4c27a 24566static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24567 PyObject *resultobj = NULL;
d55e5bfc
RD
24568 wxDateTime *arg1 = (wxDateTime *) 0 ;
24569 wxDateTime *arg2 = (wxDateTime *) 0 ;
24570 bool result;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
fef4c27a
RD
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "other", NULL
24575 };
d55e5bfc 24576
fef4c27a 24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail;
24580 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24581 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24582 {
24583 PyThreadState* __tstate = wxPyBeginAllowThreads();
24584 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
24585
24586 wxPyEndAllowThreads(__tstate);
24587 if (PyErr_Occurred()) SWIG_fail;
24588 }
24589 {
24590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24591 }
24592 return resultobj;
24593 fail:
24594 return NULL;
24595}
24596
24597
fef4c27a 24598static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24599 PyObject *resultobj = NULL;
d55e5bfc
RD
24600 wxDateTime *arg1 = (wxDateTime *) 0 ;
24601 wxDateTime *arg2 = (wxDateTime *) 0 ;
24602 bool result;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
fef4c27a
RD
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "other", NULL
24607 };
d55e5bfc 24608
fef4c27a 24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
24612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24613 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24614 {
24615 PyThreadState* __tstate = wxPyBeginAllowThreads();
24616 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
24617
24618 wxPyEndAllowThreads(__tstate);
24619 if (PyErr_Occurred()) SWIG_fail;
24620 }
24621 {
24622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24623 }
24624 return resultobj;
24625 fail:
24626 return NULL;
24627}
24628
24629
c32bde28 24630static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24631 PyObject *resultobj = NULL;
d55e5bfc
RD
24632 wxDateTime *arg1 = (wxDateTime *) 0 ;
24633 wxString *arg2 = 0 ;
24634 int result;
ae8162c8 24635 bool temp2 = false ;
d55e5bfc
RD
24636 PyObject * obj0 = 0 ;
24637 PyObject * obj1 = 0 ;
24638 char *kwnames[] = {
24639 (char *) "self",(char *) "date", NULL
24640 };
24641
24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24645 {
24646 arg2 = wxString_in_helper(obj1);
24647 if (arg2 == NULL) SWIG_fail;
ae8162c8 24648 temp2 = true;
d55e5bfc
RD
24649 }
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
24653
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
093d3ff1 24657 {
7449af73 24658 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24659 }
d55e5bfc
RD
24660 {
24661 if (temp2)
24662 delete arg2;
24663 }
24664 return resultobj;
24665 fail:
24666 {
24667 if (temp2)
24668 delete arg2;
24669 }
24670 return NULL;
24671}
24672
24673
c32bde28 24674static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24675 PyObject *resultobj = NULL;
d55e5bfc
RD
24676 wxDateTime *arg1 = (wxDateTime *) 0 ;
24677 wxString *arg2 = 0 ;
fef4c27a 24678 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24679 wxString *arg3 = (wxString *) &arg3_defvalue ;
24680 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
24681 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
24682 int result;
ae8162c8
RD
24683 bool temp2 = false ;
24684 bool temp3 = false ;
d55e5bfc
RD
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 PyObject * obj3 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24696 {
24697 arg2 = wxString_in_helper(obj1);
24698 if (arg2 == NULL) SWIG_fail;
ae8162c8 24699 temp2 = true;
d55e5bfc
RD
24700 }
24701 if (obj2) {
24702 {
24703 arg3 = wxString_in_helper(obj2);
24704 if (arg3 == NULL) SWIG_fail;
ae8162c8 24705 temp3 = true;
d55e5bfc
RD
24706 }
24707 }
24708 if (obj3) {
093d3ff1
RD
24709 {
24710 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24711 if (SWIG_arg_fail(4)) SWIG_fail;
24712 if (arg4 == NULL) {
24713 SWIG_null_ref("wxDateTime");
24714 }
24715 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
24716 }
24717 }
24718 {
24719 PyThreadState* __tstate = wxPyBeginAllowThreads();
24720 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
093d3ff1 24725 {
7449af73 24726 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24727 }
d55e5bfc
RD
24728 {
24729 if (temp2)
24730 delete arg2;
24731 }
24732 {
24733 if (temp3)
24734 delete arg3;
24735 }
24736 return resultobj;
24737 fail:
24738 {
24739 if (temp2)
24740 delete arg2;
24741 }
24742 {
24743 if (temp3)
24744 delete arg3;
24745 }
24746 return NULL;
24747}
24748
24749
c32bde28 24750static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24751 PyObject *resultobj = NULL;
d55e5bfc
RD
24752 wxDateTime *arg1 = (wxDateTime *) 0 ;
24753 wxString *arg2 = 0 ;
24754 int result;
ae8162c8 24755 bool temp2 = false ;
d55e5bfc
RD
24756 PyObject * obj0 = 0 ;
24757 PyObject * obj1 = 0 ;
24758 char *kwnames[] = {
24759 (char *) "self",(char *) "datetime", NULL
24760 };
24761
24762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24765 {
24766 arg2 = wxString_in_helper(obj1);
24767 if (arg2 == NULL) SWIG_fail;
ae8162c8 24768 temp2 = true;
d55e5bfc
RD
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
093d3ff1 24777 {
7449af73 24778 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24779 }
d55e5bfc
RD
24780 {
24781 if (temp2)
24782 delete arg2;
24783 }
24784 return resultobj;
24785 fail:
24786 {
24787 if (temp2)
24788 delete arg2;
24789 }
24790 return NULL;
24791}
24792
24793
c32bde28 24794static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24795 PyObject *resultobj = NULL;
d55e5bfc
RD
24796 wxDateTime *arg1 = (wxDateTime *) 0 ;
24797 wxString *arg2 = 0 ;
24798 int result;
ae8162c8 24799 bool temp2 = false ;
d55e5bfc
RD
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "date", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24808 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24809 {
24810 arg2 = wxString_in_helper(obj1);
24811 if (arg2 == NULL) SWIG_fail;
ae8162c8 24812 temp2 = true;
d55e5bfc
RD
24813 }
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
093d3ff1 24821 {
7449af73 24822 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24823 }
d55e5bfc
RD
24824 {
24825 if (temp2)
24826 delete arg2;
24827 }
24828 return resultobj;
24829 fail:
24830 {
24831 if (temp2)
24832 delete arg2;
24833 }
24834 return NULL;
24835}
24836
24837
c32bde28 24838static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24839 PyObject *resultobj = NULL;
d55e5bfc
RD
24840 wxDateTime *arg1 = (wxDateTime *) 0 ;
24841 wxString *arg2 = 0 ;
24842 int result;
ae8162c8 24843 bool temp2 = false ;
d55e5bfc
RD
24844 PyObject * obj0 = 0 ;
24845 PyObject * obj1 = 0 ;
24846 char *kwnames[] = {
24847 (char *) "self",(char *) "time", NULL
24848 };
24849
24850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24853 {
24854 arg2 = wxString_in_helper(obj1);
24855 if (arg2 == NULL) SWIG_fail;
ae8162c8 24856 temp2 = true;
d55e5bfc
RD
24857 }
24858 {
24859 PyThreadState* __tstate = wxPyBeginAllowThreads();
24860 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
24861
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
093d3ff1 24865 {
7449af73 24866 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24867 }
d55e5bfc
RD
24868 {
24869 if (temp2)
24870 delete arg2;
24871 }
24872 return resultobj;
24873 fail:
24874 {
24875 if (temp2)
24876 delete arg2;
24877 }
24878 return NULL;
24879}
24880
24881
c32bde28 24882static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24883 PyObject *resultobj = NULL;
d55e5bfc 24884 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 24885 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24886 wxString *arg2 = (wxString *) &arg2_defvalue ;
24887 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
24888 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
24889 wxString result;
ae8162c8
RD
24890 bool temp2 = false ;
24891 bool temp3 = false ;
d55e5bfc
RD
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 PyObject * obj2 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self",(char *) "format",(char *) "tz", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24902 if (obj1) {
24903 {
24904 arg2 = wxString_in_helper(obj1);
24905 if (arg2 == NULL) SWIG_fail;
ae8162c8 24906 temp2 = true;
d55e5bfc
RD
24907 }
24908 }
24909 if (obj2) {
24910 {
24911 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 24912 temp3 = true;
d55e5bfc
RD
24913 }
24914 }
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 {
24923#if wxUSE_UNICODE
24924 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24925#else
24926 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24927#endif
24928 }
24929 {
24930 if (temp2)
24931 delete arg2;
24932 }
24933 {
24934 if (temp3) delete arg3;
24935 }
24936 return resultobj;
24937 fail:
24938 {
24939 if (temp2)
24940 delete arg2;
24941 }
24942 {
24943 if (temp3) delete arg3;
24944 }
24945 return NULL;
24946}
24947
24948
c32bde28 24949static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24950 PyObject *resultobj = NULL;
d55e5bfc
RD
24951 wxDateTime *arg1 = (wxDateTime *) 0 ;
24952 wxString result;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
24959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24961 {
24962 PyThreadState* __tstate = wxPyBeginAllowThreads();
24963 result = ((wxDateTime const *)arg1)->FormatDate();
24964
24965 wxPyEndAllowThreads(__tstate);
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 {
24969#if wxUSE_UNICODE
24970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24971#else
24972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24973#endif
24974 }
24975 return resultobj;
24976 fail:
24977 return NULL;
24978}
24979
24980
c32bde28 24981static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24982 PyObject *resultobj = NULL;
d55e5bfc
RD
24983 wxDateTime *arg1 = (wxDateTime *) 0 ;
24984 wxString result;
24985 PyObject * obj0 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
24991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 result = ((wxDateTime const *)arg1)->FormatTime();
24996
24997 wxPyEndAllowThreads(__tstate);
24998 if (PyErr_Occurred()) SWIG_fail;
24999 }
25000 {
25001#if wxUSE_UNICODE
25002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25003#else
25004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25005#endif
25006 }
25007 return resultobj;
25008 fail:
25009 return NULL;
25010}
25011
25012
c32bde28 25013static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25014 PyObject *resultobj = NULL;
d55e5bfc
RD
25015 wxDateTime *arg1 = (wxDateTime *) 0 ;
25016 wxString result;
25017 PyObject * obj0 = 0 ;
25018 char *kwnames[] = {
25019 (char *) "self", NULL
25020 };
25021
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
25023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 result = ((wxDateTime const *)arg1)->FormatISODate();
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 {
25033#if wxUSE_UNICODE
25034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25035#else
25036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25037#endif
25038 }
25039 return resultobj;
25040 fail:
25041 return NULL;
25042}
25043
25044
c32bde28 25045static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25046 PyObject *resultobj = NULL;
d55e5bfc
RD
25047 wxDateTime *arg1 = (wxDateTime *) 0 ;
25048 wxString result;
25049 PyObject * obj0 = 0 ;
25050 char *kwnames[] = {
25051 (char *) "self", NULL
25052 };
25053
25054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
25055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = ((wxDateTime const *)arg1)->FormatISOTime();
25060
25061 wxPyEndAllowThreads(__tstate);
25062 if (PyErr_Occurred()) SWIG_fail;
25063 }
25064 {
25065#if wxUSE_UNICODE
25066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25067#else
25068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25069#endif
25070 }
25071 return resultobj;
25072 fail:
25073 return NULL;
25074}
25075
25076
c32bde28 25077static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25078 PyObject *obj;
25079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25080 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
25081 Py_INCREF(obj);
25082 return Py_BuildValue((char *)"");
25083}
c32bde28 25084static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25085 PyObject *resultobj = NULL;
d55e5bfc
RD
25086 long arg1 ;
25087 wxTimeSpan result;
25088 PyObject * obj0 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "sec", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1 25094 {
7449af73 25095 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25096 if (SWIG_arg_fail(1)) SWIG_fail;
25097 }
d55e5bfc
RD
25098 {
25099 PyThreadState* __tstate = wxPyBeginAllowThreads();
25100 result = wxTimeSpan::Seconds(arg1);
25101
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 {
25106 wxTimeSpan * resultptr;
7449af73 25107 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25108 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25109 }
25110 return resultobj;
25111 fail:
25112 return NULL;
25113}
25114
25115
c32bde28 25116static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25117 PyObject *resultobj = NULL;
d55e5bfc
RD
25118 wxTimeSpan result;
25119 char *kwnames[] = {
25120 NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = wxTimeSpan::Second();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 wxTimeSpan * resultptr;
7449af73 25133 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25134 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25135 }
25136 return resultobj;
25137 fail:
25138 return NULL;
25139}
25140
25141
c32bde28 25142static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25143 PyObject *resultobj = NULL;
d55e5bfc
RD
25144 long arg1 ;
25145 wxTimeSpan result;
25146 PyObject * obj0 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "min", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1 25152 {
7449af73 25153 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25154 if (SWIG_arg_fail(1)) SWIG_fail;
25155 }
d55e5bfc
RD
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = wxTimeSpan::Minutes(arg1);
25159
25160 wxPyEndAllowThreads(__tstate);
25161 if (PyErr_Occurred()) SWIG_fail;
25162 }
25163 {
25164 wxTimeSpan * resultptr;
7449af73 25165 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25166 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25167 }
25168 return resultobj;
25169 fail:
25170 return NULL;
25171}
25172
25173
c32bde28 25174static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25175 PyObject *resultobj = NULL;
d55e5bfc
RD
25176 wxTimeSpan result;
25177 char *kwnames[] = {
25178 NULL
25179 };
25180
25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = wxTimeSpan::Minute();
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 {
25190 wxTimeSpan * resultptr;
7449af73 25191 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25193 }
25194 return resultobj;
25195 fail:
25196 return NULL;
25197}
25198
25199
c32bde28 25200static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25201 PyObject *resultobj = NULL;
d55e5bfc
RD
25202 long arg1 ;
25203 wxTimeSpan result;
25204 PyObject * obj0 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "hours", NULL
25207 };
25208
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1 25210 {
7449af73 25211 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25212 if (SWIG_arg_fail(1)) SWIG_fail;
25213 }
d55e5bfc
RD
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = wxTimeSpan::Hours(arg1);
25217
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 {
25222 wxTimeSpan * resultptr;
7449af73 25223 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25224 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25225 }
25226 return resultobj;
25227 fail:
25228 return NULL;
25229}
25230
25231
c32bde28 25232static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25233 PyObject *resultobj = NULL;
d55e5bfc
RD
25234 wxTimeSpan result;
25235 char *kwnames[] = {
25236 NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 result = wxTimeSpan::Hour();
25243
25244 wxPyEndAllowThreads(__tstate);
25245 if (PyErr_Occurred()) SWIG_fail;
25246 }
25247 {
25248 wxTimeSpan * resultptr;
7449af73 25249 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25251 }
25252 return resultobj;
25253 fail:
25254 return NULL;
25255}
25256
25257
c32bde28 25258static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25259 PyObject *resultobj = NULL;
d55e5bfc
RD
25260 long arg1 ;
25261 wxTimeSpan result;
25262 PyObject * obj0 = 0 ;
25263 char *kwnames[] = {
25264 (char *) "days", NULL
25265 };
25266
25267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1 25268 {
7449af73 25269 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25270 if (SWIG_arg_fail(1)) SWIG_fail;
25271 }
d55e5bfc
RD
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = wxTimeSpan::Days(arg1);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 {
25280 wxTimeSpan * resultptr;
7449af73 25281 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25283 }
25284 return resultobj;
25285 fail:
25286 return NULL;
25287}
25288
25289
c32bde28 25290static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25291 PyObject *resultobj = NULL;
d55e5bfc
RD
25292 wxTimeSpan result;
25293 char *kwnames[] = {
25294 NULL
25295 };
25296
25297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 result = wxTimeSpan::Day();
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 {
25306 wxTimeSpan * resultptr;
7449af73 25307 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25309 }
25310 return resultobj;
25311 fail:
25312 return NULL;
25313}
25314
25315
c32bde28 25316static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25317 PyObject *resultobj = NULL;
d55e5bfc
RD
25318 long arg1 ;
25319 wxTimeSpan result;
25320 PyObject * obj0 = 0 ;
25321 char *kwnames[] = {
25322 (char *) "days", NULL
25323 };
25324
25325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1 25326 {
7449af73 25327 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25328 if (SWIG_arg_fail(1)) SWIG_fail;
25329 }
d55e5bfc
RD
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = wxTimeSpan::Weeks(arg1);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 {
25338 wxTimeSpan * resultptr;
7449af73 25339 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25341 }
25342 return resultobj;
25343 fail:
25344 return NULL;
25345}
25346
25347
c32bde28 25348static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25349 PyObject *resultobj = NULL;
d55e5bfc
RD
25350 wxTimeSpan result;
25351 char *kwnames[] = {
25352 NULL
25353 };
25354
25355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
25356 {
25357 PyThreadState* __tstate = wxPyBeginAllowThreads();
25358 result = wxTimeSpan::Week();
25359
25360 wxPyEndAllowThreads(__tstate);
25361 if (PyErr_Occurred()) SWIG_fail;
25362 }
25363 {
25364 wxTimeSpan * resultptr;
7449af73 25365 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25367 }
25368 return resultobj;
25369 fail:
25370 return NULL;
25371}
25372
25373
c32bde28 25374static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25375 PyObject *resultobj = NULL;
d55e5bfc
RD
25376 long arg1 = (long) 0 ;
25377 long arg2 = (long) 0 ;
25378 long arg3 = (long) 0 ;
25379 long arg4 = (long) 0 ;
25380 wxTimeSpan *result;
25381 PyObject * obj0 = 0 ;
25382 PyObject * obj1 = 0 ;
25383 PyObject * obj2 = 0 ;
25384 PyObject * obj3 = 0 ;
25385 char *kwnames[] = {
25386 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25387 };
25388
25389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25390 if (obj0) {
093d3ff1 25391 {
7449af73 25392 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25393 if (SWIG_arg_fail(1)) SWIG_fail;
25394 }
d55e5bfc
RD
25395 }
25396 if (obj1) {
093d3ff1 25397 {
7449af73 25398 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25399 if (SWIG_arg_fail(2)) SWIG_fail;
25400 }
d55e5bfc
RD
25401 }
25402 if (obj2) {
093d3ff1 25403 {
7449af73 25404 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25405 if (SWIG_arg_fail(3)) SWIG_fail;
25406 }
d55e5bfc
RD
25407 }
25408 if (obj3) {
093d3ff1 25409 {
7449af73 25410 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
25411 if (SWIG_arg_fail(4)) SWIG_fail;
25412 }
d55e5bfc
RD
25413 }
25414 {
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
25417
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
25422 return resultobj;
25423 fail:
25424 return NULL;
25425}
25426
25427
c32bde28 25428static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25429 PyObject *resultobj = NULL;
d55e5bfc
RD
25430 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25431 PyObject * obj0 = 0 ;
25432 char *kwnames[] = {
25433 (char *) "self", NULL
25434 };
25435
25436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25439 {
25440 PyThreadState* __tstate = wxPyBeginAllowThreads();
25441 delete arg1;
25442
25443 wxPyEndAllowThreads(__tstate);
25444 if (PyErr_Occurred()) SWIG_fail;
25445 }
25446 Py_INCREF(Py_None); resultobj = Py_None;
25447 return resultobj;
25448 fail:
25449 return NULL;
25450}
25451
25452
c32bde28 25453static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25454 PyObject *resultobj = NULL;
d55e5bfc
RD
25455 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25456 wxTimeSpan *arg2 = 0 ;
25457 wxTimeSpan *result;
25458 PyObject * obj0 = 0 ;
25459 PyObject * obj1 = 0 ;
25460 char *kwnames[] = {
25461 (char *) "self",(char *) "diff", NULL
25462 };
25463
25464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25466 if (SWIG_arg_fail(1)) SWIG_fail;
25467 {
25468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25469 if (SWIG_arg_fail(2)) SWIG_fail;
25470 if (arg2 == NULL) {
25471 SWIG_null_ref("wxTimeSpan");
25472 }
25473 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25474 }
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 {
25478 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
25479 result = (wxTimeSpan *) &_result_ref;
25480 }
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25486 return resultobj;
25487 fail:
25488 return NULL;
25489}
25490
25491
c32bde28 25492static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25493 PyObject *resultobj = NULL;
d55e5bfc
RD
25494 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25495 wxTimeSpan *arg2 = 0 ;
25496 wxTimeSpan *result;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self",(char *) "diff", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25505 if (SWIG_arg_fail(1)) SWIG_fail;
25506 {
25507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25508 if (SWIG_arg_fail(2)) SWIG_fail;
25509 if (arg2 == NULL) {
25510 SWIG_null_ref("wxTimeSpan");
25511 }
25512 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25513 }
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 {
25517 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
25518 result = (wxTimeSpan *) &_result_ref;
25519 }
25520
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25525 return resultobj;
25526 fail:
25527 return NULL;
25528}
25529
25530
c32bde28 25531static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25532 PyObject *resultobj = NULL;
d55e5bfc
RD
25533 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25534 int arg2 ;
25535 wxTimeSpan *result;
25536 PyObject * obj0 = 0 ;
25537 PyObject * obj1 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self",(char *) "n", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25544 if (SWIG_arg_fail(1)) SWIG_fail;
25545 {
7449af73 25546 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25547 if (SWIG_arg_fail(2)) SWIG_fail;
25548 }
d55e5bfc
RD
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 {
25552 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
25553 result = (wxTimeSpan *) &_result_ref;
25554 }
25555
25556 wxPyEndAllowThreads(__tstate);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25560 return resultobj;
25561 fail:
25562 return NULL;
25563}
25564
25565
c32bde28 25566static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25567 PyObject *resultobj = NULL;
d55e5bfc
RD
25568 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25569 wxTimeSpan *result;
25570 PyObject * obj0 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "self", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
25576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 {
25581 wxTimeSpan &_result_ref = (arg1)->Neg();
25582 result = (wxTimeSpan *) &_result_ref;
25583 }
25584
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25589 return resultobj;
25590 fail:
25591 return NULL;
25592}
25593
25594
c32bde28 25595static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25596 PyObject *resultobj = NULL;
d55e5bfc
RD
25597 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25598 wxTimeSpan result;
25599 PyObject * obj0 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
25605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25606 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 result = ((wxTimeSpan const *)arg1)->Abs();
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 {
25615 wxTimeSpan * resultptr;
7449af73 25616 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25618 }
25619 return resultobj;
25620 fail:
25621 return NULL;
25622}
25623
25624
c32bde28 25625static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25626 PyObject *resultobj = NULL;
d55e5bfc
RD
25627 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25628 wxTimeSpan *arg2 = 0 ;
25629 wxTimeSpan *result;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "diff", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25638 if (SWIG_arg_fail(1)) SWIG_fail;
25639 {
25640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25641 if (SWIG_arg_fail(2)) SWIG_fail;
25642 if (arg2 == NULL) {
25643 SWIG_null_ref("wxTimeSpan");
25644 }
25645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25646 }
25647 {
25648 PyThreadState* __tstate = wxPyBeginAllowThreads();
25649 {
25650 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
25651 result = (wxTimeSpan *) &_result_ref;
25652 }
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
c32bde28 25657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
c32bde28 25664static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25665 PyObject *resultobj = NULL;
d55e5bfc
RD
25666 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25667 wxTimeSpan *arg2 = 0 ;
25668 wxTimeSpan *result;
25669 PyObject * obj0 = 0 ;
25670 PyObject * obj1 = 0 ;
25671 char *kwnames[] = {
25672 (char *) "self",(char *) "diff", NULL
25673 };
25674
25675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25677 if (SWIG_arg_fail(1)) SWIG_fail;
25678 {
25679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25680 if (SWIG_arg_fail(2)) SWIG_fail;
25681 if (arg2 == NULL) {
25682 SWIG_null_ref("wxTimeSpan");
25683 }
25684 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25685 }
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 {
25689 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
25690 result = (wxTimeSpan *) &_result_ref;
25691 }
25692
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
c32bde28 25696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25697 return resultobj;
25698 fail:
25699 return NULL;
25700}
25701
25702
c32bde28 25703static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25704 PyObject *resultobj = NULL;
d55e5bfc
RD
25705 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25706 int arg2 ;
25707 wxTimeSpan *result;
25708 PyObject * obj0 = 0 ;
25709 PyObject * obj1 = 0 ;
25710 char *kwnames[] = {
25711 (char *) "self",(char *) "n", NULL
25712 };
25713
25714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25716 if (SWIG_arg_fail(1)) SWIG_fail;
25717 {
7449af73 25718 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25719 if (SWIG_arg_fail(2)) SWIG_fail;
25720 }
d55e5bfc
RD
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 {
25724 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
25725 result = (wxTimeSpan *) &_result_ref;
25726 }
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
c32bde28 25731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25732 return resultobj;
25733 fail:
25734 return NULL;
25735}
25736
25737
c32bde28 25738static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25739 PyObject *resultobj = NULL;
d55e5bfc
RD
25740 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25741 wxTimeSpan *result;
25742 PyObject * obj0 = 0 ;
25743 char *kwnames[] = {
25744 (char *) "self", NULL
25745 };
25746
25747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
25748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25750 {
25751 PyThreadState* __tstate = wxPyBeginAllowThreads();
25752 {
25753 wxTimeSpan &_result_ref = (arg1)->operator -();
25754 result = (wxTimeSpan *) &_result_ref;
25755 }
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25761 return resultobj;
25762 fail:
25763 return NULL;
25764}
25765
25766
c32bde28 25767static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25768 PyObject *resultobj = NULL;
d55e5bfc
RD
25769 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25770 wxTimeSpan *arg2 = 0 ;
25771 wxTimeSpan result;
25772 PyObject * obj0 = 0 ;
25773 PyObject * obj1 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self",(char *) "other", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25780 if (SWIG_arg_fail(1)) SWIG_fail;
25781 {
25782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25783 if (SWIG_arg_fail(2)) SWIG_fail;
25784 if (arg2 == NULL) {
25785 SWIG_null_ref("wxTimeSpan");
25786 }
25787 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25788 }
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
25792
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 {
25797 wxTimeSpan * resultptr;
7449af73 25798 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25800 }
25801 return resultobj;
25802 fail:
25803 return NULL;
25804}
25805
25806
c32bde28 25807static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25808 PyObject *resultobj = NULL;
d55e5bfc
RD
25809 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25810 wxTimeSpan *arg2 = 0 ;
25811 wxTimeSpan result;
25812 PyObject * obj0 = 0 ;
25813 PyObject * obj1 = 0 ;
25814 char *kwnames[] = {
25815 (char *) "self",(char *) "other", NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail;
25821 {
25822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25823 if (SWIG_arg_fail(2)) SWIG_fail;
25824 if (arg2 == NULL) {
25825 SWIG_null_ref("wxTimeSpan");
25826 }
25827 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25828 }
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 {
25837 wxTimeSpan * resultptr;
7449af73 25838 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25840 }
25841 return resultobj;
25842 fail:
25843 return NULL;
25844}
25845
25846
c32bde28 25847static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25848 PyObject *resultobj = NULL;
d55e5bfc
RD
25849 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25850 int arg2 ;
25851 wxTimeSpan result;
25852 PyObject * obj0 = 0 ;
25853 PyObject * obj1 = 0 ;
25854 char *kwnames[] = {
25855 (char *) "self",(char *) "n", NULL
25856 };
25857
25858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25860 if (SWIG_arg_fail(1)) SWIG_fail;
25861 {
7449af73 25862 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25863 if (SWIG_arg_fail(2)) SWIG_fail;
25864 }
d55e5bfc
RD
25865 {
25866 PyThreadState* __tstate = wxPyBeginAllowThreads();
25867 result = wxTimeSpan___mul__(arg1,arg2);
25868
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 {
25873 wxTimeSpan * resultptr;
7449af73 25874 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25876 }
25877 return resultobj;
25878 fail:
25879 return NULL;
25880}
25881
25882
c32bde28 25883static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25884 PyObject *resultobj = NULL;
d55e5bfc
RD
25885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25886 int arg2 ;
25887 wxTimeSpan result;
25888 PyObject * obj0 = 0 ;
25889 PyObject * obj1 = 0 ;
25890 char *kwnames[] = {
25891 (char *) "self",(char *) "n", NULL
25892 };
25893
25894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25896 if (SWIG_arg_fail(1)) SWIG_fail;
25897 {
7449af73 25898 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25899 if (SWIG_arg_fail(2)) SWIG_fail;
25900 }
d55e5bfc
RD
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = wxTimeSpan___rmul__(arg1,arg2);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 {
25909 wxTimeSpan * resultptr;
7449af73 25910 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25912 }
25913 return resultobj;
25914 fail:
25915 return NULL;
25916}
25917
25918
c32bde28 25919static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25920 PyObject *resultobj = NULL;
d55e5bfc
RD
25921 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25922 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25923 bool result;
25924 PyObject * obj0 = 0 ;
25925 PyObject * obj1 = 0 ;
25926 char *kwnames[] = {
25927 (char *) "self",(char *) "other", NULL
25928 };
25929
25930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail;
25933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25934 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
25938
25939 wxPyEndAllowThreads(__tstate);
25940 if (PyErr_Occurred()) SWIG_fail;
25941 }
25942 {
25943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25944 }
25945 return resultobj;
25946 fail:
25947 return NULL;
25948}
25949
25950
c32bde28 25951static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25952 PyObject *resultobj = NULL;
d55e5bfc
RD
25953 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25954 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25955 bool result;
25956 PyObject * obj0 = 0 ;
25957 PyObject * obj1 = 0 ;
25958 char *kwnames[] = {
25959 (char *) "self",(char *) "other", NULL
25960 };
25961
25962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25964 if (SWIG_arg_fail(1)) SWIG_fail;
25965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25966 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25967 {
25968 PyThreadState* __tstate = wxPyBeginAllowThreads();
25969 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
25970
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 {
25975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25976 }
25977 return resultobj;
25978 fail:
25979 return NULL;
25980}
25981
25982
c32bde28 25983static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25984 PyObject *resultobj = NULL;
d55e5bfc
RD
25985 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25986 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25987 bool result;
25988 PyObject * obj0 = 0 ;
25989 PyObject * obj1 = 0 ;
25990 char *kwnames[] = {
25991 (char *) "self",(char *) "other", NULL
25992 };
25993
25994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail;
25997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25998 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
26002
26003 wxPyEndAllowThreads(__tstate);
26004 if (PyErr_Occurred()) SWIG_fail;
26005 }
26006 {
26007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26008 }
26009 return resultobj;
26010 fail:
26011 return NULL;
26012}
26013
26014
c32bde28 26015static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26016 PyObject *resultobj = NULL;
d55e5bfc
RD
26017 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26018 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26019 bool result;
26020 PyObject * obj0 = 0 ;
26021 PyObject * obj1 = 0 ;
26022 char *kwnames[] = {
26023 (char *) "self",(char *) "other", NULL
26024 };
26025
26026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26028 if (SWIG_arg_fail(1)) SWIG_fail;
26029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26030 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
26034
26035 wxPyEndAllowThreads(__tstate);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
26038 {
26039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26040 }
26041 return resultobj;
26042 fail:
26043 return NULL;
26044}
26045
26046
c32bde28 26047static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26048 PyObject *resultobj = NULL;
d55e5bfc
RD
26049 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26050 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26051 bool result;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "other", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26060 if (SWIG_arg_fail(1)) SWIG_fail;
26061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26062 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 {
26071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26072 }
26073 return resultobj;
26074 fail:
26075 return NULL;
26076}
26077
26078
c32bde28 26079static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26080 PyObject *resultobj = NULL;
d55e5bfc
RD
26081 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26082 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26083 bool result;
26084 PyObject * obj0 = 0 ;
26085 PyObject * obj1 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "other", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26092 if (SWIG_arg_fail(1)) SWIG_fail;
26093 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26094 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
26098
26099 wxPyEndAllowThreads(__tstate);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 {
26103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26104 }
26105 return resultobj;
26106 fail:
26107 return NULL;
26108}
26109
26110
c32bde28 26111static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26112 PyObject *resultobj = NULL;
d55e5bfc
RD
26113 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26114 bool result;
26115 PyObject * obj0 = 0 ;
26116 char *kwnames[] = {
26117 (char *) "self", NULL
26118 };
26119
26120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
26121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 {
26131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26132 }
26133 return resultobj;
26134 fail:
26135 return NULL;
26136}
26137
26138
c32bde28 26139static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26140 PyObject *resultobj = NULL;
d55e5bfc
RD
26141 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26142 bool result;
26143 PyObject * obj0 = 0 ;
26144 char *kwnames[] = {
26145 (char *) "self", NULL
26146 };
26147
26148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
26149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26160 }
26161 return resultobj;
26162 fail:
26163 return NULL;
26164}
26165
26166
c32bde28 26167static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26168 PyObject *resultobj = NULL;
d55e5bfc
RD
26169 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26170 bool result;
26171 PyObject * obj0 = 0 ;
26172 char *kwnames[] = {
26173 (char *) "self", NULL
26174 };
26175
26176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
26177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
26189 return resultobj;
26190 fail:
26191 return NULL;
26192}
26193
26194
c32bde28 26195static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26196 PyObject *resultobj = NULL;
d55e5bfc
RD
26197 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26198 wxTimeSpan *arg2 = 0 ;
26199 bool result;
26200 PyObject * obj0 = 0 ;
26201 PyObject * obj1 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self",(char *) "ts", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26208 if (SWIG_arg_fail(1)) SWIG_fail;
26209 {
26210 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26211 if (SWIG_arg_fail(2)) SWIG_fail;
26212 if (arg2 == NULL) {
26213 SWIG_null_ref("wxTimeSpan");
26214 }
26215 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26216 }
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 {
26225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26226 }
26227 return resultobj;
26228 fail:
26229 return NULL;
26230}
26231
26232
c32bde28 26233static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26234 PyObject *resultobj = NULL;
d55e5bfc
RD
26235 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26236 wxTimeSpan *arg2 = 0 ;
26237 bool result;
26238 PyObject * obj0 = 0 ;
26239 PyObject * obj1 = 0 ;
26240 char *kwnames[] = {
26241 (char *) "self",(char *) "ts", NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail;
26247 {
26248 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26249 if (SWIG_arg_fail(2)) SWIG_fail;
26250 if (arg2 == NULL) {
26251 SWIG_null_ref("wxTimeSpan");
26252 }
26253 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26254 }
26255 {
26256 PyThreadState* __tstate = wxPyBeginAllowThreads();
26257 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
26258
26259 wxPyEndAllowThreads(__tstate);
26260 if (PyErr_Occurred()) SWIG_fail;
26261 }
26262 {
26263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268}
26269
26270
c32bde28 26271static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26272 PyObject *resultobj = NULL;
d55e5bfc
RD
26273 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26274 wxTimeSpan *arg2 = 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "t", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 {
26286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26287 if (SWIG_arg_fail(2)) SWIG_fail;
26288 if (arg2 == NULL) {
26289 SWIG_null_ref("wxTimeSpan");
26290 }
26291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26292 }
26293 {
26294 PyThreadState* __tstate = wxPyBeginAllowThreads();
26295 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
26296
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
26300 {
26301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26302 }
26303 return resultobj;
26304 fail:
26305 return NULL;
26306}
26307
26308
c32bde28 26309static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26310 PyObject *resultobj = NULL;
d55e5bfc
RD
26311 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26312 int result;
26313 PyObject * obj0 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
26319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26321 {
26322 PyThreadState* __tstate = wxPyBeginAllowThreads();
26323 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
26324
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
093d3ff1 26328 {
7449af73 26329 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26330 }
d55e5bfc
RD
26331 return resultobj;
26332 fail:
26333 return NULL;
26334}
26335
26336
c32bde28 26337static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26338 PyObject *resultobj = NULL;
d55e5bfc
RD
26339 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26340 int result;
26341 PyObject * obj0 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26349 {
26350 PyThreadState* __tstate = wxPyBeginAllowThreads();
26351 result = (int)((wxTimeSpan const *)arg1)->GetDays();
26352
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
093d3ff1 26356 {
7449af73 26357 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26358 }
d55e5bfc
RD
26359 return resultobj;
26360 fail:
26361 return NULL;
26362}
26363
26364
c32bde28 26365static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26366 PyObject *resultobj = NULL;
d55e5bfc
RD
26367 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26368 int result;
26369 PyObject * obj0 = 0 ;
26370 char *kwnames[] = {
26371 (char *) "self", NULL
26372 };
26373
26374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
26375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26376 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (int)((wxTimeSpan const *)arg1)->GetHours();
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
093d3ff1 26384 {
7449af73 26385 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26386 }
d55e5bfc
RD
26387 return resultobj;
26388 fail:
26389 return NULL;
26390}
26391
26392
c32bde28 26393static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26394 PyObject *resultobj = NULL;
d55e5bfc
RD
26395 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26396 int result;
26397 PyObject * obj0 = 0 ;
26398 char *kwnames[] = {
26399 (char *) "self", NULL
26400 };
26401
26402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
26403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
093d3ff1 26412 {
7449af73 26413 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26414 }
d55e5bfc
RD
26415 return resultobj;
26416 fail:
26417 return NULL;
26418}
26419
26420
c32bde28 26421static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26422 PyObject *resultobj = NULL;
d55e5bfc
RD
26423 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26424 wxLongLong result;
26425 PyObject * obj0 = 0 ;
26426 char *kwnames[] = {
26427 (char *) "self", NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
26431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 result = ((wxTimeSpan const *)arg1)->GetSeconds();
26436
26437 wxPyEndAllowThreads(__tstate);
26438 if (PyErr_Occurred()) SWIG_fail;
26439 }
26440 {
26441 PyObject *hi, *lo, *shifter, *shifted;
26442 hi = PyLong_FromLong( (&result)->GetHi() );
26443 lo = PyLong_FromLong( (&result)->GetLo() );
26444 shifter = PyLong_FromLong(32);
26445 shifted = PyNumber_Lshift(hi, shifter);
26446 resultobj = PyNumber_Or(shifted, lo);
26447 Py_DECREF(hi);
26448 Py_DECREF(lo);
26449 Py_DECREF(shifter);
26450 Py_DECREF(shifted);
26451 }
26452 return resultobj;
26453 fail:
26454 return NULL;
26455}
26456
26457
c32bde28 26458static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26459 PyObject *resultobj = NULL;
d55e5bfc
RD
26460 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26461 wxLongLong result;
26462 PyObject * obj0 = 0 ;
26463 char *kwnames[] = {
26464 (char *) "self", NULL
26465 };
26466
26467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
26468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26470 {
26471 PyThreadState* __tstate = wxPyBeginAllowThreads();
26472 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
26473
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 {
26478 PyObject *hi, *lo, *shifter, *shifted;
26479 hi = PyLong_FromLong( (&result)->GetHi() );
26480 lo = PyLong_FromLong( (&result)->GetLo() );
26481 shifter = PyLong_FromLong(32);
26482 shifted = PyNumber_Lshift(hi, shifter);
26483 resultobj = PyNumber_Or(shifted, lo);
26484 Py_DECREF(hi);
26485 Py_DECREF(lo);
26486 Py_DECREF(shifter);
26487 Py_DECREF(shifted);
26488 }
26489 return resultobj;
26490 fail:
26491 return NULL;
26492}
26493
26494
c32bde28 26495static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26496 PyObject *resultobj = NULL;
d55e5bfc 26497 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 26498 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
26499 wxString *arg2 = (wxString *) &arg2_defvalue ;
26500 wxString result;
ae8162c8 26501 bool temp2 = false ;
d55e5bfc
RD
26502 PyObject * obj0 = 0 ;
26503 PyObject * obj1 = 0 ;
26504 char *kwnames[] = {
26505 (char *) "self",(char *) "format", NULL
26506 };
26507
26508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26511 if (obj1) {
26512 {
26513 arg2 = wxString_in_helper(obj1);
26514 if (arg2 == NULL) SWIG_fail;
ae8162c8 26515 temp2 = true;
d55e5bfc
RD
26516 }
26517 }
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
26520 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
26521
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 {
26526#if wxUSE_UNICODE
26527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26528#else
26529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26530#endif
26531 }
26532 {
26533 if (temp2)
26534 delete arg2;
26535 }
26536 return resultobj;
26537 fail:
26538 {
26539 if (temp2)
26540 delete arg2;
26541 }
26542 return NULL;
26543}
26544
26545
c32bde28 26546static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26547 PyObject *obj;
26548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26549 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
26550 Py_INCREF(obj);
26551 return Py_BuildValue((char *)"");
26552}
c32bde28 26553static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26554 PyObject *resultobj = NULL;
d55e5bfc
RD
26555 int arg1 = (int) 0 ;
26556 int arg2 = (int) 0 ;
26557 int arg3 = (int) 0 ;
26558 int arg4 = (int) 0 ;
26559 wxDateSpan *result;
26560 PyObject * obj0 = 0 ;
26561 PyObject * obj1 = 0 ;
26562 PyObject * obj2 = 0 ;
26563 PyObject * obj3 = 0 ;
26564 char *kwnames[] = {
26565 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26566 };
26567
26568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26569 if (obj0) {
093d3ff1 26570 {
7449af73 26571 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26572 if (SWIG_arg_fail(1)) SWIG_fail;
26573 }
d55e5bfc
RD
26574 }
26575 if (obj1) {
093d3ff1 26576 {
7449af73 26577 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26578 if (SWIG_arg_fail(2)) SWIG_fail;
26579 }
d55e5bfc
RD
26580 }
26581 if (obj2) {
093d3ff1 26582 {
7449af73 26583 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26584 if (SWIG_arg_fail(3)) SWIG_fail;
26585 }
d55e5bfc
RD
26586 }
26587 if (obj3) {
093d3ff1 26588 {
7449af73 26589 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26590 if (SWIG_arg_fail(4)) SWIG_fail;
26591 }
d55e5bfc
RD
26592 }
26593 {
26594 PyThreadState* __tstate = wxPyBeginAllowThreads();
26595 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
26596
26597 wxPyEndAllowThreads(__tstate);
26598 if (PyErr_Occurred()) SWIG_fail;
26599 }
26600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26601 return resultobj;
26602 fail:
26603 return NULL;
26604}
26605
26606
c32bde28 26607static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26608 PyObject *resultobj = NULL;
d55e5bfc
RD
26609 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26610 PyObject * obj0 = 0 ;
26611 char *kwnames[] = {
26612 (char *) "self", NULL
26613 };
26614
26615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
26616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26618 {
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 delete arg1;
26621
26622 wxPyEndAllowThreads(__tstate);
26623 if (PyErr_Occurred()) SWIG_fail;
26624 }
26625 Py_INCREF(Py_None); resultobj = Py_None;
26626 return resultobj;
26627 fail:
26628 return NULL;
26629}
26630
26631
c32bde28 26632static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26633 PyObject *resultobj = NULL;
d55e5bfc
RD
26634 int arg1 ;
26635 wxDateSpan result;
26636 PyObject * obj0 = 0 ;
26637 char *kwnames[] = {
26638 (char *) "days", NULL
26639 };
26640
26641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1 26642 {
7449af73 26643 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26644 if (SWIG_arg_fail(1)) SWIG_fail;
26645 }
d55e5bfc
RD
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 result = wxDateSpan::Days(arg1);
26649
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 {
26654 wxDateSpan * resultptr;
7449af73 26655 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26656 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26657 }
26658 return resultobj;
26659 fail:
26660 return NULL;
26661}
26662
26663
c32bde28 26664static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26665 PyObject *resultobj = NULL;
d55e5bfc
RD
26666 wxDateSpan result;
26667 char *kwnames[] = {
26668 NULL
26669 };
26670
26671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 result = wxDateSpan::Day();
26675
26676 wxPyEndAllowThreads(__tstate);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 }
26679 {
26680 wxDateSpan * resultptr;
7449af73 26681 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26682 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26683 }
26684 return resultobj;
26685 fail:
26686 return NULL;
26687}
26688
26689
c32bde28 26690static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26691 PyObject *resultobj = NULL;
d55e5bfc
RD
26692 int arg1 ;
26693 wxDateSpan result;
26694 PyObject * obj0 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "weeks", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1 26700 {
7449af73 26701 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26702 if (SWIG_arg_fail(1)) SWIG_fail;
26703 }
d55e5bfc
RD
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 result = wxDateSpan::Weeks(arg1);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 {
26712 wxDateSpan * resultptr;
7449af73 26713 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26714 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26715 }
26716 return resultobj;
26717 fail:
26718 return NULL;
26719}
26720
26721
c32bde28 26722static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26723 PyObject *resultobj = NULL;
d55e5bfc
RD
26724 wxDateSpan result;
26725 char *kwnames[] = {
26726 NULL
26727 };
26728
26729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
26730 {
26731 PyThreadState* __tstate = wxPyBeginAllowThreads();
26732 result = wxDateSpan::Week();
26733
26734 wxPyEndAllowThreads(__tstate);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 }
26737 {
26738 wxDateSpan * resultptr;
7449af73 26739 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26741 }
26742 return resultobj;
26743 fail:
26744 return NULL;
26745}
26746
26747
c32bde28 26748static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26749 PyObject *resultobj = NULL;
d55e5bfc
RD
26750 int arg1 ;
26751 wxDateSpan result;
26752 PyObject * obj0 = 0 ;
26753 char *kwnames[] = {
26754 (char *) "mon", NULL
26755 };
26756
26757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1 26758 {
7449af73 26759 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26760 if (SWIG_arg_fail(1)) SWIG_fail;
26761 }
d55e5bfc
RD
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 result = wxDateSpan::Months(arg1);
26765
26766 wxPyEndAllowThreads(__tstate);
26767 if (PyErr_Occurred()) SWIG_fail;
26768 }
26769 {
26770 wxDateSpan * resultptr;
7449af73 26771 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26773 }
26774 return resultobj;
26775 fail:
26776 return NULL;
26777}
26778
26779
c32bde28 26780static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26781 PyObject *resultobj = NULL;
d55e5bfc
RD
26782 wxDateSpan result;
26783 char *kwnames[] = {
26784 NULL
26785 };
26786
26787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = wxDateSpan::Month();
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 {
26796 wxDateSpan * resultptr;
7449af73 26797 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26799 }
26800 return resultobj;
26801 fail:
26802 return NULL;
26803}
26804
26805
c32bde28 26806static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26807 PyObject *resultobj = NULL;
d55e5bfc
RD
26808 int arg1 ;
26809 wxDateSpan result;
26810 PyObject * obj0 = 0 ;
26811 char *kwnames[] = {
26812 (char *) "years", NULL
26813 };
26814
26815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1 26816 {
7449af73 26817 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26818 if (SWIG_arg_fail(1)) SWIG_fail;
26819 }
d55e5bfc
RD
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = wxDateSpan::Years(arg1);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 {
26828 wxDateSpan * resultptr;
7449af73 26829 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26831 }
26832 return resultobj;
26833 fail:
26834 return NULL;
26835}
26836
26837
c32bde28 26838static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26839 PyObject *resultobj = NULL;
d55e5bfc
RD
26840 wxDateSpan result;
26841 char *kwnames[] = {
26842 NULL
26843 };
26844
26845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
26848 result = wxDateSpan::Year();
26849
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 {
26854 wxDateSpan * resultptr;
7449af73 26855 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861}
26862
26863
c32bde28 26864static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26865 PyObject *resultobj = NULL;
d55e5bfc
RD
26866 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26867 int arg2 ;
26868 wxDateSpan *result;
26869 PyObject * obj0 = 0 ;
26870 PyObject * obj1 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self",(char *) "n", NULL
26873 };
26874
26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail;
26878 {
7449af73 26879 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26880 if (SWIG_arg_fail(2)) SWIG_fail;
26881 }
d55e5bfc
RD
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 {
26885 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
26886 result = (wxDateSpan *) &_result_ref;
26887 }
26888
26889 wxPyEndAllowThreads(__tstate);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26893 return resultobj;
26894 fail:
26895 return NULL;
26896}
26897
26898
c32bde28 26899static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26900 PyObject *resultobj = NULL;
d55e5bfc
RD
26901 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26902 int arg2 ;
26903 wxDateSpan *result;
26904 PyObject * obj0 = 0 ;
26905 PyObject * obj1 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self",(char *) "n", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26912 if (SWIG_arg_fail(1)) SWIG_fail;
26913 {
7449af73 26914 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26915 if (SWIG_arg_fail(2)) SWIG_fail;
26916 }
d55e5bfc
RD
26917 {
26918 PyThreadState* __tstate = wxPyBeginAllowThreads();
26919 {
26920 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
26921 result = (wxDateSpan *) &_result_ref;
26922 }
26923
26924 wxPyEndAllowThreads(__tstate);
26925 if (PyErr_Occurred()) SWIG_fail;
26926 }
26927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26928 return resultobj;
26929 fail:
26930 return NULL;
26931}
26932
26933
c32bde28 26934static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26935 PyObject *resultobj = NULL;
d55e5bfc
RD
26936 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26937 int arg2 ;
26938 wxDateSpan *result;
26939 PyObject * obj0 = 0 ;
26940 PyObject * obj1 = 0 ;
26941 char *kwnames[] = {
26942 (char *) "self",(char *) "n", NULL
26943 };
26944
26945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26947 if (SWIG_arg_fail(1)) SWIG_fail;
26948 {
7449af73 26949 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26950 if (SWIG_arg_fail(2)) SWIG_fail;
26951 }
d55e5bfc
RD
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 {
26955 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
26956 result = (wxDateSpan *) &_result_ref;
26957 }
26958
26959 wxPyEndAllowThreads(__tstate);
26960 if (PyErr_Occurred()) SWIG_fail;
26961 }
26962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26963 return resultobj;
26964 fail:
26965 return NULL;
26966}
26967
26968
c32bde28 26969static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26970 PyObject *resultobj = NULL;
d55e5bfc
RD
26971 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26972 int arg2 ;
26973 wxDateSpan *result;
26974 PyObject * obj0 = 0 ;
26975 PyObject * obj1 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self",(char *) "n", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail;
26983 {
7449af73 26984 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26985 if (SWIG_arg_fail(2)) SWIG_fail;
26986 }
d55e5bfc
RD
26987 {
26988 PyThreadState* __tstate = wxPyBeginAllowThreads();
26989 {
26990 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
26991 result = (wxDateSpan *) &_result_ref;
26992 }
26993
26994 wxPyEndAllowThreads(__tstate);
26995 if (PyErr_Occurred()) SWIG_fail;
26996 }
26997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26998 return resultobj;
26999 fail:
27000 return NULL;
27001}
27002
27003
c32bde28 27004static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27005 PyObject *resultobj = NULL;
d55e5bfc
RD
27006 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27007 int result;
27008 PyObject * obj0 = 0 ;
27009 char *kwnames[] = {
27010 (char *) "self", NULL
27011 };
27012
27013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
27014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27016 {
27017 PyThreadState* __tstate = wxPyBeginAllowThreads();
27018 result = (int)((wxDateSpan const *)arg1)->GetYears();
27019
27020 wxPyEndAllowThreads(__tstate);
27021 if (PyErr_Occurred()) SWIG_fail;
27022 }
093d3ff1 27023 {
7449af73 27024 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27025 }
d55e5bfc
RD
27026 return resultobj;
27027 fail:
27028 return NULL;
27029}
27030
27031
c32bde28 27032static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27033 PyObject *resultobj = NULL;
d55e5bfc
RD
27034 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27035 int result;
27036 PyObject * obj0 = 0 ;
27037 char *kwnames[] = {
27038 (char *) "self", NULL
27039 };
27040
27041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
27042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
27046 result = (int)((wxDateSpan const *)arg1)->GetMonths();
27047
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
093d3ff1 27051 {
7449af73 27052 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27053 }
d55e5bfc
RD
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
c32bde28 27060static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27061 PyObject *resultobj = NULL;
d55e5bfc
RD
27062 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27063 int result;
27064 PyObject * obj0 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
27070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27072 {
27073 PyThreadState* __tstate = wxPyBeginAllowThreads();
27074 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
27075
27076 wxPyEndAllowThreads(__tstate);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
093d3ff1 27079 {
7449af73 27080 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27081 }
d55e5bfc
RD
27082 return resultobj;
27083 fail:
27084 return NULL;
27085}
27086
27087
c32bde28 27088static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27089 PyObject *resultobj = NULL;
d55e5bfc
RD
27090 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27091 int result;
27092 PyObject * obj0 = 0 ;
27093 char *kwnames[] = {
27094 (char *) "self", NULL
27095 };
27096
27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
27098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27099 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27100 {
27101 PyThreadState* __tstate = wxPyBeginAllowThreads();
27102 result = (int)((wxDateSpan const *)arg1)->GetDays();
27103
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
093d3ff1 27107 {
7449af73 27108 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27109 }
d55e5bfc
RD
27110 return resultobj;
27111 fail:
27112 return NULL;
27113}
27114
27115
c32bde28 27116static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27117 PyObject *resultobj = NULL;
d55e5bfc
RD
27118 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27119 int result;
27120 PyObject * obj0 = 0 ;
27121 char *kwnames[] = {
27122 (char *) "self", NULL
27123 };
27124
27125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
27126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27128 {
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
27131
27132 wxPyEndAllowThreads(__tstate);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
093d3ff1 27135 {
7449af73 27136 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27137 }
d55e5bfc
RD
27138 return resultobj;
27139 fail:
27140 return NULL;
27141}
27142
27143
c32bde28 27144static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27145 PyObject *resultobj = NULL;
d55e5bfc
RD
27146 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27147 wxDateSpan *arg2 = 0 ;
27148 wxDateSpan *result;
27149 PyObject * obj0 = 0 ;
27150 PyObject * obj1 = 0 ;
27151 char *kwnames[] = {
27152 (char *) "self",(char *) "other", NULL
27153 };
27154
27155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail;
27158 {
27159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27160 if (SWIG_arg_fail(2)) SWIG_fail;
27161 if (arg2 == NULL) {
27162 SWIG_null_ref("wxDateSpan");
27163 }
27164 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27165 }
27166 {
27167 PyThreadState* __tstate = wxPyBeginAllowThreads();
27168 {
27169 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
27170 result = (wxDateSpan *) &_result_ref;
27171 }
27172
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27177 return resultobj;
27178 fail:
27179 return NULL;
27180}
27181
27182
c32bde28 27183static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27184 PyObject *resultobj = NULL;
d55e5bfc
RD
27185 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27186 wxDateSpan *arg2 = 0 ;
27187 wxDateSpan *result;
27188 PyObject * obj0 = 0 ;
27189 PyObject * obj1 = 0 ;
27190 char *kwnames[] = {
27191 (char *) "self",(char *) "other", NULL
27192 };
27193
27194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27196 if (SWIG_arg_fail(1)) SWIG_fail;
27197 {
27198 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27199 if (SWIG_arg_fail(2)) SWIG_fail;
27200 if (arg2 == NULL) {
27201 SWIG_null_ref("wxDateSpan");
27202 }
27203 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27204 }
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 {
27208 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
27209 result = (wxDateSpan *) &_result_ref;
27210 }
27211
27212 wxPyEndAllowThreads(__tstate);
27213 if (PyErr_Occurred()) SWIG_fail;
27214 }
27215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27216 return resultobj;
27217 fail:
27218 return NULL;
27219}
27220
27221
c32bde28 27222static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27223 PyObject *resultobj = NULL;
d55e5bfc
RD
27224 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27225 wxDateSpan *result;
27226 PyObject * obj0 = 0 ;
27227 char *kwnames[] = {
27228 (char *) "self", NULL
27229 };
27230
27231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
27232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 {
27237 wxDateSpan &_result_ref = (arg1)->Neg();
27238 result = (wxDateSpan *) &_result_ref;
27239 }
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27245 return resultobj;
27246 fail:
27247 return NULL;
27248}
27249
27250
c32bde28 27251static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27252 PyObject *resultobj = NULL;
d55e5bfc
RD
27253 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27254 int arg2 ;
27255 wxDateSpan *result;
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self",(char *) "factor", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
27265 {
7449af73 27266 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27267 if (SWIG_arg_fail(2)) SWIG_fail;
27268 }
d55e5bfc
RD
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 {
27272 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
27273 result = (wxDateSpan *) &_result_ref;
27274 }
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27280 return resultobj;
27281 fail:
27282 return NULL;
27283}
27284
27285
c32bde28 27286static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27287 PyObject *resultobj = NULL;
d55e5bfc
RD
27288 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27289 wxDateSpan *arg2 = 0 ;
27290 wxDateSpan *result;
27291 PyObject * obj0 = 0 ;
27292 PyObject * obj1 = 0 ;
27293 char *kwnames[] = {
27294 (char *) "self",(char *) "other", NULL
27295 };
27296
27297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27299 if (SWIG_arg_fail(1)) SWIG_fail;
27300 {
27301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27302 if (SWIG_arg_fail(2)) SWIG_fail;
27303 if (arg2 == NULL) {
27304 SWIG_null_ref("wxDateSpan");
27305 }
27306 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27307 }
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 {
27311 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
27312 result = (wxDateSpan *) &_result_ref;
27313 }
27314
27315 wxPyEndAllowThreads(__tstate);
27316 if (PyErr_Occurred()) SWIG_fail;
27317 }
c32bde28 27318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27319 return resultobj;
27320 fail:
27321 return NULL;
27322}
27323
27324
c32bde28 27325static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27326 PyObject *resultobj = NULL;
d55e5bfc
RD
27327 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27328 wxDateSpan *arg2 = 0 ;
27329 wxDateSpan *result;
27330 PyObject * obj0 = 0 ;
27331 PyObject * obj1 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self",(char *) "other", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27338 if (SWIG_arg_fail(1)) SWIG_fail;
27339 {
27340 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27341 if (SWIG_arg_fail(2)) SWIG_fail;
27342 if (arg2 == NULL) {
27343 SWIG_null_ref("wxDateSpan");
27344 }
27345 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27346 }
27347 {
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 {
27350 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
27351 result = (wxDateSpan *) &_result_ref;
27352 }
27353
27354 wxPyEndAllowThreads(__tstate);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
c32bde28 27357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27358 return resultobj;
27359 fail:
27360 return NULL;
27361}
27362
27363
c32bde28 27364static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27365 PyObject *resultobj = NULL;
d55e5bfc
RD
27366 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27367 wxDateSpan *result;
27368 PyObject * obj0 = 0 ;
27369 char *kwnames[] = {
27370 (char *) "self", NULL
27371 };
27372
27373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
27374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27376 {
27377 PyThreadState* __tstate = wxPyBeginAllowThreads();
27378 {
27379 wxDateSpan &_result_ref = (arg1)->operator -();
27380 result = (wxDateSpan *) &_result_ref;
27381 }
27382
27383 wxPyEndAllowThreads(__tstate);
27384 if (PyErr_Occurred()) SWIG_fail;
27385 }
27386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27387 return resultobj;
27388 fail:
27389 return NULL;
27390}
27391
27392
c32bde28 27393static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27394 PyObject *resultobj = NULL;
d55e5bfc
RD
27395 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27396 int arg2 ;
27397 wxDateSpan *result;
27398 PyObject * obj0 = 0 ;
27399 PyObject * obj1 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "factor", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27406 if (SWIG_arg_fail(1)) SWIG_fail;
27407 {
7449af73 27408 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27409 if (SWIG_arg_fail(2)) SWIG_fail;
27410 }
d55e5bfc
RD
27411 {
27412 PyThreadState* __tstate = wxPyBeginAllowThreads();
27413 {
27414 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
27415 result = (wxDateSpan *) &_result_ref;
27416 }
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
c32bde28 27421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27422 return resultobj;
27423 fail:
27424 return NULL;
27425}
27426
27427
c32bde28 27428static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27429 PyObject *resultobj = NULL;
d55e5bfc
RD
27430 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27431 wxDateSpan *arg2 = 0 ;
27432 wxDateSpan result;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self",(char *) "other", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail;
27442 {
27443 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27444 if (SWIG_arg_fail(2)) SWIG_fail;
27445 if (arg2 == NULL) {
27446 SWIG_null_ref("wxDateSpan");
27447 }
27448 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27449 }
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
27453
27454 wxPyEndAllowThreads(__tstate);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 }
27457 {
27458 wxDateSpan * resultptr;
7449af73 27459 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27461 }
27462 return resultobj;
27463 fail:
27464 return NULL;
27465}
27466
27467
c32bde28 27468static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27469 PyObject *resultobj = NULL;
d55e5bfc
RD
27470 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27471 wxDateSpan *arg2 = 0 ;
27472 wxDateSpan result;
27473 PyObject * obj0 = 0 ;
27474 PyObject * obj1 = 0 ;
27475 char *kwnames[] = {
27476 (char *) "self",(char *) "other", NULL
27477 };
27478
27479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail;
27482 {
27483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27484 if (SWIG_arg_fail(2)) SWIG_fail;
27485 if (arg2 == NULL) {
27486 SWIG_null_ref("wxDateSpan");
27487 }
27488 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27489 }
27490 {
27491 PyThreadState* __tstate = wxPyBeginAllowThreads();
27492 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
27493
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 {
27498 wxDateSpan * resultptr;
7449af73 27499 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27501 }
27502 return resultobj;
27503 fail:
27504 return NULL;
27505}
27506
27507
c32bde28 27508static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27509 PyObject *resultobj = NULL;
d55e5bfc
RD
27510 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27511 int arg2 ;
27512 wxDateSpan result;
27513 PyObject * obj0 = 0 ;
27514 PyObject * obj1 = 0 ;
27515 char *kwnames[] = {
27516 (char *) "self",(char *) "n", NULL
27517 };
27518
27519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27521 if (SWIG_arg_fail(1)) SWIG_fail;
27522 {
7449af73 27523 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27524 if (SWIG_arg_fail(2)) SWIG_fail;
27525 }
d55e5bfc
RD
27526 {
27527 PyThreadState* __tstate = wxPyBeginAllowThreads();
27528 result = wxDateSpan___mul__(arg1,arg2);
27529
27530 wxPyEndAllowThreads(__tstate);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 }
27533 {
27534 wxDateSpan * resultptr;
7449af73 27535 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27537 }
27538 return resultobj;
27539 fail:
27540 return NULL;
27541}
27542
27543
c32bde28 27544static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27545 PyObject *resultobj = NULL;
d55e5bfc
RD
27546 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27547 int arg2 ;
27548 wxDateSpan result;
27549 PyObject * obj0 = 0 ;
27550 PyObject * obj1 = 0 ;
27551 char *kwnames[] = {
27552 (char *) "self",(char *) "n", NULL
27553 };
27554
27555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27557 if (SWIG_arg_fail(1)) SWIG_fail;
27558 {
7449af73 27559 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27560 if (SWIG_arg_fail(2)) SWIG_fail;
27561 }
d55e5bfc
RD
27562 {
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
27564 result = wxDateSpan___rmul__(arg1,arg2);
27565
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 {
27570 wxDateSpan * resultptr;
7449af73 27571 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27573 }
27574 return resultobj;
27575 fail:
27576 return NULL;
27577}
27578
27579
c32bde28 27580static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27581 PyObject *resultobj = NULL;
d55e5bfc
RD
27582 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27583 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27584 bool result;
27585 PyObject * obj0 = 0 ;
27586 PyObject * obj1 = 0 ;
27587 char *kwnames[] = {
27588 (char *) "self",(char *) "other", NULL
27589 };
27590
27591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail;
27594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27596 {
27597 PyThreadState* __tstate = wxPyBeginAllowThreads();
27598 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
27599
27600 wxPyEndAllowThreads(__tstate);
27601 if (PyErr_Occurred()) SWIG_fail;
27602 }
27603 {
27604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27605 }
27606 return resultobj;
27607 fail:
27608 return NULL;
27609}
27610
27611
c32bde28 27612static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27613 PyObject *resultobj = NULL;
d55e5bfc
RD
27614 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27615 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27616 bool result;
27617 PyObject * obj0 = 0 ;
27618 PyObject * obj1 = 0 ;
27619 char *kwnames[] = {
27620 (char *) "self",(char *) "other", NULL
27621 };
27622
27623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27625 if (SWIG_arg_fail(1)) SWIG_fail;
27626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27627 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 {
27636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27637 }
27638 return resultobj;
27639 fail:
27640 return NULL;
27641}
27642
27643
c32bde28 27644static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27645 PyObject *obj;
27646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
27648 Py_INCREF(obj);
27649 return Py_BuildValue((char *)"");
27650}
c32bde28 27651static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27652 PyObject *resultobj = NULL;
d55e5bfc
RD
27653 long result;
27654 char *kwnames[] = {
27655 NULL
27656 };
27657
27658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
27659 {
27660 PyThreadState* __tstate = wxPyBeginAllowThreads();
27661 result = (long)wxGetLocalTime();
27662
27663 wxPyEndAllowThreads(__tstate);
27664 if (PyErr_Occurred()) SWIG_fail;
27665 }
093d3ff1 27666 {
7449af73 27667 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27668 }
d55e5bfc
RD
27669 return resultobj;
27670 fail:
27671 return NULL;
27672}
27673
27674
c32bde28 27675static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27676 PyObject *resultobj = NULL;
d55e5bfc
RD
27677 long result;
27678 char *kwnames[] = {
27679 NULL
27680 };
27681
27682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
27683 {
27684 PyThreadState* __tstate = wxPyBeginAllowThreads();
27685 result = (long)wxGetUTCTime();
27686
27687 wxPyEndAllowThreads(__tstate);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 }
093d3ff1 27690 {
7449af73 27691 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27692 }
d55e5bfc
RD
27693 return resultobj;
27694 fail:
27695 return NULL;
27696}
27697
27698
c32bde28 27699static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27700 PyObject *resultobj = NULL;
d55e5bfc
RD
27701 long result;
27702 char *kwnames[] = {
27703 NULL
27704 };
27705
27706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 result = (long)wxGetCurrentTime();
27710
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
093d3ff1 27714 {
7449af73 27715 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27716 }
d55e5bfc
RD
27717 return resultobj;
27718 fail:
27719 return NULL;
27720}
27721
27722
c32bde28 27723static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27724 PyObject *resultobj = NULL;
d55e5bfc
RD
27725 wxLongLong result;
27726 char *kwnames[] = {
27727 NULL
27728 };
27729
27730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 result = wxGetLocalTimeMillis();
27734
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 {
27739 PyObject *hi, *lo, *shifter, *shifted;
27740 hi = PyLong_FromLong( (&result)->GetHi() );
27741 lo = PyLong_FromLong( (&result)->GetLo() );
27742 shifter = PyLong_FromLong(32);
27743 shifted = PyNumber_Lshift(hi, shifter);
27744 resultobj = PyNumber_Or(shifted, lo);
27745 Py_DECREF(hi);
27746 Py_DECREF(lo);
27747 Py_DECREF(shifter);
27748 Py_DECREF(shifted);
27749 }
27750 return resultobj;
27751 fail:
27752 return NULL;
27753}
27754
27755
c32bde28 27756static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
27757 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
27758 return 1;
27759}
27760
27761
093d3ff1 27762static PyObject *_wrap_DefaultDateTime_get(void) {
7449af73 27763 PyObject *pyobj = NULL;
d55e5bfc
RD
27764
27765 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
27766 return pyobj;
27767}
27768
27769
c32bde28 27770static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27771 PyObject *resultobj = NULL;
093d3ff1 27772 wxDataFormatId arg1 ;
d55e5bfc
RD
27773 wxDataFormat *result;
27774 PyObject * obj0 = 0 ;
27775 char *kwnames[] = {
27776 (char *) "type", NULL
27777 };
27778
27779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1 27780 {
7449af73 27781 arg1 = static_cast<wxDataFormatId >(SWIG_As_int(obj0));
093d3ff1
RD
27782 if (SWIG_arg_fail(1)) SWIG_fail;
27783 }
d55e5bfc
RD
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27786 result = (wxDataFormat *)new wxDataFormat(arg1);
d55e5bfc
RD
27787
27788 wxPyEndAllowThreads(__tstate);
27789 if (PyErr_Occurred()) SWIG_fail;
27790 }
27791 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27792 return resultobj;
27793 fail:
27794 return NULL;
27795}
27796
27797
c32bde28 27798static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27799 PyObject *resultobj = NULL;
d55e5bfc
RD
27800 wxString *arg1 = 0 ;
27801 wxDataFormat *result;
ae8162c8 27802 bool temp1 = false ;
d55e5bfc
RD
27803 PyObject * obj0 = 0 ;
27804 char *kwnames[] = {
27805 (char *) "format", NULL
27806 };
27807
27808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
27809 {
27810 arg1 = wxString_in_helper(obj0);
27811 if (arg1 == NULL) SWIG_fail;
ae8162c8 27812 temp1 = true;
d55e5bfc
RD
27813 }
27814 {
27815 PyThreadState* __tstate = wxPyBeginAllowThreads();
27816 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
27817
27818 wxPyEndAllowThreads(__tstate);
27819 if (PyErr_Occurred()) SWIG_fail;
27820 }
27821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27822 {
27823 if (temp1)
27824 delete arg1;
27825 }
27826 return resultobj;
27827 fail:
27828 {
27829 if (temp1)
27830 delete arg1;
27831 }
27832 return NULL;
27833}
27834
27835
c32bde28 27836static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27837 PyObject *resultobj = NULL;
d55e5bfc
RD
27838 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27839 PyObject * obj0 = 0 ;
27840 char *kwnames[] = {
27841 (char *) "self", NULL
27842 };
27843
27844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27847 {
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 delete arg1;
27850
27851 wxPyEndAllowThreads(__tstate);
27852 if (PyErr_Occurred()) SWIG_fail;
27853 }
27854 Py_INCREF(Py_None); resultobj = Py_None;
27855 return resultobj;
27856 fail:
27857 return NULL;
27858}
27859
27860
c32bde28 27861static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
7449af73 27862 PyObject *resultobj = NULL;
d55e5bfc 27863 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27864 wxDataFormatId arg2 ;
d55e5bfc
RD
27865 bool result;
27866 PyObject * obj0 = 0 ;
27867 PyObject * obj1 = 0 ;
27868
27869 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27871 if (SWIG_arg_fail(1)) SWIG_fail;
27872 {
7449af73 27873 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
27874 if (SWIG_arg_fail(2)) SWIG_fail;
27875 }
d55e5bfc
RD
27876 {
27877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27878 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
d55e5bfc
RD
27879
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 {
27884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27885 }
27886 return resultobj;
27887 fail:
27888 return NULL;
27889}
27890
27891
c32bde28 27892static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
7449af73 27893 PyObject *resultobj = NULL;
d55e5bfc 27894 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27895 wxDataFormatId arg2 ;
d55e5bfc
RD
27896 bool result;
27897 PyObject * obj0 = 0 ;
27898 PyObject * obj1 = 0 ;
27899
27900 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27902 if (SWIG_arg_fail(1)) SWIG_fail;
27903 {
7449af73 27904 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
27905 if (SWIG_arg_fail(2)) SWIG_fail;
27906 }
d55e5bfc
RD
27907 {
27908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27909 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
d55e5bfc
RD
27910
27911 wxPyEndAllowThreads(__tstate);
27912 if (PyErr_Occurred()) SWIG_fail;
27913 }
27914 {
27915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27916 }
27917 return resultobj;
27918 fail:
27919 return NULL;
27920}
27921
27922
c32bde28 27923static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
7449af73 27924 PyObject *resultobj = NULL;
d55e5bfc
RD
27925 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27926 wxDataFormat *arg2 = 0 ;
27927 bool result;
27928 PyObject * obj0 = 0 ;
27929 PyObject * obj1 = 0 ;
27930
27931 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail;
27934 {
27935 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27936 if (SWIG_arg_fail(2)) SWIG_fail;
27937 if (arg2 == NULL) {
27938 SWIG_null_ref("wxDataFormat");
27939 }
27940 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27941 }
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
27945
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 {
27950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27951 }
27952 return resultobj;
27953 fail:
27954 return NULL;
27955}
27956
27957
27958static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
27959 int argc;
27960 PyObject *argv[3];
27961 int ii;
27962
27963 argc = PyObject_Length(args);
27964 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27965 argv[ii] = PyTuple_GetItem(args,ii);
27966 }
27967 if (argc == 2) {
27968 int _v;
27969 {
27970 void *ptr;
27971 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27972 _v = 0;
27973 PyErr_Clear();
27974 } else {
27975 _v = 1;
27976 }
27977 }
27978 if (_v) {
27979 {
093d3ff1 27980 void *ptr = 0;
d55e5bfc
RD
27981 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27982 _v = 0;
27983 PyErr_Clear();
27984 } else {
093d3ff1 27985 _v = (ptr != 0);
d55e5bfc
RD
27986 }
27987 }
27988 if (_v) {
27989 return _wrap_DataFormat___eq____SWIG_1(self,args);
27990 }
27991 }
27992 }
27993 if (argc == 2) {
27994 int _v;
27995 {
27996 void *ptr;
27997 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27998 _v = 0;
27999 PyErr_Clear();
28000 } else {
28001 _v = 1;
28002 }
28003 }
28004 if (_v) {
c32bde28 28005 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28006 if (_v) {
28007 return _wrap_DataFormat___eq____SWIG_0(self,args);
28008 }
28009 }
28010 }
28011
093d3ff1
RD
28012 Py_INCREF(Py_NotImplemented);
28013 return Py_NotImplemented;
d55e5bfc
RD
28014}
28015
28016
c32bde28 28017static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
7449af73 28018 PyObject *resultobj = NULL;
d55e5bfc
RD
28019 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28020 wxDataFormat *arg2 = 0 ;
28021 bool result;
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024
28025 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
28026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28027 if (SWIG_arg_fail(1)) SWIG_fail;
28028 {
28029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28030 if (SWIG_arg_fail(2)) SWIG_fail;
28031 if (arg2 == NULL) {
28032 SWIG_null_ref("wxDataFormat");
28033 }
28034 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28035 }
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 {
28044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28045 }
28046 return resultobj;
28047 fail:
28048 return NULL;
28049}
28050
28051
28052static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
28053 int argc;
28054 PyObject *argv[3];
28055 int ii;
28056
28057 argc = PyObject_Length(args);
28058 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
28059 argv[ii] = PyTuple_GetItem(args,ii);
28060 }
28061 if (argc == 2) {
28062 int _v;
28063 {
28064 void *ptr;
28065 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28066 _v = 0;
28067 PyErr_Clear();
28068 } else {
28069 _v = 1;
28070 }
28071 }
28072 if (_v) {
28073 {
093d3ff1 28074 void *ptr = 0;
d55e5bfc
RD
28075 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28076 _v = 0;
28077 PyErr_Clear();
28078 } else {
093d3ff1 28079 _v = (ptr != 0);
d55e5bfc
RD
28080 }
28081 }
28082 if (_v) {
28083 return _wrap_DataFormat___ne____SWIG_1(self,args);
28084 }
28085 }
28086 }
28087 if (argc == 2) {
28088 int _v;
28089 {
28090 void *ptr;
28091 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28092 _v = 0;
28093 PyErr_Clear();
28094 } else {
28095 _v = 1;
28096 }
28097 }
28098 if (_v) {
c32bde28 28099 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28100 if (_v) {
28101 return _wrap_DataFormat___ne____SWIG_0(self,args);
28102 }
28103 }
28104 }
28105
093d3ff1
RD
28106 Py_INCREF(Py_NotImplemented);
28107 return Py_NotImplemented;
d55e5bfc
RD
28108}
28109
28110
c32bde28 28111static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28112 PyObject *resultobj = NULL;
d55e5bfc 28113 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 28114 wxDataFormatId arg2 ;
d55e5bfc
RD
28115 PyObject * obj0 = 0 ;
28116 PyObject * obj1 = 0 ;
28117 char *kwnames[] = {
28118 (char *) "self",(char *) "format", NULL
28119 };
28120
28121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28123 if (SWIG_arg_fail(1)) SWIG_fail;
28124 {
7449af73 28125 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
28126 if (SWIG_arg_fail(2)) SWIG_fail;
28127 }
d55e5bfc
RD
28128 {
28129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28130 (arg1)->SetType(arg2);
d55e5bfc
RD
28131
28132 wxPyEndAllowThreads(__tstate);
28133 if (PyErr_Occurred()) SWIG_fail;
28134 }
28135 Py_INCREF(Py_None); resultobj = Py_None;
28136 return resultobj;
28137 fail:
28138 return NULL;
28139}
28140
28141
c32bde28 28142static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28143 PyObject *resultobj = NULL;
d55e5bfc 28144 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 28145 wxDataFormatId result;
d55e5bfc
RD
28146 PyObject * obj0 = 0 ;
28147 char *kwnames[] = {
28148 (char *) "self", NULL
28149 };
28150
28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
28152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28153 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28154 {
28155 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28156 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
28157
28158 wxPyEndAllowThreads(__tstate);
28159 if (PyErr_Occurred()) SWIG_fail;
28160 }
093d3ff1 28161 resultobj = SWIG_From_int((result));
d55e5bfc
RD
28162 return resultobj;
28163 fail:
28164 return NULL;
28165}
28166
28167
c32bde28 28168static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28169 PyObject *resultobj = NULL;
d55e5bfc
RD
28170 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28171 wxString result;
28172 PyObject * obj0 = 0 ;
28173 char *kwnames[] = {
28174 (char *) "self", NULL
28175 };
28176
28177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 result = ((wxDataFormat const *)arg1)->GetId();
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 {
28188#if wxUSE_UNICODE
28189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28190#else
28191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28192#endif
28193 }
28194 return resultobj;
28195 fail:
28196 return NULL;
28197}
28198
28199
c32bde28 28200static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28201 PyObject *resultobj = NULL;
d55e5bfc
RD
28202 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28203 wxString *arg2 = 0 ;
ae8162c8 28204 bool temp2 = false ;
d55e5bfc
RD
28205 PyObject * obj0 = 0 ;
28206 PyObject * obj1 = 0 ;
28207 char *kwnames[] = {
28208 (char *) "self",(char *) "format", NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28214 {
28215 arg2 = wxString_in_helper(obj1);
28216 if (arg2 == NULL) SWIG_fail;
ae8162c8 28217 temp2 = true;
d55e5bfc
RD
28218 }
28219 {
28220 PyThreadState* __tstate = wxPyBeginAllowThreads();
28221 (arg1)->SetId((wxString const &)*arg2);
28222
28223 wxPyEndAllowThreads(__tstate);
28224 if (PyErr_Occurred()) SWIG_fail;
28225 }
28226 Py_INCREF(Py_None); resultobj = Py_None;
28227 {
28228 if (temp2)
28229 delete arg2;
28230 }
28231 return resultobj;
28232 fail:
28233 {
28234 if (temp2)
28235 delete arg2;
28236 }
28237 return NULL;
28238}
28239
28240
c32bde28 28241static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28242 PyObject *obj;
28243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28244 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
28245 Py_INCREF(obj);
28246 return Py_BuildValue((char *)"");
28247}
c32bde28 28248static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
28249 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
28250 return 1;
28251}
28252
28253
093d3ff1 28254static PyObject *_wrap_FormatInvalid_get(void) {
7449af73 28255 PyObject *pyobj = NULL;
d55e5bfc
RD
28256
28257 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
28258 return pyobj;
28259}
28260
28261
c32bde28 28262static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28263 PyObject *resultobj = NULL;
d55e5bfc
RD
28264 wxDataObject *arg1 = (wxDataObject *) 0 ;
28265 PyObject * obj0 = 0 ;
28266 char *kwnames[] = {
28267 (char *) "self", NULL
28268 };
28269
28270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28273 {
28274 PyThreadState* __tstate = wxPyBeginAllowThreads();
28275 delete arg1;
28276
28277 wxPyEndAllowThreads(__tstate);
28278 if (PyErr_Occurred()) SWIG_fail;
28279 }
28280 Py_INCREF(Py_None); resultobj = Py_None;
28281 return resultobj;
28282 fail:
28283 return NULL;
28284}
28285
28286
c32bde28 28287static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28288 PyObject *resultobj = NULL;
d55e5bfc 28289 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
28290 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
28291 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
28292 PyObject * obj0 = 0 ;
28293 PyObject * obj1 = 0 ;
28294 char *kwnames[] = {
28295 (char *) "self",(char *) "dir", NULL
28296 };
28297
28298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28301 if (obj1) {
093d3ff1 28302 {
7449af73 28303 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28304 if (SWIG_arg_fail(2)) SWIG_fail;
28305 }
d55e5bfc
RD
28306 }
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28309 result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2);
d55e5bfc
RD
28310
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 {
28315 wxDataFormat * resultptr;
7449af73 28316 resultptr = new wxDataFormat(static_cast<wxDataFormat & >(result));
d55e5bfc
RD
28317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
28318 }
28319 return resultobj;
28320 fail:
28321 return NULL;
28322}
28323
28324
c32bde28 28325static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28326 PyObject *resultobj = NULL;
d55e5bfc 28327 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 28328 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28329 size_t result;
28330 PyObject * obj0 = 0 ;
28331 PyObject * obj1 = 0 ;
28332 char *kwnames[] = {
28333 (char *) "self",(char *) "dir", NULL
28334 };
28335
28336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28339 if (obj1) {
093d3ff1 28340 {
7449af73 28341 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28342 if (SWIG_arg_fail(2)) SWIG_fail;
28343 }
d55e5bfc
RD
28344 }
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28347 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2);
d55e5bfc
RD
28348
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
093d3ff1 28352 {
7449af73 28353 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28354 }
d55e5bfc
RD
28355 return resultobj;
28356 fail:
28357 return NULL;
28358}
28359
28360
c32bde28 28361static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28362 PyObject *resultobj = NULL;
d55e5bfc
RD
28363 wxDataObject *arg1 = (wxDataObject *) 0 ;
28364 wxDataFormat *arg2 = 0 ;
093d3ff1 28365 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28366 bool result;
28367 PyObject * obj0 = 0 ;
28368 PyObject * obj1 = 0 ;
28369 PyObject * obj2 = 0 ;
28370 char *kwnames[] = {
28371 (char *) "self",(char *) "format",(char *) "dir", NULL
28372 };
28373
28374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28376 if (SWIG_arg_fail(1)) SWIG_fail;
28377 {
28378 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28379 if (SWIG_arg_fail(2)) SWIG_fail;
28380 if (arg2 == NULL) {
28381 SWIG_null_ref("wxDataFormat");
28382 }
28383 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28384 }
28385 if (obj2) {
093d3ff1 28386 {
7449af73 28387 arg3 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj2));
093d3ff1
RD
28388 if (SWIG_arg_fail(3)) SWIG_fail;
28389 }
d55e5bfc
RD
28390 }
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28393 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 {
28399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28400 }
28401 return resultobj;
28402 fail:
28403 return NULL;
28404}
28405
28406
c32bde28 28407static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28408 PyObject *resultobj = NULL;
d55e5bfc
RD
28409 wxDataObject *arg1 = (wxDataObject *) 0 ;
28410 wxDataFormat *arg2 = 0 ;
28411 size_t result;
28412 PyObject * obj0 = 0 ;
28413 PyObject * obj1 = 0 ;
28414 char *kwnames[] = {
28415 (char *) "self",(char *) "format", NULL
28416 };
28417
28418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28420 if (SWIG_arg_fail(1)) SWIG_fail;
28421 {
28422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28423 if (SWIG_arg_fail(2)) SWIG_fail;
28424 if (arg2 == NULL) {
28425 SWIG_null_ref("wxDataFormat");
28426 }
28427 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28428 }
28429 {
28430 PyThreadState* __tstate = wxPyBeginAllowThreads();
28431 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
28432
28433 wxPyEndAllowThreads(__tstate);
28434 if (PyErr_Occurred()) SWIG_fail;
28435 }
093d3ff1 28436 {
7449af73 28437 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28438 }
d55e5bfc
RD
28439 return resultobj;
28440 fail:
28441 return NULL;
28442}
28443
28444
c32bde28 28445static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28446 PyObject *resultobj = NULL;
d55e5bfc 28447 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 28448 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
a07a67e6 28449 PyObject *result;
d55e5bfc
RD
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
d55e5bfc 28452 char *kwnames[] = {
a07a67e6 28453 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
28454 };
28455
a07a67e6 28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28458 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6 28459 if (obj1) {
093d3ff1 28460 {
7449af73 28461 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28462 if (SWIG_arg_fail(2)) SWIG_fail;
28463 }
d55e5bfc
RD
28464 }
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28467 result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2);
d55e5bfc
RD
28468
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
a07a67e6 28472 resultobj = result;
d55e5bfc
RD
28473 return resultobj;
28474 fail:
28475 return NULL;
28476}
28477
28478
c32bde28 28479static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28480 PyObject *resultobj = NULL;
d55e5bfc
RD
28481 wxDataObject *arg1 = (wxDataObject *) 0 ;
28482 wxDataFormat *arg2 = 0 ;
a07a67e6 28483 PyObject *result;
d55e5bfc
RD
28484 PyObject * obj0 = 0 ;
28485 PyObject * obj1 = 0 ;
d55e5bfc 28486 char *kwnames[] = {
a07a67e6 28487 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
28488 };
28489
a07a67e6 28490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28492 if (SWIG_arg_fail(1)) SWIG_fail;
28493 {
28494 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28495 if (SWIG_arg_fail(2)) SWIG_fail;
28496 if (arg2 == NULL) {
28497 SWIG_null_ref("wxDataFormat");
28498 }
28499 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28500 }
d55e5bfc
RD
28501 {
28502 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 28503 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
28504
28505 wxPyEndAllowThreads(__tstate);
28506 if (PyErr_Occurred()) SWIG_fail;
28507 }
a07a67e6 28508 resultobj = result;
d55e5bfc
RD
28509 return resultobj;
28510 fail:
28511 return NULL;
28512}
28513
28514
c32bde28 28515static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28516 PyObject *resultobj = NULL;
d55e5bfc
RD
28517 wxDataObject *arg1 = (wxDataObject *) 0 ;
28518 wxDataFormat *arg2 = 0 ;
a07a67e6 28519 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
28520 bool result;
28521 PyObject * obj0 = 0 ;
28522 PyObject * obj1 = 0 ;
28523 PyObject * obj2 = 0 ;
d55e5bfc 28524 char *kwnames[] = {
a07a67e6 28525 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
28526 };
28527
a07a67e6 28528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28530 if (SWIG_arg_fail(1)) SWIG_fail;
28531 {
28532 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28533 if (SWIG_arg_fail(2)) SWIG_fail;
28534 if (arg2 == NULL) {
28535 SWIG_null_ref("wxDataFormat");
28536 }
28537 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28538 }
a07a67e6 28539 arg3 = obj2;
d55e5bfc
RD
28540 {
28541 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 28542 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28543
28544 wxPyEndAllowThreads(__tstate);
28545 if (PyErr_Occurred()) SWIG_fail;
28546 }
28547 {
28548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28549 }
28550 return resultobj;
28551 fail:
28552 return NULL;
28553}
28554
28555
c32bde28 28556static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28557 PyObject *obj;
28558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28559 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
28560 Py_INCREF(obj);
28561 return Py_BuildValue((char *)"");
28562}
c32bde28 28563static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28564 PyObject *resultobj = NULL;
d55e5bfc
RD
28565 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28566 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28567 wxDataObjectSimple *result;
28568 PyObject * obj0 = 0 ;
28569 char *kwnames[] = {
28570 (char *) "format", NULL
28571 };
28572
28573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
28574 if (obj0) {
093d3ff1
RD
28575 {
28576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28577 if (SWIG_arg_fail(1)) SWIG_fail;
28578 if (arg1 == NULL) {
28579 SWIG_null_ref("wxDataFormat");
28580 }
28581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28582 }
28583 }
28584 {
28585 PyThreadState* __tstate = wxPyBeginAllowThreads();
28586 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
28587
28588 wxPyEndAllowThreads(__tstate);
28589 if (PyErr_Occurred()) SWIG_fail;
28590 }
28591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
28592 return resultobj;
28593 fail:
28594 return NULL;
28595}
28596
28597
c32bde28 28598static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28599 PyObject *resultobj = NULL;
d55e5bfc
RD
28600 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28601 wxDataFormat *result;
28602 PyObject * obj0 = 0 ;
28603 char *kwnames[] = {
28604 (char *) "self", NULL
28605 };
28606
28607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
28608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28610 {
28611 PyThreadState* __tstate = wxPyBeginAllowThreads();
28612 {
28613 wxDataFormat const &_result_ref = (arg1)->GetFormat();
28614 result = (wxDataFormat *) &_result_ref;
28615 }
28616
28617 wxPyEndAllowThreads(__tstate);
28618 if (PyErr_Occurred()) SWIG_fail;
28619 }
28620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
28621 return resultobj;
28622 fail:
28623 return NULL;
28624}
28625
28626
c32bde28 28627static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28628 PyObject *resultobj = NULL;
d55e5bfc
RD
28629 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28630 wxDataFormat *arg2 = 0 ;
28631 PyObject * obj0 = 0 ;
28632 PyObject * obj1 = 0 ;
28633 char *kwnames[] = {
28634 (char *) "self",(char *) "format", NULL
28635 };
28636
28637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28639 if (SWIG_arg_fail(1)) SWIG_fail;
28640 {
28641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28642 if (SWIG_arg_fail(2)) SWIG_fail;
28643 if (arg2 == NULL) {
28644 SWIG_null_ref("wxDataFormat");
28645 }
28646 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28647 }
28648 {
28649 PyThreadState* __tstate = wxPyBeginAllowThreads();
28650 (arg1)->SetFormat((wxDataFormat const &)*arg2);
28651
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 Py_INCREF(Py_None); resultobj = Py_None;
28656 return resultobj;
28657 fail:
28658 return NULL;
28659}
28660
28661
c32bde28 28662static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28663 PyObject *resultobj = NULL;
a07a67e6
RD
28664 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28665 size_t result;
28666 PyObject * obj0 = 0 ;
28667 char *kwnames[] = {
28668 (char *) "self", NULL
28669 };
28670
28671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28673 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
28677
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
093d3ff1 28681 {
7449af73 28682 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28683 }
a07a67e6
RD
28684 return resultobj;
28685 fail:
28686 return NULL;
28687}
28688
28689
c32bde28 28690static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28691 PyObject *resultobj = NULL;
a07a67e6
RD
28692 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28693 PyObject *result;
28694 PyObject * obj0 = 0 ;
28695 char *kwnames[] = {
28696 (char *) "self", NULL
28697 };
28698
28699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
28700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28701 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
28705
28706 wxPyEndAllowThreads(__tstate);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 resultobj = result;
28710 return resultobj;
28711 fail:
28712 return NULL;
28713}
28714
28715
c32bde28 28716static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28717 PyObject *resultobj = NULL;
a07a67e6
RD
28718 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28719 PyObject *arg2 = (PyObject *) 0 ;
28720 bool result;
28721 PyObject * obj0 = 0 ;
28722 PyObject * obj1 = 0 ;
28723 char *kwnames[] = {
28724 (char *) "self",(char *) "data", NULL
28725 };
28726
28727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28729 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28730 arg2 = obj1;
28731 {
28732 PyThreadState* __tstate = wxPyBeginAllowThreads();
28733 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
28734
28735 wxPyEndAllowThreads(__tstate);
28736 if (PyErr_Occurred()) SWIG_fail;
28737 }
28738 {
28739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28740 }
28741 return resultobj;
28742 fail:
28743 return NULL;
28744}
28745
28746
c32bde28 28747static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28748 PyObject *obj;
28749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28750 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
28751 Py_INCREF(obj);
28752 return Py_BuildValue((char *)"");
28753}
c32bde28 28754static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28755 PyObject *resultobj = NULL;
d55e5bfc
RD
28756 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28757 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28758 wxPyDataObjectSimple *result;
28759 PyObject * obj0 = 0 ;
28760 char *kwnames[] = {
28761 (char *) "format", NULL
28762 };
28763
28764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
28765 if (obj0) {
093d3ff1
RD
28766 {
28767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28768 if (SWIG_arg_fail(1)) SWIG_fail;
28769 if (arg1 == NULL) {
28770 SWIG_null_ref("wxDataFormat");
28771 }
28772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28773 }
28774 }
28775 {
28776 PyThreadState* __tstate = wxPyBeginAllowThreads();
28777 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
28778
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
28783 return resultobj;
28784 fail:
28785 return NULL;
28786}
28787
28788
c32bde28 28789static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28790 PyObject *resultobj = NULL;
d55e5bfc
RD
28791 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
28792 PyObject *arg2 = (PyObject *) 0 ;
28793 PyObject *arg3 = (PyObject *) 0 ;
28794 PyObject * obj0 = 0 ;
28795 PyObject * obj1 = 0 ;
28796 PyObject * obj2 = 0 ;
28797 char *kwnames[] = {
28798 (char *) "self",(char *) "self",(char *) "_class", NULL
28799 };
28800
28801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28804 arg2 = obj1;
28805 arg3 = obj2;
28806 {
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 (arg1)->_setCallbackInfo(arg2,arg3);
28809
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 Py_INCREF(Py_None); resultobj = Py_None;
28814 return resultobj;
28815 fail:
28816 return NULL;
28817}
28818
28819
c32bde28 28820static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28821 PyObject *obj;
28822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28823 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
28824 Py_INCREF(obj);
28825 return Py_BuildValue((char *)"");
28826}
c32bde28 28827static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28828 PyObject *resultobj = NULL;
d55e5bfc
RD
28829 wxDataObjectComposite *result;
28830 char *kwnames[] = {
28831 NULL
28832 };
28833
28834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 result = (wxDataObjectComposite *)new wxDataObjectComposite();
28838
28839 wxPyEndAllowThreads(__tstate);
28840 if (PyErr_Occurred()) SWIG_fail;
28841 }
28842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
28843 return resultobj;
28844 fail:
28845 return NULL;
28846}
28847
28848
c32bde28 28849static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28850 PyObject *resultobj = NULL;
d55e5bfc
RD
28851 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
28852 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 28853 bool arg3 = (bool) false ;
d55e5bfc
RD
28854 PyObject * obj0 = 0 ;
28855 PyObject * obj1 = 0 ;
28856 PyObject * obj2 = 0 ;
28857 char *kwnames[] = {
28858 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28859 };
28860
28861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
28863 if (SWIG_arg_fail(1)) SWIG_fail;
28864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28865 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28866 if (obj2) {
093d3ff1 28867 {
7449af73 28868 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
28869 if (SWIG_arg_fail(3)) SWIG_fail;
28870 }
d55e5bfc
RD
28871 }
28872 {
28873 PyThreadState* __tstate = wxPyBeginAllowThreads();
28874 (arg1)->Add(arg2,arg3);
28875
28876 wxPyEndAllowThreads(__tstate);
28877 if (PyErr_Occurred()) SWIG_fail;
28878 }
28879 Py_INCREF(Py_None); resultobj = Py_None;
28880 return resultobj;
28881 fail:
28882 return NULL;
28883}
28884
28885
c32bde28 28886static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28887 PyObject *obj;
28888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28889 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
28890 Py_INCREF(obj);
28891 return Py_BuildValue((char *)"");
28892}
c32bde28 28893static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28894 PyObject *resultobj = NULL;
d55e5bfc
RD
28895 wxString const &arg1_defvalue = wxPyEmptyString ;
28896 wxString *arg1 = (wxString *) &arg1_defvalue ;
28897 wxTextDataObject *result;
ae8162c8 28898 bool temp1 = false ;
d55e5bfc
RD
28899 PyObject * obj0 = 0 ;
28900 char *kwnames[] = {
28901 (char *) "text", NULL
28902 };
28903
28904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
28905 if (obj0) {
28906 {
28907 arg1 = wxString_in_helper(obj0);
28908 if (arg1 == NULL) SWIG_fail;
ae8162c8 28909 temp1 = true;
d55e5bfc
RD
28910 }
28911 }
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
28915
28916 wxPyEndAllowThreads(__tstate);
28917 if (PyErr_Occurred()) SWIG_fail;
28918 }
28919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
28920 {
28921 if (temp1)
28922 delete arg1;
28923 }
28924 return resultobj;
28925 fail:
28926 {
28927 if (temp1)
28928 delete arg1;
28929 }
28930 return NULL;
28931}
28932
28933
c32bde28 28934static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28935 PyObject *resultobj = NULL;
d55e5bfc
RD
28936 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28937 size_t result;
28938 PyObject * obj0 = 0 ;
28939 char *kwnames[] = {
28940 (char *) "self", NULL
28941 };
28942
28943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
28944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28945 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28946 {
28947 PyThreadState* __tstate = wxPyBeginAllowThreads();
28948 result = (size_t)(arg1)->GetTextLength();
28949
28950 wxPyEndAllowThreads(__tstate);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
093d3ff1 28953 {
7449af73 28954 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28955 }
d55e5bfc
RD
28956 return resultobj;
28957 fail:
28958 return NULL;
28959}
28960
28961
c32bde28 28962static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28963 PyObject *resultobj = NULL;
d55e5bfc
RD
28964 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28965 wxString result;
28966 PyObject * obj0 = 0 ;
28967 char *kwnames[] = {
28968 (char *) "self", NULL
28969 };
28970
28971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
28972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28973 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 result = (arg1)->GetText();
28977
28978 wxPyEndAllowThreads(__tstate);
28979 if (PyErr_Occurred()) SWIG_fail;
28980 }
28981 {
28982#if wxUSE_UNICODE
28983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28984#else
28985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28986#endif
28987 }
28988 return resultobj;
28989 fail:
28990 return NULL;
28991}
28992
28993
c32bde28 28994static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28995 PyObject *resultobj = NULL;
d55e5bfc
RD
28996 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28997 wxString *arg2 = 0 ;
ae8162c8 28998 bool temp2 = false ;
d55e5bfc
RD
28999 PyObject * obj0 = 0 ;
29000 PyObject * obj1 = 0 ;
29001 char *kwnames[] = {
29002 (char *) "self",(char *) "text", NULL
29003 };
29004
29005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29008 {
29009 arg2 = wxString_in_helper(obj1);
29010 if (arg2 == NULL) SWIG_fail;
ae8162c8 29011 temp2 = true;
d55e5bfc
RD
29012 }
29013 {
29014 PyThreadState* __tstate = wxPyBeginAllowThreads();
29015 (arg1)->SetText((wxString const &)*arg2);
29016
29017 wxPyEndAllowThreads(__tstate);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 Py_INCREF(Py_None); resultobj = Py_None;
29021 {
29022 if (temp2)
29023 delete arg2;
29024 }
29025 return resultobj;
29026 fail:
29027 {
29028 if (temp2)
29029 delete arg2;
29030 }
29031 return NULL;
29032}
29033
29034
c32bde28 29035static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29036 PyObject *obj;
29037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29038 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
29039 Py_INCREF(obj);
29040 return Py_BuildValue((char *)"");
29041}
c32bde28 29042static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29043 PyObject *resultobj = NULL;
d55e5bfc
RD
29044 wxString const &arg1_defvalue = wxPyEmptyString ;
29045 wxString *arg1 = (wxString *) &arg1_defvalue ;
29046 wxPyTextDataObject *result;
ae8162c8 29047 bool temp1 = false ;
d55e5bfc
RD
29048 PyObject * obj0 = 0 ;
29049 char *kwnames[] = {
29050 (char *) "text", NULL
29051 };
29052
29053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
29054 if (obj0) {
29055 {
29056 arg1 = wxString_in_helper(obj0);
29057 if (arg1 == NULL) SWIG_fail;
ae8162c8 29058 temp1 = true;
d55e5bfc
RD
29059 }
29060 }
29061 {
29062 PyThreadState* __tstate = wxPyBeginAllowThreads();
29063 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
29064
29065 wxPyEndAllowThreads(__tstate);
29066 if (PyErr_Occurred()) SWIG_fail;
29067 }
29068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
29069 {
29070 if (temp1)
29071 delete arg1;
29072 }
29073 return resultobj;
29074 fail:
29075 {
29076 if (temp1)
29077 delete arg1;
29078 }
29079 return NULL;
29080}
29081
29082
c32bde28 29083static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29084 PyObject *resultobj = NULL;
d55e5bfc
RD
29085 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
29086 PyObject *arg2 = (PyObject *) 0 ;
29087 PyObject *arg3 = (PyObject *) 0 ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "self",(char *) "_class", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29097 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29098 arg2 = obj1;
29099 arg3 = obj2;
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->_setCallbackInfo(arg2,arg3);
29103
29104 wxPyEndAllowThreads(__tstate);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 }
29107 Py_INCREF(Py_None); resultobj = Py_None;
29108 return resultobj;
29109 fail:
29110 return NULL;
29111}
29112
29113
c32bde28 29114static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29115 PyObject *obj;
29116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29117 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
29118 Py_INCREF(obj);
29119 return Py_BuildValue((char *)"");
29120}
c32bde28 29121static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29122 PyObject *resultobj = NULL;
d55e5bfc
RD
29123 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29124 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29125 wxBitmapDataObject *result;
29126 PyObject * obj0 = 0 ;
29127 char *kwnames[] = {
29128 (char *) "bitmap", NULL
29129 };
29130
29131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
29132 if (obj0) {
093d3ff1
RD
29133 {
29134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29135 if (SWIG_arg_fail(1)) SWIG_fail;
29136 if (arg1 == NULL) {
29137 SWIG_null_ref("wxBitmap");
29138 }
29139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29140 }
29141 }
29142 {
29143 PyThreadState* __tstate = wxPyBeginAllowThreads();
29144 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
29145
29146 wxPyEndAllowThreads(__tstate);
29147 if (PyErr_Occurred()) SWIG_fail;
29148 }
29149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
29150 return resultobj;
29151 fail:
29152 return NULL;
29153}
29154
29155
c32bde28 29156static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29157 PyObject *resultobj = NULL;
d55e5bfc
RD
29158 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29159 wxBitmap result;
29160 PyObject * obj0 = 0 ;
29161 char *kwnames[] = {
29162 (char *) "self", NULL
29163 };
29164
29165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
29166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29168 {
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
29171
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 {
29176 wxBitmap * resultptr;
7449af73 29177 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
29178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
29179 }
29180 return resultobj;
29181 fail:
29182 return NULL;
29183}
29184
29185
c32bde28 29186static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29187 PyObject *resultobj = NULL;
d55e5bfc
RD
29188 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29189 wxBitmap *arg2 = 0 ;
29190 PyObject * obj0 = 0 ;
29191 PyObject * obj1 = 0 ;
29192 char *kwnames[] = {
29193 (char *) "self",(char *) "bitmap", NULL
29194 };
29195
29196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29198 if (SWIG_arg_fail(1)) SWIG_fail;
29199 {
29200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29201 if (SWIG_arg_fail(2)) SWIG_fail;
29202 if (arg2 == NULL) {
29203 SWIG_null_ref("wxBitmap");
29204 }
29205 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29206 }
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 (arg1)->SetBitmap((wxBitmap const &)*arg2);
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 Py_INCREF(Py_None); resultobj = Py_None;
29215 return resultobj;
29216 fail:
29217 return NULL;
29218}
29219
29220
c32bde28 29221static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29222 PyObject *obj;
29223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29224 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
29225 Py_INCREF(obj);
29226 return Py_BuildValue((char *)"");
29227}
c32bde28 29228static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29229 PyObject *resultobj = NULL;
d55e5bfc
RD
29230 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29231 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29232 wxPyBitmapDataObject *result;
29233 PyObject * obj0 = 0 ;
29234 char *kwnames[] = {
29235 (char *) "bitmap", NULL
29236 };
29237
29238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
29239 if (obj0) {
093d3ff1
RD
29240 {
29241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29242 if (SWIG_arg_fail(1)) SWIG_fail;
29243 if (arg1 == NULL) {
29244 SWIG_null_ref("wxBitmap");
29245 }
29246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29247 }
29248 }
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
29252
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
29257 return resultobj;
29258 fail:
29259 return NULL;
29260}
29261
29262
c32bde28 29263static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29264 PyObject *resultobj = NULL;
d55e5bfc
RD
29265 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
29266 PyObject *arg2 = (PyObject *) 0 ;
29267 PyObject *arg3 = (PyObject *) 0 ;
29268 PyObject * obj0 = 0 ;
29269 PyObject * obj1 = 0 ;
29270 PyObject * obj2 = 0 ;
29271 char *kwnames[] = {
29272 (char *) "self",(char *) "self",(char *) "_class", NULL
29273 };
29274
29275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29278 arg2 = obj1;
29279 arg3 = obj2;
29280 {
29281 PyThreadState* __tstate = wxPyBeginAllowThreads();
29282 (arg1)->_setCallbackInfo(arg2,arg3);
29283
29284 wxPyEndAllowThreads(__tstate);
29285 if (PyErr_Occurred()) SWIG_fail;
29286 }
29287 Py_INCREF(Py_None); resultobj = Py_None;
29288 return resultobj;
29289 fail:
29290 return NULL;
29291}
29292
29293
c32bde28 29294static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29295 PyObject *obj;
29296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29297 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
29298 Py_INCREF(obj);
29299 return Py_BuildValue((char *)"");
29300}
c32bde28 29301static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29302 PyObject *resultobj = NULL;
d55e5bfc
RD
29303 wxFileDataObject *result;
29304 char *kwnames[] = {
29305 NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (wxFileDataObject *)new wxFileDataObject();
29312
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
29317 return resultobj;
29318 fail:
29319 return NULL;
29320}
29321
29322
c32bde28 29323static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29324 PyObject *resultobj = NULL;
d55e5bfc
RD
29325 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29326 wxArrayString *result;
29327 PyObject * obj0 = 0 ;
29328 char *kwnames[] = {
29329 (char *) "self", NULL
29330 };
29331
29332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
29333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29335 {
29336 PyThreadState* __tstate = wxPyBeginAllowThreads();
29337 {
29338 wxArrayString const &_result_ref = (arg1)->GetFilenames();
29339 result = (wxArrayString *) &_result_ref;
29340 }
29341
29342 wxPyEndAllowThreads(__tstate);
29343 if (PyErr_Occurred()) SWIG_fail;
29344 }
29345 {
29346 resultobj = wxArrayString2PyList_helper(*result);
29347 }
29348 return resultobj;
29349 fail:
29350 return NULL;
29351}
29352
29353
c32bde28 29354static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29355 PyObject *resultobj = NULL;
d55e5bfc
RD
29356 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29357 wxString *arg2 = 0 ;
ae8162c8 29358 bool temp2 = false ;
d55e5bfc
RD
29359 PyObject * obj0 = 0 ;
29360 PyObject * obj1 = 0 ;
29361 char *kwnames[] = {
29362 (char *) "self",(char *) "filename", NULL
29363 };
29364
29365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29368 {
29369 arg2 = wxString_in_helper(obj1);
29370 if (arg2 == NULL) SWIG_fail;
ae8162c8 29371 temp2 = true;
d55e5bfc
RD
29372 }
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 (arg1)->AddFile((wxString const &)*arg2);
29376
29377 wxPyEndAllowThreads(__tstate);
29378 if (PyErr_Occurred()) SWIG_fail;
29379 }
29380 Py_INCREF(Py_None); resultobj = Py_None;
29381 {
29382 if (temp2)
29383 delete arg2;
29384 }
29385 return resultobj;
29386 fail:
29387 {
29388 if (temp2)
29389 delete arg2;
29390 }
29391 return NULL;
29392}
29393
29394
c32bde28 29395static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29396 PyObject *obj;
29397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29398 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
29399 Py_INCREF(obj);
29400 return Py_BuildValue((char *)"");
29401}
fef4c27a 29402static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
7449af73 29403 PyObject *resultobj = NULL;
fef4c27a 29404 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
29405 wxCustomDataObject *result;
29406 PyObject * obj0 = 0 ;
d55e5bfc 29407
fef4c27a
RD
29408 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29409 {
29410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
29411 if (SWIG_arg_fail(1)) SWIG_fail;
29412 if (arg1 == NULL) {
29413 SWIG_null_ref("wxDataFormat");
d55e5bfc 29414 }
fef4c27a 29415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29416 }
29417 {
29418 PyThreadState* __tstate = wxPyBeginAllowThreads();
29419 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
29420
29421 wxPyEndAllowThreads(__tstate);
29422 if (PyErr_Occurred()) SWIG_fail;
29423 }
29424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29425 return resultobj;
29426 fail:
29427 return NULL;
29428}
29429
29430
fef4c27a 29431static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
7449af73 29432 PyObject *resultobj = NULL;
fef4c27a
RD
29433 wxString *arg1 = 0 ;
29434 wxCustomDataObject *result;
29435 bool temp1 = false ;
29436 PyObject * obj0 = 0 ;
29437
29438 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29439 {
29440 arg1 = wxString_in_helper(obj0);
29441 if (arg1 == NULL) SWIG_fail;
29442 temp1 = true;
29443 }
29444 {
29445 PyThreadState* __tstate = wxPyBeginAllowThreads();
29446 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
29447
29448 wxPyEndAllowThreads(__tstate);
29449 if (PyErr_Occurred()) SWIG_fail;
29450 }
29451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29452 {
29453 if (temp1)
29454 delete arg1;
29455 }
29456 return resultobj;
29457 fail:
29458 {
29459 if (temp1)
29460 delete arg1;
29461 }
29462 return NULL;
29463}
29464
29465
29466static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
7449af73 29467 PyObject *resultobj = NULL;
fef4c27a
RD
29468 wxCustomDataObject *result;
29469
29470 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
29471 {
29472 PyThreadState* __tstate = wxPyBeginAllowThreads();
29473 result = (wxCustomDataObject *)new wxCustomDataObject();
29474
29475 wxPyEndAllowThreads(__tstate);
29476 if (PyErr_Occurred()) SWIG_fail;
29477 }
29478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29479 return resultobj;
29480 fail:
29481 return NULL;
29482}
29483
29484
29485static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
29486 int argc;
29487 PyObject *argv[2];
29488 int ii;
29489
29490 argc = PyObject_Length(args);
29491 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
29492 argv[ii] = PyTuple_GetItem(args,ii);
29493 }
29494 if (argc == 0) {
29495 return _wrap_new_CustomDataObject__SWIG_2(self,args);
29496 }
29497 if (argc == 1) {
29498 int _v;
29499 {
29500 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
29501 }
29502 if (_v) {
29503 return _wrap_new_CustomDataObject__SWIG_1(self,args);
29504 }
29505 }
29506 if (argc == 1) {
29507 int _v;
29508 {
29509 void *ptr = 0;
29510 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
29511 _v = 0;
29512 PyErr_Clear();
29513 } else {
29514 _v = (ptr != 0);
29515 }
29516 }
29517 if (_v) {
29518 return _wrap_new_CustomDataObject__SWIG_0(self,args);
29519 }
29520 }
29521
29522 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
29523 return NULL;
29524}
29525
29526
c32bde28 29527static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29528 PyObject *resultobj = NULL;
d55e5bfc
RD
29529 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29530 PyObject *arg2 = (PyObject *) 0 ;
29531 bool result;
29532 PyObject * obj0 = 0 ;
29533 PyObject * obj1 = 0 ;
29534 char *kwnames[] = {
29535 (char *) "self",(char *) "data", NULL
29536 };
29537
29538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29541 arg2 = obj1;
29542 {
29543 PyThreadState* __tstate = wxPyBeginAllowThreads();
29544 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
29545
29546 wxPyEndAllowThreads(__tstate);
29547 if (PyErr_Occurred()) SWIG_fail;
29548 }
29549 {
29550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29551 }
29552 return resultobj;
29553 fail:
29554 return NULL;
29555}
29556
29557
c32bde28 29558static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29559 PyObject *resultobj = NULL;
d55e5bfc
RD
29560 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29561 size_t result;
29562 PyObject * obj0 = 0 ;
29563 char *kwnames[] = {
29564 (char *) "self", NULL
29565 };
29566
29567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
29568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (size_t)(arg1)->GetSize();
29573
29574 wxPyEndAllowThreads(__tstate);
29575 if (PyErr_Occurred()) SWIG_fail;
29576 }
093d3ff1 29577 {
7449af73 29578 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 29579 }
d55e5bfc
RD
29580 return resultobj;
29581 fail:
29582 return NULL;
29583}
29584
29585
c32bde28 29586static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29587 PyObject *resultobj = NULL;
d55e5bfc
RD
29588 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29589 PyObject *result;
29590 PyObject * obj0 = 0 ;
29591 char *kwnames[] = {
29592 (char *) "self", NULL
29593 };
29594
29595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29597 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (PyObject *)wxCustomDataObject_GetData(arg1);
29601
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 resultobj = result;
29606 return resultobj;
29607 fail:
29608 return NULL;
29609}
29610
29611
c32bde28 29612static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29613 PyObject *obj;
29614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29615 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
29616 Py_INCREF(obj);
29617 return Py_BuildValue((char *)"");
29618}
c32bde28 29619static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29620 PyObject *resultobj = NULL;
d55e5bfc
RD
29621 wxURLDataObject *result;
29622 char *kwnames[] = {
29623 NULL
29624 };
29625
29626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
29627 {
29628 PyThreadState* __tstate = wxPyBeginAllowThreads();
29629 result = (wxURLDataObject *)new wxURLDataObject();
29630
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
29635 return resultobj;
29636 fail:
29637 return NULL;
29638}
29639
29640
c32bde28 29641static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29642 PyObject *resultobj = NULL;
d55e5bfc
RD
29643 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29644 wxString result;
29645 PyObject * obj0 = 0 ;
29646 char *kwnames[] = {
29647 (char *) "self", NULL
29648 };
29649
29650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
29651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29653 {
29654 PyThreadState* __tstate = wxPyBeginAllowThreads();
29655 result = (arg1)->GetURL();
29656
29657 wxPyEndAllowThreads(__tstate);
29658 if (PyErr_Occurred()) SWIG_fail;
29659 }
29660 {
29661#if wxUSE_UNICODE
29662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29663#else
29664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29665#endif
29666 }
29667 return resultobj;
29668 fail:
29669 return NULL;
29670}
29671
29672
c32bde28 29673static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29674 PyObject *resultobj = NULL;
d55e5bfc
RD
29675 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29676 wxString *arg2 = 0 ;
ae8162c8 29677 bool temp2 = false ;
d55e5bfc
RD
29678 PyObject * obj0 = 0 ;
29679 PyObject * obj1 = 0 ;
29680 char *kwnames[] = {
29681 (char *) "self",(char *) "url", NULL
29682 };
29683
29684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29687 {
29688 arg2 = wxString_in_helper(obj1);
29689 if (arg2 == NULL) SWIG_fail;
ae8162c8 29690 temp2 = true;
d55e5bfc
RD
29691 }
29692 {
29693 PyThreadState* __tstate = wxPyBeginAllowThreads();
29694 (arg1)->SetURL((wxString const &)*arg2);
29695
29696 wxPyEndAllowThreads(__tstate);
29697 if (PyErr_Occurred()) SWIG_fail;
29698 }
29699 Py_INCREF(Py_None); resultobj = Py_None;
29700 {
29701 if (temp2)
29702 delete arg2;
29703 }
29704 return resultobj;
29705 fail:
29706 {
29707 if (temp2)
29708 delete arg2;
29709 }
29710 return NULL;
29711}
29712
29713
c32bde28 29714static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29715 PyObject *obj;
29716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29717 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
29718 Py_INCREF(obj);
29719 return Py_BuildValue((char *)"");
29720}
c32bde28 29721static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29722 PyObject *resultobj = NULL;
d55e5bfc
RD
29723 wxMetafileDataObject *result;
29724 char *kwnames[] = {
29725 NULL
29726 };
29727
29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
29729 {
29730 PyThreadState* __tstate = wxPyBeginAllowThreads();
29731 result = (wxMetafileDataObject *)new wxMetafileDataObject();
29732
29733 wxPyEndAllowThreads(__tstate);
29734 if (PyErr_Occurred()) SWIG_fail;
29735 }
29736 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
29737 return resultobj;
29738 fail:
29739 return NULL;
29740}
29741
29742
c32bde28 29743static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29744 PyObject *resultobj = NULL;
d55e5bfc
RD
29745 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29746 wxMetafile *arg2 = 0 ;
29747 PyObject * obj0 = 0 ;
29748 PyObject * obj1 = 0 ;
29749 char *kwnames[] = {
29750 (char *) "self",(char *) "metafile", NULL
29751 };
29752
29753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29756 {
093d3ff1
RD
29757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
29758 if (SWIG_arg_fail(2)) SWIG_fail;
29759 if (arg2 == NULL) {
29760 SWIG_null_ref("wxMetafile");
29761 }
29762 if (SWIG_arg_fail(2)) SWIG_fail;
29763 }
29764 {
29765 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
29766 (arg1)->SetMetafile((wxMetafile const &)*arg2);
29767
29768 wxPyEndAllowThreads(__tstate);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 Py_INCREF(Py_None); resultobj = Py_None;
29772 return resultobj;
29773 fail:
29774 return NULL;
29775}
29776
29777
c32bde28 29778static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29779 PyObject *resultobj = NULL;
d55e5bfc
RD
29780 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29781 wxMetafile result;
29782 PyObject * obj0 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
093d3ff1
RD
29788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29790 {
29791 PyThreadState* __tstate = wxPyBeginAllowThreads();
29792 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
29793
29794 wxPyEndAllowThreads(__tstate);
29795 if (PyErr_Occurred()) SWIG_fail;
29796 }
29797 {
29798 wxMetafile * resultptr;
7449af73 29799 resultptr = new wxMetafile(static_cast<wxMetafile & >(result));
d55e5bfc
RD
29800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
29801 }
29802 return resultobj;
29803 fail:
29804 return NULL;
29805}
29806
29807
c32bde28 29808static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29809 PyObject *obj;
29810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29811 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
29812 Py_INCREF(obj);
29813 return Py_BuildValue((char *)"");
29814}
c32bde28 29815static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29816 PyObject *resultobj = NULL;
093d3ff1 29817 wxDragResult arg1 ;
d55e5bfc
RD
29818 bool result;
29819 PyObject * obj0 = 0 ;
29820 char *kwnames[] = {
29821 (char *) "res", NULL
29822 };
29823
29824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1 29825 {
7449af73 29826 arg1 = static_cast<wxDragResult >(SWIG_As_int(obj0));
093d3ff1
RD
29827 if (SWIG_arg_fail(1)) SWIG_fail;
29828 }
d55e5bfc
RD
29829 {
29830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 29831 result = (bool)wxIsDragResultOk(arg1);
d55e5bfc
RD
29832
29833 wxPyEndAllowThreads(__tstate);
29834 if (PyErr_Occurred()) SWIG_fail;
29835 }
29836 {
29837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29838 }
29839 return resultobj;
29840 fail:
29841 return NULL;
29842}
29843
29844
c32bde28 29845static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29846 PyObject *resultobj = NULL;
d55e5bfc
RD
29847 wxWindow *arg1 = (wxWindow *) 0 ;
29848 wxCursor const &arg2_defvalue = wxNullCursor ;
29849 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29850 wxCursor const &arg3_defvalue = wxNullCursor ;
29851 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
29852 wxCursor const &arg4_defvalue = wxNullCursor ;
29853 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
29854 wxPyDropSource *result;
29855 PyObject * obj0 = 0 ;
29856 PyObject * obj1 = 0 ;
29857 PyObject * obj2 = 0 ;
29858 PyObject * obj3 = 0 ;
29859 char *kwnames[] = {
29860 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29861 };
29862
29863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29866 if (obj1) {
093d3ff1
RD
29867 {
29868 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29869 if (SWIG_arg_fail(2)) SWIG_fail;
29870 if (arg2 == NULL) {
29871 SWIG_null_ref("wxCursor");
29872 }
29873 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29874 }
29875 }
29876 if (obj2) {
093d3ff1
RD
29877 {
29878 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(3)) SWIG_fail;
29880 if (arg3 == NULL) {
29881 SWIG_null_ref("wxCursor");
29882 }
29883 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29884 }
29885 }
29886 if (obj3) {
093d3ff1
RD
29887 {
29888 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29889 if (SWIG_arg_fail(4)) SWIG_fail;
29890 if (arg4 == NULL) {
29891 SWIG_null_ref("wxCursor");
29892 }
29893 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
29894 }
29895 }
29896 {
29897 PyThreadState* __tstate = wxPyBeginAllowThreads();
29898 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
29899
29900 wxPyEndAllowThreads(__tstate);
29901 if (PyErr_Occurred()) SWIG_fail;
29902 }
29903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
29904 return resultobj;
29905 fail:
29906 return NULL;
29907}
29908
29909
c32bde28 29910static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29911 PyObject *resultobj = NULL;
d55e5bfc
RD
29912 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29913 PyObject *arg2 = (PyObject *) 0 ;
29914 PyObject *arg3 = (PyObject *) 0 ;
29915 int arg4 ;
29916 PyObject * obj0 = 0 ;
29917 PyObject * obj1 = 0 ;
29918 PyObject * obj2 = 0 ;
29919 PyObject * obj3 = 0 ;
29920 char *kwnames[] = {
29921 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29922 };
29923
29924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29927 arg2 = obj1;
29928 arg3 = obj2;
093d3ff1 29929 {
7449af73 29930 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
29931 if (SWIG_arg_fail(4)) SWIG_fail;
29932 }
d55e5bfc
RD
29933 {
29934 PyThreadState* __tstate = wxPyBeginAllowThreads();
29935 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29936
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
29940 Py_INCREF(Py_None); resultobj = Py_None;
29941 return resultobj;
29942 fail:
29943 return NULL;
29944}
29945
29946
c32bde28 29947static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29948 PyObject *resultobj = NULL;
d55e5bfc
RD
29949 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29950 PyObject * obj0 = 0 ;
29951 char *kwnames[] = {
29952 (char *) "self", NULL
29953 };
29954
29955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
29956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 delete arg1;
29961
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 Py_INCREF(Py_None); resultobj = Py_None;
29966 return resultobj;
29967 fail:
29968 return NULL;
29969}
29970
29971
c32bde28 29972static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29973 PyObject *resultobj = NULL;
d55e5bfc
RD
29974 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29975 wxDataObject *arg2 = 0 ;
29976 PyObject * obj0 = 0 ;
29977 PyObject * obj1 = 0 ;
29978 char *kwnames[] = {
29979 (char *) "self",(char *) "data", NULL
29980 };
29981
29982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail;
29985 {
29986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail;
29988 if (arg2 == NULL) {
29989 SWIG_null_ref("wxDataObject");
29990 }
29991 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29992 }
29993 {
29994 PyThreadState* __tstate = wxPyBeginAllowThreads();
29995 (arg1)->SetData(*arg2);
29996
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 Py_INCREF(Py_None); resultobj = Py_None;
30001 return resultobj;
30002 fail:
30003 return NULL;
30004}
30005
30006
c32bde28 30007static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30008 PyObject *resultobj = NULL;
d55e5bfc
RD
30009 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30010 wxDataObject *result;
30011 PyObject * obj0 = 0 ;
30012 char *kwnames[] = {
30013 (char *) "self", NULL
30014 };
30015
30016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
30017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (wxDataObject *)(arg1)->GetDataObject();
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30027 return resultobj;
30028 fail:
30029 return NULL;
30030}
30031
30032
c32bde28 30033static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30034 PyObject *resultobj = NULL;
d55e5bfc 30035 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 30036 wxDragResult arg2 ;
d55e5bfc
RD
30037 wxCursor *arg3 = 0 ;
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 PyObject * obj2 = 0 ;
30041 char *kwnames[] = {
30042 (char *) "self",(char *) "res",(char *) "cursor", NULL
30043 };
30044
30045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30047 if (SWIG_arg_fail(1)) SWIG_fail;
30048 {
7449af73 30049 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
093d3ff1
RD
30050 if (SWIG_arg_fail(2)) SWIG_fail;
30051 }
30052 {
30053 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30054 if (SWIG_arg_fail(3)) SWIG_fail;
30055 if (arg3 == NULL) {
30056 SWIG_null_ref("wxCursor");
30057 }
30058 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30059 }
30060 {
30061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30062 (arg1)->SetCursor(arg2,(wxCursor const &)*arg3);
d55e5bfc
RD
30063
30064 wxPyEndAllowThreads(__tstate);
30065 if (PyErr_Occurred()) SWIG_fail;
30066 }
30067 Py_INCREF(Py_None); resultobj = Py_None;
30068 return resultobj;
30069 fail:
30070 return NULL;
30071}
30072
30073
c32bde28 30074static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30075 PyObject *resultobj = NULL;
d55e5bfc
RD
30076 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30077 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 30078 wxDragResult result;
d55e5bfc
RD
30079 PyObject * obj0 = 0 ;
30080 PyObject * obj1 = 0 ;
30081 char *kwnames[] = {
30082 (char *) "self",(char *) "flags", NULL
30083 };
30084
30085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30088 if (obj1) {
093d3ff1 30089 {
7449af73 30090 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30091 if (SWIG_arg_fail(2)) SWIG_fail;
30092 }
d55e5bfc
RD
30093 }
30094 {
30095 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30096 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
30097
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
093d3ff1 30101 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30102 return resultobj;
30103 fail:
30104 return NULL;
30105}
30106
30107
b06b3e70 30108static PyObject *_wrap_DropSource_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30109 PyObject *resultobj = NULL;
d55e5bfc 30110 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 30111 wxDragResult arg2 ;
d55e5bfc
RD
30112 bool result;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 char *kwnames[] = {
30116 (char *) "self",(char *) "effect", NULL
30117 };
30118
b06b3e70 30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30121 if (SWIG_arg_fail(1)) SWIG_fail;
30122 {
7449af73 30123 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
093d3ff1
RD
30124 if (SWIG_arg_fail(2)) SWIG_fail;
30125 }
d55e5bfc
RD
30126 {
30127 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30128 result = (bool)(arg1)->GiveFeedback(arg2);
d55e5bfc
RD
30129
30130 wxPyEndAllowThreads(__tstate);
30131 if (PyErr_Occurred()) SWIG_fail;
30132 }
30133 {
30134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30135 }
30136 return resultobj;
30137 fail:
30138 return NULL;
30139}
30140
30141
c32bde28 30142static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30143 PyObject *obj;
30144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30145 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
30146 Py_INCREF(obj);
30147 return Py_BuildValue((char *)"");
30148}
c32bde28 30149static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30150 PyObject *resultobj = NULL;
d55e5bfc
RD
30151 wxDataObject *arg1 = (wxDataObject *) NULL ;
30152 wxPyDropTarget *result;
30153 PyObject * obj0 = 0 ;
30154 char *kwnames[] = {
30155 (char *) "dataObject", NULL
30156 };
30157
30158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
30159 if (obj0) {
093d3ff1
RD
30160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30162 }
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
30165 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
30166
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
30171 return resultobj;
30172 fail:
30173 return NULL;
30174}
30175
30176
c32bde28 30177static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30178 PyObject *resultobj = NULL;
d55e5bfc
RD
30179 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30180 PyObject *arg2 = (PyObject *) 0 ;
30181 PyObject *arg3 = (PyObject *) 0 ;
30182 PyObject * obj0 = 0 ;
30183 PyObject * obj1 = 0 ;
30184 PyObject * obj2 = 0 ;
30185 char *kwnames[] = {
30186 (char *) "self",(char *) "self",(char *) "_class", NULL
30187 };
30188
30189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30192 arg2 = obj1;
30193 arg3 = obj2;
30194 {
30195 PyThreadState* __tstate = wxPyBeginAllowThreads();
30196 (arg1)->_setCallbackInfo(arg2,arg3);
30197
30198 wxPyEndAllowThreads(__tstate);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
30201 Py_INCREF(Py_None); resultobj = Py_None;
30202 return resultobj;
30203 fail:
30204 return NULL;
30205}
30206
30207
c32bde28 30208static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30209 PyObject *resultobj = NULL;
d55e5bfc
RD
30210 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30211 PyObject * obj0 = 0 ;
30212 char *kwnames[] = {
30213 (char *) "self", NULL
30214 };
30215
30216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
30217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30219 {
30220 PyThreadState* __tstate = wxPyBeginAllowThreads();
30221 delete arg1;
30222
30223 wxPyEndAllowThreads(__tstate);
30224 if (PyErr_Occurred()) SWIG_fail;
30225 }
30226 Py_INCREF(Py_None); resultobj = Py_None;
30227 return resultobj;
30228 fail:
30229 return NULL;
30230}
30231
30232
c32bde28 30233static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30234 PyObject *resultobj = NULL;
d55e5bfc
RD
30235 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30236 wxDataObject *result;
30237 PyObject * obj0 = 0 ;
30238 char *kwnames[] = {
30239 (char *) "self", NULL
30240 };
30241
30242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
30243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30245 {
30246 PyThreadState* __tstate = wxPyBeginAllowThreads();
30247 result = (wxDataObject *)(arg1)->GetDataObject();
30248
30249 wxPyEndAllowThreads(__tstate);
30250 if (PyErr_Occurred()) SWIG_fail;
30251 }
30252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30253 return resultobj;
30254 fail:
30255 return NULL;
30256}
30257
30258
c32bde28 30259static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30260 PyObject *resultobj = NULL;
d55e5bfc
RD
30261 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30262 wxDataObject *arg2 = (wxDataObject *) 0 ;
30263 PyObject * obj0 = 0 ;
30264 PyObject * obj1 = 0 ;
30265 char *kwnames[] = {
30266 (char *) "self",(char *) "dataObject", NULL
30267 };
30268
30269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30271 if (SWIG_arg_fail(1)) SWIG_fail;
30272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30273 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 (arg1)->SetDataObject(arg2);
30277
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 Py_INCREF(Py_None); resultobj = Py_None;
30282 return resultobj;
30283 fail:
30284 return NULL;
30285}
30286
30287
b06b3e70 30288static PyObject *_wrap_DropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30289 PyObject *resultobj = NULL;
d55e5bfc
RD
30290 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30291 int arg2 ;
30292 int arg3 ;
093d3ff1
RD
30293 wxDragResult arg4 ;
30294 wxDragResult result;
d55e5bfc
RD
30295 PyObject * obj0 = 0 ;
30296 PyObject * obj1 = 0 ;
30297 PyObject * obj2 = 0 ;
30298 PyObject * obj3 = 0 ;
30299 char *kwnames[] = {
30300 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30301 };
30302
b06b3e70 30303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30305 if (SWIG_arg_fail(1)) SWIG_fail;
30306 {
7449af73 30307 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30308 if (SWIG_arg_fail(2)) SWIG_fail;
30309 }
30310 {
7449af73 30311 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30312 if (SWIG_arg_fail(3)) SWIG_fail;
30313 }
30314 {
7449af73 30315 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30316 if (SWIG_arg_fail(4)) SWIG_fail;
30317 }
d55e5bfc
RD
30318 {
30319 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30320 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30321
30322 wxPyEndAllowThreads(__tstate);
30323 if (PyErr_Occurred()) SWIG_fail;
30324 }
093d3ff1 30325 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30326 return resultobj;
30327 fail:
30328 return NULL;
30329}
30330
30331
b06b3e70 30332static PyObject *_wrap_DropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30333 PyObject *resultobj = NULL;
d55e5bfc
RD
30334 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30335 int arg2 ;
30336 int arg3 ;
093d3ff1
RD
30337 wxDragResult arg4 ;
30338 wxDragResult result;
d55e5bfc
RD
30339 PyObject * obj0 = 0 ;
30340 PyObject * obj1 = 0 ;
30341 PyObject * obj2 = 0 ;
30342 PyObject * obj3 = 0 ;
30343 char *kwnames[] = {
30344 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30345 };
30346
b06b3e70 30347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30349 if (SWIG_arg_fail(1)) SWIG_fail;
30350 {
7449af73 30351 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30352 if (SWIG_arg_fail(2)) SWIG_fail;
30353 }
30354 {
7449af73 30355 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30356 if (SWIG_arg_fail(3)) SWIG_fail;
30357 }
30358 {
7449af73 30359 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30360 if (SWIG_arg_fail(4)) SWIG_fail;
30361 }
d55e5bfc
RD
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30364 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30365
30366 wxPyEndAllowThreads(__tstate);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
093d3ff1 30369 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30370 return resultobj;
30371 fail:
30372 return NULL;
30373}
30374
30375
b06b3e70 30376static PyObject *_wrap_DropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30377 PyObject *resultobj = NULL;
d55e5bfc
RD
30378 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30379 PyObject * obj0 = 0 ;
30380 char *kwnames[] = {
30381 (char *) "self", NULL
30382 };
30383
b06b3e70 30384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
30385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30387 {
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30389 (arg1)->OnLeave();
d55e5bfc
RD
30390
30391 wxPyEndAllowThreads(__tstate);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 }
30394 Py_INCREF(Py_None); resultobj = Py_None;
30395 return resultobj;
30396 fail:
30397 return NULL;
30398}
30399
30400
b06b3e70 30401static PyObject *_wrap_DropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30402 PyObject *resultobj = NULL;
d55e5bfc
RD
30403 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30404 int arg2 ;
30405 int arg3 ;
30406 bool result;
30407 PyObject * obj0 = 0 ;
30408 PyObject * obj1 = 0 ;
30409 PyObject * obj2 = 0 ;
30410 char *kwnames[] = {
30411 (char *) "self",(char *) "x",(char *) "y", NULL
30412 };
30413
b06b3e70 30414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30416 if (SWIG_arg_fail(1)) SWIG_fail;
30417 {
7449af73 30418 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30419 if (SWIG_arg_fail(2)) SWIG_fail;
30420 }
30421 {
7449af73 30422 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30423 if (SWIG_arg_fail(3)) SWIG_fail;
30424 }
d55e5bfc
RD
30425 {
30426 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30427 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30428
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 {
30433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30434 }
30435 return resultobj;
30436 fail:
30437 return NULL;
30438}
30439
30440
c32bde28 30441static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30442 PyObject *resultobj = NULL;
d55e5bfc
RD
30443 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30444 bool result;
30445 PyObject * obj0 = 0 ;
30446 char *kwnames[] = {
30447 (char *) "self", NULL
30448 };
30449
30450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
30451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30452 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30453 {
30454 PyThreadState* __tstate = wxPyBeginAllowThreads();
30455 result = (bool)(arg1)->GetData();
30456
30457 wxPyEndAllowThreads(__tstate);
30458 if (PyErr_Occurred()) SWIG_fail;
30459 }
30460 {
30461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30462 }
30463 return resultobj;
30464 fail:
30465 return NULL;
30466}
30467
30468
0c549c5f 30469static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30470 PyObject *resultobj = NULL;
0c549c5f
RD
30471 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30472 wxDragResult arg2 ;
30473 PyObject * obj0 = 0 ;
30474 PyObject * obj1 = 0 ;
30475 char *kwnames[] = {
30476 (char *) "self",(char *) "action", NULL
30477 };
30478
30479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
30480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail;
30482 {
7449af73 30483 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
0c549c5f
RD
30484 if (SWIG_arg_fail(2)) SWIG_fail;
30485 }
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30488 (arg1)->SetDefaultAction(arg2);
0c549c5f
RD
30489
30490 wxPyEndAllowThreads(__tstate);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 Py_INCREF(Py_None); resultobj = Py_None;
30494 return resultobj;
30495 fail:
30496 return NULL;
30497}
30498
30499
30500static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30501 PyObject *resultobj = NULL;
0c549c5f
RD
30502 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30503 wxDragResult result;
30504 PyObject * obj0 = 0 ;
30505 char *kwnames[] = {
30506 (char *) "self", NULL
30507 };
30508
30509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
30510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail;
30512 {
30513 PyThreadState* __tstate = wxPyBeginAllowThreads();
30514 result = (wxDragResult)(arg1)->GetDefaultAction();
30515
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 resultobj = SWIG_From_int((result));
30520 return resultobj;
30521 fail:
30522 return NULL;
30523}
30524
30525
c32bde28 30526static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30527 PyObject *obj;
30528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30529 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
30530 Py_INCREF(obj);
30531 return Py_BuildValue((char *)"");
30532}
c32bde28 30533static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30534 PyObject *resultobj = NULL;
d55e5bfc
RD
30535 wxPyTextDropTarget *result;
30536 char *kwnames[] = {
30537 NULL
30538 };
30539
30540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
30544
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
30549 return resultobj;
30550 fail:
30551 return NULL;
30552}
30553
30554
c32bde28 30555static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30556 PyObject *resultobj = NULL;
d55e5bfc
RD
30557 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30558 PyObject *arg2 = (PyObject *) 0 ;
30559 PyObject *arg3 = (PyObject *) 0 ;
30560 PyObject * obj0 = 0 ;
30561 PyObject * obj1 = 0 ;
30562 PyObject * obj2 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "self",(char *) "_class", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30570 arg2 = obj1;
30571 arg3 = obj2;
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->_setCallbackInfo(arg2,arg3);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 Py_INCREF(Py_None); resultobj = Py_None;
30580 return resultobj;
30581 fail:
30582 return NULL;
30583}
30584
30585
b06b3e70
RD
30586static PyObject *_wrap_TextDropTarget_OnDropText(PyObject *, PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj = NULL;
30588 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30589 int arg2 ;
30590 int arg3 ;
30591 wxString *arg4 = 0 ;
30592 bool result;
30593 bool temp4 = false ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 PyObject * obj2 = 0 ;
30597 PyObject * obj3 = 0 ;
30598 char *kwnames[] = {
30599 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30600 };
30601
30602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30604 if (SWIG_arg_fail(1)) SWIG_fail;
30605 {
30606 arg2 = static_cast<int >(SWIG_As_int(obj1));
30607 if (SWIG_arg_fail(2)) SWIG_fail;
30608 }
30609 {
30610 arg3 = static_cast<int >(SWIG_As_int(obj2));
30611 if (SWIG_arg_fail(3)) SWIG_fail;
30612 }
30613 {
30614 arg4 = wxString_in_helper(obj3);
30615 if (arg4 == NULL) SWIG_fail;
30616 temp4 = true;
30617 }
30618 {
30619 PyThreadState* __tstate = wxPyBeginAllowThreads();
30620 result = (bool)(arg1)->OnDropText(arg2,arg3,(wxString const &)*arg4);
30621
30622 wxPyEndAllowThreads(__tstate);
30623 if (PyErr_Occurred()) SWIG_fail;
30624 }
30625 {
30626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30627 }
30628 {
30629 if (temp4)
30630 delete arg4;
30631 }
30632 return resultobj;
30633 fail:
30634 {
30635 if (temp4)
30636 delete arg4;
30637 }
30638 return NULL;
30639}
30640
30641
30642static PyObject *_wrap_TextDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30643 PyObject *resultobj = NULL;
d55e5bfc
RD
30644 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30645 int arg2 ;
30646 int arg3 ;
093d3ff1
RD
30647 wxDragResult arg4 ;
30648 wxDragResult result;
d55e5bfc
RD
30649 PyObject * obj0 = 0 ;
30650 PyObject * obj1 = 0 ;
30651 PyObject * obj2 = 0 ;
30652 PyObject * obj3 = 0 ;
30653 char *kwnames[] = {
30654 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30655 };
30656
b06b3e70 30657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30659 if (SWIG_arg_fail(1)) SWIG_fail;
30660 {
7449af73 30661 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30662 if (SWIG_arg_fail(2)) SWIG_fail;
30663 }
30664 {
7449af73 30665 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30666 if (SWIG_arg_fail(3)) SWIG_fail;
30667 }
30668 {
7449af73 30669 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30670 if (SWIG_arg_fail(4)) SWIG_fail;
30671 }
d55e5bfc
RD
30672 {
30673 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30674 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30675
30676 wxPyEndAllowThreads(__tstate);
30677 if (PyErr_Occurred()) SWIG_fail;
30678 }
093d3ff1 30679 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30680 return resultobj;
30681 fail:
30682 return NULL;
30683}
30684
30685
b06b3e70 30686static PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30687 PyObject *resultobj = NULL;
d55e5bfc
RD
30688 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30689 int arg2 ;
30690 int arg3 ;
093d3ff1
RD
30691 wxDragResult arg4 ;
30692 wxDragResult result;
d55e5bfc
RD
30693 PyObject * obj0 = 0 ;
30694 PyObject * obj1 = 0 ;
30695 PyObject * obj2 = 0 ;
30696 PyObject * obj3 = 0 ;
30697 char *kwnames[] = {
30698 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30699 };
30700
b06b3e70 30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30703 if (SWIG_arg_fail(1)) SWIG_fail;
30704 {
7449af73 30705 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30706 if (SWIG_arg_fail(2)) SWIG_fail;
30707 }
30708 {
7449af73 30709 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30710 if (SWIG_arg_fail(3)) SWIG_fail;
30711 }
30712 {
7449af73 30713 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30714 if (SWIG_arg_fail(4)) SWIG_fail;
30715 }
d55e5bfc
RD
30716 {
30717 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30718 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30719
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
093d3ff1 30723 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30724 return resultobj;
30725 fail:
30726 return NULL;
30727}
30728
30729
b06b3e70 30730static PyObject *_wrap_TextDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30731 PyObject *resultobj = NULL;
d55e5bfc
RD
30732 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30733 PyObject * obj0 = 0 ;
30734 char *kwnames[] = {
30735 (char *) "self", NULL
30736 };
30737
b06b3e70 30738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
30739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30741 {
30742 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30743 (arg1)->OnLeave();
d55e5bfc
RD
30744
30745 wxPyEndAllowThreads(__tstate);
30746 if (PyErr_Occurred()) SWIG_fail;
30747 }
30748 Py_INCREF(Py_None); resultobj = Py_None;
30749 return resultobj;
30750 fail:
30751 return NULL;
30752}
30753
30754
b06b3e70 30755static PyObject *_wrap_TextDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30756 PyObject *resultobj = NULL;
d55e5bfc
RD
30757 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30758 int arg2 ;
30759 int arg3 ;
30760 bool result;
30761 PyObject * obj0 = 0 ;
30762 PyObject * obj1 = 0 ;
30763 PyObject * obj2 = 0 ;
30764 char *kwnames[] = {
30765 (char *) "self",(char *) "x",(char *) "y", NULL
30766 };
30767
b06b3e70 30768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30770 if (SWIG_arg_fail(1)) SWIG_fail;
30771 {
7449af73 30772 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30773 if (SWIG_arg_fail(2)) SWIG_fail;
30774 }
30775 {
7449af73 30776 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30777 if (SWIG_arg_fail(3)) SWIG_fail;
30778 }
d55e5bfc
RD
30779 {
30780 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30781 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30782
30783 wxPyEndAllowThreads(__tstate);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 {
30787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30788 }
30789 return resultobj;
30790 fail:
30791 return NULL;
30792}
30793
30794
b06b3e70 30795static PyObject *_wrap_TextDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30796 PyObject *resultobj = NULL;
d55e5bfc
RD
30797 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30798 int arg2 ;
30799 int arg3 ;
093d3ff1
RD
30800 wxDragResult arg4 ;
30801 wxDragResult result;
d55e5bfc
RD
30802 PyObject * obj0 = 0 ;
30803 PyObject * obj1 = 0 ;
30804 PyObject * obj2 = 0 ;
30805 PyObject * obj3 = 0 ;
30806 char *kwnames[] = {
30807 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30808 };
30809
b06b3e70 30810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30812 if (SWIG_arg_fail(1)) SWIG_fail;
30813 {
7449af73 30814 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30815 if (SWIG_arg_fail(2)) SWIG_fail;
30816 }
30817 {
7449af73 30818 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30819 if (SWIG_arg_fail(3)) SWIG_fail;
30820 }
30821 {
7449af73 30822 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30823 if (SWIG_arg_fail(4)) SWIG_fail;
30824 }
d55e5bfc
RD
30825 {
30826 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30827 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
30828
30829 wxPyEndAllowThreads(__tstate);
30830 if (PyErr_Occurred()) SWIG_fail;
30831 }
093d3ff1 30832 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30833 return resultobj;
30834 fail:
30835 return NULL;
30836}
30837
30838
c32bde28 30839static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30840 PyObject *obj;
30841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30842 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
30843 Py_INCREF(obj);
30844 return Py_BuildValue((char *)"");
30845}
c32bde28 30846static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30847 PyObject *resultobj = NULL;
d55e5bfc
RD
30848 wxPyFileDropTarget *result;
30849 char *kwnames[] = {
30850 NULL
30851 };
30852
30853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
30854 {
30855 PyThreadState* __tstate = wxPyBeginAllowThreads();
30856 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
30857
30858 wxPyEndAllowThreads(__tstate);
30859 if (PyErr_Occurred()) SWIG_fail;
30860 }
30861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
30862 return resultobj;
30863 fail:
30864 return NULL;
30865}
30866
30867
c32bde28 30868static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30869 PyObject *resultobj = NULL;
d55e5bfc
RD
30870 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30871 PyObject *arg2 = (PyObject *) 0 ;
30872 PyObject *arg3 = (PyObject *) 0 ;
30873 PyObject * obj0 = 0 ;
30874 PyObject * obj1 = 0 ;
30875 PyObject * obj2 = 0 ;
30876 char *kwnames[] = {
30877 (char *) "self",(char *) "self",(char *) "_class", NULL
30878 };
30879
30880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30882 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30883 arg2 = obj1;
30884 arg3 = obj2;
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
30887 (arg1)->_setCallbackInfo(arg2,arg3);
30888
30889 wxPyEndAllowThreads(__tstate);
30890 if (PyErr_Occurred()) SWIG_fail;
30891 }
30892 Py_INCREF(Py_None); resultobj = Py_None;
30893 return resultobj;
30894 fail:
30895 return NULL;
30896}
30897
30898
b06b3e70
RD
30899static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) {
30900 PyObject *resultobj = NULL;
30901 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30902 int arg2 ;
30903 int arg3 ;
30904 wxArrayString *arg4 = 0 ;
30905 bool result;
30906 bool temp4 = false ;
30907 PyObject * obj0 = 0 ;
30908 PyObject * obj1 = 0 ;
30909 PyObject * obj2 = 0 ;
30910 PyObject * obj3 = 0 ;
30911 char *kwnames[] = {
30912 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30913 };
30914
30915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30917 if (SWIG_arg_fail(1)) SWIG_fail;
30918 {
30919 arg2 = static_cast<int >(SWIG_As_int(obj1));
30920 if (SWIG_arg_fail(2)) SWIG_fail;
30921 }
30922 {
30923 arg3 = static_cast<int >(SWIG_As_int(obj2));
30924 if (SWIG_arg_fail(3)) SWIG_fail;
30925 }
30926 {
30927 if (! PySequence_Check(obj3)) {
30928 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
30929 SWIG_fail;
30930 }
30931 arg4 = new wxArrayString;
30932 temp4 = true;
30933 int i, len=PySequence_Length(obj3);
30934 for (i=0; i<len; i++) {
30935 PyObject* item = PySequence_GetItem(obj3, i);
30936 wxString* s = wxString_in_helper(item);
30937 if (PyErr_Occurred()) SWIG_fail;
30938 arg4->Add(*s);
30939 delete s;
30940 Py_DECREF(item);
30941 }
30942 }
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4);
30946
30947 wxPyEndAllowThreads(__tstate);
30948 if (PyErr_Occurred()) SWIG_fail;
30949 }
30950 {
30951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30952 }
30953 {
30954 if (temp4) delete arg4;
30955 }
30956 return resultobj;
30957 fail:
30958 {
30959 if (temp4) delete arg4;
30960 }
30961 return NULL;
30962}
30963
30964
30965static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30966 PyObject *resultobj = NULL;
d55e5bfc
RD
30967 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30968 int arg2 ;
30969 int arg3 ;
093d3ff1
RD
30970 wxDragResult arg4 ;
30971 wxDragResult result;
d55e5bfc
RD
30972 PyObject * obj0 = 0 ;
30973 PyObject * obj1 = 0 ;
30974 PyObject * obj2 = 0 ;
30975 PyObject * obj3 = 0 ;
30976 char *kwnames[] = {
30977 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30978 };
30979
b06b3e70 30980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30982 if (SWIG_arg_fail(1)) SWIG_fail;
30983 {
7449af73 30984 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30985 if (SWIG_arg_fail(2)) SWIG_fail;
30986 }
30987 {
7449af73 30988 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30989 if (SWIG_arg_fail(3)) SWIG_fail;
30990 }
30991 {
7449af73 30992 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30993 if (SWIG_arg_fail(4)) SWIG_fail;
30994 }
d55e5bfc
RD
30995 {
30996 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30997 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30998
30999 wxPyEndAllowThreads(__tstate);
31000 if (PyErr_Occurred()) SWIG_fail;
31001 }
093d3ff1 31002 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31003 return resultobj;
31004 fail:
31005 return NULL;
31006}
31007
31008
b06b3e70 31009static PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31010 PyObject *resultobj = NULL;
d55e5bfc
RD
31011 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31012 int arg2 ;
31013 int arg3 ;
093d3ff1
RD
31014 wxDragResult arg4 ;
31015 wxDragResult result;
d55e5bfc
RD
31016 PyObject * obj0 = 0 ;
31017 PyObject * obj1 = 0 ;
31018 PyObject * obj2 = 0 ;
31019 PyObject * obj3 = 0 ;
31020 char *kwnames[] = {
31021 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31022 };
31023
b06b3e70 31024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31026 if (SWIG_arg_fail(1)) SWIG_fail;
31027 {
7449af73 31028 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31029 if (SWIG_arg_fail(2)) SWIG_fail;
31030 }
31031 {
7449af73 31032 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31033 if (SWIG_arg_fail(3)) SWIG_fail;
31034 }
31035 {
7449af73 31036 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
31037 if (SWIG_arg_fail(4)) SWIG_fail;
31038 }
d55e5bfc
RD
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31041 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
093d3ff1 31046 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31047 return resultobj;
31048 fail:
31049 return NULL;
31050}
31051
31052
b06b3e70 31053static PyObject *_wrap_FileDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31054 PyObject *resultobj = NULL;
d55e5bfc
RD
31055 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31056 PyObject * obj0 = 0 ;
31057 char *kwnames[] = {
31058 (char *) "self", NULL
31059 };
31060
b06b3e70 31061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
31062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31064 {
31065 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31066 (arg1)->OnLeave();
d55e5bfc
RD
31067
31068 wxPyEndAllowThreads(__tstate);
31069 if (PyErr_Occurred()) SWIG_fail;
31070 }
31071 Py_INCREF(Py_None); resultobj = Py_None;
31072 return resultobj;
31073 fail:
31074 return NULL;
31075}
31076
31077
b06b3e70 31078static PyObject *_wrap_FileDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31079 PyObject *resultobj = NULL;
d55e5bfc
RD
31080 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31081 int arg2 ;
31082 int arg3 ;
31083 bool result;
31084 PyObject * obj0 = 0 ;
31085 PyObject * obj1 = 0 ;
31086 PyObject * obj2 = 0 ;
31087 char *kwnames[] = {
31088 (char *) "self",(char *) "x",(char *) "y", NULL
31089 };
31090
b06b3e70 31091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31093 if (SWIG_arg_fail(1)) SWIG_fail;
31094 {
7449af73 31095 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31096 if (SWIG_arg_fail(2)) SWIG_fail;
31097 }
31098 {
7449af73 31099 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31100 if (SWIG_arg_fail(3)) SWIG_fail;
31101 }
d55e5bfc
RD
31102 {
31103 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31104 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
31105
31106 wxPyEndAllowThreads(__tstate);
31107 if (PyErr_Occurred()) SWIG_fail;
31108 }
31109 {
31110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31111 }
31112 return resultobj;
31113 fail:
31114 return NULL;
31115}
31116
31117
b06b3e70 31118static PyObject *_wrap_FileDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31119 PyObject *resultobj = NULL;
d55e5bfc
RD
31120 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31121 int arg2 ;
31122 int arg3 ;
093d3ff1
RD
31123 wxDragResult arg4 ;
31124 wxDragResult result;
d55e5bfc
RD
31125 PyObject * obj0 = 0 ;
31126 PyObject * obj1 = 0 ;
31127 PyObject * obj2 = 0 ;
31128 PyObject * obj3 = 0 ;
31129 char *kwnames[] = {
31130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31131 };
31132
b06b3e70 31133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31135 if (SWIG_arg_fail(1)) SWIG_fail;
31136 {
7449af73 31137 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31138 if (SWIG_arg_fail(2)) SWIG_fail;
31139 }
31140 {
7449af73 31141 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31142 if (SWIG_arg_fail(3)) SWIG_fail;
31143 }
31144 {
7449af73 31145 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
31146 if (SWIG_arg_fail(4)) SWIG_fail;
31147 }
d55e5bfc
RD
31148 {
31149 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31150 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
31151
31152 wxPyEndAllowThreads(__tstate);
31153 if (PyErr_Occurred()) SWIG_fail;
31154 }
093d3ff1 31155 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31156 return resultobj;
31157 fail:
31158 return NULL;
31159}
31160
31161
c32bde28 31162static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31163 PyObject *obj;
31164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31165 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
31166 Py_INCREF(obj);
31167 return Py_BuildValue((char *)"");
31168}
c32bde28 31169static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31170 PyObject *resultobj = NULL;
d55e5bfc
RD
31171 wxClipboard *result;
31172 char *kwnames[] = {
31173 NULL
31174 };
31175
31176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
31177 {
31178 PyThreadState* __tstate = wxPyBeginAllowThreads();
31179 result = (wxClipboard *)new wxClipboard();
31180
31181 wxPyEndAllowThreads(__tstate);
31182 if (PyErr_Occurred()) SWIG_fail;
31183 }
31184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
31185 return resultobj;
31186 fail:
31187 return NULL;
31188}
31189
31190
c32bde28 31191static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31192 PyObject *resultobj = NULL;
d55e5bfc
RD
31193 wxClipboard *arg1 = (wxClipboard *) 0 ;
31194 PyObject * obj0 = 0 ;
31195 char *kwnames[] = {
31196 (char *) "self", NULL
31197 };
31198
31199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
31200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31202 {
31203 PyThreadState* __tstate = wxPyBeginAllowThreads();
31204 delete arg1;
31205
31206 wxPyEndAllowThreads(__tstate);
31207 if (PyErr_Occurred()) SWIG_fail;
31208 }
31209 Py_INCREF(Py_None); resultobj = Py_None;
31210 return resultobj;
31211 fail:
31212 return NULL;
31213}
31214
31215
c32bde28 31216static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31217 PyObject *resultobj = NULL;
d55e5bfc
RD
31218 wxClipboard *arg1 = (wxClipboard *) 0 ;
31219 bool result;
31220 PyObject * obj0 = 0 ;
31221 char *kwnames[] = {
31222 (char *) "self", NULL
31223 };
31224
31225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
31226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31228 {
31229 PyThreadState* __tstate = wxPyBeginAllowThreads();
31230 result = (bool)(arg1)->Open();
31231
31232 wxPyEndAllowThreads(__tstate);
31233 if (PyErr_Occurred()) SWIG_fail;
31234 }
31235 {
31236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31237 }
31238 return resultobj;
31239 fail:
31240 return NULL;
31241}
31242
31243
c32bde28 31244static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31245 PyObject *resultobj = NULL;
d55e5bfc
RD
31246 wxClipboard *arg1 = (wxClipboard *) 0 ;
31247 PyObject * obj0 = 0 ;
31248 char *kwnames[] = {
31249 (char *) "self", NULL
31250 };
31251
31252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
31253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31255 {
31256 PyThreadState* __tstate = wxPyBeginAllowThreads();
31257 (arg1)->Close();
31258
31259 wxPyEndAllowThreads(__tstate);
31260 if (PyErr_Occurred()) SWIG_fail;
31261 }
31262 Py_INCREF(Py_None); resultobj = Py_None;
31263 return resultobj;
31264 fail:
31265 return NULL;
31266}
31267
31268
c32bde28 31269static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31270 PyObject *resultobj = NULL;
d55e5bfc
RD
31271 wxClipboard *arg1 = (wxClipboard *) 0 ;
31272 bool result;
31273 PyObject * obj0 = 0 ;
31274 char *kwnames[] = {
31275 (char *) "self", NULL
31276 };
31277
31278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
31279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31281 {
31282 PyThreadState* __tstate = wxPyBeginAllowThreads();
31283 result = (bool)((wxClipboard const *)arg1)->IsOpened();
31284
31285 wxPyEndAllowThreads(__tstate);
31286 if (PyErr_Occurred()) SWIG_fail;
31287 }
31288 {
31289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31290 }
31291 return resultobj;
31292 fail:
31293 return NULL;
31294}
31295
31296
c32bde28 31297static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31298 PyObject *resultobj = NULL;
d55e5bfc
RD
31299 wxClipboard *arg1 = (wxClipboard *) 0 ;
31300 wxDataObject *arg2 = (wxDataObject *) 0 ;
31301 bool result;
31302 PyObject * obj0 = 0 ;
31303 PyObject * obj1 = 0 ;
31304 char *kwnames[] = {
31305 (char *) "self",(char *) "data", NULL
31306 };
31307
31308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31310 if (SWIG_arg_fail(1)) SWIG_fail;
31311 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31312 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31313 {
31314 PyThreadState* __tstate = wxPyBeginAllowThreads();
31315 result = (bool)(arg1)->AddData(arg2);
31316
31317 wxPyEndAllowThreads(__tstate);
31318 if (PyErr_Occurred()) SWIG_fail;
31319 }
31320 {
31321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31322 }
31323 return resultobj;
31324 fail:
31325 return NULL;
31326}
31327
31328
c32bde28 31329static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31330 PyObject *resultobj = NULL;
d55e5bfc
RD
31331 wxClipboard *arg1 = (wxClipboard *) 0 ;
31332 wxDataObject *arg2 = (wxDataObject *) 0 ;
31333 bool result;
31334 PyObject * obj0 = 0 ;
31335 PyObject * obj1 = 0 ;
31336 char *kwnames[] = {
31337 (char *) "self",(char *) "data", NULL
31338 };
31339
31340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31342 if (SWIG_arg_fail(1)) SWIG_fail;
31343 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31344 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31345 {
31346 PyThreadState* __tstate = wxPyBeginAllowThreads();
31347 result = (bool)(arg1)->SetData(arg2);
31348
31349 wxPyEndAllowThreads(__tstate);
31350 if (PyErr_Occurred()) SWIG_fail;
31351 }
31352 {
31353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31354 }
31355 return resultobj;
31356 fail:
31357 return NULL;
31358}
31359
31360
c32bde28 31361static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31362 PyObject *resultobj = NULL;
d55e5bfc
RD
31363 wxClipboard *arg1 = (wxClipboard *) 0 ;
31364 wxDataFormat *arg2 = 0 ;
31365 bool result;
31366 PyObject * obj0 = 0 ;
31367 PyObject * obj1 = 0 ;
31368 char *kwnames[] = {
31369 (char *) "self",(char *) "format", NULL
31370 };
31371
31372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31374 if (SWIG_arg_fail(1)) SWIG_fail;
31375 {
31376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
31377 if (SWIG_arg_fail(2)) SWIG_fail;
31378 if (arg2 == NULL) {
31379 SWIG_null_ref("wxDataFormat");
31380 }
31381 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31382 }
31383 {
31384 PyThreadState* __tstate = wxPyBeginAllowThreads();
31385 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
31386
31387 wxPyEndAllowThreads(__tstate);
31388 if (PyErr_Occurred()) SWIG_fail;
31389 }
31390 {
31391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31392 }
31393 return resultobj;
31394 fail:
31395 return NULL;
31396}
31397
31398
c32bde28 31399static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31400 PyObject *resultobj = NULL;
d55e5bfc
RD
31401 wxClipboard *arg1 = (wxClipboard *) 0 ;
31402 wxDataObject *arg2 = 0 ;
31403 bool result;
31404 PyObject * obj0 = 0 ;
31405 PyObject * obj1 = 0 ;
31406 char *kwnames[] = {
31407 (char *) "self",(char *) "data", NULL
31408 };
31409
31410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31412 if (SWIG_arg_fail(1)) SWIG_fail;
31413 {
31414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
31415 if (SWIG_arg_fail(2)) SWIG_fail;
31416 if (arg2 == NULL) {
31417 SWIG_null_ref("wxDataObject");
31418 }
31419 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31420 }
31421 {
31422 PyThreadState* __tstate = wxPyBeginAllowThreads();
31423 result = (bool)(arg1)->GetData(*arg2);
31424
31425 wxPyEndAllowThreads(__tstate);
31426 if (PyErr_Occurred()) SWIG_fail;
31427 }
31428 {
31429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31430 }
31431 return resultobj;
31432 fail:
31433 return NULL;
31434}
31435
31436
c32bde28 31437static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31438 PyObject *resultobj = NULL;
d55e5bfc
RD
31439 wxClipboard *arg1 = (wxClipboard *) 0 ;
31440 PyObject * obj0 = 0 ;
31441 char *kwnames[] = {
31442 (char *) "self", NULL
31443 };
31444
31445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
31446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31448 {
31449 PyThreadState* __tstate = wxPyBeginAllowThreads();
31450 (arg1)->Clear();
31451
31452 wxPyEndAllowThreads(__tstate);
31453 if (PyErr_Occurred()) SWIG_fail;
31454 }
31455 Py_INCREF(Py_None); resultobj = Py_None;
31456 return resultobj;
31457 fail:
31458 return NULL;
31459}
31460
31461
c32bde28 31462static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31463 PyObject *resultobj = NULL;
d55e5bfc
RD
31464 wxClipboard *arg1 = (wxClipboard *) 0 ;
31465 bool result;
31466 PyObject * obj0 = 0 ;
31467 char *kwnames[] = {
31468 (char *) "self", NULL
31469 };
31470
31471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
31472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31474 {
31475 PyThreadState* __tstate = wxPyBeginAllowThreads();
31476 result = (bool)(arg1)->Flush();
31477
31478 wxPyEndAllowThreads(__tstate);
31479 if (PyErr_Occurred()) SWIG_fail;
31480 }
31481 {
31482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31483 }
31484 return resultobj;
31485 fail:
31486 return NULL;
31487}
31488
31489
c32bde28 31490static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31491 PyObject *resultobj = NULL;
d55e5bfc 31492 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 31493 bool arg2 = (bool) true ;
d55e5bfc
RD
31494 PyObject * obj0 = 0 ;
31495 PyObject * obj1 = 0 ;
31496 char *kwnames[] = {
31497 (char *) "self",(char *) "primary", NULL
31498 };
31499
31500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31503 if (obj1) {
093d3ff1 31504 {
7449af73 31505 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
31506 if (SWIG_arg_fail(2)) SWIG_fail;
31507 }
d55e5bfc
RD
31508 }
31509 {
31510 PyThreadState* __tstate = wxPyBeginAllowThreads();
31511 (arg1)->UsePrimarySelection(arg2);
31512
31513 wxPyEndAllowThreads(__tstate);
31514 if (PyErr_Occurred()) SWIG_fail;
31515 }
31516 Py_INCREF(Py_None); resultobj = Py_None;
31517 return resultobj;
31518 fail:
31519 return NULL;
31520}
31521
31522
c32bde28 31523static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31524 PyObject *resultobj = NULL;
a001823c
RD
31525 wxClipboard *result;
31526 char *kwnames[] = {
31527 NULL
31528 };
31529
31530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
31531 {
31532 PyThreadState* __tstate = wxPyBeginAllowThreads();
31533 result = (wxClipboard *)wxClipboard::Get();
31534
31535 wxPyEndAllowThreads(__tstate);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 }
31538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
31539 return resultobj;
31540 fail:
31541 return NULL;
31542}
31543
31544
c32bde28 31545static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31546 PyObject *obj;
31547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31548 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
31549 Py_INCREF(obj);
31550 return Py_BuildValue((char *)"");
31551}
c32bde28 31552static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31553 PyObject *resultobj = NULL;
d55e5bfc
RD
31554 wxClipboard *arg1 = (wxClipboard *) NULL ;
31555 wxClipboardLocker *result;
31556 PyObject * obj0 = 0 ;
31557 char *kwnames[] = {
31558 (char *) "clipboard", NULL
31559 };
31560
31561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
31562 if (obj0) {
093d3ff1
RD
31563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31565 }
31566 {
31567 PyThreadState* __tstate = wxPyBeginAllowThreads();
31568 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
31569
31570 wxPyEndAllowThreads(__tstate);
31571 if (PyErr_Occurred()) SWIG_fail;
31572 }
31573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
31574 return resultobj;
31575 fail:
31576 return NULL;
31577}
31578
31579
c32bde28 31580static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31581 PyObject *resultobj = NULL;
d55e5bfc
RD
31582 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31583 PyObject * obj0 = 0 ;
31584 char *kwnames[] = {
31585 (char *) "self", NULL
31586 };
31587
31588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
31589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31590 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31591 {
31592 PyThreadState* __tstate = wxPyBeginAllowThreads();
31593 delete arg1;
31594
31595 wxPyEndAllowThreads(__tstate);
31596 if (PyErr_Occurred()) SWIG_fail;
31597 }
31598 Py_INCREF(Py_None); resultobj = Py_None;
31599 return resultobj;
31600 fail:
31601 return NULL;
31602}
31603
31604
c32bde28 31605static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31606 PyObject *resultobj = NULL;
d55e5bfc
RD
31607 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31608 bool result;
31609 PyObject * obj0 = 0 ;
31610 char *kwnames[] = {
31611 (char *) "self", NULL
31612 };
31613
31614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
31615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31617 {
31618 PyThreadState* __tstate = wxPyBeginAllowThreads();
31619 result = (bool)wxClipboardLocker___nonzero__(arg1);
31620
31621 wxPyEndAllowThreads(__tstate);
31622 if (PyErr_Occurred()) SWIG_fail;
31623 }
31624 {
31625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31626 }
31627 return resultobj;
31628 fail:
31629 return NULL;
31630}
31631
31632
c32bde28 31633static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31634 PyObject *obj;
31635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31636 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
31637 Py_INCREF(obj);
31638 return Py_BuildValue((char *)"");
31639}
c32bde28 31640static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31641 PyObject *resultobj = NULL;
d55e5bfc
RD
31642 int arg1 = (int) 0 ;
31643 int arg2 = (int) 0 ;
31644 int arg3 = (int) 0 ;
31645 int arg4 = (int) 0 ;
31646 wxVideoMode *result;
31647 PyObject * obj0 = 0 ;
31648 PyObject * obj1 = 0 ;
31649 PyObject * obj2 = 0 ;
31650 PyObject * obj3 = 0 ;
31651 char *kwnames[] = {
31652 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31653 };
31654
31655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31656 if (obj0) {
093d3ff1 31657 {
7449af73 31658 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
31659 if (SWIG_arg_fail(1)) SWIG_fail;
31660 }
d55e5bfc
RD
31661 }
31662 if (obj1) {
093d3ff1 31663 {
7449af73 31664 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31665 if (SWIG_arg_fail(2)) SWIG_fail;
31666 }
d55e5bfc
RD
31667 }
31668 if (obj2) {
093d3ff1 31669 {
7449af73 31670 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31671 if (SWIG_arg_fail(3)) SWIG_fail;
31672 }
d55e5bfc
RD
31673 }
31674 if (obj3) {
093d3ff1 31675 {
7449af73 31676 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31677 if (SWIG_arg_fail(4)) SWIG_fail;
31678 }
d55e5bfc
RD
31679 }
31680 {
31681 PyThreadState* __tstate = wxPyBeginAllowThreads();
31682 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
31683
31684 wxPyEndAllowThreads(__tstate);
31685 if (PyErr_Occurred()) SWIG_fail;
31686 }
31687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
31688 return resultobj;
31689 fail:
31690 return NULL;
31691}
31692
31693
c32bde28 31694static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31695 PyObject *resultobj = NULL;
d55e5bfc
RD
31696 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31697 PyObject * obj0 = 0 ;
31698 char *kwnames[] = {
31699 (char *) "self", NULL
31700 };
31701
31702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31704 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31705 {
31706 PyThreadState* __tstate = wxPyBeginAllowThreads();
31707 delete arg1;
31708
31709 wxPyEndAllowThreads(__tstate);
31710 if (PyErr_Occurred()) SWIG_fail;
31711 }
31712 Py_INCREF(Py_None); resultobj = Py_None;
31713 return resultobj;
31714 fail:
31715 return NULL;
31716}
31717
31718
c32bde28 31719static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31720 PyObject *resultobj = NULL;
d55e5bfc
RD
31721 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31722 wxVideoMode *arg2 = 0 ;
31723 bool result;
31724 PyObject * obj0 = 0 ;
31725 PyObject * obj1 = 0 ;
31726 char *kwnames[] = {
31727 (char *) "self",(char *) "other", NULL
31728 };
31729
31730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31732 if (SWIG_arg_fail(1)) SWIG_fail;
31733 {
31734 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31735 if (SWIG_arg_fail(2)) SWIG_fail;
31736 if (arg2 == NULL) {
31737 SWIG_null_ref("wxVideoMode");
31738 }
31739 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31740 }
31741 {
31742 PyThreadState* __tstate = wxPyBeginAllowThreads();
31743 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
31744
31745 wxPyEndAllowThreads(__tstate);
31746 if (PyErr_Occurred()) SWIG_fail;
31747 }
31748 {
31749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31750 }
31751 return resultobj;
31752 fail:
31753 return NULL;
31754}
31755
31756
c32bde28 31757static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31758 PyObject *resultobj = NULL;
d55e5bfc
RD
31759 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31760 int result;
31761 PyObject * obj0 = 0 ;
31762 char *kwnames[] = {
31763 (char *) "self", NULL
31764 };
31765
31766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
31767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31769 {
31770 PyThreadState* __tstate = wxPyBeginAllowThreads();
31771 result = (int)((wxVideoMode const *)arg1)->GetWidth();
31772
31773 wxPyEndAllowThreads(__tstate);
31774 if (PyErr_Occurred()) SWIG_fail;
31775 }
093d3ff1 31776 {
7449af73 31777 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31778 }
d55e5bfc
RD
31779 return resultobj;
31780 fail:
31781 return NULL;
31782}
31783
31784
c32bde28 31785static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31786 PyObject *resultobj = NULL;
d55e5bfc
RD
31787 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31788 int result;
31789 PyObject * obj0 = 0 ;
31790 char *kwnames[] = {
31791 (char *) "self", NULL
31792 };
31793
31794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
31795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31797 {
31798 PyThreadState* __tstate = wxPyBeginAllowThreads();
31799 result = (int)((wxVideoMode const *)arg1)->GetHeight();
31800
31801 wxPyEndAllowThreads(__tstate);
31802 if (PyErr_Occurred()) SWIG_fail;
31803 }
093d3ff1 31804 {
7449af73 31805 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31806 }
d55e5bfc
RD
31807 return resultobj;
31808 fail:
31809 return NULL;
31810}
31811
31812
c32bde28 31813static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31814 PyObject *resultobj = NULL;
d55e5bfc
RD
31815 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31816 int result;
31817 PyObject * obj0 = 0 ;
31818 char *kwnames[] = {
31819 (char *) "self", NULL
31820 };
31821
31822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
31823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31825 {
31826 PyThreadState* __tstate = wxPyBeginAllowThreads();
31827 result = (int)((wxVideoMode const *)arg1)->GetDepth();
31828
31829 wxPyEndAllowThreads(__tstate);
31830 if (PyErr_Occurred()) SWIG_fail;
31831 }
093d3ff1 31832 {
7449af73 31833 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31834 }
d55e5bfc
RD
31835 return resultobj;
31836 fail:
31837 return NULL;
31838}
31839
31840
c32bde28 31841static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31842 PyObject *resultobj = NULL;
d55e5bfc
RD
31843 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31844 bool result;
31845 PyObject * obj0 = 0 ;
31846 char *kwnames[] = {
31847 (char *) "self", NULL
31848 };
31849
31850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
31851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31853 {
31854 PyThreadState* __tstate = wxPyBeginAllowThreads();
31855 result = (bool)((wxVideoMode const *)arg1)->IsOk();
31856
31857 wxPyEndAllowThreads(__tstate);
31858 if (PyErr_Occurred()) SWIG_fail;
31859 }
31860 {
31861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31862 }
31863 return resultobj;
31864 fail:
31865 return NULL;
31866}
31867
31868
c32bde28 31869static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31870 PyObject *resultobj = NULL;
d55e5bfc
RD
31871 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31872 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31873 bool result;
31874 PyObject * obj0 = 0 ;
31875 PyObject * obj1 = 0 ;
31876 char *kwnames[] = {
31877 (char *) "self",(char *) "other", NULL
31878 };
31879
31880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31882 if (SWIG_arg_fail(1)) SWIG_fail;
31883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31884 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31885 {
31886 PyThreadState* __tstate = wxPyBeginAllowThreads();
31887 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
31888
31889 wxPyEndAllowThreads(__tstate);
31890 if (PyErr_Occurred()) SWIG_fail;
31891 }
31892 {
31893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31894 }
31895 return resultobj;
31896 fail:
31897 return NULL;
31898}
31899
31900
c32bde28 31901static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31902 PyObject *resultobj = NULL;
d55e5bfc
RD
31903 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31904 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31905 bool result;
31906 PyObject * obj0 = 0 ;
31907 PyObject * obj1 = 0 ;
31908 char *kwnames[] = {
31909 (char *) "self",(char *) "other", NULL
31910 };
31911
31912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31914 if (SWIG_arg_fail(1)) SWIG_fail;
31915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31916 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31917 {
31918 PyThreadState* __tstate = wxPyBeginAllowThreads();
31919 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
31920
31921 wxPyEndAllowThreads(__tstate);
31922 if (PyErr_Occurred()) SWIG_fail;
31923 }
31924 {
31925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31926 }
31927 return resultobj;
31928 fail:
31929 return NULL;
31930}
31931
31932
c32bde28 31933static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31934 PyObject *resultobj = NULL;
d55e5bfc
RD
31935 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31936 int arg2 ;
31937 PyObject * obj0 = 0 ;
31938 PyObject * obj1 = 0 ;
31939 char *kwnames[] = {
31940 (char *) "self",(char *) "w", NULL
31941 };
31942
31943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31945 if (SWIG_arg_fail(1)) SWIG_fail;
31946 {
7449af73 31947 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31948 if (SWIG_arg_fail(2)) SWIG_fail;
31949 }
d55e5bfc
RD
31950 if (arg1) (arg1)->w = arg2;
31951
31952 Py_INCREF(Py_None); resultobj = Py_None;
31953 return resultobj;
31954 fail:
31955 return NULL;
31956}
31957
31958
c32bde28 31959static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31960 PyObject *resultobj = NULL;
d55e5bfc
RD
31961 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31962 int result;
31963 PyObject * obj0 = 0 ;
31964 char *kwnames[] = {
31965 (char *) "self", NULL
31966 };
31967
31968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
31969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31970 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31971 result = (int) ((arg1)->w);
31972
093d3ff1 31973 {
7449af73 31974 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31975 }
d55e5bfc
RD
31976 return resultobj;
31977 fail:
31978 return NULL;
31979}
31980
31981
c32bde28 31982static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31983 PyObject *resultobj = NULL;
d55e5bfc
RD
31984 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31985 int arg2 ;
31986 PyObject * obj0 = 0 ;
31987 PyObject * obj1 = 0 ;
31988 char *kwnames[] = {
31989 (char *) "self",(char *) "h", NULL
31990 };
31991
31992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31994 if (SWIG_arg_fail(1)) SWIG_fail;
31995 {
7449af73 31996 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31997 if (SWIG_arg_fail(2)) SWIG_fail;
31998 }
d55e5bfc
RD
31999 if (arg1) (arg1)->h = arg2;
32000
32001 Py_INCREF(Py_None); resultobj = Py_None;
32002 return resultobj;
32003 fail:
32004 return NULL;
32005}
32006
32007
c32bde28 32008static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32009 PyObject *resultobj = NULL;
d55e5bfc
RD
32010 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32011 int result;
32012 PyObject * obj0 = 0 ;
32013 char *kwnames[] = {
32014 (char *) "self", NULL
32015 };
32016
32017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32020 result = (int) ((arg1)->h);
32021
093d3ff1 32022 {
7449af73 32023 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32024 }
d55e5bfc
RD
32025 return resultobj;
32026 fail:
32027 return NULL;
32028}
32029
32030
c32bde28 32031static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32032 PyObject *resultobj = NULL;
d55e5bfc
RD
32033 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32034 int arg2 ;
32035 PyObject * obj0 = 0 ;
32036 PyObject * obj1 = 0 ;
32037 char *kwnames[] = {
32038 (char *) "self",(char *) "bpp", NULL
32039 };
32040
32041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32043 if (SWIG_arg_fail(1)) SWIG_fail;
32044 {
7449af73 32045 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32046 if (SWIG_arg_fail(2)) SWIG_fail;
32047 }
d55e5bfc
RD
32048 if (arg1) (arg1)->bpp = arg2;
32049
32050 Py_INCREF(Py_None); resultobj = Py_None;
32051 return resultobj;
32052 fail:
32053 return NULL;
32054}
32055
32056
c32bde28 32057static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32058 PyObject *resultobj = NULL;
d55e5bfc
RD
32059 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32060 int result;
32061 PyObject * obj0 = 0 ;
32062 char *kwnames[] = {
32063 (char *) "self", NULL
32064 };
32065
32066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32069 result = (int) ((arg1)->bpp);
32070
093d3ff1 32071 {
7449af73 32072 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32073 }
d55e5bfc
RD
32074 return resultobj;
32075 fail:
32076 return NULL;
32077}
32078
32079
c32bde28 32080static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32081 PyObject *resultobj = NULL;
d55e5bfc
RD
32082 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32083 int arg2 ;
32084 PyObject * obj0 = 0 ;
32085 PyObject * obj1 = 0 ;
32086 char *kwnames[] = {
32087 (char *) "self",(char *) "refresh", NULL
32088 };
32089
32090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32092 if (SWIG_arg_fail(1)) SWIG_fail;
32093 {
7449af73 32094 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32095 if (SWIG_arg_fail(2)) SWIG_fail;
32096 }
d55e5bfc
RD
32097 if (arg1) (arg1)->refresh = arg2;
32098
32099 Py_INCREF(Py_None); resultobj = Py_None;
32100 return resultobj;
32101 fail:
32102 return NULL;
32103}
32104
32105
c32bde28 32106static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32107 PyObject *resultobj = NULL;
d55e5bfc
RD
32108 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32109 int result;
32110 PyObject * obj0 = 0 ;
32111 char *kwnames[] = {
32112 (char *) "self", NULL
32113 };
32114
32115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32118 result = (int) ((arg1)->refresh);
32119
093d3ff1 32120 {
7449af73 32121 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32122 }
d55e5bfc
RD
32123 return resultobj;
32124 fail:
32125 return NULL;
32126}
32127
32128
c32bde28 32129static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32130 PyObject *obj;
32131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32132 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
32133 Py_INCREF(obj);
32134 return Py_BuildValue((char *)"");
32135}
c32bde28 32136static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
32137 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
32138 return 1;
32139}
32140
32141
093d3ff1 32142static PyObject *_wrap_DefaultVideoMode_get(void) {
7449af73 32143 PyObject *pyobj = NULL;
d55e5bfc
RD
32144
32145 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
32146 return pyobj;
32147}
32148
32149
c32bde28 32150static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32151 PyObject *resultobj = NULL;
d55e5bfc
RD
32152 size_t arg1 = (size_t) 0 ;
32153 wxDisplay *result;
32154 PyObject * obj0 = 0 ;
32155 char *kwnames[] = {
32156 (char *) "index", NULL
32157 };
32158
32159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
32160 if (obj0) {
093d3ff1 32161 {
7449af73 32162 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
32163 if (SWIG_arg_fail(1)) SWIG_fail;
32164 }
d55e5bfc
RD
32165 }
32166 {
32167 PyThreadState* __tstate = wxPyBeginAllowThreads();
32168 result = (wxDisplay *)new wxDisplay(arg1);
32169
32170 wxPyEndAllowThreads(__tstate);
32171 if (PyErr_Occurred()) SWIG_fail;
32172 }
32173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
32174 return resultobj;
32175 fail:
32176 return NULL;
32177}
32178
32179
c32bde28 32180static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32181 PyObject *resultobj = NULL;
d55e5bfc
RD
32182 wxDisplay *arg1 = (wxDisplay *) 0 ;
32183 PyObject * obj0 = 0 ;
32184 char *kwnames[] = {
32185 (char *) "self", NULL
32186 };
32187
32188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
32189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32191 {
32192 PyThreadState* __tstate = wxPyBeginAllowThreads();
32193 delete arg1;
32194
32195 wxPyEndAllowThreads(__tstate);
32196 if (PyErr_Occurred()) SWIG_fail;
32197 }
32198 Py_INCREF(Py_None); resultobj = Py_None;
32199 return resultobj;
32200 fail:
32201 return NULL;
32202}
32203
32204
c32bde28 32205static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32206 PyObject *resultobj = NULL;
d55e5bfc
RD
32207 size_t result;
32208 char *kwnames[] = {
32209 NULL
32210 };
32211
32212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
32213 {
32214 PyThreadState* __tstate = wxPyBeginAllowThreads();
32215 result = (size_t)wxDisplay::GetCount();
32216
32217 wxPyEndAllowThreads(__tstate);
32218 if (PyErr_Occurred()) SWIG_fail;
32219 }
093d3ff1 32220 {
7449af73 32221 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 32222 }
d55e5bfc
RD
32223 return resultobj;
32224 fail:
32225 return NULL;
32226}
32227
32228
c32bde28 32229static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32230 PyObject *resultobj = NULL;
d55e5bfc
RD
32231 wxPoint *arg1 = 0 ;
32232 int result;
32233 wxPoint temp1 ;
32234 PyObject * obj0 = 0 ;
32235 char *kwnames[] = {
32236 (char *) "pt", NULL
32237 };
32238
32239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
32240 {
32241 arg1 = &temp1;
32242 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
32243 }
32244 {
32245 PyThreadState* __tstate = wxPyBeginAllowThreads();
32246 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
32247
32248 wxPyEndAllowThreads(__tstate);
32249 if (PyErr_Occurred()) SWIG_fail;
32250 }
093d3ff1 32251 {
7449af73 32252 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32253 }
d55e5bfc
RD
32254 return resultobj;
32255 fail:
32256 return NULL;
32257}
32258
32259
c32bde28 32260static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32261 PyObject *resultobj = NULL;
d55e5bfc
RD
32262 wxWindow *arg1 = (wxWindow *) 0 ;
32263 int result;
32264 PyObject * obj0 = 0 ;
32265 char *kwnames[] = {
32266 (char *) "window", NULL
32267 };
32268
32269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32272 {
32273 PyThreadState* __tstate = wxPyBeginAllowThreads();
32274 result = (int)wxDisplay::GetFromWindow(arg1);
32275
32276 wxPyEndAllowThreads(__tstate);
32277 if (PyErr_Occurred()) SWIG_fail;
32278 }
093d3ff1 32279 {
7449af73 32280 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32281 }
d55e5bfc
RD
32282 return resultobj;
32283 fail:
32284 return NULL;
32285}
32286
32287
c32bde28 32288static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32289 PyObject *resultobj = NULL;
d55e5bfc
RD
32290 wxDisplay *arg1 = (wxDisplay *) 0 ;
32291 bool result;
32292 PyObject * obj0 = 0 ;
32293 char *kwnames[] = {
32294 (char *) "self", NULL
32295 };
32296
32297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
32298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32300 {
32301 PyThreadState* __tstate = wxPyBeginAllowThreads();
32302 result = (bool)((wxDisplay const *)arg1)->IsOk();
32303
32304 wxPyEndAllowThreads(__tstate);
32305 if (PyErr_Occurred()) SWIG_fail;
32306 }
32307 {
32308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32309 }
32310 return resultobj;
32311 fail:
32312 return NULL;
32313}
32314
32315
c32bde28 32316static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32317 PyObject *resultobj = NULL;
d55e5bfc
RD
32318 wxDisplay *arg1 = (wxDisplay *) 0 ;
32319 wxRect result;
32320 PyObject * obj0 = 0 ;
32321 char *kwnames[] = {
32322 (char *) "self", NULL
32323 };
32324
32325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
32326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32328 {
32329 PyThreadState* __tstate = wxPyBeginAllowThreads();
32330 result = ((wxDisplay const *)arg1)->GetGeometry();
32331
32332 wxPyEndAllowThreads(__tstate);
32333 if (PyErr_Occurred()) SWIG_fail;
32334 }
32335 {
32336 wxRect * resultptr;
7449af73 32337 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
32338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
32339 }
32340 return resultobj;
32341 fail:
32342 return NULL;
32343}
32344
32345
c32bde28 32346static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32347 PyObject *resultobj = NULL;
d55e5bfc
RD
32348 wxDisplay *arg1 = (wxDisplay *) 0 ;
32349 wxString result;
32350 PyObject * obj0 = 0 ;
32351 char *kwnames[] = {
32352 (char *) "self", NULL
32353 };
32354
32355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
32356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32358 {
32359 PyThreadState* __tstate = wxPyBeginAllowThreads();
32360 result = ((wxDisplay const *)arg1)->GetName();
32361
32362 wxPyEndAllowThreads(__tstate);
32363 if (PyErr_Occurred()) SWIG_fail;
32364 }
32365 {
32366#if wxUSE_UNICODE
32367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32368#else
32369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32370#endif
32371 }
32372 return resultobj;
32373 fail:
32374 return NULL;
32375}
32376
32377
c32bde28 32378static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32379 PyObject *resultobj = NULL;
d55e5bfc
RD
32380 wxDisplay *arg1 = (wxDisplay *) 0 ;
32381 bool result;
32382 PyObject * obj0 = 0 ;
32383 char *kwnames[] = {
32384 (char *) "self", NULL
32385 };
32386
32387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
32388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32390 {
32391 PyThreadState* __tstate = wxPyBeginAllowThreads();
32392 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
32393
32394 wxPyEndAllowThreads(__tstate);
32395 if (PyErr_Occurred()) SWIG_fail;
32396 }
32397 {
32398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32399 }
32400 return resultobj;
32401 fail:
32402 return NULL;
32403}
32404
32405
c32bde28 32406static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32407 PyObject *resultobj = NULL;
d55e5bfc
RD
32408 wxDisplay *arg1 = (wxDisplay *) 0 ;
32409 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32410 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32411 PyObject *result;
32412 PyObject * obj0 = 0 ;
32413 PyObject * obj1 = 0 ;
32414 char *kwnames[] = {
32415 (char *) "self",(char *) "mode", NULL
32416 };
32417
32418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32421 if (obj1) {
093d3ff1
RD
32422 {
32423 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32424 if (SWIG_arg_fail(2)) SWIG_fail;
32425 if (arg2 == NULL) {
32426 SWIG_null_ref("wxVideoMode");
32427 }
32428 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32429 }
32430 }
32431 {
32432 PyThreadState* __tstate = wxPyBeginAllowThreads();
32433 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
32434
32435 wxPyEndAllowThreads(__tstate);
32436 if (PyErr_Occurred()) SWIG_fail;
32437 }
32438 resultobj = result;
32439 return resultobj;
32440 fail:
32441 return NULL;
32442}
32443
32444
c32bde28 32445static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32446 PyObject *resultobj = NULL;
d55e5bfc
RD
32447 wxDisplay *arg1 = (wxDisplay *) 0 ;
32448 wxVideoMode result;
32449 PyObject * obj0 = 0 ;
32450 char *kwnames[] = {
32451 (char *) "self", NULL
32452 };
32453
32454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
32455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32457 {
32458 PyThreadState* __tstate = wxPyBeginAllowThreads();
32459 result = ((wxDisplay const *)arg1)->GetCurrentMode();
32460
32461 wxPyEndAllowThreads(__tstate);
32462 if (PyErr_Occurred()) SWIG_fail;
32463 }
32464 {
32465 wxVideoMode * resultptr;
7449af73 32466 resultptr = new wxVideoMode(static_cast<wxVideoMode & >(result));
d55e5bfc
RD
32467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
32468 }
32469 return resultobj;
32470 fail:
32471 return NULL;
32472}
32473
32474
c32bde28 32475static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32476 PyObject *resultobj = NULL;
d55e5bfc
RD
32477 wxDisplay *arg1 = (wxDisplay *) 0 ;
32478 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32479 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32480 bool result;
32481 PyObject * obj0 = 0 ;
32482 PyObject * obj1 = 0 ;
32483 char *kwnames[] = {
32484 (char *) "self",(char *) "mode", NULL
32485 };
32486
32487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32489 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32490 if (obj1) {
093d3ff1
RD
32491 {
32492 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32493 if (SWIG_arg_fail(2)) SWIG_fail;
32494 if (arg2 == NULL) {
32495 SWIG_null_ref("wxVideoMode");
32496 }
32497 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32498 }
32499 }
32500 {
32501 PyThreadState* __tstate = wxPyBeginAllowThreads();
32502 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
32503
32504 wxPyEndAllowThreads(__tstate);
32505 if (PyErr_Occurred()) SWIG_fail;
32506 }
32507 {
32508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32509 }
32510 return resultobj;
32511 fail:
32512 return NULL;
32513}
32514
32515
c32bde28 32516static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32517 PyObject *resultobj = NULL;
d55e5bfc
RD
32518 wxDisplay *arg1 = (wxDisplay *) 0 ;
32519 PyObject * obj0 = 0 ;
32520 char *kwnames[] = {
32521 (char *) "self", NULL
32522 };
32523
32524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
32525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32527 {
32528 PyThreadState* __tstate = wxPyBeginAllowThreads();
32529 (arg1)->ResetMode();
32530
32531 wxPyEndAllowThreads(__tstate);
32532 if (PyErr_Occurred()) SWIG_fail;
32533 }
32534 Py_INCREF(Py_None); resultobj = Py_None;
32535 return resultobj;
32536 fail:
32537 return NULL;
32538}
32539
32540
c32bde28 32541static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32542 PyObject *obj;
32543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32544 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
32545 Py_INCREF(obj);
32546 return Py_BuildValue((char *)"");
32547}
c1cb24a4 32548static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32549 PyObject *resultobj = NULL;
c1cb24a4
RD
32550 wxStandardPaths *result;
32551 char *kwnames[] = {
32552 NULL
32553 };
32554
32555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
32556 {
32557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 32558 result = (wxStandardPaths *)wxStandardPaths_Get();
c1cb24a4
RD
32559
32560 wxPyEndAllowThreads(__tstate);
32561 if (PyErr_Occurred()) SWIG_fail;
32562 }
32563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
32564 return resultobj;
32565 fail:
32566 return NULL;
32567}
32568
32569
32570static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32571 PyObject *resultobj = NULL;
c1cb24a4
RD
32572 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32573 wxString result;
32574 PyObject * obj0 = 0 ;
32575 char *kwnames[] = {
32576 (char *) "self", NULL
32577 };
32578
32579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32581 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32582 {
32583 PyThreadState* __tstate = wxPyBeginAllowThreads();
32584 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
32585
32586 wxPyEndAllowThreads(__tstate);
32587 if (PyErr_Occurred()) SWIG_fail;
32588 }
32589 {
32590#if wxUSE_UNICODE
32591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32592#else
32593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32594#endif
32595 }
32596 return resultobj;
32597 fail:
32598 return NULL;
32599}
32600
32601
32602static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32603 PyObject *resultobj = NULL;
c1cb24a4
RD
32604 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32605 wxString result;
32606 PyObject * obj0 = 0 ;
32607 char *kwnames[] = {
32608 (char *) "self", NULL
32609 };
32610
32611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32613 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32614 {
32615 PyThreadState* __tstate = wxPyBeginAllowThreads();
32616 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
32617
32618 wxPyEndAllowThreads(__tstate);
32619 if (PyErr_Occurred()) SWIG_fail;
32620 }
32621 {
32622#if wxUSE_UNICODE
32623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32624#else
32625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32626#endif
32627 }
32628 return resultobj;
32629 fail:
32630 return NULL;
32631}
32632
32633
32634static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32635 PyObject *resultobj = NULL;
c1cb24a4
RD
32636 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32637 wxString result;
32638 PyObject * obj0 = 0 ;
32639 char *kwnames[] = {
32640 (char *) "self", NULL
32641 };
32642
32643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32645 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32646 {
32647 PyThreadState* __tstate = wxPyBeginAllowThreads();
32648 result = ((wxStandardPaths const *)arg1)->GetDataDir();
32649
32650 wxPyEndAllowThreads(__tstate);
32651 if (PyErr_Occurred()) SWIG_fail;
32652 }
32653 {
32654#if wxUSE_UNICODE
32655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32656#else
32657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32658#endif
32659 }
32660 return resultobj;
32661 fail:
32662 return NULL;
32663}
32664
32665
32666static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32667 PyObject *resultobj = NULL;
c1cb24a4
RD
32668 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32669 wxString result;
32670 PyObject * obj0 = 0 ;
32671 char *kwnames[] = {
32672 (char *) "self", NULL
32673 };
32674
32675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32677 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32678 {
32679 PyThreadState* __tstate = wxPyBeginAllowThreads();
32680 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
32681
32682 wxPyEndAllowThreads(__tstate);
32683 if (PyErr_Occurred()) SWIG_fail;
32684 }
32685 {
32686#if wxUSE_UNICODE
32687 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32688#else
32689 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32690#endif
32691 }
32692 return resultobj;
32693 fail:
32694 return NULL;
32695}
32696
32697
32698static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32699 PyObject *resultobj = NULL;
c1cb24a4
RD
32700 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32701 wxString result;
32702 PyObject * obj0 = 0 ;
32703 char *kwnames[] = {
32704 (char *) "self", NULL
32705 };
32706
32707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32709 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32710 {
32711 PyThreadState* __tstate = wxPyBeginAllowThreads();
32712 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
32713
32714 wxPyEndAllowThreads(__tstate);
32715 if (PyErr_Occurred()) SWIG_fail;
32716 }
32717 {
32718#if wxUSE_UNICODE
32719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32720#else
32721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32722#endif
32723 }
32724 return resultobj;
32725 fail:
32726 return NULL;
32727}
32728
32729
32730static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32731 PyObject *resultobj = NULL;
c1cb24a4
RD
32732 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32733 wxString result;
32734 PyObject * obj0 = 0 ;
32735 char *kwnames[] = {
32736 (char *) "self", NULL
32737 };
32738
32739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32741 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32742 {
32743 PyThreadState* __tstate = wxPyBeginAllowThreads();
32744 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
32745
32746 wxPyEndAllowThreads(__tstate);
32747 if (PyErr_Occurred()) SWIG_fail;
32748 }
32749 {
32750#if wxUSE_UNICODE
32751 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32752#else
32753 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32754#endif
32755 }
32756 return resultobj;
32757 fail:
32758 return NULL;
32759}
32760
32761
32762static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32763 PyObject *resultobj = NULL;
c1cb24a4
RD
32764 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32765 wxString result;
32766 PyObject * obj0 = 0 ;
32767 char *kwnames[] = {
32768 (char *) "self", NULL
32769 };
32770
32771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32773 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32774 {
32775 PyThreadState* __tstate = wxPyBeginAllowThreads();
32776 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
32777
32778 wxPyEndAllowThreads(__tstate);
32779 if (PyErr_Occurred()) SWIG_fail;
32780 }
32781 {
32782#if wxUSE_UNICODE
32783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32784#else
32785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32786#endif
32787 }
32788 return resultobj;
32789 fail:
32790 return NULL;
32791}
32792
32793
32794static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32795 PyObject *resultobj = NULL;
c1cb24a4
RD
32796 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32797 wxString *arg2 = 0 ;
32798 bool temp2 = false ;
32799 PyObject * obj0 = 0 ;
32800 PyObject * obj1 = 0 ;
32801 char *kwnames[] = {
32802 (char *) "self",(char *) "prefix", NULL
32803 };
32804
32805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32807 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32808 {
32809 arg2 = wxString_in_helper(obj1);
32810 if (arg2 == NULL) SWIG_fail;
32811 temp2 = true;
32812 }
32813 {
32814 PyThreadState* __tstate = wxPyBeginAllowThreads();
32815 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
32816
32817 wxPyEndAllowThreads(__tstate);
32818 if (PyErr_Occurred()) SWIG_fail;
32819 }
32820 Py_INCREF(Py_None); resultobj = Py_None;
32821 {
32822 if (temp2)
32823 delete arg2;
32824 }
32825 return resultobj;
32826 fail:
32827 {
32828 if (temp2)
32829 delete arg2;
32830 }
32831 return NULL;
32832}
32833
32834
32835static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32836 PyObject *resultobj = NULL;
c1cb24a4
RD
32837 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32838 wxString result;
32839 PyObject * obj0 = 0 ;
32840 char *kwnames[] = {
32841 (char *) "self", NULL
32842 };
32843
32844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
32845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32846 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32847 {
32848 PyThreadState* __tstate = wxPyBeginAllowThreads();
32849 result = wxStandardPaths_GetInstallPrefix(arg1);
32850
32851 wxPyEndAllowThreads(__tstate);
32852 if (PyErr_Occurred()) SWIG_fail;
32853 }
32854 {
32855#if wxUSE_UNICODE
32856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32857#else
32858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32859#endif
32860 }
32861 return resultobj;
32862 fail:
32863 return NULL;
32864}
32865
32866
32867static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
32868 PyObject *obj;
32869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32870 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
32871 Py_INCREF(obj);
32872 return Py_BuildValue((char *)"");
32873}
d55e5bfc 32874static PyMethodDef SwigMethods[] = {
093d3ff1
RD
32875 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32876 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
32877 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
32878 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
32879 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32880 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32881 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
32882 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
32883 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32884 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32885 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32886 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32887 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
396fb509 32888 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32889 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
32890 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
32891 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
32892 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
32893 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
32894 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32895 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32896 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
32897 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32898 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32899 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
32900 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
32901 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
32902 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
32903 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
32904 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
32905 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
32906 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
32907 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
32908 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32909 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32910 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
32911 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
32912 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
32913 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32914 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32915 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
32916 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
32917 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
32918 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
32919 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
32920 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
32921 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32922 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32923 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32924 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32925 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32926 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32927 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
32928 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32929 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32930 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
32931 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32932 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32933 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32934 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32935 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32936 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32937 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32938 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32939 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 32940 { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32941 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
32942 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
32943 { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32944 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32945 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32946 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32947 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 32948 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32949 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
32950 { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32951 { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32952 { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
32953 { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
32954 { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32955 { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32956 { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32957 { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32958 { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32959 { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32960 { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32961 { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
32962 { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
32963 { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
32964 { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32965 { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32966 { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32967 { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32968 { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32969 { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32970 { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32971 { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL},
32972 { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32973 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
32974 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32975 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32976 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32977 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32978 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
32979 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
32980 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32981 { (char *)"delete_ToolTip", (PyCFunction) _wrap_delete_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32982 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32983 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32984 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32985 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
32986 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
32987 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
32988 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32989 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 32990 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32991 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32992 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32993 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32994 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32995 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32996 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32997 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32998 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
32999 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
33000 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
33001 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33002 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33003 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33004 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
33005 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 33006 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33007 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33008 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33009 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
33010 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33011 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33012 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
33013 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33014 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33015 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
33016 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
33017 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33018 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
33019 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33020 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
33021 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
33022 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33023 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33024 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33025 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33026 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33027 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33028 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33029 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
33030 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
33031 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33032 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33033 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
33034 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33035 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
33036 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33037 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33038 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33039 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33040 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33041 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 33042 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33043 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33044 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
33045 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
33046 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
33047 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
33048 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33049 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33050 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
33051 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
33052 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33053 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33054 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33055 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33056 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33057 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33058 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33059 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33060 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33061 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33062 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33063 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
33064 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33065 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
33066 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33067 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33068 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
33069 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
33070 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
33071 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33072 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
33073 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33074 { (char *)"delete_Log", (PyCFunction) _wrap_delete_Log, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33075 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
33076 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
33077 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
33078 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33079 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
33080 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33081 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33082 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
33083 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33084 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33085 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33086 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33087 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33088 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33089 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33090 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33091 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33092 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33093 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33094 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33095 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33096 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33097 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33098 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
33099 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33100 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
33101 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
33102 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
33103 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
33104 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
33105 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
33106 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
33107 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33108 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33109 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33110 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33111 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33112 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33113 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
33114 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
33115 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
33116 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33117 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33118 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33119 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
be9b1dca
RD
33120 { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33121 { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33122 { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33123 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33124 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
33125 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
33126 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
33127 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
33128 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
33129 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33130 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33131 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
33132 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33133 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
33134 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33135 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
33136 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
33137 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
33138 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33139 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33140 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33141 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
33142 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
33143 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33144 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
33145 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33146 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33147 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33148 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
33149 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33150 { (char *)"Process_OnTerminate", (PyCFunction) _wrap_Process_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33151 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
33152 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
33153 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
33154 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33155 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
33156 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33157 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
33158 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33159 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33160 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33161 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
33162 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33163 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
33164 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
33165 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
33166 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
33167 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
33168 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
33169 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
33170 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
33171 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33172 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33173 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33174 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33175 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33176 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33177 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33178 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33179 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33180 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33181 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33182 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33183 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33184 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33185 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
33186 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
33187 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
33188 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
33189 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
33190 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
33191 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
33192 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
33193 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
33194 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
33195 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33196 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33197 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33198 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33199 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
33200 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
33201 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
33202 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
33203 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
33204 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
33205 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
33206 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
33207 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
33208 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
33209 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
33210 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
33211 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
33212 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
33213 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
33214 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33215 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33216 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33217 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33218 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33219 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33220 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33221 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33222 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33223 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33224 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33225 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33226 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33227 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33228 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
33229 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
33230 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
33231 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
33232 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
33233 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
33234 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
33235 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33236 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33237 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33238 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33239 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33240 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33241 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
33242 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
33243 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
33244 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
33245 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33246 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
33247 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33248 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33249 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33250 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33251 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33252 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33253 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33254 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33255 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33256 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33257 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
33258 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
33259 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
33260 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
33261 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33262 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33263 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33264 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33265 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33266 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33267 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33268 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33269 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33270 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33271 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
33272 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33273 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33274 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33275 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33276 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
33277 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
33278 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33279 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33280 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
33281 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
33282 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33283 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
33284 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33285 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33286 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
33287 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
33288 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33289 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33290 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
33291 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33292 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33293 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33294 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33295 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33296 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33297 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33298 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f 33299 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33300 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33301 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
33302 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
33303 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33304 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33305 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33306 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33307 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33308 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33309 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33310 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33311 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33312 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33313 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
33314 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
33315 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33316 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33317 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33318 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
33319 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
33320 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
33321 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33322 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
33323 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
33324 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
33325 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33326 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
33327 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33328 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33329 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33330 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33331 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33332 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
33333 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33334 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33335 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33336 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33337 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33338 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33339 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33340 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33341 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33342 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33343 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33344 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
33345 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33346 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33347 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
33348 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33349 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33350 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
33351 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33352 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33353 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
33354 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
33355 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33356 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33357 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33358 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33359 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
33360 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
33361 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33362 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
33363 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
33364 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
33365 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33366 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
33367 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
33368 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
33369 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
33370 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
33371 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
33372 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
33373 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
33374 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
33375 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33376 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33377 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33378 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33379 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
33380 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33381 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
33382 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33383 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33384 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33385 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33386 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
33387 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33388 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33389 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33390 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33391 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33392 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33393 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33394 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33395 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33396 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33397 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33398 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33399 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33400 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33401 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33402 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33403 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33404 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33405 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33406 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33407 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33408 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33409 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33410 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33411 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33412 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33413 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
33414 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
33415 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33416 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
33417 { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33418 { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33419 { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33420 { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33421 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
33422 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
33423 { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33424 { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33425 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
33426 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33427 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
33428 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33429 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33430 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33431 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33432 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33433 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33434 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33435 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33436 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33437 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33438 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33439 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
33440 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33441 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
33442 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33443 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33444 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33445 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
33446 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
33447 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
33448 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
33449 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
33450 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
33451 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
33452 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33453 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
33454 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
33455 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
33456 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
33457 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33458 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33459 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33460 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33461 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33462 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33463 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
33464 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33465 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33466 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
33467 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
33468 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33469 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
33470 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
33471 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
33472 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
33473 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
33474 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
33475 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
33476 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
33477 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
33478 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
33479 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
33480 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33481 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33482 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33483 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33484 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33485 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33486 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33487 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33488 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33489 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33490 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
33491 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33492 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33493 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33494 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33495 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33496 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33497 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33498 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33499 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33500 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33501 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33502 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33503 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33504 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33505 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
33506 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
33507 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
33508 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33509 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
33510 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33511 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33512 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33513 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
33514 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
33515 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
33516 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
33517 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33518 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
33519 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33520 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33521 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33522 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33523 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33524 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33525 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
33526 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
33527 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
33528 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
33529 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33530 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33531 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33532 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33533 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33534 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33535 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33536 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33537 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
33538 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33539 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33540 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33541 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33542 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33543 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33544 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33545 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33546 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33547 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33548 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33549 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33550 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33551 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33552 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
33553 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
33554 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
33555 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
33556 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
33557 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33558 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33559 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33560 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
33561 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
33562 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
33563 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
33564 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33565 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
33566 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
33567 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33568 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33569 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
33570 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33571 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33572 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
33573 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33574 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33575 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
33576 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33577 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33578 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33579 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33580 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33581 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33582 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
33583 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33584 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33585 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
33586 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
33587 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33588 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
33589 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33590 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
33591 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
33592 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
33593 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
33594 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33595 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33596 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
33597 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33598 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33599 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33600 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
33601 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33602 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33603 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
33604 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33605 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
33606 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
33607 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 33608 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
33609 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33610 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33611 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33612 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
33613 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33614 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33615 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33616 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
33617 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33618 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33619 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33620 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
33621 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
33622 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33623 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33624 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33625 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33626 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33627 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33628 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33629 { (char *)"DropSource_GiveFeedback", (PyCFunction) _wrap_DropSource_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33630 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
33631 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33632 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33633 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33634 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33635 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33636 { (char *)"DropTarget_OnEnter", (PyCFunction) _wrap_DropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33637 { (char *)"DropTarget_OnDragOver", (PyCFunction) _wrap_DropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33638 { (char *)"DropTarget_OnLeave", (PyCFunction) _wrap_DropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33639 { (char *)"DropTarget_OnDrop", (PyCFunction) _wrap_DropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 33640 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f
RD
33641 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
33642 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33643 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
33644 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33645 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33646 { (char *)"TextDropTarget_OnDropText", (PyCFunction) _wrap_TextDropTarget_OnDropText, METH_VARARGS | METH_KEYWORDS, NULL},
33647 { (char *)"TextDropTarget_OnEnter", (PyCFunction) _wrap_TextDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33648 { (char *)"TextDropTarget_OnDragOver", (PyCFunction) _wrap_TextDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33649 { (char *)"TextDropTarget_OnLeave", (PyCFunction) _wrap_TextDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33650 { (char *)"TextDropTarget_OnDrop", (PyCFunction) _wrap_TextDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33651 { (char *)"TextDropTarget_OnData", (PyCFunction) _wrap_TextDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33652 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
33653 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33654 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33655 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction) _wrap_FileDropTarget_OnDropFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33656 { (char *)"FileDropTarget_OnEnter", (PyCFunction) _wrap_FileDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33657 { (char *)"FileDropTarget_OnDragOver", (PyCFunction) _wrap_FileDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33658 { (char *)"FileDropTarget_OnLeave", (PyCFunction) _wrap_FileDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33659 { (char *)"FileDropTarget_OnDrop", (PyCFunction) _wrap_FileDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33660 { (char *)"FileDropTarget_OnData", (PyCFunction) _wrap_FileDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33661 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
33662 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33663 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33664 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33665 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
33666 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33667 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
33668 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33669 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33670 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33671 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
33672 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33673 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
33674 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33675 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
33676 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33677 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33678 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
33679 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
33680 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33681 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33682 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
33683 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
33684 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
33685 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
33686 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33687 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33688 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33689 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
33690 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
33691 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
33692 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
33693 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
33694 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
33695 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
33696 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
33697 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
33698 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33699 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33700 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33701 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
33702 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33703 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33704 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
33705 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
33706 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
33707 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
33708 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
33709 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
33710 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
33711 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
33712 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33713 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33714 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33715 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33716 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33717 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33718 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33719 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
33720 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33721 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33722 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 33723 { NULL, NULL, 0, NULL }
d55e5bfc
RD
33724};
33725
33726
33727/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33728
33729static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
33730 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
33731}
33732static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
33733 return (void *)((wxEvent *) ((wxMenuEvent *) x));
33734}
33735static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
33736 return (void *)((wxEvent *) ((wxCloseEvent *) x));
33737}
33738static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
33739 return (void *)((wxEvent *) ((wxMouseEvent *) x));
33740}
33741static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
33742 return (void *)((wxEvent *) ((wxEraseEvent *) x));
33743}
33744static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
33745 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
33746}
33747static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
33748 return (void *)((wxEvent *) ((wxTimerEvent *) x));
33749}
33750static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
33751 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
33752}
33753static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
33754 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
33755}
33756static void *_p_wxPyEventTo_p_wxEvent(void *x) {
33757 return (void *)((wxEvent *) ((wxPyEvent *) x));
33758}
33759static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
33760 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
33761}
33762static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
33763 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
33764}
33765static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
33766 return (void *)((wxEvent *) ((wxIdleEvent *) x));
33767}
33768static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
33769 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
33770}
33771static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
33772 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
33773}
33774static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
33775 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
33776}
33777static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
33778 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
33779}
33780static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
33781 return (void *)((wxEvent *) ((wxActivateEvent *) x));
33782}
33783static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
33784 return (void *)((wxEvent *) ((wxSizeEvent *) x));
33785}
33786static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
33787 return (void *)((wxEvent *) ((wxMoveEvent *) x));
33788}
53aa7709
RD
33789static void *_p_wxDateEventTo_p_wxEvent(void *x) {
33790 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
33791}
d55e5bfc
RD
33792static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
33793 return (void *)((wxEvent *) ((wxPaintEvent *) x));
33794}
33795static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
33796 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
33797}
33798static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
33799 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
33800}
33801static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
33802 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
33803}
33804static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
33805 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
33806}
33807static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
33808 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33809}
33810static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
33811 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
33812}
33813static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
33814 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
33815}
33816static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
33817 return (void *)((wxEvent *) ((wxFocusEvent *) x));
33818}
33819static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
33820 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
33821}
33822static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
33823 return (void *)((wxEvent *) ((wxProcessEvent *) x));
33824}
33825static void *_p_wxShowEventTo_p_wxEvent(void *x) {
33826 return (void *)((wxEvent *) ((wxShowEvent *) x));
33827}
33828static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
33829 return (void *)((wxEvent *) ((wxCommandEvent *) x));
33830}
33831static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
33832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
33833}
33834static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
33835 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33836}
33837static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
33838 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
33839}
33840static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
33841 return (void *)((wxEvent *) ((wxKeyEvent *) x));
33842}
33843static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
33844 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
33845}
33846static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
33847 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
33848}
33849static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
33850 return (void *)((wxConfigBase *) ((wxConfig *) x));
33851}
33852static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
33853 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33854}
33855static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
33856 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
33857}
33858static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
33859 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
33860}
33861static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
33862 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33863}
33864static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
33865 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
33866}
33867static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
33868 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
33869}
33870static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
33871 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
33872}
33873static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
33874 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33875}
33876static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
33877 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33878}
33879static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
33880 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
33881}
33882static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
33883 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
33884}
33885static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
7449af73 33886 return (void *)((wxDataObject *) ((wxURLDataObject *) x));
d55e5bfc
RD
33887}
33888static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
33889 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33890}
d55e5bfc
RD
33891static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
33892 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33893}
33894static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33895 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
33896}
33897static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33898 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
33899}
33900static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33901 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33902}
33903static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33904 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33905}
33906static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
33907 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
33908}
33909static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
33910 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
33911}
33912static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
33913 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33914}
33915static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33916 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33917}
33918static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33919 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33920}
33921static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
33922 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33923}
33924static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
33925 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
33926}
33927static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
33928 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
33929}
33930static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33931 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33932}
33933static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33934 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33935}
33936static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33937 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33938}
33939static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33940 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33941}
33942static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
33943 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
33944}
33945static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
33946 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
33947}
33948static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33949 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33950}
33951static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33952 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33953}
33954static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33955 return (void *)((wxObject *) ((wxSizerItem *) x));
33956}
33957static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33959}
33960static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33961 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33962}
33963static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33964 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33965}
33966static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33967 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33968}
33969static void *_p_wxSizerTo_p_wxObject(void *x) {
33970 return (void *)((wxObject *) ((wxSizer *) x));
33971}
33972static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33973 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33974}
33975static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
33976 return (void *)((wxObject *) ((wxFileHistory *) x));
33977}
33978static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33980}
33981static void *_p_wxEventTo_p_wxObject(void *x) {
33982 return (void *)((wxObject *) ((wxEvent *) x));
33983}
33984static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33985 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33986}
33987static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33988 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33989}
33990static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33991 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33992}
33993static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33994 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33995}
33996static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33997 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33998}
33999static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
34000 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34001}
34002static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34003 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34004}
34005static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
34006 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34007}
34008static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
34009 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
34010}
34011static void *_p_wxControlTo_p_wxObject(void *x) {
34012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
34013}
34014static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
34015 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
34016}
34017static void *_p_wxTimerEventTo_p_wxObject(void *x) {
34018 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
34019}
34020static void *_p_wxFSFileTo_p_wxObject(void *x) {
34021 return (void *)((wxObject *) ((wxFSFile *) x));
34022}
34023static void *_p_wxClipboardTo_p_wxObject(void *x) {
34024 return (void *)((wxObject *) ((wxClipboard *) x));
34025}
34026static void *_p_wxPySizerTo_p_wxObject(void *x) {
34027 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
34028}
34029static void *_p_wxPyEventTo_p_wxObject(void *x) {
34030 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
34031}
34032static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
34033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
34034}
34035static void *_p_wxShowEventTo_p_wxObject(void *x) {
34036 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
34037}
34038static void *_p_wxToolTipTo_p_wxObject(void *x) {
34039 return (void *)((wxObject *) ((wxToolTip *) x));
34040}
34041static void *_p_wxMenuItemTo_p_wxObject(void *x) {
34042 return (void *)((wxObject *) ((wxMenuItem *) x));
34043}
53aa7709
RD
34044static void *_p_wxDateEventTo_p_wxObject(void *x) {
34045 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
34046}
d55e5bfc
RD
34047static void *_p_wxIdleEventTo_p_wxObject(void *x) {
34048 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
34049}
34050static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
34051 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
34052}
34053static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
34054 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
34055}
34056static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
34057 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
34058}
34059static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
34060 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
34061}
34062static void *_p_wxSizeEventTo_p_wxObject(void *x) {
34063 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
34064}
34065static void *_p_wxMoveEventTo_p_wxObject(void *x) {
34066 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
34067}
34068static void *_p_wxActivateEventTo_p_wxObject(void *x) {
34069 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
34070}
d55e5bfc
RD
34071static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
34072 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
34073}
34074static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
34075 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
34076}
34077static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
34078 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
34079}
34080static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
34081 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
34082}
34083static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
34084 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
34085}
34086static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
34087 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
34088}
34089static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
34090 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
34091}
34092static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
34093 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
34094}
34095static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
34096 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
34097}
9d7dfdff
RD
34098static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
34099 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
34100}
d55e5bfc
RD
34101static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
34102 return (void *)((wxObject *) ((wxImageHandler *) x));
34103}
9d7dfdff
RD
34104static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
34105 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
34106}
d55e5bfc
RD
34107static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
34108 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
34109}
34110static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
34111 return (void *)((wxObject *) ((wxEvtHandler *) x));
34112}
51b83b37
RD
34113static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
34114 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
34115}
d55e5bfc
RD
34116static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
34117 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
34118}
34119static void *_p_wxImageTo_p_wxObject(void *x) {
34120 return (void *)((wxObject *) ((wxImage *) x));
34121}
34122static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
34123 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
34124}
34125static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
34126 return (void *)((wxObject *) ((wxSystemOptions *) x));
34127}
34128static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
34129 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
34130}
34131static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
34132 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34133}
34134static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34135 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34136}
34137static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34138 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34139}
34140static void *_p_wxWindowTo_p_wxObject(void *x) {
34141 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34142}
34143static void *_p_wxMenuTo_p_wxObject(void *x) {
34144 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34145}
34146static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34148}
34149static void *_p_wxPyProcessTo_p_wxObject(void *x) {
34150 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
34151}
34152static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34153 return (void *)((wxObject *) ((wxFileSystem *) x));
34154}
34155static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34156 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34157}
34158static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34159 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34160}
34161static void *_p_wxPyAppTo_p_wxObject(void *x) {
34162 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34163}
34164static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34165 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34166}
34167static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34168 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34169}
34170static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34171 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34172}
34173static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
34174 return (void *)((wxObject *) ((wxBusyInfo *) x));
34175}
34176static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34178}
34179static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34180 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34181}
34182static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34183 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34184}
34185static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34186 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34187}
34188static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34189 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34190}
34191static void *_p_wxProcessEventTo_p_wxObject(void *x) {
34192 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
34193}
34194static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34195 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34196}
34197static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34198 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34199}
34200static void *_p_wxValidatorTo_p_wxObject(void *x) {
34201 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34202}
34203static void *_p_wxPyTimerTo_p_wxObject(void *x) {
34204 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
34205}
be9b1dca
RD
34206static void *_p_wxLogBufferTo_p_wxLog(void *x) {
34207 return (void *)((wxLog *) ((wxLogBuffer *) x));
34208}
d55e5bfc
RD
34209static void *_p_wxLogStderrTo_p_wxLog(void *x) {
34210 return (void *)((wxLog *) ((wxLogStderr *) x));
34211}
34212static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
34213 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
34214}
34215static void *_p_wxLogWindowTo_p_wxLog(void *x) {
34216 return (void *)((wxLog *) ((wxLogWindow *) x));
34217}
34218static void *_p_wxLogChainTo_p_wxLog(void *x) {
34219 return (void *)((wxLog *) ((wxLogChain *) x));
34220}
34221static void *_p_wxLogGuiTo_p_wxLog(void *x) {
34222 return (void *)((wxLog *) ((wxLogGui *) x));
34223}
34224static void *_p_wxPyLogTo_p_wxLog(void *x) {
34225 return (void *)((wxLog *) ((wxPyLog *) x));
34226}
34227static void *_p_wxControlTo_p_wxWindow(void *x) {
34228 return (void *)((wxWindow *) ((wxControl *) x));
34229}
34230static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
34231 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
34232}
34233static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
34234 return (void *)((wxWindow *) ((wxMenuBar *) x));
34235}
34236static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
34237 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
34238}
34239static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
34240 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
34241}
7449af73
RD
34242static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
34243static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34244static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
34245static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34246static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34247static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34248static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
34249static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34250static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34251static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34252static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34253static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34254static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34255static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
34256static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34257static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34258static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
34259static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34260static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34261static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34262static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34263static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34264static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
34265static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34266static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34267static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34268static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34269static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34270static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34271static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34272static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34273static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34274static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34275static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34276static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
34277static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
34278static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
34279static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
34280static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34281static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34282static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
34283static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
34284static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
34285static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
34286static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34287static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34288static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34289static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
34290static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
34291static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
34292static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
34293static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
34294static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
34295static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34296static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34297static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34298static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34299static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34300static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34301static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34302static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
34303static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34304static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
34305static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
34306static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34307static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34308static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34309static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
34310static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34311static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34312static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
34313static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
34314static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
34315static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
34316static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
34317static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
34318static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34319static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34320static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34321static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34322static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34323static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
34324static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34325static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34326static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34327static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34328static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34329static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0};
34330static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34331static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34332static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34333static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34334static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34335static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34336static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34337static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34338static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34339static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34340static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34341static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34342static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34343static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34344static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
34345static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34346static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
34347static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
34348static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34349static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34350static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
34351static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
34352static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
34353static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
34354static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34355static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
34356static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
34357static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
34358static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
34359static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
34360static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
34361static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
34362static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
34363static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
34364static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
34365static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
34366static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
34367static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
34368static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
34369static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
34370static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
34371static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34372static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34373static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
34374static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
34375static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34376static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34377static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34378static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34379static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34380static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34381static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34382static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34383static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34384static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34385static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34386static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34387static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34388static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34389static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34390static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34391static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
34392static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34393static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
34394static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0};
34395static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34396static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34397static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
34398static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34399static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34400static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34401static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34402static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34403static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34404static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34405static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34406static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34407static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34408static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34409static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34410static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34411static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34412static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34413static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34414static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34415
34416static swig_type_info *swig_type_initial[] = {
34417 &_swigt__p_char,
34418 &_swigt__p_form_ops_t,
34419 &_swigt__p_int,
34420 &_swigt__p_unsigned_char,
34421 &_swigt__p_unsigned_int,
34422 &_swigt__p_unsigned_long,
34423 &_swigt__p_void,
34424 &_swigt__p_wxANIHandler,
34425 &_swigt__p_wxAcceleratorTable,
34426 &_swigt__p_wxActivateEvent,
34427 &_swigt__p_wxArrayString,
34428 &_swigt__p_wxBMPHandler,
34429 &_swigt__p_wxBitmap,
34430 &_swigt__p_wxBitmapDataObject,
34431 &_swigt__p_wxBoxSizer,
34432 &_swigt__p_wxBusyCursor,
34433 &_swigt__p_wxBusyInfo,
34434 &_swigt__p_wxCURHandler,
34435 &_swigt__p_wxCaret,
34436 &_swigt__p_wxChar,
34437 &_swigt__p_wxChildFocusEvent,
34438 &_swigt__p_wxClipboard,
34439 &_swigt__p_wxClipboardLocker,
34440 &_swigt__p_wxCloseEvent,
34441 &_swigt__p_wxColour,
34442 &_swigt__p_wxCommandEvent,
34443 &_swigt__p_wxConfig,
34444 &_swigt__p_wxConfigBase,
34445 &_swigt__p_wxConfigPathChanger,
34446 &_swigt__p_wxContextMenuEvent,
34447 &_swigt__p_wxControl,
34448 &_swigt__p_wxControlWithItems,
34449 &_swigt__p_wxCursor,
34450 &_swigt__p_wxCustomDataObject,
34451 &_swigt__p_wxDC,
34452 &_swigt__p_wxDataFormat,
34453 &_swigt__p_wxDataObject,
34454 &_swigt__p_wxDataObjectComposite,
34455 &_swigt__p_wxDataObjectSimple,
34456 &_swigt__p_wxDateEvent,
34457 &_swigt__p_wxDateSpan,
34458 &_swigt__p_wxDateTime,
34459 &_swigt__p_wxDateTime__TimeZone,
34460 &_swigt__p_wxDisplay,
34461 &_swigt__p_wxDisplayChangedEvent,
34462 &_swigt__p_wxDropFilesEvent,
34463 &_swigt__p_wxDuplexMode,
34464 &_swigt__p_wxEraseEvent,
34465 &_swigt__p_wxEvent,
34466 &_swigt__p_wxEvtHandler,
34467 &_swigt__p_wxFSFile,
34468 &_swigt__p_wxFileConfig,
34469 &_swigt__p_wxFileDataObject,
34470 &_swigt__p_wxFileHistory,
34471 &_swigt__p_wxFileSystem,
34472 &_swigt__p_wxFileType,
34473 &_swigt__p_wxFileTypeInfo,
34474 &_swigt__p_wxFlexGridSizer,
34475 &_swigt__p_wxFocusEvent,
34476 &_swigt__p_wxFont,
34477 &_swigt__p_wxFrame,
34478 &_swigt__p_wxGBSizerItem,
34479 &_swigt__p_wxGIFHandler,
34480 &_swigt__p_wxGridBagSizer,
34481 &_swigt__p_wxGridSizer,
34482 &_swigt__p_wxICOHandler,
34483 &_swigt__p_wxIcon,
34484 &_swigt__p_wxIconizeEvent,
34485 &_swigt__p_wxIdleEvent,
34486 &_swigt__p_wxImage,
34487 &_swigt__p_wxImageHandler,
34488 &_swigt__p_wxIndividualLayoutConstraint,
34489 &_swigt__p_wxInitDialogEvent,
34490 &_swigt__p_wxJPEGHandler,
34491 &_swigt__p_wxJoystick,
34492 &_swigt__p_wxJoystickEvent,
34493 &_swigt__p_wxKeyEvent,
34494 &_swigt__p_wxKillError,
34495 &_swigt__p_wxLayoutConstraints,
34496 &_swigt__p_wxLog,
34497 &_swigt__p_wxLogBuffer,
34498 &_swigt__p_wxLogChain,
34499 &_swigt__p_wxLogGui,
34500 &_swigt__p_wxLogNull,
34501 &_swigt__p_wxLogStderr,
34502 &_swigt__p_wxLogTextCtrl,
34503 &_swigt__p_wxLogWindow,
34504 &_swigt__p_wxMaximizeEvent,
34505 &_swigt__p_wxMemorySize,
34506 &_swigt__p_wxMenu,
34507 &_swigt__p_wxMenuBar,
34508 &_swigt__p_wxMenuEvent,
34509 &_swigt__p_wxMenuItem,
34510 &_swigt__p_wxMetafile,
34511 &_swigt__p_wxMetafileDataObject,
34512 &_swigt__p_wxMimeTypesManager,
34513 &_swigt__p_wxMouseCaptureChangedEvent,
34514 &_swigt__p_wxMouseEvent,
34515 &_swigt__p_wxMouseState,
34516 &_swigt__p_wxMoveEvent,
34517 &_swigt__p_wxMutexGuiLocker,
34518 &_swigt__p_wxNavigationKeyEvent,
34519 &_swigt__p_wxNcPaintEvent,
34520 &_swigt__p_wxNotifyEvent,
34521 &_swigt__p_wxObject,
34522 &_swigt__p_wxOutputStream,
34523 &_swigt__p_wxPCXHandler,
34524 &_swigt__p_wxPNGHandler,
34525 &_swigt__p_wxPNMHandler,
34526 &_swigt__p_wxPaintEvent,
34527 &_swigt__p_wxPaletteChangedEvent,
34528 &_swigt__p_wxPaperSize,
34529 &_swigt__p_wxPoint,
34530 &_swigt__p_wxProcessEvent,
34531 &_swigt__p_wxPyApp,
34532 &_swigt__p_wxPyArtProvider,
34533 &_swigt__p_wxPyBitmapDataObject,
34534 &_swigt__p_wxPyCommandEvent,
34535 &_swigt__p_wxPyDataObjectSimple,
34536 &_swigt__p_wxPyDropSource,
34537 &_swigt__p_wxPyDropTarget,
34538 &_swigt__p_wxPyEvent,
34539 &_swigt__p_wxPyFileDropTarget,
34540 &_swigt__p_wxPyImageHandler,
34541 &_swigt__p_wxPyLog,
34542 &_swigt__p_wxPyProcess,
34543 &_swigt__p_wxPySizer,
34544 &_swigt__p_wxPyTextDataObject,
34545 &_swigt__p_wxPyTextDropTarget,
34546 &_swigt__p_wxPyTimer,
34547 &_swigt__p_wxPyTipProvider,
34548 &_swigt__p_wxPyValidator,
34549 &_swigt__p_wxQueryNewPaletteEvent,
34550 &_swigt__p_wxRect,
34551 &_swigt__p_wxScrollEvent,
34552 &_swigt__p_wxScrollWinEvent,
34553 &_swigt__p_wxSetCursorEvent,
34554 &_swigt__p_wxShowEvent,
34555 &_swigt__p_wxSingleInstanceChecker,
34556 &_swigt__p_wxSize,
34557 &_swigt__p_wxSizeEvent,
34558 &_swigt__p_wxSizer,
34559 &_swigt__p_wxSizerItem,
34560 &_swigt__p_wxSound,
34561 &_swigt__p_wxStandardPaths,
34562 &_swigt__p_wxStaticBoxSizer,
34563 &_swigt__p_wxStdDialogButtonSizer,
34564 &_swigt__p_wxStopWatch,
34565 &_swigt__p_wxString,
34566 &_swigt__p_wxSysColourChangedEvent,
34567 &_swigt__p_wxSystemOptions,
34568 &_swigt__p_wxSystemSettings,
34569 &_swigt__p_wxTIFFHandler,
34570 &_swigt__p_wxTextCtrl,
34571 &_swigt__p_wxTextDataObject,
34572 &_swigt__p_wxTimeSpan,
34573 &_swigt__p_wxTimer,
34574 &_swigt__p_wxTimerEvent,
34575 &_swigt__p_wxTimerRunner,
34576 &_swigt__p_wxTipProvider,
34577 &_swigt__p_wxToolTip,
34578 &_swigt__p_wxURLDataObject,
34579 &_swigt__p_wxUpdateUIEvent,
34580 &_swigt__p_wxValidator,
34581 &_swigt__p_wxVideoMode,
34582 &_swigt__p_wxWindow,
34583 &_swigt__p_wxWindowCreateEvent,
34584 &_swigt__p_wxWindowDestroyEvent,
34585 &_swigt__p_wxWindowDisabler,
34586 &_swigt__p_wxXPMHandler,
34587 &_swigt__ptrdiff_t,
34588 &_swigt__std__ptrdiff_t,
34589 &_swigt__unsigned_int,
34590};
34591
34592static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34593static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34594static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34595static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34596static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34597static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34598static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
34599static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34600static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34601static swig_cast_info _swigc__p_wxBitmapDataObject[] = { {&_swigt__p_wxBitmapDataObject, 0, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0},{0, 0, 0, 0}};
34602static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}};
34603static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
34604static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}};
34605static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
34606static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
34607static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 0, 0, 0},{0, 0, 0, 0}};
34608static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34609static swig_cast_info _swigc__p_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}};
34610static swig_cast_info _swigc__p_wxConfigBase[] = { {&_swigt__p_wxFileConfig, _p_wxFileConfigTo_p_wxConfigBase, 0, 0}, {&_swigt__p_wxConfigBase, 0, 0, 0}, {&_swigt__p_wxConfig, _p_wxConfigTo_p_wxConfigBase, 0, 0},{0, 0, 0, 0}};
34611static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 0, 0, 0},{0, 0, 0, 0}};
34612static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
34613static swig_cast_info _swigc__p_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 0, 0, 0},{0, 0, 0, 0}};
34614static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34615static swig_cast_info _swigc__p_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}};
34616static swig_cast_info _swigc__p_wxDataObject[] = { {&_swigt__p_wxDataObjectSimple, _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObjectComposite, _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxDataObject, 0, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0}, {&_swigt__p_wxURLDataObject, _p_wxURLDataObjectTo_p_wxDataObject, 0, 0},{0, 0, 0, 0}};
34617static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}};
34618static swig_cast_info _swigc__p_wxDataObjectSimple[] = { {&_swigt__p_wxDataObjectSimple, 0, 0, 0}, {&_swigt__p_wxPyDataObjectSimple, _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxTextDataObject, _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxBitmapDataObject, _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxPyBitmapDataObject, _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxFileDataObject, _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxCustomDataObject, _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0}, {&_swigt__p_wxMetafileDataObject, _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0},{0, 0, 0, 0}};
34619static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 0, 0, 0},{0, 0, 0, 0}};
34620static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
34621static swig_cast_info _swigc__p_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}};
34622static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 0, 0, 0},{0, 0, 0, 0}};
34623static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34624static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34625static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34626static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34627static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34628static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34629static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34630static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34631static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34632static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34633static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
34634static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34635static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34636static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34637static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34638static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34639static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34640static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34641static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34642static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34643static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34644static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34645static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34646static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34647static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34648static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34649static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34650static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34651static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34652static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34653static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34654static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34655static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34656static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34657static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34658static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34659static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34660static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
34661static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34662static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34663static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34664static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34665static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
34666static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34667static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
34668static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}};
34669static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34670static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
34671static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}};
34672static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 0, 0, 0},{0, 0, 0, 0}};
34673static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34674static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
34675static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34676static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}};
34677static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
34678static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}};
34679static swig_cast_info _swigc__p_wxLog[] = { {&_swigt__p_wxLogBuffer, _p_wxLogBufferTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogStderr, _p_wxLogStderrTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogTextCtrl, _p_wxLogTextCtrlTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogWindow, _p_wxLogWindowTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogChain, _p_wxLogChainTo_p_wxLog, 0, 0}, {&_swigt__p_wxLogGui, _p_wxLogGuiTo_p_wxLog, 0, 0}, {&_swigt__p_wxPyLog, _p_wxPyLogTo_p_wxLog, 0, 0}, {&_swigt__p_wxLog, 0, 0, 0},{0, 0, 0, 0}};
34680static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}};
34681static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}};
34682static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}};
34683static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}};
34684static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}};
34685static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34686static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}};
34687static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}};
34688static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34689static swig_cast_info _swigc__p_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}};
34690static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34691static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}};
34692static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}};
34693static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}};
34694static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34695static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34696static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34697static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34698static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34699static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34700static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34701static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34702static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34703static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34704static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34705static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34706static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34707static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34708static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34709static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34710static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34711static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34712static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34713static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34714static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34715static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34716static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34717static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34718static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34719static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34720static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34721static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34722static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34723static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34724static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileHistory, _p_wxFileHistoryTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTimerEvent, _p_wxTimerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboard, _p_wxClipboardTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolTip, _p_wxToolTipTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSystemOptions, _p_wxSystemOptionsTo_p_wxObject, 0, 0}, {&_swigt__p_wxJoystickEvent, _p_wxJoystickEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyProcess, _p_wxPyProcessTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBusyInfo, _p_wxBusyInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxProcessEvent, _p_wxProcessEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTimer, _p_wxPyTimerTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
34725static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
34726static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34727static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34728static swig_cast_info _swigc__p_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
34729static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}};
34730static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}};
34731static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}};
34732static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}};
34733static swig_cast_info _swigc__p_wxPyDropTarget[] = { {&_swigt__p_wxPyDropTarget, 0, 0, 0}, {&_swigt__p_wxPyTextDropTarget, _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0}, {&_swigt__p_wxPyFileDropTarget, _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0},{0, 0, 0, 0}};
34734static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34735static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}};
34736static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
34737static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}};
34738static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34739static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
34740static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 0, 0, 0},{0, 0, 0, 0}};
34741static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34742static swig_cast_info _swigc__p_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 0, 0, 0},{0, 0, 0, 0}};
34743static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34744static swig_cast_info _swigc__p_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}};
34745static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}};
34746static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}};
34747static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34748static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
34749static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}};
34750static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34751static swig_cast_info _swigc__p_wxTextDataObject[] = { {&_swigt__p_wxTextDataObject, 0, 0, 0}, {&_swigt__p_wxPyTextDataObject, _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0},{0, 0, 0, 0}};
34752static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}};
34753static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}};
34754static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
34755static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}};
34756static swig_cast_info _swigc__p_wxTipProvider[] = { {&_swigt__p_wxTipProvider, 0, 0, 0}, {&_swigt__p_wxPyTipProvider, _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0},{0, 0, 0, 0}};
34757static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
34758static swig_cast_info _swigc__p_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}};
34759static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 0, 0, 0},{0, 0, 0, 0}};
34760static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
34761static swig_cast_info _swigc__p_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 0, 0, 0},{0, 0, 0, 0}};
34762static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34763static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34764static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34765
34766static swig_cast_info *swig_cast_initial[] = {
34767 _swigc__p_char,
34768 _swigc__p_form_ops_t,
34769 _swigc__p_int,
34770 _swigc__p_unsigned_char,
34771 _swigc__p_unsigned_int,
34772 _swigc__p_unsigned_long,
34773 _swigc__p_void,
34774 _swigc__p_wxANIHandler,
34775 _swigc__p_wxAcceleratorTable,
34776 _swigc__p_wxActivateEvent,
34777 _swigc__p_wxArrayString,
34778 _swigc__p_wxBMPHandler,
34779 _swigc__p_wxBitmap,
34780 _swigc__p_wxBitmapDataObject,
34781 _swigc__p_wxBoxSizer,
34782 _swigc__p_wxBusyCursor,
34783 _swigc__p_wxBusyInfo,
34784 _swigc__p_wxCURHandler,
34785 _swigc__p_wxCaret,
34786 _swigc__p_wxChar,
34787 _swigc__p_wxChildFocusEvent,
34788 _swigc__p_wxClipboard,
34789 _swigc__p_wxClipboardLocker,
34790 _swigc__p_wxCloseEvent,
34791 _swigc__p_wxColour,
34792 _swigc__p_wxCommandEvent,
34793 _swigc__p_wxConfig,
34794 _swigc__p_wxConfigBase,
34795 _swigc__p_wxConfigPathChanger,
34796 _swigc__p_wxContextMenuEvent,
34797 _swigc__p_wxControl,
34798 _swigc__p_wxControlWithItems,
34799 _swigc__p_wxCursor,
34800 _swigc__p_wxCustomDataObject,
34801 _swigc__p_wxDC,
34802 _swigc__p_wxDataFormat,
34803 _swigc__p_wxDataObject,
34804 _swigc__p_wxDataObjectComposite,
34805 _swigc__p_wxDataObjectSimple,
34806 _swigc__p_wxDateEvent,
34807 _swigc__p_wxDateSpan,
34808 _swigc__p_wxDateTime,
34809 _swigc__p_wxDateTime__TimeZone,
34810 _swigc__p_wxDisplay,
34811 _swigc__p_wxDisplayChangedEvent,
34812 _swigc__p_wxDropFilesEvent,
34813 _swigc__p_wxDuplexMode,
34814 _swigc__p_wxEraseEvent,
34815 _swigc__p_wxEvent,
34816 _swigc__p_wxEvtHandler,
34817 _swigc__p_wxFSFile,
34818 _swigc__p_wxFileConfig,
34819 _swigc__p_wxFileDataObject,
34820 _swigc__p_wxFileHistory,
34821 _swigc__p_wxFileSystem,
34822 _swigc__p_wxFileType,
34823 _swigc__p_wxFileTypeInfo,
34824 _swigc__p_wxFlexGridSizer,
34825 _swigc__p_wxFocusEvent,
34826 _swigc__p_wxFont,
34827 _swigc__p_wxFrame,
34828 _swigc__p_wxGBSizerItem,
34829 _swigc__p_wxGIFHandler,
34830 _swigc__p_wxGridBagSizer,
34831 _swigc__p_wxGridSizer,
34832 _swigc__p_wxICOHandler,
34833 _swigc__p_wxIcon,
34834 _swigc__p_wxIconizeEvent,
34835 _swigc__p_wxIdleEvent,
34836 _swigc__p_wxImage,
34837 _swigc__p_wxImageHandler,
34838 _swigc__p_wxIndividualLayoutConstraint,
34839 _swigc__p_wxInitDialogEvent,
34840 _swigc__p_wxJPEGHandler,
34841 _swigc__p_wxJoystick,
34842 _swigc__p_wxJoystickEvent,
34843 _swigc__p_wxKeyEvent,
34844 _swigc__p_wxKillError,
34845 _swigc__p_wxLayoutConstraints,
34846 _swigc__p_wxLog,
34847 _swigc__p_wxLogBuffer,
34848 _swigc__p_wxLogChain,
34849 _swigc__p_wxLogGui,
34850 _swigc__p_wxLogNull,
34851 _swigc__p_wxLogStderr,
34852 _swigc__p_wxLogTextCtrl,
34853 _swigc__p_wxLogWindow,
34854 _swigc__p_wxMaximizeEvent,
34855 _swigc__p_wxMemorySize,
34856 _swigc__p_wxMenu,
34857 _swigc__p_wxMenuBar,
34858 _swigc__p_wxMenuEvent,
34859 _swigc__p_wxMenuItem,
34860 _swigc__p_wxMetafile,
34861 _swigc__p_wxMetafileDataObject,
34862 _swigc__p_wxMimeTypesManager,
34863 _swigc__p_wxMouseCaptureChangedEvent,
34864 _swigc__p_wxMouseEvent,
34865 _swigc__p_wxMouseState,
34866 _swigc__p_wxMoveEvent,
34867 _swigc__p_wxMutexGuiLocker,
34868 _swigc__p_wxNavigationKeyEvent,
34869 _swigc__p_wxNcPaintEvent,
34870 _swigc__p_wxNotifyEvent,
34871 _swigc__p_wxObject,
34872 _swigc__p_wxOutputStream,
34873 _swigc__p_wxPCXHandler,
34874 _swigc__p_wxPNGHandler,
34875 _swigc__p_wxPNMHandler,
34876 _swigc__p_wxPaintEvent,
34877 _swigc__p_wxPaletteChangedEvent,
34878 _swigc__p_wxPaperSize,
34879 _swigc__p_wxPoint,
34880 _swigc__p_wxProcessEvent,
34881 _swigc__p_wxPyApp,
34882 _swigc__p_wxPyArtProvider,
34883 _swigc__p_wxPyBitmapDataObject,
34884 _swigc__p_wxPyCommandEvent,
34885 _swigc__p_wxPyDataObjectSimple,
34886 _swigc__p_wxPyDropSource,
34887 _swigc__p_wxPyDropTarget,
34888 _swigc__p_wxPyEvent,
34889 _swigc__p_wxPyFileDropTarget,
34890 _swigc__p_wxPyImageHandler,
34891 _swigc__p_wxPyLog,
34892 _swigc__p_wxPyProcess,
34893 _swigc__p_wxPySizer,
34894 _swigc__p_wxPyTextDataObject,
34895 _swigc__p_wxPyTextDropTarget,
34896 _swigc__p_wxPyTimer,
34897 _swigc__p_wxPyTipProvider,
34898 _swigc__p_wxPyValidator,
34899 _swigc__p_wxQueryNewPaletteEvent,
34900 _swigc__p_wxRect,
34901 _swigc__p_wxScrollEvent,
34902 _swigc__p_wxScrollWinEvent,
34903 _swigc__p_wxSetCursorEvent,
34904 _swigc__p_wxShowEvent,
34905 _swigc__p_wxSingleInstanceChecker,
34906 _swigc__p_wxSize,
34907 _swigc__p_wxSizeEvent,
34908 _swigc__p_wxSizer,
34909 _swigc__p_wxSizerItem,
34910 _swigc__p_wxSound,
34911 _swigc__p_wxStandardPaths,
34912 _swigc__p_wxStaticBoxSizer,
34913 _swigc__p_wxStdDialogButtonSizer,
34914 _swigc__p_wxStopWatch,
34915 _swigc__p_wxString,
34916 _swigc__p_wxSysColourChangedEvent,
34917 _swigc__p_wxSystemOptions,
34918 _swigc__p_wxSystemSettings,
34919 _swigc__p_wxTIFFHandler,
34920 _swigc__p_wxTextCtrl,
34921 _swigc__p_wxTextDataObject,
34922 _swigc__p_wxTimeSpan,
34923 _swigc__p_wxTimer,
34924 _swigc__p_wxTimerEvent,
34925 _swigc__p_wxTimerRunner,
34926 _swigc__p_wxTipProvider,
34927 _swigc__p_wxToolTip,
34928 _swigc__p_wxURLDataObject,
34929 _swigc__p_wxUpdateUIEvent,
34930 _swigc__p_wxValidator,
34931 _swigc__p_wxVideoMode,
34932 _swigc__p_wxWindow,
34933 _swigc__p_wxWindowCreateEvent,
34934 _swigc__p_wxWindowDestroyEvent,
34935 _swigc__p_wxWindowDisabler,
34936 _swigc__p_wxXPMHandler,
34937 _swigc__ptrdiff_t,
34938 _swigc__std__ptrdiff_t,
34939 _swigc__unsigned_int,
d55e5bfc
RD
34940};
34941
34942
34943/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34944
34945static swig_const_info swig_const_table[] = {
34946{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
34947{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
34948{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
34949{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
34950{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 34951{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
34952
34953#ifdef __cplusplus
34954}
34955#endif
7449af73
RD
34956/*************************************************************************
34957 * Type initialization:
34958 * This problem is tough by the requirement that no dynamic
34959 * memory is used. Also, since swig_type_info structures store pointers to
34960 * swig_cast_info structures and swig_cast_info structures store pointers back
34961 * to swig_type_info structures, we need some lookup code at initialization.
34962 * The idea is that swig generates all the structures that are needed.
34963 * The runtime then collects these partially filled structures.
34964 * The SWIG_InitializeModule function takes these initial arrays out of
34965 * swig_module, and does all the lookup, filling in the swig_module.types
34966 * array with the correct data and linking the correct swig_cast_info
34967 * structures together.
34968
34969 * The generated swig_type_info structures are assigned staticly to an initial
34970 * array. We just loop though that array, and handle each type individually.
34971 * First we lookup if this type has been already loaded, and if so, use the
34972 * loaded structure instead of the generated one. Then we have to fill in the
34973 * cast linked list. The cast data is initially stored in something like a
34974 * two-dimensional array. Each row corresponds to a type (there are the same
34975 * number of rows as there are in the swig_type_initial array). Each entry in
34976 * a column is one of the swig_cast_info structures for that type.
34977 * The cast_initial array is actually an array of arrays, because each row has
34978 * a variable number of columns. So to actually build the cast linked list,
34979 * we find the array of casts associated with the type, and loop through it
34980 * adding the casts to the list. The one last trick we need to do is making
34981 * sure the type pointer in the swig_cast_info struct is correct.
34982
34983 * First off, we lookup the cast->type name to see if it is already loaded.
34984 * There are three cases to handle:
34985 * 1) If the cast->type has already been loaded AND the type we are adding
34986 * casting info to has not been loaded (it is in this module), THEN we
34987 * replace the cast->type pointer with the type pointer that has already
34988 * been loaded.
34989 * 2) If BOTH types (the one we are adding casting info to, and the
34990 * cast->type) are loaded, THEN the cast info has already been loaded by
34991 * the previous module so we just ignore it.
34992 * 3) Finally, if cast->type has not already been loaded, then we add that
34993 * swig_cast_info to the linked list (because the cast->type) pointer will
34994 * be correct.
34995**/
34996
34997#ifdef __cplusplus
34998extern "C" {
34999#if 0
35000} /* c-mode */
35001#endif
35002#endif
35003
35004#if 0
35005#define SWIGRUNTIME_DEBUG
35006#endif
35007
35008SWIGRUNTIME void
35009SWIG_InitializeModule(void *clientdata) {
35010 size_t i;
35011 swig_module_info *module_head;
35012 static int init_run = 0;
35013
35014 clientdata = clientdata;
35015
35016 if (init_run) return;
35017 init_run = 1;
35018
35019 /* Initialize the swig_module */
35020 swig_module.type_initial = swig_type_initial;
35021 swig_module.cast_initial = swig_cast_initial;
35022
35023 /* Try and load any already created modules */
35024 module_head = SWIG_GetModule(clientdata);
35025 if (module_head) {
35026 swig_module.next = module_head->next;
35027 module_head->next = &swig_module;
35028 } else {
35029 /* This is the first module loaded */
35030 swig_module.next = &swig_module;
35031 SWIG_SetModule(clientdata, &swig_module);
35032 }
35033
35034 /* Now work on filling in swig_module.types */
35035#ifdef SWIGRUNTIME_DEBUG
35036 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
35037#endif
35038 for (i = 0; i < swig_module.size; ++i) {
35039 swig_type_info *type = 0;
35040 swig_type_info *ret;
35041 swig_cast_info *cast;
35042
35043#ifdef SWIGRUNTIME_DEBUG
35044 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35045#endif
35046
35047 /* if there is another module already loaded */
35048 if (swig_module.next != &swig_module) {
35049 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
35050 }
35051 if (type) {
35052 /* Overwrite clientdata field */
35053#ifdef SWIGRUNTIME_DEBUG
35054 printf("SWIG_InitializeModule: found type %s\n", type->name);
35055#endif
35056 if (swig_module.type_initial[i]->clientdata) {
35057 type->clientdata = swig_module.type_initial[i]->clientdata;
35058#ifdef SWIGRUNTIME_DEBUG
35059 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
35060#endif
35061 }
35062 } else {
35063 type = swig_module.type_initial[i];
35064 }
35065
35066 /* Insert casting types */
35067 cast = swig_module.cast_initial[i];
35068 while (cast->type) {
35069 /* Don't need to add information already in the list */
35070 ret = 0;
35071#ifdef SWIGRUNTIME_DEBUG
35072 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
35073#endif
35074 if (swig_module.next != &swig_module) {
35075 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
35076#ifdef SWIGRUNTIME_DEBUG
35077 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
35078#endif
35079 }
35080 if (ret) {
35081 if (type == swig_module.type_initial[i]) {
35082#ifdef SWIGRUNTIME_DEBUG
35083 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
35084#endif
35085 cast->type = ret;
35086 ret = 0;
35087 } else {
35088 /* Check for casting already in the list */
35089 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
35090#ifdef SWIGRUNTIME_DEBUG
35091 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
35092#endif
35093 if (!ocast) ret = 0;
35094 }
35095 }
35096
35097 if (!ret) {
35098#ifdef SWIGRUNTIME_DEBUG
35099 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
35100#endif
35101 if (type->cast) {
35102 type->cast->prev = cast;
35103 cast->next = type->cast;
35104 }
35105 type->cast = cast;
35106 }
35107 cast++;
35108 }
35109 /* Set entry in modules->types array equal to the type */
35110 swig_module.types[i] = type;
35111 }
35112 swig_module.types[i] = 0;
35113
35114#ifdef SWIGRUNTIME_DEBUG
35115 printf("**** SWIG_InitializeModule: Cast List ******\n");
35116 for (i = 0; i < swig_module.size; ++i) {
35117 int j = 0;
35118 swig_cast_info *cast = swig_module.cast_initial[i];
35119 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35120 while (cast->type) {
35121 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
35122 cast++;
35123 ++j;
35124 }
35125 printf("---- Total casts: %d\n",j);
35126 }
35127 printf("**** SWIG_InitializeModule: Cast List ******\n");
35128#endif
35129}
35130
35131/* This function will propagate the clientdata field of type to
35132* any new swig_type_info structures that have been added into the list
35133* of equivalent types. It is like calling
35134* SWIG_TypeClientData(type, clientdata) a second time.
35135*/
35136SWIGRUNTIME void
35137SWIG_PropagateClientData(void) {
35138 size_t i;
35139 swig_cast_info *equiv;
35140 static int init_run = 0;
35141
35142 if (init_run) return;
35143 init_run = 1;
35144
35145 for (i = 0; i < swig_module.size; i++) {
35146 if (swig_module.types[i]->clientdata) {
35147 equiv = swig_module.types[i]->cast;
35148 while (equiv) {
35149 if (!equiv->converter) {
35150 if (equiv->type && !equiv->type->clientdata)
35151 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
35152 }
35153 equiv = equiv->next;
35154 }
35155 }
35156 }
35157}
35158
35159#ifdef __cplusplus
35160#if 0
35161{
35162 /* c-mode */
35163#endif
35164}
35165#endif
35166
d55e5bfc 35167
093d3ff1 35168
d55e5bfc 35169#ifdef __cplusplus
093d3ff1 35170extern "C" {
d55e5bfc 35171#endif
d55e5bfc 35172
093d3ff1
RD
35173 /* Python-specific SWIG API */
35174#define SWIG_newvarlink() SWIG_Python_newvarlink()
35175#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35176#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35177
35178 /* -----------------------------------------------------------------------------
35179 * global variable support code.
35180 * ----------------------------------------------------------------------------- */
35181
35182 typedef struct swig_globalvar {
35183 char *name; /* Name of global variable */
7449af73 35184 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
35185 int (*set_attr)(PyObject *); /* Set the value */
35186 struct swig_globalvar *next;
35187 } swig_globalvar;
35188
35189 typedef struct swig_varlinkobject {
35190 PyObject_HEAD
35191 swig_globalvar *vars;
35192 } swig_varlinkobject;
35193
7449af73 35194 SWIGINTERN PyObject *
093d3ff1
RD
35195 swig_varlink_repr(swig_varlinkobject *v) {
35196 v = v;
35197 return PyString_FromString("<Swig global variables>");
35198 }
35199
7449af73 35200 SWIGINTERN int
093d3ff1
RD
35201 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
35202 swig_globalvar *var;
35203 flags = flags;
35204 fprintf(fp,"Swig global variables { ");
35205 for (var = v->vars; var; var=var->next) {
35206 fprintf(fp,"%s", var->name);
35207 if (var->next) fprintf(fp,", ");
d55e5bfc 35208 }
093d3ff1
RD
35209 fprintf(fp," }\n");
35210 return 0;
d55e5bfc 35211 }
d55e5bfc 35212
7449af73 35213 SWIGINTERN PyObject *
093d3ff1
RD
35214 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
35215 swig_globalvar *var = v->vars;
35216 while (var) {
35217 if (strcmp(var->name,n) == 0) {
35218 return (*var->get_attr)();
35219 }
35220 var = var->next;
35221 }
35222 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35223 return NULL;
35224 }
1a6bba1e 35225
7449af73 35226 SWIGINTERN int
093d3ff1
RD
35227 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
35228 swig_globalvar *var = v->vars;
35229 while (var) {
35230 if (strcmp(var->name,n) == 0) {
35231 return (*var->set_attr)(p);
35232 }
35233 var = var->next;
35234 }
35235 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35236 return 1;
35237 }
1a6bba1e 35238
7449af73
RD
35239 SWIGINTERN PyTypeObject*
35240 swig_varlink_type(void) {
35241 static char varlink__doc__[] = "Swig var link object";
35242 static PyTypeObject varlink_type
35243#if !defined(__cplusplus)
35244 ;
35245 static int type_init = 0;
35246 if (!type_init) {
35247 PyTypeObject tmp
35248#endif
35249 = {
35250 PyObject_HEAD_INIT(&PyType_Type)
35251 0, /* Number of items in variable part (ob_size) */
35252 (char *)"swigvarlink", /* Type name (tp_name) */
35253 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
35254 0, /* Itemsize (tp_itemsize) */
35255 0, /* Deallocator (tp_dealloc) */
35256 (printfunc) swig_varlink_print, /* Print (tp_print) */
35257 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
35258 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
35259 0, /* tp_compare */
35260 (reprfunc) swig_varlink_repr, /* tp_repr */
35261 0, /* tp_as_number */
35262 0, /* tp_as_sequence */
35263 0, /* tp_as_mapping */
35264 0, /* tp_hash */
35265 0, /* tp_call */
35266 0, /* tp_str */
35267 0, /* tp_getattro */
35268 0, /* tp_setattro */
35269 0, /* tp_as_buffer */
35270 0, /* tp_flags */
35271 varlink__doc__, /* tp_doc */
093d3ff1 35272#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
35273 0, /* tp_traverse */
35274 0, /* tp_clear */
093d3ff1
RD
35275#endif
35276#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
35277 0, /* tp_richcompare */
35278 0, /* tp_weaklistoffset */
093d3ff1
RD
35279#endif
35280#if PY_VERSION_HEX >= 0x02020000
7449af73 35281 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
093d3ff1
RD
35282#endif
35283#if PY_VERSION_HEX >= 0x02030000
7449af73 35284 0, /* tp_del */
093d3ff1
RD
35285#endif
35286#ifdef COUNT_ALLOCS
7449af73 35287 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 35288#endif
7449af73
RD
35289 };
35290#if !defined(__cplusplus)
35291 varlink_type = tmp;
35292 type_init = 1;
35293 }
35294#endif
35295 return &varlink_type;
35296 }
d55e5bfc 35297
093d3ff1 35298 /* Create a variable linking object for use later */
7449af73 35299 SWIGINTERN PyObject *
093d3ff1 35300 SWIG_Python_newvarlink(void) {
7449af73
RD
35301 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
35302 if (result) {
35303 result->vars = 0;
35304 }
093d3ff1
RD
35305 return ((PyObject*) result);
35306 }
35307
7449af73 35308 SWIGINTERN void
093d3ff1 35309 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
35310 swig_varlinkobject *v = (swig_varlinkobject *) p;
35311 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
35312 if (gv) {
35313 size_t size = strlen(name)+1;
35314 gv->name = (char *)malloc(size);
35315 if (gv->name) {
35316 strncpy(gv->name,name,size);
35317 gv->get_attr = get_attr;
35318 gv->set_attr = set_attr;
35319 gv->next = v->vars;
35320 }
35321 }
093d3ff1
RD
35322 v->vars = gv;
35323 }
35324
35325 /* -----------------------------------------------------------------------------
35326 * constants/methods manipulation
35327 * ----------------------------------------------------------------------------- */
35328
35329 /* Install Constants */
7449af73 35330 SWIGINTERN void
093d3ff1
RD
35331 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
35332 PyObject *obj = 0;
35333 size_t i;
7449af73 35334 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
35335 switch(constants[i].type) {
35336 case SWIG_PY_INT:
35337 obj = PyInt_FromLong(constants[i].lvalue);
35338 break;
35339 case SWIG_PY_FLOAT:
35340 obj = PyFloat_FromDouble(constants[i].dvalue);
35341 break;
35342 case SWIG_PY_STRING:
35343 if (constants[i].pvalue) {
35344 obj = PyString_FromString((char *) constants[i].pvalue);
35345 } else {
35346 Py_INCREF(Py_None);
35347 obj = Py_None;
35348 }
35349 break;
35350 case SWIG_PY_POINTER:
35351 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
35352 break;
35353 case SWIG_PY_BINARY:
35354 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
35355 break;
35356 default:
35357 obj = 0;
35358 break;
35359 }
35360 if (obj) {
35361 PyDict_SetItemString(d,constants[i].name,obj);
35362 Py_DECREF(obj);
35363 }
35364 }
35365 }
d55e5bfc 35366
093d3ff1
RD
35367 /* -----------------------------------------------------------------------------*/
35368 /* Fix SwigMethods to carry the callback ptrs when needed */
35369 /* -----------------------------------------------------------------------------*/
35370
7449af73 35371 SWIGINTERN void
093d3ff1
RD
35372 SWIG_Python_FixMethods(PyMethodDef *methods,
35373 swig_const_info *const_table,
35374 swig_type_info **types,
35375 swig_type_info **types_initial) {
35376 size_t i;
35377 for (i = 0; methods[i].ml_name; ++i) {
35378 char *c = methods[i].ml_doc;
35379 if (c && (c = strstr(c, "swig_ptr: "))) {
35380 int j;
35381 swig_const_info *ci = 0;
35382 char *name = c + 10;
7449af73 35383 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
35384 if (strncmp(const_table[j].name, name,
35385 strlen(const_table[j].name)) == 0) {
35386 ci = &(const_table[j]);
35387 break;
35388 }
35389 }
35390 if (ci) {
35391 size_t shift = (ci->ptype) - types;
35392 swig_type_info *ty = types_initial[shift];
35393 size_t ldoc = (c - methods[i].ml_doc);
35394 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
35395 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
35396 if (ndoc) {
35397 char *buff = ndoc;
35398 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
35399 if (ptr) {
35400 strncpy(buff, methods[i].ml_doc, ldoc);
35401 buff += ldoc;
35402 strncpy(buff, "swig_ptr: ", 10);
35403 buff += 10;
35404 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
35405 methods[i].ml_doc = ndoc;
35406 }
35407 }
093d3ff1
RD
35408 }
35409 }
35410 }
35411 }
35412
35413 /* -----------------------------------------------------------------------------*
35414 * Initialize type list
35415 * -----------------------------------------------------------------------------*/
35416
093d3ff1
RD
35417#ifdef __cplusplus
35418}
35419#endif
35420
35421/* -----------------------------------------------------------------------------*
35422 * Partial Init method
35423 * -----------------------------------------------------------------------------*/
35424
093d3ff1
RD
35425#ifdef __cplusplus
35426extern "C"
35427#endif
7449af73 35428SWIGEXPORT void SWIG_init(void) {
093d3ff1 35429 static PyObject *SWIG_globals = 0;
093d3ff1 35430 PyObject *m, *d;
093d3ff1
RD
35431 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
35432
35433 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 35434 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1
RD
35435
35436 m = Py_InitModule((char *) SWIG_name, SwigMethods);
35437 d = PyModule_GetDict(m);
35438
7449af73 35439 SWIG_InitializeModule(0);
093d3ff1
RD
35440 SWIG_InstallConstants(d,swig_const_table);
35441
35442 {
7449af73 35443 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT)));
093d3ff1
RD
35444 }
35445 {
7449af73 35446 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT)));
093d3ff1
RD
35447 }
35448 {
7449af73 35449 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT)));
093d3ff1
RD
35450 }
35451 {
7449af73 35452 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT)));
093d3ff1
RD
35453 }
35454 {
7449af73 35455 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT)));
093d3ff1
RD
35456 }
35457 {
7449af73 35458 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE)));
093d3ff1
RD
35459 }
35460 {
7449af73 35461 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT)));
093d3ff1
RD
35462 }
35463 {
7449af73 35464 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT)));
093d3ff1
RD
35465 }
35466 {
7449af73 35467 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT)));
093d3ff1
RD
35468 }
35469 {
7449af73 35470 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR)));
093d3ff1
RD
35471 }
35472 {
7449af73 35473 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND)));
093d3ff1
RD
35474 }
35475 {
7449af73 35476 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP)));
093d3ff1
RD
35477 }
35478 {
7449af73 35479 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION)));
093d3ff1
RD
35480 }
35481 {
7449af73 35482 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION)));
093d3ff1
RD
35483 }
35484 {
7449af73 35485 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU)));
093d3ff1
RD
35486 }
35487 {
7449af73 35488 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW)));
093d3ff1
RD
35489 }
35490 {
7449af73 35491 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME)));
093d3ff1
RD
35492 }
35493 {
7449af73 35494 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT)));
093d3ff1
RD
35495 }
35496 {
7449af73 35497 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT)));
093d3ff1
RD
35498 }
35499 {
7449af73 35500 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT)));
093d3ff1
RD
35501 }
35502 {
7449af73 35503 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER)));
093d3ff1
RD
35504 }
35505 {
7449af73 35506 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER)));
093d3ff1
RD
35507 }
35508 {
7449af73 35509 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE)));
093d3ff1
RD
35510 }
35511 {
7449af73 35512 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT)));
093d3ff1
RD
35513 }
35514 {
7449af73 35515 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT)));
093d3ff1
RD
35516 }
35517 {
7449af73 35518 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE)));
093d3ff1
RD
35519 }
35520 {
7449af73 35521 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE)));
093d3ff1
RD
35522 }
35523 {
7449af73 35524 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW)));
093d3ff1
RD
35525 }
35526 {
7449af73 35527 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW)));
093d3ff1
RD
35528 }
35529 {
7449af73 35530 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT)));
093d3ff1
RD
35531 }
35532 {
7449af73 35533 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT)));
093d3ff1
RD
35534 }
35535 {
7449af73 35536 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
093d3ff1
RD
35537 }
35538 {
7449af73 35539 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT)));
093d3ff1
RD
35540 }
35541 {
7449af73 35542 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT)));
093d3ff1
RD
35543 }
35544 {
7449af73 35545 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT)));
093d3ff1
RD
35546 }
35547 {
7449af73 35548 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT)));
093d3ff1
RD
35549 }
35550 {
7449af73 35551 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW)));
093d3ff1
RD
35552 }
35553 {
7449af73 35554 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT)));
093d3ff1
RD
35555 }
35556 {
7449af73 35557 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT)));
093d3ff1
RD
35558 }
35559 {
7449af73 35560 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK)));
093d3ff1
RD
35561 }
35562 {
7449af73 35563 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX)));
093d3ff1
RD
35564 }
35565 {
7449af73 35566 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT)));
093d3ff1
RD
35567 }
35568 {
7449af73 35569 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
093d3ff1
RD
35570 }
35571 {
7449af73 35572 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
093d3ff1
RD
35573 }
35574 {
7449af73 35575 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT)));
093d3ff1
RD
35576 }
35577 {
7449af73 35578 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR)));
093d3ff1
RD
35579 }
35580 {
7449af73 35581 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX)));
093d3ff1
RD
35582 }
35583 {
7449af73 35584 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS)));
093d3ff1
RD
35585 }
35586 {
7449af73 35587 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X)));
093d3ff1
RD
35588 }
35589 {
7449af73 35590 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y)));
093d3ff1
RD
35591 }
35592 {
7449af73 35593 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X)));
093d3ff1
RD
35594 }
35595 {
7449af73 35596 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y)));
093d3ff1
RD
35597 }
35598 {
7449af73 35599 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X)));
093d3ff1
RD
35600 }
35601 {
7449af73 35602 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y)));
093d3ff1
RD
35603 }
35604 {
7449af73 35605 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X)));
093d3ff1
RD
35606 }
35607 {
7449af73 35608 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y)));
093d3ff1
RD
35609 }
35610 {
7449af73 35611 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X)));
093d3ff1
RD
35612 }
35613 {
7449af73 35614 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y)));
093d3ff1
RD
35615 }
35616 {
7449af73 35617 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X)));
093d3ff1
RD
35618 }
35619 {
7449af73 35620 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y)));
093d3ff1
RD
35621 }
35622 {
7449af73 35623 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X)));
093d3ff1
RD
35624 }
35625 {
7449af73 35626 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X)));
093d3ff1
RD
35627 }
35628 {
7449af73 35629 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y)));
093d3ff1
RD
35630 }
35631 {
7449af73 35632 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X)));
093d3ff1
RD
35633 }
35634 {
7449af73 35635 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y)));
093d3ff1
RD
35636 }
35637 {
7449af73 35638 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X)));
093d3ff1
RD
35639 }
35640 {
7449af73 35641 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y)));
093d3ff1
RD
35642 }
35643 {
7449af73 35644 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X)));
093d3ff1
RD
35645 }
35646 {
7449af73 35647 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y)));
093d3ff1
RD
35648 }
35649 {
7449af73 35650 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X)));
093d3ff1
RD
35651 }
35652 {
7449af73 35653 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y)));
093d3ff1
RD
35654 }
35655 {
7449af73 35656 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X)));
093d3ff1
RD
35657 }
35658 {
7449af73 35659 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y)));
093d3ff1
RD
35660 }
35661 {
7449af73 35662 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y)));
093d3ff1
RD
35663 }
35664 {
7449af73 35665 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X)));
093d3ff1
RD
35666 }
35667 {
7449af73 35668 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X)));
093d3ff1
RD
35669 }
35670 {
7449af73 35671 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y)));
093d3ff1
RD
35672 }
35673 {
7449af73 35674 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y)));
093d3ff1
RD
35675 }
35676 {
7449af73 35677 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y)));
093d3ff1
RD
35678 }
35679 {
7449af73 35680 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y)));
093d3ff1
RD
35681 }
35682 {
7449af73 35683 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT)));
093d3ff1
RD
35684 }
35685 {
7449af73 35686 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT)));
093d3ff1
RD
35687 }
35688 {
7449af73 35689 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS)));
093d3ff1
RD
35690 }
35691 {
7449af73 35692 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS)));
093d3ff1
RD
35693 }
35694 {
7449af73 35695 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
093d3ff1
RD
35696 }
35697 {
7449af73 35698 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME)));
093d3ff1 35699 }
b06b3e70
RD
35700 {
35701 PyDict_SetItemString(d,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT)));
35702 }
093d3ff1 35703 {
7449af73 35704 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE)));
093d3ff1
RD
35705 }
35706 {
7449af73 35707 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY)));
093d3ff1
RD
35708 }
35709 {
7449af73 35710 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA)));
093d3ff1
RD
35711 }
35712 {
7449af73 35713 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL)));
093d3ff1
RD
35714 }
35715 {
7449af73 35716 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP)));
093d3ff1
RD
35717 }
35718 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
35719 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
35720 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
35721 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
35722 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
35723 {
7449af73 35724 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF)));
093d3ff1
RD
35725 }
35726 {
7449af73 35727 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT)));
093d3ff1
RD
35728 }
35729 {
7449af73 35730 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS)));
093d3ff1
RD
35731 }
35732 {
7449af73 35733 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT)));
093d3ff1
RD
35734 }
35735 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
35736
35737 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35738
35739 {
7449af73 35740 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError)));
093d3ff1
RD
35741 }
35742 {
7449af73 35743 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error)));
093d3ff1
RD
35744 }
35745 {
7449af73 35746 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning)));
093d3ff1
RD
35747 }
35748 {
7449af73 35749 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message)));
093d3ff1
RD
35750 }
35751 {
7449af73 35752 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status)));
093d3ff1
RD
35753 }
35754 {
7449af73 35755 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info)));
093d3ff1
RD
35756 }
35757 {
7449af73 35758 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug)));
093d3ff1
RD
35759 }
35760 {
7449af73 35761 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace)));
093d3ff1
RD
35762 }
35763 {
7449af73 35764 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress)));
093d3ff1
RD
35765 }
35766 {
7449af73 35767 PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User)));
093d3ff1
RD
35768 }
35769 {
7449af73 35770 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max)));
093d3ff1
RD
35771 }
35772 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35773 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35774 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35775 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35776 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35777 {
7449af73 35778 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
093d3ff1
RD
35779 }
35780 {
7449af73 35781 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
093d3ff1
RD
35782 }
35783 {
7449af73 35784 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
093d3ff1
RD
35785 }
35786 {
7449af73 35787 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
093d3ff1
RD
35788 }
35789 {
7449af73 35790 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
093d3ff1
RD
35791 }
35792 {
7449af73 35793 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT)));
093d3ff1
RD
35794 }
35795 {
7449af73 35796 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT)));
093d3ff1
RD
35797 }
35798 {
7449af73 35799 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK)));
093d3ff1
RD
35800 }
35801 {
7449af73 35802 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL)));
093d3ff1
RD
35803 }
35804 {
7449af73 35805 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED)));
093d3ff1
RD
35806 }
35807 {
7449af73 35808 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS)));
093d3ff1
RD
35809 }
35810 {
7449af73 35811 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR)));
093d3ff1
RD
35812 }
35813 {
7449af73 35814 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN)));
093d3ff1
RD
35815 }
35816 {
7449af73 35817 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN)));
093d3ff1
RD
35818 }
35819 {
7449af73 35820 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE)));
093d3ff1
RD
35821 }
35822 {
7449af73 35823 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP)));
093d3ff1
RD
35824 }
35825 {
7449af73 35826 PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT)));
093d3ff1
RD
35827 }
35828 {
7449af73 35829 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT)));
093d3ff1
RD
35830 }
35831 {
7449af73 35832 PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL)));
093d3ff1
RD
35833 }
35834 {
7449af73 35835 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP)));
093d3ff1
RD
35836 }
35837 {
7449af73 35838 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT)));
093d3ff1
RD
35839 }
35840 {
7449af73 35841 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT)));
093d3ff1
RD
35842 }
35843 {
7449af73 35844 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT)));
093d3ff1
RD
35845 }
35846 {
7449af73 35847 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE)));
093d3ff1
RD
35848 }
35849 {
7449af73 35850 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL)));
093d3ff1
RD
35851 }
35852 {
7449af73 35853 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS)));
093d3ff1
RD
35854 }
35855 {
7449af73 35856 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV)));
093d3ff1
RD
35857 }
35858 {
7449af73 35859 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS)));
093d3ff1
RD
35860 }
35861 {
7449af73 35862 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE)));
093d3ff1
RD
35863 }
35864 {
7449af73 35865 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM)));
093d3ff1
RD
35866 }
35867 {
7449af73 35868 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM)));
093d3ff1
RD
35869 }
35870 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
35871 {
7449af73 35872 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC)));
093d3ff1
RD
35873 }
35874 {
7449af73 35875 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC)));
093d3ff1
RD
35876 }
35877 {
7449af73 35878 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE)));
093d3ff1
RD
35879 }
35880 {
7449af73 35881 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER)));
093d3ff1
RD
35882 }
35883 {
7449af73 35884 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE)));
093d3ff1
RD
35885 }
35886
35887 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35888
35889 {
7449af73 35890 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1)));
093d3ff1
RD
35891 }
35892 {
7449af73 35893 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2)));
093d3ff1
RD
35894 }
35895 {
7449af73 35896 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY)));
093d3ff1
RD
35897 }
35898 {
7449af73 35899 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1)));
093d3ff1
RD
35900 }
35901 {
7449af73 35902 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2)));
093d3ff1
RD
35903 }
35904 {
7449af73 35905 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3)));
093d3ff1
RD
35906 }
35907 {
7449af73 35908 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4)));
093d3ff1
RD
35909 }
35910 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
35911 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
35912 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
35913 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
35914 {
7449af73 35915 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC)));
093d3ff1
RD
35916 }
35917 {
7449af73 35918 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC)));
093d3ff1
RD
35919 }
35920 {
7449af73 35921 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP)));
093d3ff1
RD
35922 }
35923 {
7449af73 35924 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD)));
093d3ff1
RD
35925 }
35926 {
7449af73 35927 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE)));
093d3ff1
RD
35928 }
35929 {
7449af73 35930 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE)));
093d3ff1
RD
35931 }
35932 {
7449af73 35933 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME)));
093d3ff1
RD
35934 }
35935 {
7449af73 35936 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL)));
093d3ff1
RD
35937 }
35938 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
35939 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
35940 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
35941 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
35942 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
d55e5bfc
RD
35943 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
35944 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 35945 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
35946 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
35947 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
35948 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
35949 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
35950 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
35951 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
35952 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
35953 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
35954 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
35955 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
35956 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
35957 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
35958 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
35959 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
35960 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
35961 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
35962 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
d55e5bfc
RD
35963 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
35964 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
35965 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
35966 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
35967 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
35968 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
35969 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
35970 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
35971 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
35972 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 35973 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 35974 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
35975 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
35976 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
35977 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
35978 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
35979 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
35980 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
35981 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
35982 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
35983 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
35984 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
35985 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
35986 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
35987 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
35988 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
a187dc0b 35989 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
68350608
RD
35990 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
35991 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
35992 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
35993 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
35994 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
35995
35996 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35997
093d3ff1 35998 {
7449af73 35999 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE)));
093d3ff1
RD
36000 }
36001 {
7449af73 36002 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE)));
093d3ff1
RD
36003 }
36004 {
7449af73 36005 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH)));
093d3ff1
RD
36006 }
36007 {
7449af73 36008 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
093d3ff1
RD
36009 }
36010 {
7449af73 36011 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown)));
093d3ff1
RD
36012 }
36013 {
7449af73 36014 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String)));
093d3ff1
RD
36015 }
36016 {
7449af73 36017 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean)));
093d3ff1
RD
36018 }
36019 {
7449af73 36020 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer)));
093d3ff1
RD
36021 }
36022 {
7449af73 36023 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float)));
093d3ff1 36024 }
fef4c27a
RD
36025 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
36026 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1 36027 {
7449af73 36028 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local)));
093d3ff1
RD
36029 }
36030 {
7449af73 36031 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12)));
093d3ff1
RD
36032 }
36033 {
7449af73 36034 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11)));
093d3ff1
RD
36035 }
36036 {
7449af73 36037 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10)));
093d3ff1
RD
36038 }
36039 {
7449af73 36040 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9)));
093d3ff1
RD
36041 }
36042 {
7449af73 36043 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8)));
093d3ff1
RD
36044 }
36045 {
7449af73 36046 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7)));
093d3ff1
RD
36047 }
36048 {
7449af73 36049 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6)));
093d3ff1
RD
36050 }
36051 {
7449af73 36052 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5)));
093d3ff1
RD
36053 }
36054 {
7449af73 36055 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4)));
093d3ff1
RD
36056 }
36057 {
7449af73 36058 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3)));
093d3ff1
RD
36059 }
36060 {
7449af73 36061 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2)));
093d3ff1
RD
36062 }
36063 {
7449af73 36064 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1)));
093d3ff1
RD
36065 }
36066 {
7449af73 36067 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0)));
093d3ff1
RD
36068 }
36069 {
7449af73 36070 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1)));
093d3ff1
RD
36071 }
36072 {
7449af73 36073 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2)));
093d3ff1
RD
36074 }
36075 {
7449af73 36076 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3)));
093d3ff1
RD
36077 }
36078 {
7449af73 36079 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4)));
093d3ff1
RD
36080 }
36081 {
7449af73 36082 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5)));
093d3ff1
RD
36083 }
36084 {
7449af73 36085 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6)));
093d3ff1
RD
36086 }
36087 {
7449af73 36088 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7)));
093d3ff1
RD
36089 }
36090 {
7449af73 36091 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8)));
093d3ff1
RD
36092 }
36093 {
7449af73 36094 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9)));
093d3ff1
RD
36095 }
36096 {
7449af73 36097 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10)));
093d3ff1
RD
36098 }
36099 {
7449af73 36100 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11)));
093d3ff1
RD
36101 }
36102 {
7449af73 36103 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12)));
093d3ff1
RD
36104 }
36105 {
7449af73 36106 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET)));
093d3ff1
RD
36107 }
36108 {
7449af73 36109 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST)));
093d3ff1
RD
36110 }
36111 {
7449af73 36112 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET)));
093d3ff1
RD
36113 }
36114 {
7449af73 36115 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST)));
093d3ff1
RD
36116 }
36117 {
7449af73 36118 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET)));
093d3ff1
RD
36119 }
36120 {
7449af73 36121 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST)));
093d3ff1
RD
36122 }
36123 {
7449af73 36124 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK)));
093d3ff1
RD
36125 }
36126 {
7449af73 36127 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD)));
093d3ff1
RD
36128 }
36129 {
7449af73 36130 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST)));
093d3ff1
RD
36131 }
36132 {
7449af73 36133 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT)));
093d3ff1
RD
36134 }
36135 {
7449af73 36136 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST)));
093d3ff1
RD
36137 }
36138 {
7449af73 36139 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT)));
093d3ff1
RD
36140 }
36141 {
7449af73 36142 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST)));
093d3ff1
RD
36143 }
36144 {
7449af73 36145 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT)));
093d3ff1
RD
36146 }
36147 {
7449af73 36148 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST)));
093d3ff1
RD
36149 }
36150 {
7449af73 36151 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT)));
093d3ff1
RD
36152 }
36153 {
7449af73 36154 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST)));
093d3ff1
RD
36155 }
36156 {
7449af73 36157 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT)));
093d3ff1
RD
36158 }
36159 {
7449af73 36160 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST)));
093d3ff1
RD
36161 }
36162 {
7449af73 36163 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST)));
093d3ff1
RD
36164 }
36165 {
7449af73 36166 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT)));
093d3ff1
RD
36167 }
36168 {
7449af73 36169 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST)));
093d3ff1
RD
36170 }
36171 {
7449af73 36172 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST)));
093d3ff1
RD
36173 }
36174 {
7449af73 36175 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST)));
093d3ff1
RD
36176 }
36177 {
7449af73 36178 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST)));
093d3ff1
RD
36179 }
36180 {
7449af73 36181 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC)));
093d3ff1
RD
36182 }
36183 {
7449af73 36184 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian)));
093d3ff1
RD
36185 }
36186 {
7449af73 36187 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian)));
093d3ff1
RD
36188 }
36189 {
7449af73 36190 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown)));
093d3ff1
RD
36191 }
36192 {
7449af73 36193 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard)));
093d3ff1
RD
36194 }
36195 {
7449af73 36196 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska)));
093d3ff1
RD
36197 }
36198 {
7449af73 36199 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania)));
093d3ff1
RD
36200 }
36201 {
7449af73 36202 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria)));
093d3ff1
RD
36203 }
36204 {
7449af73 36205 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen)));
093d3ff1
RD
36206 }
36207 {
7449af73 36208 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg)));
093d3ff1
RD
36209 }
36210 {
7449af73 36211 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol)));
093d3ff1
RD
36212 }
36213 {
7449af73 36214 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia)));
093d3ff1
RD
36215 }
36216 {
7449af73 36217 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria)));
093d3ff1
RD
36218 }
36219 {
7449af73 36220 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium)));
093d3ff1
RD
36221 }
36222 {
7449af73 36223 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria)));
093d3ff1
RD
36224 }
36225 {
7449af73 36226 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1)));
093d3ff1
RD
36227 }
36228 {
7449af73 36229 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2)));
093d3ff1
RD
36230 }
36231 {
7449af73 36232 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3)));
093d3ff1
RD
36233 }
36234 {
7449af73 36235 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada)));
093d3ff1
RD
36236 }
36237 {
7449af73 36238 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China)));
093d3ff1
RD
36239 }
36240 {
7449af73 36241 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1)));
093d3ff1
RD
36242 }
36243 {
7449af73 36244 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2)));
093d3ff1
RD
36245 }
36246 {
7449af73 36247 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia)));
093d3ff1
RD
36248 }
36249 {
7449af73 36250 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark)));
093d3ff1
RD
36251 }
36252 {
7449af73 36253 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt)));
093d3ff1
RD
36254 }
36255 {
7449af73 36256 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia)));
093d3ff1
RD
36257 }
36258 {
7449af73 36259 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland)));
093d3ff1
RD
36260 }
36261 {
7449af73 36262 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France)));
093d3ff1
RD
36263 }
36264 {
7449af73 36265 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace)));
093d3ff1
RD
36266 }
36267 {
7449af73 36268 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine)));
093d3ff1
RD
36269 }
36270 {
7449af73 36271 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg)));
093d3ff1
RD
36272 }
36273 {
7449af73 36274 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany)));
093d3ff1
RD
36275 }
36276 {
7449af73 36277 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic)));
093d3ff1
RD
36278 }
36279 {
7449af73 36280 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia)));
093d3ff1
RD
36281 }
36282 {
7449af73 36283 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant)));
093d3ff1
RD
36284 }
36285 {
7449af73 36286 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain)));
093d3ff1
RD
36287 }
36288 {
7449af73 36289 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece)));
093d3ff1
RD
36290 }
36291 {
7449af73 36292 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary)));
093d3ff1
RD
36293 }
36294 {
7449af73 36295 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland)));
093d3ff1
RD
36296 }
36297 {
7449af73 36298 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy)));
093d3ff1
RD
36299 }
36300 {
7449af73 36301 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan)));
093d3ff1
RD
36302 }
36303 {
7449af73 36304 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1)));
093d3ff1
RD
36305 }
36306 {
7449af73 36307 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2)));
093d3ff1
RD
36308 }
36309 {
7449af73 36310 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3)));
093d3ff1
RD
36311 }
36312 {
7449af73 36313 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia)));
093d3ff1
RD
36314 }
36315 {
7449af73 36316 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania)));
093d3ff1
RD
36317 }
36318 {
7449af73 36319 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg)));
093d3ff1
RD
36320 }
36321 {
7449af73 36322 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands)));
093d3ff1
RD
36323 }
36324 {
7449af73 36325 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen)));
093d3ff1
RD
36326 }
36327 {
7449af73 36328 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland)));
093d3ff1
RD
36329 }
36330 {
7449af73 36331 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht)));
093d3ff1
RD
36332 }
36333 {
7449af73 36334 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland)));
093d3ff1
RD
36335 }
36336 {
7449af73 36337 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway)));
093d3ff1
RD
36338 }
36339 {
7449af73 36340 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland)));
093d3ff1
RD
36341 }
36342 {
7449af73 36343 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal)));
093d3ff1
RD
36344 }
36345 {
7449af73 36346 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania)));
093d3ff1
RD
36347 }
36348 {
7449af73 36349 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia)));
093d3ff1
RD
36350 }
36351 {
7449af73 36352 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland)));
093d3ff1
RD
36353 }
36354 {
7449af73 36355 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain)));
093d3ff1
RD
36356 }
36357 {
7449af73 36358 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden)));
093d3ff1
RD
36359 }
36360 {
7449af73 36361 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland)));
093d3ff1
RD
36362 }
36363 {
7449af73 36364 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic)));
093d3ff1
RD
36365 }
36366 {
7449af73 36367 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant)));
093d3ff1
RD
36368 }
36369 {
7449af73 36370 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey)));
093d3ff1
RD
36371 }
36372 {
7449af73 36373 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA)));
093d3ff1
RD
36374 }
36375 {
7449af73 36376 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales)));
093d3ff1
RD
36377 }
36378 {
7449af73 36379 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia)));
093d3ff1
RD
36380 }
36381 {
7449af73 36382 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown)));
093d3ff1
RD
36383 }
36384 {
7449af73 36385 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default)));
093d3ff1
RD
36386 }
36387 {
7449af73 36388 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start)));
093d3ff1
RD
36389 }
36390 {
7449af73 36391 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC)));
093d3ff1
RD
36392 }
36393 {
7449af73 36394 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France)));
093d3ff1
RD
36395 }
36396 {
7449af73 36397 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany)));
093d3ff1
RD
36398 }
36399 {
7449af73 36400 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK)));
093d3ff1
RD
36401 }
36402 {
7449af73 36403 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End)));
093d3ff1
RD
36404 }
36405 {
7449af73 36406 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia)));
093d3ff1
RD
36407 }
36408 {
7449af73 36409 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA)));
093d3ff1
RD
36410 }
36411 {
7449af73 36412 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan)));
093d3ff1
RD
36413 }
36414 {
7449af73 36415 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb)));
093d3ff1
RD
36416 }
36417 {
7449af73 36418 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar)));
093d3ff1
RD
36419 }
36420 {
7449af73 36421 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr)));
093d3ff1
RD
36422 }
36423 {
7449af73 36424 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May)));
093d3ff1
RD
36425 }
36426 {
7449af73 36427 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun)));
093d3ff1
RD
36428 }
36429 {
7449af73 36430 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul)));
093d3ff1
RD
36431 }
36432 {
7449af73 36433 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug)));
093d3ff1
RD
36434 }
36435 {
7449af73 36436 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep)));
093d3ff1
RD
36437 }
36438 {
7449af73 36439 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct)));
093d3ff1
RD
36440 }
36441 {
7449af73 36442 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov)));
093d3ff1
RD
36443 }
36444 {
7449af73 36445 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec)));
093d3ff1
RD
36446 }
36447 {
7449af73 36448 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month)));
093d3ff1
RD
36449 }
36450 {
7449af73 36451 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun)));
093d3ff1
RD
36452 }
36453 {
7449af73 36454 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon)));
093d3ff1
RD
36455 }
36456 {
7449af73 36457 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue)));
093d3ff1
RD
36458 }
36459 {
7449af73 36460 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed)));
093d3ff1
RD
36461 }
36462 {
7449af73 36463 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu)));
093d3ff1
RD
36464 }
36465 {
7449af73 36466 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri)));
093d3ff1
RD
36467 }
36468 {
7449af73 36469 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat)));
093d3ff1
RD
36470 }
36471 {
7449af73 36472 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay)));
093d3ff1
RD
36473 }
36474 {
7449af73 36475 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year)));
093d3ff1
RD
36476 }
36477 {
7449af73 36478 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full)));
093d3ff1
RD
36479 }
36480 {
7449af73 36481 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr)));
093d3ff1
RD
36482 }
36483 {
7449af73 36484 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First)));
093d3ff1
RD
36485 }
36486 {
7449af73 36487 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First)));
093d3ff1
RD
36488 }
36489 {
7449af73 36490 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First)));
093d3ff1 36491 }
d55e5bfc 36492 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
093d3ff1 36493 {
7449af73 36494 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID)));
093d3ff1
RD
36495 }
36496 {
7449af73 36497 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT)));
093d3ff1
RD
36498 }
36499 {
7449af73 36500 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP)));
093d3ff1
RD
36501 }
36502 {
7449af73 36503 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE)));
093d3ff1
RD
36504 }
36505 {
7449af73 36506 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK)));
093d3ff1
RD
36507 }
36508 {
7449af73 36509 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF)));
093d3ff1
RD
36510 }
36511 {
7449af73 36512 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF)));
093d3ff1
RD
36513 }
36514 {
7449af73 36515 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT)));
093d3ff1
RD
36516 }
36517 {
7449af73 36518 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB)));
093d3ff1
RD
36519 }
36520 {
7449af73 36521 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE)));
093d3ff1
RD
36522 }
36523 {
7449af73 36524 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA)));
093d3ff1
RD
36525 }
36526 {
7449af73 36527 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF)));
093d3ff1
RD
36528 }
36529 {
7449af73 36530 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE)));
093d3ff1
RD
36531 }
36532 {
7449af73 36533 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT)));
093d3ff1
RD
36534 }
36535 {
7449af73 36536 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE)));
093d3ff1
RD
36537 }
36538 {
7449af73 36539 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME)));
093d3ff1
RD
36540 }
36541 {
7449af73 36542 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE)));
093d3ff1
RD
36543 }
36544 {
7449af73 36545 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE)));
093d3ff1
RD
36546 }
36547 {
7449af73 36548 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML)));
093d3ff1
RD
36549 }
36550 {
7449af73 36551 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX)));
093d3ff1 36552 }
d55e5bfc 36553 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
093d3ff1 36554 {
7449af73 36555 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get)));
093d3ff1
RD
36556 }
36557 {
7449af73 36558 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set)));
093d3ff1
RD
36559 }
36560 {
7449af73 36561 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both)));
093d3ff1
RD
36562 }
36563 {
7449af73 36564 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly)));
093d3ff1
RD
36565 }
36566 {
7449af73 36567 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove)));
093d3ff1
RD
36568 }
36569 {
7449af73 36570 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove)));
093d3ff1
RD
36571 }
36572 {
7449af73 36573 PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast<int >(wxDragError)));
093d3ff1
RD
36574 }
36575 {
7449af73 36576 PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone)));
093d3ff1
RD
36577 }
36578 {
7449af73 36579 PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy)));
093d3ff1
RD
36580 }
36581 {
7449af73 36582 PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove)));
093d3ff1
RD
36583 }
36584 {
7449af73 36585 PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink)));
093d3ff1
RD
36586 }
36587 {
7449af73 36588 PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel)));
093d3ff1 36589 }
d55e5bfc
RD
36590
36591 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36592 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36593 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36594 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36595
d55e5bfc
RD
36596 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
36597}
36598